Closed CalebEverett closed 2 years ago
@thlorenz this seems like a weird issue coming from the generator. @VadimGrozinok
I can have a look, but would need more to go on. Do you have a repo where this generated code lives? Also was the IDL generated by shank or anchor?
I didn't have the correct idl generator specified in .solitarc.js
.
I may not be providing the arguments the right way, but the types were all ok.
I tracked it down to the following in
BeetWriter
:Here is what gets logged to the console:
It looked like the instance in this case was
AdminSettings
and that it didn't include a key foraccountDiscriminator
.Thanks for taking a look.