Open
Description
- A user should be able to write tests that use RPC method calls that use generated code.
Success here is thebindings
crate has full bindings for the following APIs:- The Common Node API.
- RPC methods Forest needs to cover the Filecoin Common Node API forest#4528
- Tooling to select appropriate methods from OpenRPC documents from the below.
-
v1
- Forest's v1 document needs to be complete and tested.
- This requires deeper changes to Forest's
forest-tool api compare
test suite to test e.g methods that have changed between v0 and v1. See refactor: updateAPI_PATHS
according to lotus docs forest#4516
- This requires deeper changes to Forest's
- Forest's v1 document needs to be complete and tested.
- Bindings are ergonomic. #56
We should consider using these bindings in Forest.
- The Common Node API.
- All methods are covered in
test-suite
.- Schema coverage.
All structs are exercised in the test suite. This may require fixture support, test setup/teardown support, and node resetting support.- Schema coverage of the Common Node API.
- Schema coverage of the v1 API.
- Logic coverage.
Tests likeGetHead
,SetHead
,GetHead
followed by an assertion.- Logic coverage of the Common Node API.
- Logic coverage of the v1 API.
- Schema coverage.
Metadata
Metadata
Assignees
Labels
No labels