Skip to content

Commit

Permalink
refactor(api_cmd): replace EthGetBlockTransactionCountByHash with Eth…
Browse files Browse the repository at this point in the history
…GetBlockReceiptsLimited in eth_tests_with_tipset function
  • Loading branch information
virajbhartiya committed Nov 28, 2024
1 parent cf49bd7 commit e6d2bac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/tool/subcommands/api_cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1440,9 +1440,8 @@ fn eth_tests_with_tipset<DB: Blockstore>(store: &Arc<DB>, shared_tipset: &Tipset
.unwrap(),
),
RpcTest::identity(EthGetBlockReceipts::request((block_hash.clone(),)).unwrap()),
RpcTest::identity(EthGetBlockLimited::request((block_hash.clone(),)).unwrap()),
RpcTest::identity(
EthGetBlockTransactionCountByHash::request((block_hash.clone(),)).unwrap(),
EthGetBlockReceiptsLimited::request((block_hash.clone(), EthUint64(800))).unwrap(),
),
RpcTest::identity(
EthGetBlockTransactionCountByNumber::request((EthInt64(shared_tipset.epoch()),))
Expand Down

0 comments on commit e6d2bac

Please sign in to comment.