aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorjwasinger <j-wasinger@hotmail.com>2019-07-13 21:48:55 +0800
committerFelix Lange <fjl@twurst.com>2019-07-13 21:48:55 +0800
commit6bd896a97f0c86fdb6d0538f5f839d7ea104e888 (patch)
treed17ca465e4c3ea73e187d7b469508c94d94d27e8 /cmd
parent49a7ee460e839499ef41f5110b219ec8c8edc5e8 (diff)
downloadgo-tangerine-6bd896a97f0c86fdb6d0538f5f839d7ea104e888.tar
go-tangerine-6bd896a97f0c86fdb6d0538f5f839d7ea104e888.tar.gz
go-tangerine-6bd896a97f0c86fdb6d0538f5f839d7ea104e888.tar.bz2
go-tangerine-6bd896a97f0c86fdb6d0538f5f839d7ea104e888.tar.lz
go-tangerine-6bd896a97f0c86fdb6d0538f5f839d7ea104e888.tar.xz
go-tangerine-6bd896a97f0c86fdb6d0538f5f839d7ea104e888.tar.zst
go-tangerine-6bd896a97f0c86fdb6d0538f5f839d7ea104e888.zip
eth: add debug_accountRange (#17438)
This adds the debug_accountRange method which returns all accounts in the state for a given block and transaction index.
Diffstat (limited to 'cmd')
-rw-r--r--cmd/geth/retesteth.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/geth/retesteth.go b/cmd/geth/retesteth.go
index 6d5763f88..0615f446f 100644
--- a/cmd/geth/retesteth.go
+++ b/cmd/geth/retesteth.go
@@ -86,7 +86,7 @@ type RetestethEthAPI interface {
}
type RetestethDebugAPI interface {
- AccountRangeAt(ctx context.Context,
+ AccountRange(ctx context.Context,
blockHashOrNumber *math.HexOrDecimal256, txIndex uint64,
addressHash *math.HexOrDecimal256, maxResults uint64,
) (AccountRangeResult, error)
@@ -604,7 +604,7 @@ func (api *RetestethAPI) GetBlockByNumber(ctx context.Context, blockNr math.HexO
return nil, fmt.Errorf("block %d not found", blockNr)
}
-func (api *RetestethAPI) AccountRangeAt(ctx context.Context,
+func (api *RetestethAPI) AccountRange(ctx context.Context,
blockHashOrNumber *math.HexOrDecimal256, txIndex uint64,
addressHash *math.HexOrDecimal256, maxResults uint64,
) (AccountRangeResult, error) {