# Functions
BlockMaxGasFromConsensusParams returns the gas limit for the current block from the chain consensus params.
CheckTxFee is an internal function used to check whether the fee of the given transaction is _reasonable_(under the cap).
EthHeaderFromTendermint: Converts a Tendermint block header to an Eth header.
FormatBlock creates an ethereum block from a tendermint header and ethereum-formatted transactions.
NewBlockNumber creates a new BlockNumber instance.
NewContextWithHeight wraps a context with the a gRPC block height header.
NewQueryClient creates a new gRPC query client
TODO:🔗 https://github.com/NibiruChain/nibiru/issues/1857 test(eth): Test GetProof (rpc/types/query_client.go) in a similar manner to cosmos-sdk/client/rpc/rpc_test.go using a network after EVM is wired into the app keepers:.
NewRPCTxFromEthTx returns a transaction that will serialize to the RPC representation, with the given location metadata set (if available).
NewRPCTxFromMsg returns a transaction that will serialize to the RPC representation, with the given location metadata set (if available).
ParseTxIndexerResult parse tm tx result to a format compatible with the custom tx indexer.
ParseTxResult parses eth tx info from the ABCI events of Eth tx msgs.
RawTxToEthTx returns a evm MsgEthereum transaction from raw tx bytes.
TxExceedBlockGasLimit returns true if the tx exceeds block gas limit.
TxIsValidEnough returns true if the transaction was successful or if it failed with an ExceedBlockGasLimit error or TxStateDBCommitError error.
TxStateDBCommitError returns true if the evm tx commit error.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrExceedBlockGasLimit defines the error message when tx execution exceeds the block gas limit.
ErrStateDBCommit defines the error message when commit after executing EVM transaction, for example transfer native token to a distribution module account using an evm transaction.
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
AccountResult struct for account proof.
AddrLocker is a mutex (mutual exclusion lock) structure used to avoid querying outdated account data.
BlockNumberOrHash represents a block number or a block hash.
EthTxJsonRPC represents a transaction that will serialize to the RPC representation of a transaction.
No description provided by the author
No description provided by the author
OverrideAccount indicates the overriding fields of account during the execution of a message call.
ParsedTx is eth tx info parsed from ABCI events.
ParsedTxs is the tx infos parsed from eth tx events.
QueryClient defines a gRPC Client used for: - TM transaction simulation - EVM module queries.
SignTransactionResult represents a RLP encoded signed transaction.
StorageResult defines the format for storage proof return.
# Type aliases
BlockNumber represents a decoded hex string for a block number.
StateOverride is the collection of overridden accounts.