package
0.4.4
Repository: https://github.com/jiujiteiro/ethermint.git
Documentation: pkg.go.dev

# Functions

BlockMaxGasFromConsensusParams returns the gas limit for the latest block from the chain consensus params.
ContextWithHeight wraps a context with the a gRPC block height header.
No description provided by the author
EthBlockFromTendermint returns a JSON-RPC compatible Ethereum blockfrom a given Tendermint block.
EthHeaderFromTendermint is an util function that returns an Ethereum Header from a tendermint Header.
EthTransactionsFromTendermint returns a slice of ethereum transaction hashes and the total gas usage from a set of tendermint block transactions.
FormatBlock creates an ethereum block from a tendermint header and ethereum-formatted transactions.
NewBlockNumber creates a new BlockNumber instance.
NewQueryClient creates a new gRPC query client.
NewTransaction returns a transaction that will serialize to the RPC representation, with the given location metadata set (if available).
NewTransactionFromData returns a transaction that will serialize to the RPC representation, with the given location metadata set (if available).
RawTxToEthTx returns a evm MsgEthereum transaction from raw tx bytes.

# 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

# Structs

AccountResult struct for account proof.
AddrLocker is a mutex structure used to avoid querying outdated account data.
CallArgs represents the arguments for a call.
OverrideAccount indicates the overriding fields of account during the execution of a message call.
QueryClient defines a gRPC Client used for: - Transaction simulation - EVM module queries.
RPCTransaction represents a transaction that will serialize to the RPC representation of a transaction.
No description provided by the author
SendTxArgs represents the arguments to submit a new transaction into the transaction pool.
StorageResult defines the format for storage proof return.

# Interfaces

No description provided by the author

# Type aliases

BlockNumber represents decoding hex string to block values.
StateOverride is the collection of overridden accounts.