Skip to content

Commit 9642fd6

Browse files
committed
update anchor version and remove allow attributes
1 parent dd378dc commit 9642fd6

File tree

155 files changed

+374
-491
lines changed

Some content is hidden

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

155 files changed

+374
-491
lines changed

Cargo.lock

Lines changed: 71 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
2-
"dependencies": {
3-
"@coral-xyz/anchor": "0.31.1",
4-
"@solana/web3.js": "^1.95.2"
5-
},
6-
"devDependencies": {
7-
"@types/bn.js": "^5.1.0",
8-
"@types/chai": "^4.3.0",
9-
"@types/mocha": "^9.0.0",
10-
"anchor-bankrun": "^0.4.0",
11-
"chai": "^4.3.4",
12-
"mocha": "^9.0.3",
13-
"solana-bankrun": "^0.3.0",
14-
"ts-mocha": "^10.0.0",
15-
"typescript": "^4.3.5"
16-
},
17-
"type": "module"
2+
"dependencies": {
3+
"@coral-xyz/anchor": "0.32.1",
4+
"@solana/web3.js": "^1.95.2"
5+
},
6+
"devDependencies": {
7+
"@types/bn.js": "^5.1.0",
8+
"@types/chai": "^4.3.0",
9+
"@types/mocha": "^9.0.0",
10+
"anchor-bankrun": "^0.4.0",
11+
"chai": "^4.3.4",
12+
"mocha": "^9.0.3",
13+
"solana-bankrun": "^0.3.0",
14+
"ts-mocha": "^10.0.0",
15+
"typescript": "^4.3.5"
16+
},
17+
"type": "module"
1818
}

basics/account-data/anchor/pnpm-lock.yaml

Lines changed: 26 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ no-entrypoint = []
1515
no-idl = []
1616
no-log-ix-name = []
1717
idl-build = ["anchor-lang/idl-build"]
18+
anchor-debug = []
19+
custom-heap = []
20+
custom-panic = []
1821

1922
[dependencies]
20-
anchor-lang = "0.31.1"
23+
anchor-lang = "0.32.1"
24+
25+
[lints.rust]
26+
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("solana"))'] }

basics/account-data/anchor/programs/anchor-program-example/src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
#![allow(clippy::result_large_err)]
2-
#![allow(unexpected_cfgs)]
3-
#![allow(deprecated)]
41
use anchor_lang::prelude::*;
52
use instructions::*;
63

0 commit comments

Comments
 (0)