Open aatifsyed opened 6 months ago
Forest's 2024 roadmap includes the following:
Objective 2: Increase network governance contributions ... Key results of authoring 5 FIPs, with 2 of them being accepted...
The proposed timeline includes the following:
Q2
Propose FIP to specify default JSONRPC interface
Q3
Propose FIP to specify Miner Interface
Forest has attempted to use the results of calling the rpc.discover JSON-RPC method on Lotus to generate a compatible API, but failed^1:
rpc.discover
the returned items do not contain schemas for the required parameters
We also tried codegen from go: https://github.com/ChainSafe/forest/tree/5a05dd184a6e8f9eaeb21c8f122b3f9a0b89b974/codegen
We have therefore manually implemented our RPC API from scratch.
The interface definition language for JSON-RPC interfaces is OpenRPC: https://open-rpc.org/, which can be the basis for a FIP.
We should not maintain a separate OpenRPC document for our API - it can be generated from our existing code.
This issue tracks
trait RpcEndpoint
Forest's 2024 roadmap includes the following:
The proposed timeline includes the following:
Q2
Q3
Forest has attempted to use the results of calling the
rpc.discover
JSON-RPC method on Lotus to generate a compatible API, but failed^1:the returned items do not contain schemas for the required parameters
We also tried codegen from go: https://github.com/ChainSafe/forest/tree/5a05dd184a6e8f9eaeb21c8f122b3f9a0b89b974/codegen
We have therefore manually implemented our RPC API from scratch.
The interface definition language for JSON-RPC interfaces is OpenRPC: https://open-rpc.org/, which can be the basis for a FIP.
We should not maintain a separate OpenRPC document for our API - it can be generated from our existing code.
This issue tracks
4365