It'd be beneficial for tracking RPC progress and conformance to have a way to statically check conformance between Forest and Lotus RPC API.
Lotus API spec is defined in here
Forest API spec might be defined along the lines of this
Challenges:
completely different formats that included complex types from different programming languages - how much work will it be? Is it worth the time invested?,
Lotus spec is missing some methods, e.g., ChainNotify. If we do this, we should inquire Lotus team.
Is the snap format stable? Is Lotus spec format stable?
Ideas:
Can the spec formats between implementations be somehow unified? The snap files seem to be specific to Rust insta tool. What I'd like to see is some sort of OpenAPI language-agnostic approach.
Issue summary
It'd be beneficial for tracking RPC progress and conformance to have a way to statically check conformance between Forest and Lotus RPC API.
Lotus API spec is defined in here Forest API spec might be defined along the lines of this
Challenges:
ChainNotify
. If we do this, we should inquire Lotus team.snap
format stable? Is Lotus spec format stable?Ideas:
snap
files seem to be specific to Rustinsta
tool. What I'd like to see is some sort ofOpenAPI
language-agnostic approach.Other information and links