Skip to content

Commit 1fb50ed

Browse files
Upgrade Anchor programs from 1.0.0-rc.5 to 1.0.0 stable
- Update anchor-lang and anchor-spl to 1.0.0 in all Cargo.toml files - Update @anchor-lang/core to 1.0.0 in all package.json files - Remove stale RC pin comments from Cargo.toml files - Update .reference/ANCHOR-1.0-MIGRATION.md to reflect stable release - Keep all existing tests unchanged (no LiteSVM additions)
1 parent c0801dd commit 1fb50ed

File tree

101 files changed

+121
-152
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+121
-152
lines changed

.reference/ANCHOR-1.0-MIGRATION.md

Lines changed: 6 additions & 6 deletions

basics/account-data/anchor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"dependencies": {
3-
"@anchor-lang/core": "1.0.0-rc.5",
3+
"@anchor-lang/core": "1.0.0",
44
"@solana/web3.js": "^1.98.4"
55
},
66
"devDependencies": {

basics/account-data/anchor/programs/anchor-program-example/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ custom-heap = []
2020
custom-panic = []
2121

2222
[dependencies]
23-
# Anchor 1.0.0-rc.5 — pin to RC until stable release
2423
anchor-lang = "1.0.0"
2524

2625
[lints.rust]

basics/checking-accounts/anchor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"type": "module",
33
"dependencies": {
4-
"@anchor-lang/core": "1.0.0-rc.5",
4+
"@anchor-lang/core": "1.0.0",
55
"@solana/web3.js": "^1.98.4"
66
},
77
"devDependencies": {

basics/checking-accounts/anchor/programs/anchor-program-example/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ custom-heap = []
2020
custom-panic = []
2121

2222
[dependencies]
23-
# Anchor 1.0.0-rc.5 — pin to RC until stable release
2423
anchor-lang = "1.0.0"
2524

2625
[lints.rust]

basics/close-account/anchor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"lint": "prettier */*.js \"*/**/*{.js,.ts}\" --check"
55
},
66
"dependencies": {
7-
"@anchor-lang/core": "1.0.0-rc.5",
7+
"@anchor-lang/core": "1.0.0",
88
"@solana/web3.js": "^1.98.4",
99
"litesvm": "^0.4.0"
1010
},

basics/close-account/anchor/programs/close-account/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ custom-heap = []
2020
custom-panic = []
2121

2222
[dependencies]
23-
# Anchor 1.0.0-rc.5 — pin to RC until stable release
2423
anchor-lang = "1.0.0"
2524

2625
[lints.rust]

basics/counter/anchor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"lint": "prettier */*.js \"*/**/*{.js,.ts}\" --check"
55
},
66
"dependencies": {
7-
"@anchor-lang/core": "1.0.0-rc.5",
7+
"@anchor-lang/core": "1.0.0",
88
"@solana/web3.js": "^1.98.4",
99
"litesvm": "^0.4.0"
1010
},

basics/counter/anchor/programs/counter_anchor/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ custom-heap = []
2020
custom-panic = []
2121

2222
[dependencies]
23-
# Anchor 1.0.0-rc.5 — pin to RC until stable release
2423
anchor-lang = "1.0.0"
2524

2625
[lints.rust]

basics/create-account/anchor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"type": "module",
33
"dependencies": {
4-
"@anchor-lang/core": "1.0.0-rc.5",
4+
"@anchor-lang/core": "1.0.0",
55
"@solana/web3.js": "^1.98.4",
66
"litesvm": "^0.4.0"
77
},

0 commit comments

Comments
 (0)