ChainSafe / forest

🌲 Rust Filecoin Node Implementation
https://forest.chainsafe.io
Apache License 2.0
632 stars 153 forks source link

fix(rpc test): filter out failing tests for Filecoin.StateCirculatingSupply #4449

Closed hanabi1224 closed 3 months ago

hanabi1224 commented 3 months ago

Summary of changes

4446

Changes introduced in this pull request:

Local test result on main

Request dump: Request { method_name: "Filecoin.StateCirculatingSupply", params: Array [Array [Object {"/": String("bafy2bzacecdxr5iaglcfqb3kxraibhpswlo2yhk6pfovjscyy5vtnaqbuvkig")}, Object {"/": String("bafy2bzaceabow7mgfusizsia3a7b4sql6tmg3fyracejbnpeihph2q734higo")}]], result_type: PhantomData<serde_json::value::Value>, api_version: V0, timeout: 60s }
Request params JSON: [[{"/":"bafy2bzacecdxr5iaglcfqb3kxraibhpswlo2yhk6pfovjscyy5vtnaqbuvkig"},{"/":"bafy2bzaceabow7mgfusizsia3a7b4sql6tmg3fyracejbnpeihph2q734higo"}]]
Forest response: "49004778106792872959172253"
Lotus response: "49004777084917872959172252"
Diff: -"49004778106792872959172253"

+"49004777084917872959172252"

Request dump: Request { method_name: "Filecoin.StateCirculatingSupply", params: Array [Array [Object {"/": String("bafy2bzacedkctyrls5jmpgambncxdhxzaswubychlztph57hguexpqozgfhus")}, Object {"/": String("bafy2bzacec63ilzlw4znxb4hhpw3jrprlba2extin2oedb6dzcu6ng24sgn2u")}, Object {"/": String("bafy2bzacecbellqef5z3y2vsmer6465vbn5p6pfeunnhw4fl2blbgqp3lx2k2")}, Object {"/": String("bafy2bzaceco4qsuatd43gmvxrbaenjf62u3636ut4t42aqgwfulq6zomoiyey")}, Object {"/": String("bafy2bzacebagebykkleb5f2nxduxdrhg6fk57l3my4hp5bdtn5sd6ujulrqpo")}]], result_type: PhantomData<serde_json::value::Value>, api_version: V0, timeout: 60s }
Request params JSON: [[{"/":"bafy2bzacedkctyrls5jmpgambncxdhxzaswubychlztph57hguexpqozgfhus"},{"/":"bafy2bzacec63ilzlw4znxb4hhpw3jrprlba2extin2oedb6dzcu6ng24sgn2u"},{"/":"bafy2bzacecbellqef5z3y2vsmer6465vbn5p6pfeunnhw4fl2blbgqp3lx2k2"},{"/":"bafy2bzaceco4qsuatd43gmvxrbaenjf62u3636ut4t42aqgwfulq6zomoiyey"},{"/":"bafy2bzacebagebykkleb5f2nxduxdrhg6fk57l3my4hp5bdtn5sd6ujulrqpo"}]]
Forest response: "49004767593378687165340303"
Lotus response: "49004766570462020498673635"
Diff: -"49004767593378687165340303"

+"49004766570462020498673635"

| RPC Method                           | Forest            | Lotus |
|--------------------------------------|-------------------|-------|
| Filecoin.StateCirculatingSupply (10) | CustomCheckFailed | Valid |

Reference issue to close (if applicable)

Closes

Other information and links

Change checklist