forked from cerc-io/laconicd-deprecated
fix(rpc): optimize eth_getBalance endpoint (#1169)
* optimize get balance endpoint * add comment * add changelog Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
This commit is contained in:
co-authored by
Federico Kunze Küllmer
parent
9ae73b670b
commit
da8fcc3ae2
@@ -61,6 +61,7 @@ type EVMBackend interface {
|
||||
CurrentHeader() *ethtypes.Header
|
||||
HeaderByNumber(blockNum types.BlockNumber) (*ethtypes.Header, error)
|
||||
HeaderByHash(blockHash common.Hash) (*ethtypes.Header, error)
|
||||
GetBlockNumberByHash(blockHash common.Hash) (*big.Int, error)
|
||||
PendingTransactions() ([]*sdk.Tx, error)
|
||||
GetTransactionCount(address common.Address, blockNum types.BlockNumber) (*hexutil.Uint64, error)
|
||||
SendTransaction(args evmtypes.TransactionArgs) (common.Hash, error)
|
||||
|
||||
Reference in New Issue
Block a user