Skip to content

Commit

Permalink
debug_accountRange: rpc test uncomment (#12741)
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov authored Nov 18, 2024
1 parent a68a9b6 commit db8175a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/scripts/run_rpc_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ set +e # Disable exit on error
disabled_tests=(
# Erigon2 and Erigon3 never supported this api methods
trace_rawTransaction
# Erigon bugs
debug_accountRange
# changed in last commits
debug_storageRangeAt/test_11.json
# needs investigations
debug_getModifiedAccountsByHash
debug_getModifiedAccountsByNumber
Expand Down Expand Up @@ -44,9 +40,7 @@ disabled_tests=(
net_peerCount/test_1.json
net_version/test_1.json
txpool_status/test_1.json
web3_clientVersion/test_1.json
# broken by https://github.com/erigontech/erigon/pull/12642 (@AskAlexSharov will fix)
debug_storageRangeAt/test_11.json)
web3_clientVersion/test_1.json)

# Transform the array into a comma-separated string
disabled_test_list=$(IFS=,; echo "${disabled_tests[*]}")
Expand Down
2 changes: 1 addition & 1 deletion turbo/jsonrpc/debug_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (api *PrivateDebugAPIImpl) StorageRangeAt(ctx context.Context, blockHash co
return StorageRangeResult{}, err
}
if number == nil {
return StorageRangeResult{}, errors.New("block not found")
return StorageRangeResult{}, nil
}
minTxNum, err := txNumsReader.Min(tx, *number)
if err != nil {
Expand Down

0 comments on commit db8175a

Please sign in to comment.