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
When using the declare_program macro, account name collisions can occur because many programs use generic names for accounts.
For example, if I have an account named vault and the IDL of the external program also defines a vault account, the following code will result in an IDL build error:
When using the
declare_program
macro, account name collisions can occur because many programs use generic names for accounts.For example, if I have an account named
vault
and the IDL of the external program also defines avault
account, the following code will result in an IDL build error:This will throw the following:
Error: Ambiguous discriminators for accounts Vault and ExternalVault
I'm seeing multiple solution here:
skip-idl-verify
flag for advanced use of anchordeclare_program macro
) from the IDL generation? (I'm afraid it might break stuff)The text was updated successfully, but these errors were encountered: