Skip to content

Commit

Permalink
make generate
Browse files Browse the repository at this point in the history
  • Loading branch information
swift1337 committed Jul 15, 2024
1 parent 23fb0a1 commit 975408f
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 9 additions & 0 deletions docs/openapi/openapi.swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -57235,6 +57242,8 @@ definitions:
format: uint64
gas_price:
type: string
gas_priority_fee:
type: string
hash:
type: string
title: |-
Expand Down
2 changes: 1 addition & 1 deletion docs/spec/crosschain/messages.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,11 @@ export declare class OutboundParams extends Message<OutboundParams> {
*/
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
Expand Down
9 changes: 9 additions & 0 deletions typescript/zetachain/zetacore/crosschain/gas_price_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,19 @@ export declare class GasPrice extends Message<GasPrice> {
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<GasPrice>);

static readonly runtime: typeof proto3;
Expand Down
8 changes: 4 additions & 4 deletions typescript/zetachain/zetacore/crosschain/tx_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -420,14 +420,14 @@ export declare class MsgVoteGasPrice extends Message<MsgVoteGasPrice> {
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<MsgVoteGasPrice>);

Expand Down

0 comments on commit 975408f

Please sign in to comment.