Skip to content

Commit

Permalink
test(rpc): test snapshots for Eth* methods
Browse files Browse the repository at this point in the history
  • Loading branch information
hanabi1224 committed Jan 21, 2025
1 parent 6a17ea4 commit 675f85d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ slow-timeout = { period = "120s", terminate-after = 3 }
filter = 'test(create_manifest_json)'
slow-timeout = { period = "120s", terminate-after = 3 }

# This test downloads RPC test snapshot files from the network, which can take a while.
# It is only run on CI, so we can afford to be more patient.
[[profile.default.overrides]]
filter = 'test(tool::subcommands::api_cmd::test_snapshot::tests::rpc_regression_tests)'
slow-timeout = { period = "120s", terminate-after = 3 }

[[profile.default.overrides]]
# lint runs `cargo check` for source file discovery, which can take a while
filter = 'binary(lint)'
Expand Down
16 changes: 16 additions & 0 deletions src/tool/subcommands/api_cmd/test_snapshots.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,22 @@ filecoin_chainhasobj_1736937942818251.rpcsnap.json.zst
filecoin_chainreadobj_1736937942818676.rpcsnap.json.zst
filecoin_chainstatobj_1736937942819063.rpcsnap.json.zst
filecoin_chaintipsetweight_1736937942819105.rpcsnap.json.zst
filecoin_ethaccounts_1737446676689764.rpcsnap.json.zst
filecoin_ethaddresstofilecoinaddress_1737446676692760.rpcsnap.json.zst
filecoin_ethcall_1737446676693468.rpcsnap.json.zst
filecoin_ethchainid_1736937942819147.rpcsnap.json.zst
filecoin_ethfeehistory_1737446676883828.rpcsnap.json.zst
filecoin_ethgetbalance_1737446676695335.rpcsnap.json.zst
filecoin_ethgetblockbynumber_1737446676696328.rpcsnap.json.zst
filecoin_ethgetblocktransactioncountbynumber_1737446676697272.rpcsnap.json.zst
filecoin_ethgetcode_1737446676697285.rpcsnap.json.zst
filecoin_ethgetlogs_1737446676697398.rpcsnap.json.zst
filecoin_ethgetmessagecidbytransactionhash_1737446676697418.rpcsnap.json.zst
filecoin_ethgetstorageat_1737446676697795.rpcsnap.json.zst
filecoin_ethgettransactionhashbycid_1737446676698540.rpcsnap.json.zst
filecoin_ethprotocolversion_1737446676698826.rpcsnap.json.zst
filecoin_ethtraceblock_1737446676736475.rpcsnap.json.zst
filecoin_ethuninstallfilter_1737446676698857.rpcsnap.json.zst
filecoin_minergetbaseinfo_1737022538680883.rpcsnap.json.zst
filecoin_minergetbaseinfo_1737022538681402.rpcsnap.json.zst
filecoin_stategetallallocations_1733735079961566.rpcsnap.json.zst
Expand Down

0 comments on commit 675f85d

Please sign in to comment.