-
Notifications
You must be signed in to change notification settings - Fork 184
Open
Labels
RPCrequires calibnet RPC checks to run on CIrequires calibnet RPC checks to run on CI
Description
Description
Add test coverage for Predefined::Safe and Predefined::Finalized variants for both EthTraceReplayBlockTransactions and EthTraceReplayBlockTransactionsV2 RPC methods.
Details
Both handlers now support the TipsetResolver and accept Predefined::Safe and Predefined::Finalized tags via BlockNumberOrHash, matching the pattern used by EthTraceBlock and EthTraceBlockV2. The test coverage should reflect this capability.
Location
File: src/tool/subcommands/api_cmd/api_compare_tests.rs (around lines 2142-2149)
Task
For each of the two RPC handlers (EthTraceReplayBlockTransactions and EthTraceReplayBlockTransactionsV2):
- Add
RpcTest::identityrequests that passBlockNumberOrHashconstructed withPredefined::Safe - Add
RpcTest::identityrequests that passBlockNumberOrHashconstructed withPredefined::Finalized - Mirror the existing epoch-based calls pattern
- Ensure the suite covers TipsetResolver-supported tags the same way
EthTraceBlock/EthTraceBlockV2do
References
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
RPCrequires calibnet RPC checks to run on CIrequires calibnet RPC checks to run on CI
Type
Projects
Status
In progress