forked from evmos/ethermint
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix_register_type_ci
- Loading branch information
Showing
36 changed files
with
4,092 additions
and
267 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
syntax = "proto3"; | ||
package ethermint.evm.v1; | ||
|
||
option go_package = "github.com/evmos/ethermint/x/evm/types"; | ||
|
||
// EventEthereumTx defines the event for an Ethereum transaction | ||
message EventEthereumTx { | ||
// amount | ||
string amount = 1; | ||
// eth_hash is the Ethereum hash of the transaction | ||
string eth_hash = 2; | ||
// index of the transaction in the block | ||
string index = 3; | ||
// gas_used is the amount of gas used by the transaction | ||
string gas_used = 4; | ||
// hash is the Tendermint hash of the transaction | ||
string hash = 5; | ||
// recipient of the transaction | ||
string recipient = 6; | ||
// eth_tx_failed contains a VM error should it occur | ||
string eth_tx_failed = 7; | ||
} | ||
|
||
// EventTxLog defines the event for an Ethereum transaction log | ||
message EventTxLog { | ||
// tx_logs is an array of transaction logs | ||
repeated string tx_logs = 1; | ||
} | ||
|
||
// EventMessage | ||
message EventMessage { | ||
// module which emits the event | ||
string module = 1; | ||
// sender of the message | ||
string sender = 2; | ||
// tx_type is the type of the message | ||
string tx_type = 3; | ||
} | ||
|
||
// EventBlockBloom defines an Ethereum block bloom filter event | ||
message EventBlockBloom { | ||
// bloom is the bloom filter of the block | ||
string bloom = 1; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
syntax = "proto3"; | ||
package ethermint.feemarket.v1; | ||
|
||
option go_package = "github.com/evmos/ethermint/x/feemarket/types"; | ||
|
||
// EventFeeMarket is the event type for the fee market module | ||
message EventFeeMarket { | ||
// base_fee for EIP-1559 blocks | ||
string base_fee = 1; | ||
} | ||
|
||
// EventBlockGas defines an Ethereum block gas event | ||
message EventBlockGas { | ||
// height of the block | ||
string height = 1; | ||
// amount of gas wanted by the block | ||
string amount = 2; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
syntax = "proto3"; | ||
package ethermint.feemarket.v1; | ||
|
||
import "cosmos/msg/v1/msg.proto"; | ||
import "cosmos_proto/cosmos.proto"; | ||
import "ethermint/feemarket/v1/feemarket.proto"; | ||
import "gogoproto/gogo.proto"; | ||
|
||
option go_package = "github.com/evmos/ethermint/x/feemarket/types"; | ||
|
||
// Msg defines the erc20 Msg service. | ||
service Msg { | ||
// UpdateParams defined a governance operation for updating the x/feemarket module parameters. | ||
// The authority is hard-coded to the Cosmos SDK x/gov module account | ||
rpc UpdateParams(MsgUpdateParams) returns (MsgUpdateParamsResponse); | ||
} | ||
|
||
// MsgUpdateParams defines a Msg for updating the x/feemarket module parameters. | ||
message MsgUpdateParams { | ||
option (cosmos.msg.v1.signer) = "authority"; | ||
// authority is the address of the governance account. | ||
string authority = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; | ||
// params defines the x/feemarket parameters to update. | ||
// NOTE: All parameters must be supplied. | ||
Params params = 2 [(gogoproto.nullable) = false]; | ||
} | ||
|
||
// MsgUpdateParamsResponse defines the response structure for executing a | ||
// MsgUpdateParams message. | ||
message MsgUpdateParamsResponse {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.