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
It repeats the same error several times until eventually it stops retrying. On the blockchain I see that IDL account was created, but it seems that Anchor failed to write the actual IDL to the account. On devnet the very same IDL works correctly.
It seems like an issue when using the default RPC, I managed to reproduce the same issue with solana program write-buffer - and mitigated it by providing a custom RPC node url with --url parameter. I guess I just need to figure out now how to provide a custom cluster url to anchor idl init.
There is no specific implementation based on the cluster for the idl init command.
It seems like an issue when using the default RPC, I managed to reproduce the same issue with solana program write-buffer - and mitigated it by providing a custom RPC node url with --url parameter. I guess I just need to figure out now how to provide a custom cluster url to anchor idl init.
You can either set the [provider.cluster] value in Anchor.toml or pass in --provider.cluster.
Whenever I try to run
anchor idl init
on mainnet I get an error:It repeats the same error several times until eventually it stops retrying. On the blockchain I see that IDL account was created, but it seems that Anchor failed to write the actual IDL to the account. On devnet the very same IDL works correctly.
Versions:
The text was updated successfully, but these errors were encountered: