-
Notifications
You must be signed in to change notification settings - Fork 46
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
there are various erros in the generated proto file when use sol-anchor-beta #570
Comments
@cxp-13 Could you share a block range with data for the IDL? We're currently fixing this issue |
|
@cxp-13 I've fixed the compilation issue (it's still not merged), but I'd like to test if the Substreams can decode the data successfully using |
sorry about that the verified not work on Devnet. |
My IDL File: https://gist.github.com/cxp-13/3e5b6880cdd218d1fc4d35d8fe249641
The questionable generated proto file: https://gist.github.com/cxp-13/7173242746d4f07ecc68ae599411f080
It generate program.proto has problem, when execute
substreams init
and choose thesol-anchor-beta - Given an Anchor JSON IDL, create a Substreams that decodes instructions and events
there are various erros in the generated proto file.
question 1: Produce two same pieces of message.
There are even missing parts:
Should be :
In
src/lib.rs
, the event just usedtrx_hash
, so I removed the other message and the building process was successful.The text was updated successfully, but these errors were encountered: