Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
fix protos
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-nguy committed Feb 18, 2022
1 parent 7412671 commit 1417368
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 67 deletions.
2 changes: 1 addition & 1 deletion docs/api/proto-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -923,8 +923,8 @@ Params defines the EVM module parameters
| `no_base_fee` | [bool](#bool) | | no base fee forces the EIP-1559 base fee to 0 (needed for 0 price calls) |
| `base_fee_change_denominator` | [uint32](#uint32) | | base fee change denominator bounds the amount the base fee can change between blocks. |
| `elasticity_multiplier` | [uint32](#uint32) | | elasticity multiplier bounds the maximum gas limit an EIP-1559 block may have. |
| `base_fee` | [string](#string) | | base fee for EIP-1559 blocks. |
| `enable_height` | [int64](#int64) | | height at which the base fee calculation is enabled. |
| `base_fee` | [string](#string) | | base fee for EIP-1559 blocks. |



Expand Down
9 changes: 6 additions & 3 deletions proto/ethermint/feemarket/v1/feemarket.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@ message Params {
// elasticity multiplier bounds the maximum gas limit an EIP-1559 block may
// have.
uint32 elasticity_multiplier = 3;
// DEPRECATED: initial base fee for EIP-1559 blocks.
reserved 4;
reserved "initial_base_fee";
// height at which the base fee calculation is enabled.
int64 enable_height = 5;
// base fee for EIP-1559 blocks.
string base_fee = 4 [
string base_fee = 6 [
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int",
(gogoproto.nullable) = false
];
// height at which the base fee calculation is enabled.
int64 enable_height = 5;
}
6 changes: 5 additions & 1 deletion proto/ethermint/feemarket/v1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ option go_package = "github.com/tharsis/ethermint/x/feemarket/types";
message GenesisState {
// params defines all the paramaters of the module.
Params params = 1 [ (gogoproto.nullable) = false ];
// DEPRECATED: base fee is the exported value from previous software version.
// Zero by default.
reserved 2;
reserved "base_fee";
// block gas is the amount of gas used on the last block before the upgrade.
// Zero by default.
uint64 block_gas = 2;
uint64 block_gas = 3;
}
105 changes: 53 additions & 52 deletions x/feemarket/types/feemarket.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 11 additions & 10 deletions x/feemarket/types/genesis.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1417368

Please sign in to comment.