From 5c79a9a8f7f7cc81f2cc7313babe2d25a4e6d36e Mon Sep 17 00:00:00 2001 From: Hubert Date: Fri, 7 Mar 2025 10:37:45 +0100 Subject: [PATCH 1/2] fix(ci): ignore `ring` RUSTSEC-2025-0009 (#5384) --- deny.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/deny.toml b/deny.toml index e49c747c1ff9..0e52f69a0ec8 100644 --- a/deny.toml +++ b/deny.toml @@ -75,6 +75,7 @@ ignore = [ # https://github.com/filecoin-project/ref-fvm/issues/1843 "RUSTSEC-2022-0061", # parity-wasm is deprecated "RUSTSEC-2024-0370", # proc-macro-error is unmaintained + "RUSTSEC-2025-0009", # panic in `ring`, need libp2p update ] # If this is true, then cargo deny will use the git executable to fetch advisory database. # If this is false, then it uses a built-in git library. From 7b138785938fd371aa1cf696a421dd4c58cf4bbe Mon Sep 17 00:00:00 2001 From: hanabi1224 Date: Fri, 7 Mar 2025 18:31:29 +0800 Subject: [PATCH 2/2] test: more rpc test snapshots (#5382) --- src/tool/subcommands/api_cmd/api_compare_tests.rs | 2 +- src/tool/subcommands/api_cmd/test_snapshots.txt | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/tool/subcommands/api_cmd/api_compare_tests.rs b/src/tool/subcommands/api_cmd/api_compare_tests.rs index cbacb09704d8..146536fd95e3 100644 --- a/src/tool/subcommands/api_cmd/api_compare_tests.rs +++ b/src/tool/subcommands/api_cmd/api_compare_tests.rs @@ -394,7 +394,7 @@ fn chain_tests_with_tipset( tipset: &Tipset, ) -> anyhow::Result> { let mut tests = vec![ - RpcTest::identity(ChainGetTipSetAfterHeight::request(( + RpcTest::identity(ChainGetTipSetByHeight::request(( tipset.epoch(), Default::default(), ))?), diff --git a/src/tool/subcommands/api_cmd/test_snapshots.txt b/src/tool/subcommands/api_cmd/test_snapshots.txt index 9df303f4ed8d..b9551b78a72a 100644 --- a/src/tool/subcommands/api_cmd/test_snapshots.txt +++ b/src/tool/subcommands/api_cmd/test_snapshots.txt @@ -1,18 +1,24 @@ +filecoin_beacongetentry_1741270283524366.rpcsnap.json.zst filecoin_chaingetblock_1736937164811210.rpcsnap.json.zst filecoin_chaingetblockmessages_1736937164799678.rpcsnap.json.zst filecoin_chaingetgenesis_1736937286915866.rpcsnap.json.zst +filecoin_chaingetmessage_1741270616352800.rpcsnap.json.zst +filecoin_chaingetmessagesintipset_1741270616353560.rpcsnap.json.zst filecoin_chaingetparentmessages_1736937305551928.rpcsnap.json.zst filecoin_chaingetparentreceipts_1736937305550289.rpcsnap.json.zst filecoin_chaingetpath_1736937942817384.rpcsnap.json.zst filecoin_chaingettipset_1736937942817675.rpcsnap.json.zst filecoin_chaingettipsetafterheight_1736937942817771.rpcsnap.json.zst +filecoin_chaingettipsetbyheight_1741271398549509.rpcsnap.json.zst filecoin_chainhasobj_1736937942818251.rpcsnap.json.zst +filecoin_chainhead_1741269640489512.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_ethaddresstofilecoinaddress_1740132538465536.rpcsnap.json.zst +filecoin_ethblocknumber_1741272348346171.rpcsnap.json.zst filecoin_ethcall_1737446676693468.rpcsnap.json.zst filecoin_ethchainid_1736937942819147.rpcsnap.json.zst filecoin_ethfeehistory_1737446676883828.rpcsnap.json.zst @@ -33,8 +39,12 @@ filecoin_ethgetmessagecidbytransactionhash_1737446676697418.rpcsnap.json.zst filecoin_ethgetstorageat_1737446676697795.rpcsnap.json.zst filecoin_ethgettransactionbyblockhashandindex_1740132538373654.rpcsnap.json.zst filecoin_ethgettransactionbyblocknumberandindex_1740132538304408.rpcsnap.json.zst +filecoin_ethgettransactionbyhash_1741272955520821.rpcsnap.json.zst +filecoin_ethgettransactionbyhashlimited_1741272955509708.rpcsnap.json.zst filecoin_ethgettransactioncount_1740132538183426.rpcsnap.json.zst filecoin_ethgettransactionhashbycid_1737446676698540.rpcsnap.json.zst +filecoin_ethgettransactionreceipt_1741272955712904.rpcsnap.json.zst +filecoin_ethgettransactionreceiptlimited_1741272955611272.rpcsnap.json.zst filecoin_ethprotocolversion_1737446676698826.rpcsnap.json.zst filecoin_ethtraceblock_1737446676736475.rpcsnap.json.zst filecoin_ethtracereplayblocktransactions_1740132538658376.rpcsnap.json.zst