-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Misc questions about use #24
Comments
Thanks for the detailed feedback :)
|
Nice work so far. In trying to get my head around what this is aiming to do and having a play with it, I have some questions:
openrpc generate
command is used to generate what's in rust/bindings/src/v0.rs, I suppose off a current forest openrpc spec?a. I couldn't get it to work with the lotus one you bundled, is that because it doesn't clearly conform to spec? Is there an easy way to see those problems so we can address them individually? The failure and backtrace doesn't really help much in understanding that.
b. The output for forest v0 doesn't seem to have newlines at all; is this meant to be auto formatted later on? What's the workflow here to generate these?
c. How can we use this generate process to check the openrpc spec of the node being pointed to? The ideal seems to be that we converge on a single subset API and we should be able to just poke the node and see that it has that subset and they are properly defined.
d. Is it intended that you'd manually verify the bindings once generated since they seem to be a critical piece here.
{"v0":{ "url": "http://localhost:1234/rpc/v0" }}
. Spitting out json-schema is a bit gnarly, maybe just an example in markdown would be good.The text was updated successfully, but these errors were encountered: