You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the current pda-derivation test case, the IDL is properly populated with the PDA seeds since the seeds are declared and referenced within the same module/scope as the Accounts structs.
If you move the seeds outside of the scope of the struct:
...and if you use the seed into the module (use seeds::MY_SEED) and remove the module scope prefix, it will still fail with the appropriately modified ident parsing error.
It seems that only seeds defined within the same scope at the Accounts struct that is using them will parse correctly.
The text was updated successfully, but these errors were encountered:
In the current
pda-derivation
test case, the IDL is properly populated with the PDA seeds since the seeds are declared and referenced within the same module/scope as theAccounts
structs.If you move the seeds outside of the scope of the struct:
This will fail to parse and translate the seeds into the IDL with:
...and if you
use
the seed into the module (use seeds::MY_SEED
) and remove the module scope prefix, it will still fail with the appropriately modifiedident
parsing error.It seems that only seeds defined within the same scope at the
Accounts
struct that is using them will parse correctly.The text was updated successfully, but these errors were encountered: