- Could someone explain what the differences are to
[programs.localnet]
,[programs.devnet]
and possibly[programs.mainnet-beta]
defined in Anchor.toml
The anchor-lang reference for the manifest only mentions programs.localnet
programs.localnet is used during testing on localnet where it's possible to load a program at genesis with the --bpf-program option on solana-test-validator
- Why does having two
programs.localnet
orprograms.devnet
result in this error
Error: Unable to deserialize config: redefinition of table `programs.localnet` for key `programs.localnet` at line 8 column 1
I am trying to have multiple programs in my Anchor workspace.