From 0b4c7b0c73f8e440d4d97055458879fcd084b404 Mon Sep 17 00:00:00 2001 From: Armani Ferrante Date: Wed, 13 Apr 2022 19:44:18 -0400 Subject: [PATCH] v0.24.2 (#1788) --- CHANGELOG.md | 2 ++ Cargo.lock | 28 +++++++++---------- VERSION | 2 +- avm/Cargo.lock | 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 +- 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/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/cpi-returns/package.json | 2 +- tests/declare-id/package.json | 2 +- tests/docs/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/multiple-suites/package.json | 2 +- .../programs/multiple-suites/Cargo.toml | 2 +- tests/multisig/package.json | 2 +- tests/pda-derivation/package.json | 2 +- tests/pyth/package.json | 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 +- 57 files changed, 92 insertions(+), 90 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d6932d44..daea9104 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ The minor version will be incremented upon a breaking change and the patch versi ## [Unreleased] +## [0.24.2] - 2022-04-13 + ### Fixes * lang: Fix `returns` being serialized as `null` instead of `undefined` in IDL ([#1782](https://github.com/project-serum/anchor/pull/1782)). diff --git a/Cargo.lock b/Cargo.lock index b32e71d4..49af9ec1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -61,7 +61,7 @@ checksum = "6b2d54853319fd101b8dd81de382bcbf3e03410a64d8928bbee85a3e7dcde483" [[package]] name = "anchor-attribute-access-control" -version = "0.24.1" +version = "0.24.2" dependencies = [ "anchor-syn", "anyhow", @@ -73,7 +73,7 @@ dependencies = [ [[package]] name = "anchor-attribute-account" -version = "0.24.1" +version = "0.24.2" dependencies = [ "anchor-syn", "anyhow", @@ -86,7 +86,7 @@ dependencies = [ [[package]] name = "anchor-attribute-constant" -version = "0.24.1" +version = "0.24.2" dependencies = [ "anchor-syn", "proc-macro2 1.0.36", @@ -95,7 +95,7 @@ dependencies = [ [[package]] name = "anchor-attribute-error" -version = "0.24.1" +version = "0.24.2" dependencies = [ "anchor-syn", "proc-macro2 1.0.36", @@ -105,7 +105,7 @@ dependencies = [ [[package]] name = "anchor-attribute-event" -version = "0.24.1" +version = "0.24.2" dependencies = [ "anchor-syn", "anyhow", @@ -116,7 +116,7 @@ dependencies = [ [[package]] name = "anchor-attribute-interface" -version = "0.24.1" +version = "0.24.2" dependencies = [ "anchor-syn", "anyhow", @@ -128,7 +128,7 @@ dependencies = [ [[package]] name = "anchor-attribute-program" -version = "0.24.1" +version = "0.24.2" dependencies = [ "anchor-syn", "anyhow", @@ -139,7 +139,7 @@ dependencies = [ [[package]] name = "anchor-attribute-state" -version = "0.24.1" +version = "0.24.2" dependencies = [ "anchor-syn", "anyhow", @@ -150,7 +150,7 @@ dependencies = [ [[package]] name = "anchor-cli" -version = "0.24.1" +version = "0.24.2" dependencies = [ "anchor-client", "anchor-lang", @@ -184,7 +184,7 @@ dependencies = [ [[package]] name = "anchor-client" -version = "0.24.1" +version = "0.24.2" dependencies = [ "anchor-lang", "anyhow", @@ -199,7 +199,7 @@ dependencies = [ [[package]] name = "anchor-derive-accounts" -version = "0.24.1" +version = "0.24.2" dependencies = [ "anchor-syn", "anyhow", @@ -210,7 +210,7 @@ dependencies = [ [[package]] name = "anchor-lang" -version = "0.24.1" +version = "0.24.2" dependencies = [ "anchor-attribute-access-control", "anchor-attribute-account", @@ -232,7 +232,7 @@ dependencies = [ [[package]] name = "anchor-spl" -version = "0.24.1" +version = "0.24.2" dependencies = [ "anchor-lang", "serum_dex", @@ -243,7 +243,7 @@ dependencies = [ [[package]] name = "anchor-syn" -version = "0.24.1" +version = "0.24.2" dependencies = [ "anyhow", "bs58 0.3.1", diff --git a/VERSION b/VERSION index 48b91fd8..8b95abd9 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.24.1 +0.24.2 diff --git a/avm/Cargo.lock b/avm/Cargo.lock index c3f82b55..f2c68108 100644 --- a/avm/Cargo.lock +++ b/avm/Cargo.lock @@ -39,7 +39,7 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "avm" -version = "0.24.1" +version = "0.24.2" dependencies = [ "anyhow", "cfg-if", diff --git a/avm/Cargo.toml b/avm/Cargo.toml index ef6a6ce8..137e8212 100644 --- a/avm/Cargo.toml +++ b/avm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "avm" -version = "0.24.1" +version = "0.24.2" rust-version = "1.56" edition = "2021" diff --git a/cli/Cargo.toml b/cli/Cargo.toml index bf464895..bc86a6c1 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-cli" -version = "0.24.1" +version = "0.24.2" authors = ["armaniferrante "] rust-version = "1.56" edition = "2021" diff --git a/cli/npm-package/package.json b/cli/npm-package/package.json index 54fb925e..b7ab304e 100644 --- a/cli/npm-package/package.json +++ b/cli/npm-package/package.json @@ -1,6 +1,6 @@ { "name": "@project-serum/anchor-cli", - "version": "0.24.1", + "version": "0.24.2", "description": "Anchor CLI tool", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/client/Cargo.toml b/client/Cargo.toml index 67f3be61..c1961516 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-client" -version = "0.24.1" +version = "0.24.2" authors = ["Serum Foundation "] rust-version = "1.56" edition = "2021" @@ -11,7 +11,7 @@ description = "Rust client for Anchor programs" debug = [] [dependencies] -anchor-lang = { path = "../lang", version = "0.24.1" } +anchor-lang = { path = "../lang", version = "0.24.2" } 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 e6a5deb3..bc7f8d0c 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.24.1 anchor-cli --locked +cargo install --git https://github.com/project-serum/anchor --tag v0.24.2 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 f82dfb5c..130908f0 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.24.1" +anchor_version = "0.24.2" [workspace] members = ["programs/multisig"] diff --git a/docs/src/getting-started/verification.md b/docs/src/getting-started/verification.md index 4e978314..67df7a3d 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.24.1` 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.24.2` one can run ``` -docker pull projectserum/build:v0.24.1 +docker pull projectserum/build:v0.24.2 ``` ## Removing an Image diff --git a/examples/tutorial/basic-0/package.json b/examples/tutorial/basic-0/package.json index 44364ef0..f44bf274 100644 --- a/examples/tutorial/basic-0/package.json +++ b/examples/tutorial/basic-0/package.json @@ -1,6 +1,6 @@ { "name": "basic-0", - "version": "0.24.1", + "version": "0.24.2", "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 fa735e49..13bcd228 100644 --- a/examples/tutorial/basic-1/package.json +++ b/examples/tutorial/basic-1/package.json @@ -1,6 +1,6 @@ { "name": "basic-1", - "version": "0.24.1", + "version": "0.24.2", "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 51c6b84d..8e4501af 100644 --- a/examples/tutorial/basic-2/package.json +++ b/examples/tutorial/basic-2/package.json @@ -1,6 +1,6 @@ { "name": "basic-2", - "version": "0.24.1", + "version": "0.24.2", "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 54a5de78..4e4a9fc1 100644 --- a/examples/tutorial/basic-3/package.json +++ b/examples/tutorial/basic-3/package.json @@ -1,6 +1,6 @@ { "name": "basic-3", - "version": "0.24.1", + "version": "0.24.2", "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 4b09f1e0..20b9006e 100644 --- a/examples/tutorial/basic-4/package.json +++ b/examples/tutorial/basic-4/package.json @@ -1,6 +1,6 @@ { "name": "basic-4", - "version": "0.24.1", + "version": "0.24.2", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/lang/Cargo.toml b/lang/Cargo.toml index f8cfa37a..8ae10adf 100644 --- a/lang/Cargo.toml +++ b/lang/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-lang" -version = "0.24.1" +version = "0.24.2" authors = ["Serum Foundation "] repository = "https://github.com/project-serum/anchor" rust-version = "1.56" @@ -26,15 +26,15 @@ anchor-debug = [ ] [dependencies] -anchor-attribute-access-control = { path = "./attribute/access-control", version = "0.24.1" } -anchor-attribute-account = { path = "./attribute/account", version = "0.24.1" } -anchor-attribute-constant = { path = "./attribute/constant", version = "0.24.1" } -anchor-attribute-error = { path = "./attribute/error", version = "0.24.1" } -anchor-attribute-program = { path = "./attribute/program", version = "0.24.1" } -anchor-attribute-state = { path = "./attribute/state", version = "0.24.1" } -anchor-attribute-interface = { path = "./attribute/interface", version = "0.24.1" } -anchor-attribute-event = { path = "./attribute/event", version = "0.24.1" } -anchor-derive-accounts = { path = "./derive/accounts", version = "0.24.1" } +anchor-attribute-access-control = { path = "./attribute/access-control", version = "0.24.2" } +anchor-attribute-account = { path = "./attribute/account", version = "0.24.2" } +anchor-attribute-constant = { path = "./attribute/constant", version = "0.24.2" } +anchor-attribute-error = { path = "./attribute/error", version = "0.24.2" } +anchor-attribute-program = { path = "./attribute/program", version = "0.24.2" } +anchor-attribute-state = { path = "./attribute/state", version = "0.24.2" } +anchor-attribute-interface = { path = "./attribute/interface", version = "0.24.2" } +anchor-attribute-event = { path = "./attribute/event", version = "0.24.2" } +anchor-derive-accounts = { path = "./derive/accounts", version = "0.24.2" } 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 47d37804..8647d83c 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.24.1" +version = "0.24.2" authors = ["Serum Foundation "] repository = "https://github.com/project-serum/anchor" license = "Apache-2.0" @@ -19,5 +19,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.24.1" } +anchor-syn = { path = "../../syn", version = "0.24.2" } regex = "1.0" diff --git a/lang/attribute/account/Cargo.toml b/lang/attribute/account/Cargo.toml index cd4f3367..b565d56d 100644 --- a/lang/attribute/account/Cargo.toml +++ b/lang/attribute/account/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-attribute-account" -version = "0.24.1" +version = "0.24.2" authors = ["Serum Foundation "] repository = "https://github.com/project-serum/anchor" license = "Apache-2.0" @@ -19,6 +19,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.24.1", features = ["hash"] } +anchor-syn = { path = "../../syn", version = "0.24.2", 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 0466e6c9..c8e481d7 100644 --- a/lang/attribute/constant/Cargo.toml +++ b/lang/attribute/constant/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-attribute-constant" -version = "0.24.1" +version = "0.24.2" authors = ["Serum Foundation "] repository = "https://github.com/project-serum/anchor" license = "Apache-2.0" @@ -17,4 +17,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.24.1" } +anchor-syn = { path = "../../syn", version = "0.24.2" } diff --git a/lang/attribute/error/Cargo.toml b/lang/attribute/error/Cargo.toml index 0f05ae32..efa6406c 100644 --- a/lang/attribute/error/Cargo.toml +++ b/lang/attribute/error/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-attribute-error" -version = "0.24.1" +version = "0.24.2" authors = ["Serum Foundation "] repository = "https://github.com/project-serum/anchor" license = "Apache-2.0" @@ -18,4 +18,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.24.1" } +anchor-syn = { path = "../../syn", version = "0.24.2" } diff --git a/lang/attribute/event/Cargo.toml b/lang/attribute/event/Cargo.toml index 658a4e1e..89d3a6a4 100644 --- a/lang/attribute/event/Cargo.toml +++ b/lang/attribute/event/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-attribute-event" -version = "0.24.1" +version = "0.24.2" authors = ["Serum Foundation "] repository = "https://github.com/project-serum/anchor" license = "Apache-2.0" @@ -19,4 +19,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.24.1", features = ["hash"] } +anchor-syn = { path = "../../syn", version = "0.24.2", features = ["hash"] } diff --git a/lang/attribute/interface/Cargo.toml b/lang/attribute/interface/Cargo.toml index 49434b6c..b613cd36 100644 --- a/lang/attribute/interface/Cargo.toml +++ b/lang/attribute/interface/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-attribute-interface" -version = "0.24.1" +version = "0.24.2" authors = ["Serum Foundation "] repository = "https://github.com/project-serum/anchor" license = "Apache-2.0" @@ -19,5 +19,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.24.1" } +anchor-syn = { path = "../../syn", version = "0.24.2" } heck = "0.3.2" diff --git a/lang/attribute/program/Cargo.toml b/lang/attribute/program/Cargo.toml index 8bdc8248..943bfacb 100644 --- a/lang/attribute/program/Cargo.toml +++ b/lang/attribute/program/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-attribute-program" -version = "0.24.1" +version = "0.24.2" authors = ["Serum Foundation "] repository = "https://github.com/project-serum/anchor" license = "Apache-2.0" @@ -19,4 +19,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.24.1" } +anchor-syn = { path = "../../syn", version = "0.24.2" } diff --git a/lang/attribute/state/Cargo.toml b/lang/attribute/state/Cargo.toml index ec1ea697..a0ec80ff 100644 --- a/lang/attribute/state/Cargo.toml +++ b/lang/attribute/state/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-attribute-state" -version = "0.24.1" +version = "0.24.2" authors = ["Serum Foundation "] repository = "https://github.com/project-serum/anchor" license = "Apache-2.0" @@ -19,4 +19,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.24.1" } +anchor-syn = { path = "../../syn", version = "0.24.2" } diff --git a/lang/derive/accounts/Cargo.toml b/lang/derive/accounts/Cargo.toml index 28961b59..2cb6aa65 100644 --- a/lang/derive/accounts/Cargo.toml +++ b/lang/derive/accounts/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-derive-accounts" -version = "0.24.1" +version = "0.24.2" authors = ["Serum Foundation "] repository = "https://github.com/project-serum/anchor" license = "Apache-2.0" @@ -21,4 +21,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.24.1" } +anchor-syn = { path = "../../syn", version = "0.24.2" } diff --git a/lang/syn/Cargo.toml b/lang/syn/Cargo.toml index c244e77e..90d55cf6 100644 --- a/lang/syn/Cargo.toml +++ b/lang/syn/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-syn" -version = "0.24.1" +version = "0.24.2" 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 8959f9c7..42120398 100644 --- a/spl/Cargo.toml +++ b/spl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-spl" -version = "0.24.1" +version = "0.24.2" authors = ["Serum Foundation "] rust-version = "1.56" edition = "2021" @@ -18,7 +18,7 @@ devnet = [] dex = ["serum_dex"] [dependencies] -anchor-lang = { path = "../lang", version = "0.24.1", features = ["derive"] } +anchor-lang = { path = "../lang", version = "0.24.2", 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.9.13" spl-token = { version = "3.1.1", features = ["no-entrypoint"], optional = true } diff --git a/tests/cashiers-check/package.json b/tests/cashiers-check/package.json index 352768cf..a539fd16 100644 --- a/tests/cashiers-check/package.json +++ b/tests/cashiers-check/package.json @@ -1,6 +1,6 @@ { "name": "cashiers-check", - "version": "0.24.1", + "version": "0.24.2", "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 16b6991f..edfcc080 100644 --- a/tests/cfo/package.json +++ b/tests/cfo/package.json @@ -1,6 +1,6 @@ { "name": "cfo", - "version": "0.24.1", + "version": "0.24.2", "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 d5099d3b..f9232eef 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.24.1. + let start_ts = 1633017600; // 9/30.24.2. 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 afd88a4a..e61b3eaa 100644 --- a/tests/chat/package.json +++ b/tests/chat/package.json @@ -1,6 +1,6 @@ { "name": "chat", - "version": "0.24.1", + "version": "0.24.2", "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 b603bc6b..4a135f81 100644 --- a/tests/composite/package.json +++ b/tests/composite/package.json @@ -1,6 +1,6 @@ { "name": "composite", - "version": "0.24.1", + "version": "0.24.2", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/tests/cpi-returns/package.json b/tests/cpi-returns/package.json index 2d4ff49a..8ef4ee66 100644 --- a/tests/cpi-returns/package.json +++ b/tests/cpi-returns/package.json @@ -1,6 +1,6 @@ { "name": "cpi-returns", - "version": "0.24.1", + "version": "0.24.2", "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 42b41684..d6abadf1 100644 --- a/tests/declare-id/package.json +++ b/tests/declare-id/package.json @@ -1,6 +1,6 @@ { "name": "declare-id", - "version": "0.24.1", + "version": "0.24.2", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/tests/docs/package.json b/tests/docs/package.json index fb42fd9b..03fe666e 100644 --- a/tests/docs/package.json +++ b/tests/docs/package.json @@ -1,6 +1,6 @@ { "name": "errors", - "version": "0.24.1", + "version": "0.24.2", "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 fb42fd9b..03fe666e 100644 --- a/tests/errors/package.json +++ b/tests/errors/package.json @@ -1,6 +1,6 @@ { "name": "errors", - "version": "0.24.1", + "version": "0.24.2", "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 4dafbff2..43c63b54 100644 --- a/tests/escrow/package.json +++ b/tests/escrow/package.json @@ -1,6 +1,6 @@ { "name": "escrow", - "version": "0.24.1", + "version": "0.24.2", "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 6b640f01..629b613c 100644 --- a/tests/events/package.json +++ b/tests/events/package.json @@ -1,6 +1,6 @@ { "name": "events", - "version": "0.24.1", + "version": "0.24.2", "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 9c393bc1..eed612d9 100644 --- a/tests/floats/package.json +++ b/tests/floats/package.json @@ -1,6 +1,6 @@ { "name": "floats", - "version": "0.24.1", + "version": "0.24.2", "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 9cd3216a..adc626d9 100644 --- a/tests/ido-pool/package.json +++ b/tests/ido-pool/package.json @@ -1,6 +1,6 @@ { "name": "ido-pool", - "version": "0.24.1", + "version": "0.24.2", "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 60cdc2b6..ded2b0e0 100644 --- a/tests/interface/package.json +++ b/tests/interface/package.json @@ -1,6 +1,6 @@ { "name": "interface", - "version": "0.24.1", + "version": "0.24.2", "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 a13c36c3..a5daf9d7 100644 --- a/tests/lockup/package.json +++ b/tests/lockup/package.json @@ -1,6 +1,6 @@ { "name": "lockup", - "version": "0.24.1", + "version": "0.24.2", "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 7c5b601f..ca965350 100644 --- a/tests/misc/package.json +++ b/tests/misc/package.json @@ -1,6 +1,6 @@ { "name": "misc", - "version": "0.24.1", + "version": "0.24.2", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/tests/multiple-suites/package.json b/tests/multiple-suites/package.json index a24b6663..524dfab0 100644 --- a/tests/multiple-suites/package.json +++ b/tests/multiple-suites/package.json @@ -1,6 +1,6 @@ { "name": "multiple-suites", - "version": "0.24.1", + "version": "0.24.2", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/tests/multiple-suites/programs/multiple-suites/Cargo.toml b/tests/multiple-suites/programs/multiple-suites/Cargo.toml index 15793f0a..e4f74bb3 100644 --- a/tests/multiple-suites/programs/multiple-suites/Cargo.toml +++ b/tests/multiple-suites/programs/multiple-suites/Cargo.toml @@ -16,4 +16,4 @@ cpi = ["no-entrypoint"] default = [] [dependencies] -anchor-lang = "0.24.1" +anchor-lang = "0.24.2" diff --git a/tests/multisig/package.json b/tests/multisig/package.json index b600ea2a..6ec3429d 100644 --- a/tests/multisig/package.json +++ b/tests/multisig/package.json @@ -1,6 +1,6 @@ { "name": "multisig", - "version": "0.24.1", + "version": "0.24.2", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/tests/pda-derivation/package.json b/tests/pda-derivation/package.json index ed3755be..17c94bc2 100644 --- a/tests/pda-derivation/package.json +++ b/tests/pda-derivation/package.json @@ -1,6 +1,6 @@ { "name": "pda-derivation", - "version": "0.24.1", + "version": "0.24.2", "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 d18b422a..4a5c6a30 100644 --- a/tests/pyth/package.json +++ b/tests/pyth/package.json @@ -1,6 +1,6 @@ { "name": "pyth", - "version": "0.24.1", + "version": "0.24.2", "license": "(MIT OR Apache-2.0)", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/tests/spl/token-proxy/package.json b/tests/spl/token-proxy/package.json index 7b747354..4b7e5894 100644 --- a/tests/spl/token-proxy/package.json +++ b/tests/spl/token-proxy/package.json @@ -1,6 +1,6 @@ { "name": "token-proxy", - "version": "0.24.1", + "version": "0.24.2", "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 5a8e59ae..18d73f98 100644 --- a/tests/swap/package.json +++ b/tests/swap/package.json @@ -1,6 +1,6 @@ { "name": "swap", - "version": "0.24.1", + "version": "0.24.2", "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 50c78d65..ed7c82cb 100644 --- a/tests/system-accounts/package.json +++ b/tests/system-accounts/package.json @@ -1,6 +1,6 @@ { "name": "system-accounts", - "version": "0.24.1", + "version": "0.24.2", "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 261ed0e5..7e41b8d1 100644 --- a/tests/sysvars/package.json +++ b/tests/sysvars/package.json @@ -1,6 +1,6 @@ { "name": "sysvars", - "version": "0.24.1", + "version": "0.24.2", "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 c9b63549..dd7fefc0 100644 --- a/tests/tictactoe/package.json +++ b/tests/tictactoe/package.json @@ -1,6 +1,6 @@ { "name": "tictactoe", - "version": "0.24.1", + "version": "0.24.2", "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 889c2605..aa3f555e 100644 --- a/tests/typescript/package.json +++ b/tests/typescript/package.json @@ -1,6 +1,6 @@ { "name": "typescript-example", - "version": "0.24.1", + "version": "0.24.2", "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 8b8bf3b1..40842704 100644 --- a/tests/zero-copy/package.json +++ b/tests/zero-copy/package.json @@ -1,6 +1,6 @@ { "name": "zero-copy", - "version": "0.24.1", + "version": "0.24.2", "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 844e4b8c..daeee075 100644 --- a/ts/package.json +++ b/ts/package.json @@ -1,6 +1,6 @@ { "name": "@project-serum/anchor", - "version": "0.24.1", + "version": "0.24.2", "description": "Anchor client", "module": "./dist/esm/index.js", "main": "./dist/cjs/index.js",