From c7cb97af5ab4891a79158b0eb5f6427e21124660 Mon Sep 17 00:00:00 2001 From: acheron Date: Tue, 23 Jul 2024 10:36:54 +0200 Subject: [PATCH 1/2] Add toolchain section in `Anchor.toml` --- programs/tic-tac-toe/Anchor.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/programs/tic-tac-toe/Anchor.toml b/programs/tic-tac-toe/Anchor.toml index 0fcca07..8c4638b 100644 --- a/programs/tic-tac-toe/Anchor.toml +++ b/programs/tic-tac-toe/Anchor.toml @@ -1,3 +1,7 @@ +[toolchain] +anchor_version = "0.29.0" +solana_version = "1.16.20" + [programs.localnet] tic_tac_toe = "Fg6PaFpoGXkYsidMpWTK6W2BeZ7FEfcYkg476zPFsLnS" From e181ec2cd69c363f923d2dab81508d7efabf8d8a Mon Sep 17 00:00:00 2001 From: acheron Date: Tue, 23 Jul 2024 10:40:34 +0200 Subject: [PATCH 2/2] Use `1.17.0` for `solana_version` `solana-install list` command is unavailable in v1.16 which makes the reverting of the version override fail --- programs/tic-tac-toe/Anchor.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/tic-tac-toe/Anchor.toml b/programs/tic-tac-toe/Anchor.toml index 8c4638b..671959c 100644 --- a/programs/tic-tac-toe/Anchor.toml +++ b/programs/tic-tac-toe/Anchor.toml @@ -1,6 +1,6 @@ [toolchain] anchor_version = "0.29.0" -solana_version = "1.16.20" +solana_version = "1.17.0" [programs.localnet] tic_tac_toe = "Fg6PaFpoGXkYsidMpWTK6W2BeZ7FEfcYkg476zPFsLnS"