An error occurred when updating program id using anchor keys sync #3222
Labels
bug
Something isn't working
cli
good first issue
Good for newcomers
help wanted
Extra attention is needed
First, I modify the configuration of the anchor.toml file and then run the run build command. This is normal.
Now I want to change a program id. I first deleted my program key file target/deploy/kinobi_test-keypair.json. Then run the anchor keys list command to generate a new program key. Then run the anchor keys sync command. The result is that the anchor.toml I modified before is overwritten, causing me to lose my original configuration information, and the anchor build will fail at this time.
The text was updated successfully, but these errors were encountered: