Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filecoin.StateMinerInitialPledgeCollateral incorrect result #4890

Closed
LesnyRumcajs opened this issue Oct 14, 2024 · 0 comments · Fixed by #4900
Closed

Filecoin.StateMinerInitialPledgeCollateral incorrect result #4890

LesnyRumcajs opened this issue Oct 14, 2024 · 0 comments · Fixed by #4900
Assignees
Labels
Type: Bug Something isn't working

Comments

@LesnyRumcajs
Copy link
Member

LesnyRumcajs commented Oct 14, 2024

Describe the bug

The method StateMinerInitialPledgeCollateral produces different results with the current Forest and Lotus v1.29.2

To reproduce

Use this snapshot https://forest-snapshots.fra1.cdn.digitaloceanspaces.com/debug/#4890/forest_snapshot_calibnet_2024-10-14_height_2052815.forest.car.zst

to run API compare tests.

Log output

Log Output
api-compare-1  | Request dump: Request { method_name: "Filecoin.StateMinerInitialPledgeCollateral", params: Array [String("f017840"), Object {"DealIDs": Array [Number(199774)], "Expiration": Number(5209040), "SealProof": Number(8), "SealRandEpoch": Number(2048878), "SealedCID": Object {"/": String("bagboea4b5abcaisu75lqem3f3xswtclz6qy27nzdvu2r4hkquld6jkys76tolqyi")}, "SectorNumber": Number(527), "UnsealedCid": Object {"/": String("baga6ea4seaqnqtyo7lokxsz6o77dasxpjtxmvbbzpvb36psjovob6275prbx6gi")}}, Array [Object {"/": String("bafy2bzaced7nmndh4outfubdmuoofsqg6ms2vyecuowuva5vfi5lefh57ddvi")}, Object {"/": String("bafy2bzacecwfcnlmfoekbbkau37o2upn3acyozg7yvyxpq7zvm3xgyw74dpgy")}, Object {"/": String("bafy2bzacebb2lxrp2hqq5bbny7g3byqvafq42ghbwnfwef6olmc5wgsqigtim")}, Object {"/": String("bafy2bzacec72l3azgehpfa5gftdlfppni3d7rpkulkvqsqpnhz4kner25xi56")}]], result_type: PhantomData<serde_json::value::Value>, api_paths: V1, timeout: 120s }
api-compare-1  | Request params JSON: ["f017840",{"DealIDs":[199774],"Expiration":5209040,"SealProof":8,"SealRandEpoch":2048878,"SealedCID":{"/":"bagboea4b5abcaisu75lqem3f3xswtclz6qy27nzdvu2r4hkquld6jkys76tolqyi"},"SectorNumber":527,"UnsealedCid":{"/":"baga6ea4seaqnqtyo7lokxsz6o77dasxpjtxmvbbzpvb36psjovob6275prbx6gi"}},[{"/":"bafy2bzaced7nmndh4outfubdmuoofsqg6ms2vyecuowuva5vfi5lefh57ddvi"},{"/":"bafy2bzacecwfcnlmfoekbbkau37o2upn3acyozg7yvyxpq7zvm3xgyw74dpgy"},{"/":"bafy2bzacebb2lxrp2hqq5bbny7g3byqvafq42ghbwnfwef6olmc5wgsqigtim"},{"/":"bafy2bzacec72l3azgehpfa5gftdlfppni3d7rpkulkvqsqpnhz4kner25xi56"}]]
api-compare-1  | Forest response: "1100301057714388992"
api-compare-1  | Lotus response: "1100302106756120576"
api-compare-1  | Diff: -"1100301057714388992"
api-compare-1  |
api-compare-1  | +"1100302106756120576"

Expected behaviour

Screenshots

Environment (please complete the following information):

  • OS: GHA runner
  • Branch/commit 41fd952
  • Hardware GHA runner, ubuntu-latest

Other information and links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant