ChainSafe / forest

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

fix(rpc): test coverage for StateSectorPreCommitInfo-not-found #4427

Closed hanabi1224 closed 2 weeks ago

hanabi1224 commented 2 weeks ago

Summary of changes

Part of #4424

Changes introduced in this pull request:

     Running `target/quick/forest-tool api compare /home/me/fr/snapshots/calibnet/forest_snapshot_calibnet_2024-06-19_height_1714793.forest.car.zst --filter StateSectorPreCommitInfo`
| RPC Method                             | Forest
         | Lotus                                                                                    |
|----------------------------------------|-----------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------|
| Filecoin.StateSectorPreCommitInfo (10) | Rejected("Unknown miner actor code bafk2bzacedjnrb5glewazsxpcx6rwiuhl4kwrfcqolyprn6rrjtlzmthlhdq6") | Rejected("(get sset) failed to load miner actor state: actor code is not miner: system") |
| Filecoin.StateSectorPreCommitInfo (27) | Rejected("precommit info does not exist")
         | Rejected("precommit info does not exist")                                                |
| Filecoin.StateSectorPreCommitInfo (24) | Valid
         | Valid                                                                                    |

Reference issue to close (if applicable)

Closes

Other information and links

Change checklist