ChainSafe / forest

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

fix(rpc): implement Filecoin.StateGetAllocations #4395

Closed hanabi1224 closed 1 month ago

hanabi1224 commented 1 month ago

Summary of changes

Changes introduced in this pull request:

     Running `target/quick/forest-tool api compare /home/me/fr/snapshots/calibnet/forest_snapshot_calibnet_2024-06-05_height_1675679.forest.car.zst --filter StateGetAllocation`
| RPC Method                         | Forest | Lotus |
|------------------------------------|--------|-------|
| Filecoin.StateGetAllocation (381)  | Valid  | Valid |
| Filecoin.StateGetAllocations (108) | Valid  | Valid |

Reference issue to close (if applicable)

Closes https://github.com/ChainSafe/forest/issues/4394 Closes https://github.com/ChainSafe/forest/issues/4386

Other information and links

Change checklist