diff --git a/silkworm/rpc/commands/rpc_api_test.cpp b/silkworm/rpc/commands/rpc_api_test.cpp index 9c672d87f1..a7c95beeda 100644 --- a/silkworm/rpc/commands/rpc_api_test.cpp +++ b/silkworm/rpc/commands/rpc_api_test.cpp @@ -65,12 +65,15 @@ bool are_equivalent(const nlohmann::json& obj1, const nlohmann::json& obj2) { } static const std::vector tests_to_ignore = { - "eth_estimateGas", // call to oracle fails, needs fixing - "debug_getRawReceipts", // not implemented "eth_getProof", // not implemented - "eth_feeHistory", // history not stored, needs fixing - "eth_sendRawTransaction", // call to oracle fails, needs fixing or mocking - "eth_createAccessList", // expected value doesn't contain gas optimization + "debug_getRawReceipts", // not implemented + "eth_sendRawTransaction", // call to txpool fails, needs mocking +}; + +static const std::vector subtests_to_ignore = { + "create-al-multiple-reads.io", // eth_createAccessList: expected value doesn't contain gas optimization + "estimate-simple-transfer.io", // eth_estimateGas doesn't expect baseFeeGas without GasPrice + "estimate-simple-contract.io", // eth_estimateGas doesn't expect baseFeeGas without GasPrice }; // Exclude tests from sanitizer builds due to ASAN/TSAN warnings inside gRPC library @@ -87,6 +90,10 @@ TEST_CASE("rpc_api io (all files)", "[rpc][rpc_api]") { continue; } + if (std::find(subtests_to_ignore.begin(), subtests_to_ignore.end(), test_name) != subtests_to_ignore.end()) { + continue; + } + std::ifstream test_stream(test_file.path()); if (!test_stream.is_open()) {