From 24ccaea90343ca88344e4d3f0d516cbf7c16f77d Mon Sep 17 00:00:00 2001 From: Armani Ferrante Date: Sun, 20 Feb 2022 20:32:38 -0500 Subject: [PATCH] v0.22.0 (#1484) --- CHANGELOG.md | 2 ++ Cargo.lock | 30 +++++++++---------- VERSION | 2 +- avm/Cargo.toml | 2 +- cli/Cargo.toml | 2 +- cli/npm-package/package.json | 2 +- client/Cargo.toml | 4 +-- docs/src/getting-started/installation.md | 2 +- docs/src/getting-started/publishing.md | 2 +- docs/src/getting-started/verification.md | 4 +-- examples/tutorial/basic-0/package.json | 2 +- examples/tutorial/basic-1/package.json | 2 +- examples/tutorial/basic-2/package.json | 2 +- examples/tutorial/basic-3/package.json | 2 +- examples/tutorial/basic-4/package.json | 2 +- examples/tutorial/package.json | 2 +- lang/Cargo.toml | 20 ++++++------- lang/attribute/access-control/Cargo.toml | 4 +-- lang/attribute/account/Cargo.toml | 4 +-- lang/attribute/constant/Cargo.toml | 4 +-- lang/attribute/error/Cargo.toml | 4 +-- lang/attribute/event/Cargo.toml | 4 +-- lang/attribute/interface/Cargo.toml | 4 +-- lang/attribute/program/Cargo.toml | 4 +-- lang/attribute/state/Cargo.toml | 4 +-- lang/derive/accounts/Cargo.toml | 4 +-- lang/syn/Cargo.toml | 2 +- spl/Cargo.toml | 4 +-- tests/bpf-upgradeable-state/package.json | 2 +- tests/cashiers-check/package.json | 2 +- tests/cfo/package.json | 2 +- tests/cfo/programs/cfo/src/lib.rs | 2 +- tests/chat/package.json | 2 +- tests/composite/package.json | 2 +- tests/declare-id/package.json | 2 +- tests/errors/package.json | 2 +- tests/escrow/package.json | 2 +- tests/events/package.json | 2 +- tests/floats/package.json | 2 +- tests/ido-pool/package.json | 2 +- tests/interface/package.json | 2 +- tests/lockup/package.json | 2 +- tests/misc/package.json | 2 +- tests/multisig/package.json | 2 +- tests/package.json | 2 +- tests/pda-derivation/package.json | 2 +- tests/pyth/package.json | 2 +- .../programs/account-info/Cargo.toml | 2 +- tests/spl/token-proxy/package.json | 2 +- tests/swap/package.json | 2 +- tests/system-accounts/package.json | 2 +- tests/sysvars/package.json | 2 +- tests/tictactoe/package.json | 2 +- tests/typescript/package.json | 2 +- tests/zero-copy/package.json | 2 +- ts/package.json | 2 +- 56 files changed, 92 insertions(+), 90 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 77e70e0c..92333cc9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ incremented for features. ## [Unreleased] +## [0.22.0] - 2022-02-20 + ### Features * lang: add check that declared id == program id ([#1451](https://github.com/project-serum/anchor/pull/1451)) diff --git a/Cargo.lock b/Cargo.lock index edb865ee..0cde610c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -56,7 +56,7 @@ checksum = "6b2d54853319fd101b8dd81de382bcbf3e03410a64d8928bbee85a3e7dcde483" [[package]] name = "anchor-attribute-access-control" -version = "0.21.0" +version = "0.22.0" dependencies = [ "anchor-syn", "anyhow", @@ -68,7 +68,7 @@ dependencies = [ [[package]] name = "anchor-attribute-account" -version = "0.21.0" +version = "0.22.0" dependencies = [ "anchor-syn", "anyhow", @@ -81,7 +81,7 @@ dependencies = [ [[package]] name = "anchor-attribute-constant" -version = "0.21.0" +version = "0.22.0" dependencies = [ "anchor-syn", "proc-macro2 1.0.32", @@ -90,7 +90,7 @@ dependencies = [ [[package]] name = "anchor-attribute-error" -version = "0.21.0" +version = "0.22.0" dependencies = [ "anchor-syn", "proc-macro2 1.0.32", @@ -100,7 +100,7 @@ dependencies = [ [[package]] name = "anchor-attribute-event" -version = "0.21.0" +version = "0.22.0" dependencies = [ "anchor-syn", "anyhow", @@ -111,7 +111,7 @@ dependencies = [ [[package]] name = "anchor-attribute-interface" -version = "0.21.0" +version = "0.22.0" dependencies = [ "anchor-syn", "anyhow", @@ -123,7 +123,7 @@ dependencies = [ [[package]] name = "anchor-attribute-program" -version = "0.21.0" +version = "0.22.0" dependencies = [ "anchor-syn", "anyhow", @@ -134,7 +134,7 @@ dependencies = [ [[package]] name = "anchor-attribute-state" -version = "0.21.0" +version = "0.22.0" dependencies = [ "anchor-syn", "anyhow", @@ -145,7 +145,7 @@ dependencies = [ [[package]] name = "anchor-cli" -version = "0.21.0" +version = "0.22.0" dependencies = [ "anchor-client", "anchor-lang", @@ -177,7 +177,7 @@ dependencies = [ [[package]] name = "anchor-client" -version = "0.21.0" +version = "0.22.0" dependencies = [ "anchor-lang", "anyhow", @@ -192,7 +192,7 @@ dependencies = [ [[package]] name = "anchor-derive-accounts" -version = "0.21.0" +version = "0.22.0" dependencies = [ "anchor-syn", "anyhow", @@ -203,7 +203,7 @@ dependencies = [ [[package]] name = "anchor-lang" -version = "0.21.0" +version = "0.22.0" dependencies = [ "anchor-attribute-access-control", "anchor-attribute-account", @@ -225,7 +225,7 @@ dependencies = [ [[package]] name = "anchor-spl" -version = "0.21.0" +version = "0.22.0" dependencies = [ "anchor-lang", "serum_dex", @@ -236,7 +236,7 @@ dependencies = [ [[package]] name = "anchor-syn" -version = "0.21.0" +version = "0.22.0" dependencies = [ "anyhow", "bs58 0.3.1", @@ -303,7 +303,7 @@ checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" [[package]] name = "avm" -version = "0.21.0" +version = "0.22.0" dependencies = [ "anyhow", "cfg-if 1.0.0", diff --git a/VERSION b/VERSION index 88541566..21574090 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.21.0 +0.22.0 diff --git a/avm/Cargo.toml b/avm/Cargo.toml index cb5e985e..e7f3b8d9 100644 --- a/avm/Cargo.toml +++ b/avm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "avm" -version = "0.21.0" +version = "0.22.0" edition = "2018" [[bin]] diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 1cac92da..28523998 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-cli" -version = "0.21.0" +version = "0.22.0" authors = ["armaniferrante "] edition = "2018" diff --git a/cli/npm-package/package.json b/cli/npm-package/package.json index 1ba5478f..510fdec7 100644 --- a/cli/npm-package/package.json +++ b/cli/npm-package/package.json @@ -1,6 +1,6 @@ { "name": "@project-serum/anchor-cli", - "version": "0.21.0", + "version": "0.22.0", "description": "Anchor CLI tool", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/client/Cargo.toml b/client/Cargo.toml index 9ec6b0c2..b3403905 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-client" -version = "0.21.0" +version = "0.22.0" authors = ["Serum Foundation "] edition = "2018" license = "Apache-2.0" @@ -10,7 +10,7 @@ description = "Rust client for Anchor programs" debug = [] [dependencies] -anchor-lang = { path = "../lang", version = "0.21.0" } +anchor-lang = { path = "../lang", version = "0.22.0" } anyhow = "1.0.32" regex = "1.4.5" serde = { version = "1.0.122", features = ["derive"] } diff --git a/docs/src/getting-started/installation.md b/docs/src/getting-started/installation.md index 25cd897d..3759de81 100644 --- a/docs/src/getting-started/installation.md +++ b/docs/src/getting-started/installation.md @@ -44,7 +44,7 @@ npm i -g @project-serum/anchor-cli For now, we can use Cargo to install the CLI. ```bash -cargo install --git https://github.com/project-serum/anchor --tag v0.21.0 anchor-cli --locked +cargo install --git https://github.com/project-serum/anchor --tag v0.22.0 anchor-cli --locked ``` On Linux systems you may need to install additional dependencies if `cargo install` fails. On Ubuntu, diff --git a/docs/src/getting-started/publishing.md b/docs/src/getting-started/publishing.md index 5a48d37c..35a3c0fe 100644 --- a/docs/src/getting-started/publishing.md +++ b/docs/src/getting-started/publishing.md @@ -30,7 +30,7 @@ have an `Anchor.toml` to define the build. An example `Anchor.toml` config looks as follows, ```toml -anchor_version = "0.21.0" +anchor_version = "0.22.0" [workspace] members = ["programs/multisig"] diff --git a/docs/src/getting-started/verification.md b/docs/src/getting-started/verification.md index 11d26b17..9b72a68b 100644 --- a/docs/src/getting-started/verification.md +++ b/docs/src/getting-started/verification.md @@ -32,10 +32,10 @@ If the program has an IDL, it will also check the IDL deployed on chain matches. ## Images -A docker image for each version of Anchor is published on [Docker Hub](https://hub.docker.com/r/projectserum/build). They are tagged in the form `projectserum/build:`. For example, to get the image for Anchor `v0.21.0` one can run +A docker image for each version of Anchor is published on [Docker Hub](https://hub.docker.com/r/projectserum/build). They are tagged in the form `projectserum/build:`. For example, to get the image for Anchor `v0.22.0` one can run ``` -docker pull projectserum/build:v0.21.0 +docker pull projectserum/build:v0.22.0 ``` ## Removing an Image diff --git a/examples/tutorial/basic-0/package.json b/examples/tutorial/basic-0/package.json index 0e63330f..44b07657 100644 --- a/examples/tutorial/basic-0/package.json +++ b/examples/tutorial/basic-0/package.json @@ -1,6 +1,6 @@ { "name": "basic-0", - "version": "0.21.0", + "version": "0.22.0", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/examples/tutorial/basic-1/package.json b/examples/tutorial/basic-1/package.json index 987ef48a..7ad4e01b 100644 --- a/examples/tutorial/basic-1/package.json +++ b/examples/tutorial/basic-1/package.json @@ -1,6 +1,6 @@ { "name": "basic-1", - "version": "0.21.0", + "version": "0.22.0", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/examples/tutorial/basic-2/package.json b/examples/tutorial/basic-2/package.json index 46decce6..9c12676c 100644 --- a/examples/tutorial/basic-2/package.json +++ b/examples/tutorial/basic-2/package.json @@ -1,6 +1,6 @@ { "name": "basic-2", - "version": "0.21.0", + "version": "0.22.0", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/examples/tutorial/basic-3/package.json b/examples/tutorial/basic-3/package.json index c88fd5d2..b596176d 100644 --- a/examples/tutorial/basic-3/package.json +++ b/examples/tutorial/basic-3/package.json @@ -1,6 +1,6 @@ { "name": "basic-3", - "version": "0.21.0", + "version": "0.22.0", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/examples/tutorial/basic-4/package.json b/examples/tutorial/basic-4/package.json index d3a99c49..a4818eae 100644 --- a/examples/tutorial/basic-4/package.json +++ b/examples/tutorial/basic-4/package.json @@ -1,6 +1,6 @@ { "name": "basic-4", - "version": "0.21.0", + "version": "0.22.0", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/examples/tutorial/package.json b/examples/tutorial/package.json index a126bcd1..860b78aa 100644 --- a/examples/tutorial/package.json +++ b/examples/tutorial/package.json @@ -13,7 +13,7 @@ "basic-4" ], "dependencies": { - "@project-serum/anchor": "^0.21.0" + "@project-serum/anchor": "^0.22.0" }, "devDependencies": { "mocha": "^9.1.3", diff --git a/lang/Cargo.toml b/lang/Cargo.toml index d8dd796f..ef824540 100644 --- a/lang/Cargo.toml +++ b/lang/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-lang" -version = "0.21.0" +version = "0.22.0" authors = ["Serum Foundation "] repository = "https://github.com/project-serum/anchor" edition = "2018" @@ -25,15 +25,15 @@ anchor-debug = [ ] [dependencies] -anchor-attribute-access-control = { path = "./attribute/access-control", version = "0.21.0" } -anchor-attribute-account = { path = "./attribute/account", version = "0.21.0" } -anchor-attribute-constant = { path = "./attribute/constant", version = "0.21.0" } -anchor-attribute-error = { path = "./attribute/error", version = "0.21.0" } -anchor-attribute-program = { path = "./attribute/program", version = "0.21.0" } -anchor-attribute-state = { path = "./attribute/state", version = "0.21.0" } -anchor-attribute-interface = { path = "./attribute/interface", version = "0.21.0" } -anchor-attribute-event = { path = "./attribute/event", version = "0.21.0" } -anchor-derive-accounts = { path = "./derive/accounts", version = "0.21.0" } +anchor-attribute-access-control = { path = "./attribute/access-control", version = "0.22.0" } +anchor-attribute-account = { path = "./attribute/account", version = "0.22.0" } +anchor-attribute-constant = { path = "./attribute/constant", version = "0.22.0" } +anchor-attribute-error = { path = "./attribute/error", version = "0.22.0" } +anchor-attribute-program = { path = "./attribute/program", version = "0.22.0" } +anchor-attribute-state = { path = "./attribute/state", version = "0.22.0" } +anchor-attribute-interface = { path = "./attribute/interface", version = "0.22.0" } +anchor-attribute-event = { path = "./attribute/event", version = "0.22.0" } +anchor-derive-accounts = { path = "./derive/accounts", version = "0.22.0" } arrayref = "0.3.6" base64 = "0.13.0" borsh = "0.9" diff --git a/lang/attribute/access-control/Cargo.toml b/lang/attribute/access-control/Cargo.toml index 4dc917cf..d51f6022 100644 --- a/lang/attribute/access-control/Cargo.toml +++ b/lang/attribute/access-control/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-attribute-access-control" -version = "0.21.0" +version = "0.22.0" authors = ["Serum Foundation "] repository = "https://github.com/project-serum/anchor" license = "Apache-2.0" @@ -18,5 +18,5 @@ proc-macro2 = "1.0" quote = "1.0" syn = { version = "1.0.60", features = ["full"] } anyhow = "1.0.32" -anchor-syn = { path = "../../syn", version = "0.21.0" } +anchor-syn = { path = "../../syn", version = "0.22.0" } regex = "1.0" diff --git a/lang/attribute/account/Cargo.toml b/lang/attribute/account/Cargo.toml index 60c54514..6d8339ed 100644 --- a/lang/attribute/account/Cargo.toml +++ b/lang/attribute/account/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-attribute-account" -version = "0.21.0" +version = "0.22.0" authors = ["Serum Foundation "] repository = "https://github.com/project-serum/anchor" license = "Apache-2.0" @@ -18,6 +18,6 @@ proc-macro2 = "1.0" quote = "1.0" syn = { version = "1.0.60", features = ["full"] } anyhow = "1.0.32" -anchor-syn = { path = "../../syn", version = "0.21.0", features = ["hash"] } +anchor-syn = { path = "../../syn", version = "0.22.0", features = ["hash"] } rustversion = "1.0.3" bs58 = "0.4.0" \ No newline at end of file diff --git a/lang/attribute/constant/Cargo.toml b/lang/attribute/constant/Cargo.toml index 9c5bc529..1d0870ee 100644 --- a/lang/attribute/constant/Cargo.toml +++ b/lang/attribute/constant/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-attribute-constant" -version = "0.21.0" +version = "0.22.0" authors = ["Serum Foundation "] repository = "https://github.com/project-serum/anchor" license = "Apache-2.0" @@ -16,4 +16,4 @@ anchor-debug = ["anchor-syn/anchor-debug"] [dependencies] proc-macro2 = "1.0" syn = { version = "1.0.60", features = ["full"] } -anchor-syn = { path = "../../syn", version = "0.21.0" } +anchor-syn = { path = "../../syn", version = "0.22.0" } diff --git a/lang/attribute/error/Cargo.toml b/lang/attribute/error/Cargo.toml index c07d7fd5..e43a0176 100644 --- a/lang/attribute/error/Cargo.toml +++ b/lang/attribute/error/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-attribute-error" -version = "0.21.0" +version = "0.22.0" authors = ["Serum Foundation "] repository = "https://github.com/project-serum/anchor" license = "Apache-2.0" @@ -17,4 +17,4 @@ anchor-debug = ["anchor-syn/anchor-debug"] proc-macro2 = "1.0" quote = "1.0" syn = { version = "1.0.60", features = ["full"] } -anchor-syn = { path = "../../syn", version = "0.21.0" } +anchor-syn = { path = "../../syn", version = "0.22.0" } diff --git a/lang/attribute/event/Cargo.toml b/lang/attribute/event/Cargo.toml index f7fc57c0..29e41b11 100644 --- a/lang/attribute/event/Cargo.toml +++ b/lang/attribute/event/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-attribute-event" -version = "0.21.0" +version = "0.22.0" authors = ["Serum Foundation "] repository = "https://github.com/project-serum/anchor" license = "Apache-2.0" @@ -18,4 +18,4 @@ proc-macro2 = "1.0" quote = "1.0" syn = { version = "1.0.60", features = ["full"] } anyhow = "1.0.32" -anchor-syn = { path = "../../syn", version = "0.21.0", features = ["hash"] } +anchor-syn = { path = "../../syn", version = "0.22.0", features = ["hash"] } diff --git a/lang/attribute/interface/Cargo.toml b/lang/attribute/interface/Cargo.toml index c060695a..91d95902 100644 --- a/lang/attribute/interface/Cargo.toml +++ b/lang/attribute/interface/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-attribute-interface" -version = "0.21.0" +version = "0.22.0" authors = ["Serum Foundation "] repository = "https://github.com/project-serum/anchor" license = "Apache-2.0" @@ -18,5 +18,5 @@ proc-macro2 = "1.0" quote = "1.0" syn = { version = "1.0.60", features = ["full"] } anyhow = "1.0.32" -anchor-syn = { path = "../../syn", version = "0.21.0" } +anchor-syn = { path = "../../syn", version = "0.22.0" } heck = "0.3.2" diff --git a/lang/attribute/program/Cargo.toml b/lang/attribute/program/Cargo.toml index b2741bf9..f6a0e3c1 100644 --- a/lang/attribute/program/Cargo.toml +++ b/lang/attribute/program/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-attribute-program" -version = "0.21.0" +version = "0.22.0" authors = ["Serum Foundation "] repository = "https://github.com/project-serum/anchor" license = "Apache-2.0" @@ -18,4 +18,4 @@ proc-macro2 = "1.0" quote = "1.0" syn = { version = "1.0.60", features = ["full"] } anyhow = "1.0.32" -anchor-syn = { path = "../../syn", version = "0.21.0" } +anchor-syn = { path = "../../syn", version = "0.22.0" } diff --git a/lang/attribute/state/Cargo.toml b/lang/attribute/state/Cargo.toml index 5410025e..9b6e9500 100644 --- a/lang/attribute/state/Cargo.toml +++ b/lang/attribute/state/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-attribute-state" -version = "0.21.0" +version = "0.22.0" authors = ["Serum Foundation "] repository = "https://github.com/project-serum/anchor" license = "Apache-2.0" @@ -18,4 +18,4 @@ proc-macro2 = "1.0" quote = "1.0" syn = { version = "1.0.60", features = ["full"] } anyhow = "1.0.32" -anchor-syn = { path = "../../syn", version = "0.21.0" } +anchor-syn = { path = "../../syn", version = "0.22.0" } diff --git a/lang/derive/accounts/Cargo.toml b/lang/derive/accounts/Cargo.toml index faee825a..21dc6f1d 100644 --- a/lang/derive/accounts/Cargo.toml +++ b/lang/derive/accounts/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-derive-accounts" -version = "0.21.0" +version = "0.22.0" authors = ["Serum Foundation "] repository = "https://github.com/project-serum/anchor" license = "Apache-2.0" @@ -20,4 +20,4 @@ proc-macro2 = "1.0" quote = "1.0" syn = { version = "1.0.60", features = ["full"] } anyhow = "1.0.32" -anchor-syn = { path = "../../syn", version = "0.21.0" } +anchor-syn = { path = "../../syn", version = "0.22.0" } diff --git a/lang/syn/Cargo.toml b/lang/syn/Cargo.toml index 73a228d2..4b0324e7 100644 --- a/lang/syn/Cargo.toml +++ b/lang/syn/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-syn" -version = "0.21.0" +version = "0.22.0" authors = ["Serum Foundation "] repository = "https://github.com/project-serum/anchor" license = "Apache-2.0" diff --git a/spl/Cargo.toml b/spl/Cargo.toml index 12c88a0c..dd3c13e4 100644 --- a/spl/Cargo.toml +++ b/spl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-spl" -version = "0.21.0" +version = "0.22.0" authors = ["Serum Foundation "] edition = "2018" license = "Apache-2.0" @@ -17,7 +17,7 @@ devnet = [] dex = ["serum_dex"] [dependencies] -anchor-lang = { path = "../lang", version = "0.21.0", features = ["derive"] } +anchor-lang = { path = "../lang", version = "0.22.0", features = ["derive"] } serum_dex = { git = "https://github.com/project-serum/serum-dex", rev = "1be91f2", version = "0.4.0", features = ["no-entrypoint"], optional = true } solana-program = "1.8.5" spl-token = { version = "3.1.1", features = ["no-entrypoint"], optional = true } diff --git a/tests/bpf-upgradeable-state/package.json b/tests/bpf-upgradeable-state/package.json index 178ce3f7..f20be7b5 100644 --- a/tests/bpf-upgradeable-state/package.json +++ b/tests/bpf-upgradeable-state/package.json @@ -1,6 +1,6 @@ { "dependencies": { - "@project-serum/anchor": "^0.21.0" + "@project-serum/anchor": "^0.22.0" }, "devDependencies": { "chai": "^4.3.4", diff --git a/tests/cashiers-check/package.json b/tests/cashiers-check/package.json index 1e7b994f..cbf96d98 100644 --- a/tests/cashiers-check/package.json +++ b/tests/cashiers-check/package.json @@ -1,6 +1,6 @@ { "name": "cashiers-check", - "version": "0.21.0", + "version": "0.22.0", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/tests/cfo/package.json b/tests/cfo/package.json index 3ddc967d..81c62016 100644 --- a/tests/cfo/package.json +++ b/tests/cfo/package.json @@ -1,6 +1,6 @@ { "name": "cfo", - "version": "0.21.0", + "version": "0.22.0", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/tests/cfo/programs/cfo/src/lib.rs b/tests/cfo/programs/cfo/src/lib.rs index d3c51604..99e759ad 100644 --- a/tests/cfo/programs/cfo/src/lib.rs +++ b/tests/cfo/programs/cfo/src/lib.rs @@ -195,7 +195,7 @@ pub mod cfo { let expiry_ts = 1853942400; // 9/30/2028. let expiry_receiver = *ctx.accounts.officer.to_account_info().key; let locked_kind = { - let start_ts = 1633017600; // 9/30.21.0. + let start_ts = 1633017600; // 9/30.22.0. let end_ts = 1822320000; // 9/30/2027. let period_count = 2191; RewardVendorKind::Locked { diff --git a/tests/chat/package.json b/tests/chat/package.json index 91d383bf..bbfb9c0e 100644 --- a/tests/chat/package.json +++ b/tests/chat/package.json @@ -1,6 +1,6 @@ { "name": "chat", - "version": "0.21.0", + "version": "0.22.0", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/tests/composite/package.json b/tests/composite/package.json index 8716571d..026ff5c7 100644 --- a/tests/composite/package.json +++ b/tests/composite/package.json @@ -1,6 +1,6 @@ { "name": "composite", - "version": "0.21.0", + "version": "0.22.0", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/tests/declare-id/package.json b/tests/declare-id/package.json index 0be35fc5..54659e92 100644 --- a/tests/declare-id/package.json +++ b/tests/declare-id/package.json @@ -1,6 +1,6 @@ { "name": "declare-id", - "version": "0.21.0", + "version": "0.22.0", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/tests/errors/package.json b/tests/errors/package.json index a8acd518..8be73d64 100644 --- a/tests/errors/package.json +++ b/tests/errors/package.json @@ -1,6 +1,6 @@ { "name": "errors", - "version": "0.21.0", + "version": "0.22.0", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/tests/escrow/package.json b/tests/escrow/package.json index fd85be5b..44d3f5cf 100644 --- a/tests/escrow/package.json +++ b/tests/escrow/package.json @@ -1,6 +1,6 @@ { "name": "escrow", - "version": "0.21.0", + "version": "0.22.0", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/tests/events/package.json b/tests/events/package.json index f8c5bd24..bafd6d6e 100644 --- a/tests/events/package.json +++ b/tests/events/package.json @@ -1,6 +1,6 @@ { "name": "events", - "version": "0.21.0", + "version": "0.22.0", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/tests/floats/package.json b/tests/floats/package.json index ddda9fe2..38ba52f2 100644 --- a/tests/floats/package.json +++ b/tests/floats/package.json @@ -1,6 +1,6 @@ { "name": "floats", - "version": "0.21.0", + "version": "0.22.0", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/tests/ido-pool/package.json b/tests/ido-pool/package.json index 2171f743..da2ff3bc 100644 --- a/tests/ido-pool/package.json +++ b/tests/ido-pool/package.json @@ -1,6 +1,6 @@ { "name": "ido-pool", - "version": "0.21.0", + "version": "0.22.0", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/tests/interface/package.json b/tests/interface/package.json index e0c1c0fd..25fb02e5 100644 --- a/tests/interface/package.json +++ b/tests/interface/package.json @@ -1,6 +1,6 @@ { "name": "interface", - "version": "0.21.0", + "version": "0.22.0", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/tests/lockup/package.json b/tests/lockup/package.json index 1e23c084..0d99b402 100644 --- a/tests/lockup/package.json +++ b/tests/lockup/package.json @@ -1,6 +1,6 @@ { "name": "lockup", - "version": "0.21.0", + "version": "0.22.0", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/tests/misc/package.json b/tests/misc/package.json index bde5abb3..ff25b4e2 100644 --- a/tests/misc/package.json +++ b/tests/misc/package.json @@ -1,6 +1,6 @@ { "name": "misc", - "version": "0.21.0", + "version": "0.22.0", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/tests/multisig/package.json b/tests/multisig/package.json index 56e6e797..4cc2b97c 100644 --- a/tests/multisig/package.json +++ b/tests/multisig/package.json @@ -1,6 +1,6 @@ { "name": "multisig", - "version": "0.21.0", + "version": "0.22.0", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/tests/package.json b/tests/package.json index 78240c72..a31b05b4 100644 --- a/tests/package.json +++ b/tests/package.json @@ -33,7 +33,7 @@ "declare-id" ], "dependencies": { - "@project-serum/anchor": "^0.21.0", + "@project-serum/anchor": "^0.22.0", "@project-serum/common": "^0.0.1-beta.3", "@project-serum/serum": "^0.13.60", "@solana/spl-token": "^0.1.8" diff --git a/tests/pda-derivation/package.json b/tests/pda-derivation/package.json index 4f9b5276..b4558ec2 100644 --- a/tests/pda-derivation/package.json +++ b/tests/pda-derivation/package.json @@ -1,6 +1,6 @@ { "name": "pda-derivation", - "version": "0.21.0", + "version": "0.22.0", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/tests/pyth/package.json b/tests/pyth/package.json index 04c1e444..9631a374 100644 --- a/tests/pyth/package.json +++ b/tests/pyth/package.json @@ -1,6 +1,6 @@ { "name": "pyth", - "version": "0.21.0", + "version": "0.22.0", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/tests/safety-checks/programs/account-info/Cargo.toml b/tests/safety-checks/programs/account-info/Cargo.toml index 032a7227..56dd899b 100644 --- a/tests/safety-checks/programs/account-info/Cargo.toml +++ b/tests/safety-checks/programs/account-info/Cargo.toml @@ -16,4 +16,4 @@ cpi = ["no-entrypoint"] default = [] [dependencies] -anchor-lang = "0.21.0" +anchor-lang = "0.22.0" diff --git a/tests/spl/token-proxy/package.json b/tests/spl/token-proxy/package.json index 296d1fca..1493484c 100644 --- a/tests/spl/token-proxy/package.json +++ b/tests/spl/token-proxy/package.json @@ -1,6 +1,6 @@ { "name": "token-proxy", - "version": "0.21.0", + "version": "0.22.0", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/tests/swap/package.json b/tests/swap/package.json index a8a86aa7..a9f43c5a 100644 --- a/tests/swap/package.json +++ b/tests/swap/package.json @@ -1,6 +1,6 @@ { "name": "swap", - "version": "0.21.0", + "version": "0.22.0", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/tests/system-accounts/package.json b/tests/system-accounts/package.json index 79f2b45b..a9d4a5df 100644 --- a/tests/system-accounts/package.json +++ b/tests/system-accounts/package.json @@ -1,6 +1,6 @@ { "name": "system-accounts", - "version": "0.21.0", + "version": "0.22.0", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/tests/sysvars/package.json b/tests/sysvars/package.json index d6eadac2..0892a899 100644 --- a/tests/sysvars/package.json +++ b/tests/sysvars/package.json @@ -1,6 +1,6 @@ { "name": "sysvars", - "version": "0.21.0", + "version": "0.22.0", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/tests/tictactoe/package.json b/tests/tictactoe/package.json index 69b633a7..2ac71d44 100644 --- a/tests/tictactoe/package.json +++ b/tests/tictactoe/package.json @@ -1,6 +1,6 @@ { "name": "tictactoe", - "version": "0.21.0", + "version": "0.22.0", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/tests/typescript/package.json b/tests/typescript/package.json index 5aac6048..b3559539 100644 --- a/tests/typescript/package.json +++ b/tests/typescript/package.json @@ -1,6 +1,6 @@ { "name": "typescript-example", - "version": "0.21.0", + "version": "0.22.0", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/tests/zero-copy/package.json b/tests/zero-copy/package.json index 67912653..81c2c320 100644 --- a/tests/zero-copy/package.json +++ b/tests/zero-copy/package.json @@ -1,6 +1,6 @@ { "name": "zero-copy", - "version": "0.21.0", + "version": "0.22.0", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/ts/package.json b/ts/package.json index c5555de4..9622e394 100644 --- a/ts/package.json +++ b/ts/package.json @@ -1,6 +1,6 @@ { "name": "@project-serum/anchor", - "version": "0.21.0", + "version": "0.22.0", "description": "Anchor client", "module": "./dist/esm/index.js", "main": "./dist/cjs/index.js",