From 975408f830fd050b141cf2e8c1e7cfd3aa696d25 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Mon, 15 Jul 2024 18:15:59 +0200 Subject: [PATCH] `make generate` --- .../zetacored/zetacored_tx_crosschain_vote-gas-price.md | 2 +- docs/openapi/openapi.swagger.yaml | 9 +++++++++ docs/spec/crosschain/messages.md | 2 +- .../zetachain/zetacore/crosschain/cross_chain_tx_pb.d.ts | 5 +++++ .../zetachain/zetacore/crosschain/gas_price_pb.d.ts | 9 +++++++++ typescript/zetachain/zetacore/crosschain/tx_pb.d.ts | 8 ++++---- 6 files changed, 29 insertions(+), 6 deletions(-) diff --git a/docs/cli/zetacored/zetacored_tx_crosschain_vote-gas-price.md b/docs/cli/zetacored/zetacored_tx_crosschain_vote-gas-price.md index e8efad044a..17b8758f85 100644 --- a/docs/cli/zetacored/zetacored_tx_crosschain_vote-gas-price.md +++ b/docs/cli/zetacored/zetacored_tx_crosschain_vote-gas-price.md @@ -3,7 +3,7 @@ Broadcast message to vote gas price ``` -zetacored tx crosschain vote-gas-price [chain] [price] [supply] [blockNumber] [flags] +zetacored tx crosschain vote-gas-price [chain] [price] [priorityFee] [blockNumber] [flags] ``` ### Options diff --git a/docs/openapi/openapi.swagger.yaml b/docs/openapi/openapi.swagger.yaml index a6ee4a79f3..7f51187006 100644 --- a/docs/openapi/openapi.swagger.yaml +++ b/docs/openapi/openapi.swagger.yaml @@ -57116,6 +57116,13 @@ definitions: median_index: type: string format: uint64 + title: index of the median gas price in the prices array + priority_fees: + type: array + items: + type: string + format: uint64 + title: priority fees for EIP-1559 crosschainInboundHashToCctx: type: object properties: @@ -57235,6 +57242,8 @@ definitions: format: uint64 gas_price: type: string + gas_priority_fee: + type: string hash: type: string title: |- diff --git a/docs/spec/crosschain/messages.md b/docs/spec/crosschain/messages.md index 3ac1d484bb..feb02afc1f 100644 --- a/docs/spec/crosschain/messages.md +++ b/docs/spec/crosschain/messages.md @@ -61,8 +61,8 @@ message MsgVoteGasPrice { string creator = 1; int64 chain_id = 2; uint64 price = 3; + uint64 priority_fee = 6; uint64 block_number = 4; - string supply = 5; } ``` diff --git a/typescript/zetachain/zetacore/crosschain/cross_chain_tx_pb.d.ts b/typescript/zetachain/zetacore/crosschain/cross_chain_tx_pb.d.ts index 7c25cd1be0..2173892792 100644 --- a/typescript/zetachain/zetacore/crosschain/cross_chain_tx_pb.d.ts +++ b/typescript/zetachain/zetacore/crosschain/cross_chain_tx_pb.d.ts @@ -228,6 +228,11 @@ export declare class OutboundParams extends Message { */ gasPrice: string; + /** + * @generated from field: string gas_priority_fee = 13; + */ + gasPriorityFee: string; + /** * the above are commands for zetaclients * the following fields are used when the outbound tx is mined diff --git a/typescript/zetachain/zetacore/crosschain/gas_price_pb.d.ts b/typescript/zetachain/zetacore/crosschain/gas_price_pb.d.ts index 7790bbde92..8bb2debc02 100644 --- a/typescript/zetachain/zetacore/crosschain/gas_price_pb.d.ts +++ b/typescript/zetachain/zetacore/crosschain/gas_price_pb.d.ts @@ -41,10 +41,19 @@ export declare class GasPrice extends Message { prices: bigint[]; /** + * index of the median gas price in the prices array + * * @generated from field: uint64 median_index = 7; */ medianIndex: bigint; + /** + * priority fees for EIP-1559 + * + * @generated from field: repeated uint64 priority_fees = 8; + */ + priorityFees: bigint[]; + constructor(data?: PartialMessage); static readonly runtime: typeof proto3; diff --git a/typescript/zetachain/zetacore/crosschain/tx_pb.d.ts b/typescript/zetachain/zetacore/crosschain/tx_pb.d.ts index 9a854f9896..e15cf71780 100644 --- a/typescript/zetachain/zetacore/crosschain/tx_pb.d.ts +++ b/typescript/zetachain/zetacore/crosschain/tx_pb.d.ts @@ -420,14 +420,14 @@ export declare class MsgVoteGasPrice extends Message { price: bigint; /** - * @generated from field: uint64 block_number = 4; + * @generated from field: uint64 priority_fee = 6; */ - blockNumber: bigint; + priorityFee: bigint; /** - * @generated from field: string supply = 5; + * @generated from field: uint64 block_number = 4; */ - supply: string; + blockNumber: bigint; constructor(data?: PartialMessage);