v0.24.2 (#1788)
This commit is contained in:
parent
aff01b99e5
commit
0b4c7b0c73
|
@ -10,6 +10,8 @@ The minor version will be incremented upon a breaking change and the patch versi
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [0.24.2] - 2022-04-13
|
||||||
|
|
||||||
### Fixes
|
### Fixes
|
||||||
|
|
||||||
* lang: Fix `returns` being serialized as `null` instead of `undefined` in IDL ([#1782](https://github.com/project-serum/anchor/pull/1782)).
|
* lang: Fix `returns` being serialized as `null` instead of `undefined` in IDL ([#1782](https://github.com/project-serum/anchor/pull/1782)).
|
||||||
|
|
|
@ -61,7 +61,7 @@ checksum = "6b2d54853319fd101b8dd81de382bcbf3e03410a64d8928bbee85a3e7dcde483"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "anchor-attribute-access-control"
|
name = "anchor-attribute-access-control"
|
||||||
version = "0.24.1"
|
version = "0.24.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anchor-syn",
|
"anchor-syn",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
|
@ -73,7 +73,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "anchor-attribute-account"
|
name = "anchor-attribute-account"
|
||||||
version = "0.24.1"
|
version = "0.24.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anchor-syn",
|
"anchor-syn",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
|
@ -86,7 +86,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "anchor-attribute-constant"
|
name = "anchor-attribute-constant"
|
||||||
version = "0.24.1"
|
version = "0.24.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anchor-syn",
|
"anchor-syn",
|
||||||
"proc-macro2 1.0.36",
|
"proc-macro2 1.0.36",
|
||||||
|
@ -95,7 +95,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "anchor-attribute-error"
|
name = "anchor-attribute-error"
|
||||||
version = "0.24.1"
|
version = "0.24.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anchor-syn",
|
"anchor-syn",
|
||||||
"proc-macro2 1.0.36",
|
"proc-macro2 1.0.36",
|
||||||
|
@ -105,7 +105,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "anchor-attribute-event"
|
name = "anchor-attribute-event"
|
||||||
version = "0.24.1"
|
version = "0.24.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anchor-syn",
|
"anchor-syn",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
|
@ -116,7 +116,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "anchor-attribute-interface"
|
name = "anchor-attribute-interface"
|
||||||
version = "0.24.1"
|
version = "0.24.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anchor-syn",
|
"anchor-syn",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
|
@ -128,7 +128,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "anchor-attribute-program"
|
name = "anchor-attribute-program"
|
||||||
version = "0.24.1"
|
version = "0.24.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anchor-syn",
|
"anchor-syn",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
|
@ -139,7 +139,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "anchor-attribute-state"
|
name = "anchor-attribute-state"
|
||||||
version = "0.24.1"
|
version = "0.24.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anchor-syn",
|
"anchor-syn",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
|
@ -150,7 +150,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "anchor-cli"
|
name = "anchor-cli"
|
||||||
version = "0.24.1"
|
version = "0.24.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anchor-client",
|
"anchor-client",
|
||||||
"anchor-lang",
|
"anchor-lang",
|
||||||
|
@ -184,7 +184,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "anchor-client"
|
name = "anchor-client"
|
||||||
version = "0.24.1"
|
version = "0.24.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anchor-lang",
|
"anchor-lang",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
|
@ -199,7 +199,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "anchor-derive-accounts"
|
name = "anchor-derive-accounts"
|
||||||
version = "0.24.1"
|
version = "0.24.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anchor-syn",
|
"anchor-syn",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
|
@ -210,7 +210,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "anchor-lang"
|
name = "anchor-lang"
|
||||||
version = "0.24.1"
|
version = "0.24.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anchor-attribute-access-control",
|
"anchor-attribute-access-control",
|
||||||
"anchor-attribute-account",
|
"anchor-attribute-account",
|
||||||
|
@ -232,7 +232,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "anchor-spl"
|
name = "anchor-spl"
|
||||||
version = "0.24.1"
|
version = "0.24.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anchor-lang",
|
"anchor-lang",
|
||||||
"serum_dex",
|
"serum_dex",
|
||||||
|
@ -243,7 +243,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "anchor-syn"
|
name = "anchor-syn"
|
||||||
version = "0.24.1"
|
version = "0.24.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"bs58 0.3.1",
|
"bs58 0.3.1",
|
||||||
|
|
|
@ -39,7 +39,7 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "avm"
|
name = "avm"
|
||||||
version = "0.24.1"
|
version = "0.24.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"cfg-if",
|
"cfg-if",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "avm"
|
name = "avm"
|
||||||
version = "0.24.1"
|
version = "0.24.2"
|
||||||
rust-version = "1.56"
|
rust-version = "1.56"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "anchor-cli"
|
name = "anchor-cli"
|
||||||
version = "0.24.1"
|
version = "0.24.2"
|
||||||
authors = ["armaniferrante <armaniferrante@gmail.com>"]
|
authors = ["armaniferrante <armaniferrante@gmail.com>"]
|
||||||
rust-version = "1.56"
|
rust-version = "1.56"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@project-serum/anchor-cli",
|
"name": "@project-serum/anchor-cli",
|
||||||
"version": "0.24.1",
|
"version": "0.24.2",
|
||||||
"description": "Anchor CLI tool",
|
"description": "Anchor CLI tool",
|
||||||
"homepage": "https://github.com/project-serum/anchor#readme",
|
"homepage": "https://github.com/project-serum/anchor#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "anchor-client"
|
name = "anchor-client"
|
||||||
version = "0.24.1"
|
version = "0.24.2"
|
||||||
authors = ["Serum Foundation <foundation@projectserum.com>"]
|
authors = ["Serum Foundation <foundation@projectserum.com>"]
|
||||||
rust-version = "1.56"
|
rust-version = "1.56"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
@ -11,7 +11,7 @@ description = "Rust client for Anchor programs"
|
||||||
debug = []
|
debug = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anchor-lang = { path = "../lang", version = "0.24.1" }
|
anchor-lang = { path = "../lang", version = "0.24.2" }
|
||||||
anyhow = "1.0.32"
|
anyhow = "1.0.32"
|
||||||
regex = "1.4.5"
|
regex = "1.4.5"
|
||||||
serde = { version = "1.0.122", features = ["derive"] }
|
serde = { version = "1.0.122", features = ["derive"] }
|
||||||
|
|
|
@ -44,7 +44,7 @@ npm i -g @project-serum/anchor-cli
|
||||||
For now, we can use Cargo to install the CLI.
|
For now, we can use Cargo to install the CLI.
|
||||||
|
|
||||||
```bash
|
```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,
|
On Linux systems you may need to install additional dependencies if `cargo install` fails. On Ubuntu,
|
||||||
|
|
|
@ -30,7 +30,7 @@ have an `Anchor.toml` to define the build.
|
||||||
An example `Anchor.toml` config looks as follows,
|
An example `Anchor.toml` config looks as follows,
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
anchor_version = "0.24.1"
|
anchor_version = "0.24.2"
|
||||||
|
|
||||||
[workspace]
|
[workspace]
|
||||||
members = ["programs/multisig"]
|
members = ["programs/multisig"]
|
||||||
|
|
|
@ -32,10 +32,10 @@ If the program has an IDL, it will also check the IDL deployed on chain matches.
|
||||||
|
|
||||||
## Images
|
## 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:<version>`. 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:<version>`. 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
|
## Removing an Image
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "basic-0",
|
"name": "basic-0",
|
||||||
"version": "0.24.1",
|
"version": "0.24.2",
|
||||||
"license": "(MIT OR Apache-2.0)",
|
"license": "(MIT OR Apache-2.0)",
|
||||||
"homepage": "https://github.com/project-serum/anchor#readme",
|
"homepage": "https://github.com/project-serum/anchor#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "basic-1",
|
"name": "basic-1",
|
||||||
"version": "0.24.1",
|
"version": "0.24.2",
|
||||||
"license": "(MIT OR Apache-2.0)",
|
"license": "(MIT OR Apache-2.0)",
|
||||||
"homepage": "https://github.com/project-serum/anchor#readme",
|
"homepage": "https://github.com/project-serum/anchor#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "basic-2",
|
"name": "basic-2",
|
||||||
"version": "0.24.1",
|
"version": "0.24.2",
|
||||||
"license": "(MIT OR Apache-2.0)",
|
"license": "(MIT OR Apache-2.0)",
|
||||||
"homepage": "https://github.com/project-serum/anchor#readme",
|
"homepage": "https://github.com/project-serum/anchor#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "basic-3",
|
"name": "basic-3",
|
||||||
"version": "0.24.1",
|
"version": "0.24.2",
|
||||||
"license": "(MIT OR Apache-2.0)",
|
"license": "(MIT OR Apache-2.0)",
|
||||||
"homepage": "https://github.com/project-serum/anchor#readme",
|
"homepage": "https://github.com/project-serum/anchor#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "basic-4",
|
"name": "basic-4",
|
||||||
"version": "0.24.1",
|
"version": "0.24.2",
|
||||||
"license": "(MIT OR Apache-2.0)",
|
"license": "(MIT OR Apache-2.0)",
|
||||||
"homepage": "https://github.com/project-serum/anchor#readme",
|
"homepage": "https://github.com/project-serum/anchor#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "anchor-lang"
|
name = "anchor-lang"
|
||||||
version = "0.24.1"
|
version = "0.24.2"
|
||||||
authors = ["Serum Foundation <foundation@projectserum.com>"]
|
authors = ["Serum Foundation <foundation@projectserum.com>"]
|
||||||
repository = "https://github.com/project-serum/anchor"
|
repository = "https://github.com/project-serum/anchor"
|
||||||
rust-version = "1.56"
|
rust-version = "1.56"
|
||||||
|
@ -26,15 +26,15 @@ anchor-debug = [
|
||||||
]
|
]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anchor-attribute-access-control = { path = "./attribute/access-control", 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.1" }
|
anchor-attribute-account = { path = "./attribute/account", version = "0.24.2" }
|
||||||
anchor-attribute-constant = { path = "./attribute/constant", version = "0.24.1" }
|
anchor-attribute-constant = { path = "./attribute/constant", version = "0.24.2" }
|
||||||
anchor-attribute-error = { path = "./attribute/error", version = "0.24.1" }
|
anchor-attribute-error = { path = "./attribute/error", version = "0.24.2" }
|
||||||
anchor-attribute-program = { path = "./attribute/program", version = "0.24.1" }
|
anchor-attribute-program = { path = "./attribute/program", version = "0.24.2" }
|
||||||
anchor-attribute-state = { path = "./attribute/state", version = "0.24.1" }
|
anchor-attribute-state = { path = "./attribute/state", version = "0.24.2" }
|
||||||
anchor-attribute-interface = { path = "./attribute/interface", version = "0.24.1" }
|
anchor-attribute-interface = { path = "./attribute/interface", version = "0.24.2" }
|
||||||
anchor-attribute-event = { path = "./attribute/event", version = "0.24.1" }
|
anchor-attribute-event = { path = "./attribute/event", version = "0.24.2" }
|
||||||
anchor-derive-accounts = { path = "./derive/accounts", version = "0.24.1" }
|
anchor-derive-accounts = { path = "./derive/accounts", version = "0.24.2" }
|
||||||
arrayref = "0.3.6"
|
arrayref = "0.3.6"
|
||||||
base64 = "0.13.0"
|
base64 = "0.13.0"
|
||||||
borsh = "0.9"
|
borsh = "0.9"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "anchor-attribute-access-control"
|
name = "anchor-attribute-access-control"
|
||||||
version = "0.24.1"
|
version = "0.24.2"
|
||||||
authors = ["Serum Foundation <foundation@projectserum.com>"]
|
authors = ["Serum Foundation <foundation@projectserum.com>"]
|
||||||
repository = "https://github.com/project-serum/anchor"
|
repository = "https://github.com/project-serum/anchor"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
@ -19,5 +19,5 @@ proc-macro2 = "1.0"
|
||||||
quote = "1.0"
|
quote = "1.0"
|
||||||
syn = { version = "1.0.60", features = ["full"] }
|
syn = { version = "1.0.60", features = ["full"] }
|
||||||
anyhow = "1.0.32"
|
anyhow = "1.0.32"
|
||||||
anchor-syn = { path = "../../syn", version = "0.24.1" }
|
anchor-syn = { path = "../../syn", version = "0.24.2" }
|
||||||
regex = "1.0"
|
regex = "1.0"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "anchor-attribute-account"
|
name = "anchor-attribute-account"
|
||||||
version = "0.24.1"
|
version = "0.24.2"
|
||||||
authors = ["Serum Foundation <foundation@projectserum.com>"]
|
authors = ["Serum Foundation <foundation@projectserum.com>"]
|
||||||
repository = "https://github.com/project-serum/anchor"
|
repository = "https://github.com/project-serum/anchor"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
@ -19,6 +19,6 @@ proc-macro2 = "1.0"
|
||||||
quote = "1.0"
|
quote = "1.0"
|
||||||
syn = { version = "1.0.60", features = ["full"] }
|
syn = { version = "1.0.60", features = ["full"] }
|
||||||
anyhow = "1.0.32"
|
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"
|
rustversion = "1.0.3"
|
||||||
bs58 = "0.4.0"
|
bs58 = "0.4.0"
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "anchor-attribute-constant"
|
name = "anchor-attribute-constant"
|
||||||
version = "0.24.1"
|
version = "0.24.2"
|
||||||
authors = ["Serum Foundation <foundation@projectserum.com>"]
|
authors = ["Serum Foundation <foundation@projectserum.com>"]
|
||||||
repository = "https://github.com/project-serum/anchor"
|
repository = "https://github.com/project-serum/anchor"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
@ -17,4 +17,4 @@ anchor-debug = ["anchor-syn/anchor-debug"]
|
||||||
[dependencies]
|
[dependencies]
|
||||||
proc-macro2 = "1.0"
|
proc-macro2 = "1.0"
|
||||||
syn = { version = "1.0.60", features = ["full"] }
|
syn = { version = "1.0.60", features = ["full"] }
|
||||||
anchor-syn = { path = "../../syn", version = "0.24.1" }
|
anchor-syn = { path = "../../syn", version = "0.24.2" }
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "anchor-attribute-error"
|
name = "anchor-attribute-error"
|
||||||
version = "0.24.1"
|
version = "0.24.2"
|
||||||
authors = ["Serum Foundation <foundation@projectserum.com>"]
|
authors = ["Serum Foundation <foundation@projectserum.com>"]
|
||||||
repository = "https://github.com/project-serum/anchor"
|
repository = "https://github.com/project-serum/anchor"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
@ -18,4 +18,4 @@ anchor-debug = ["anchor-syn/anchor-debug"]
|
||||||
proc-macro2 = "1.0"
|
proc-macro2 = "1.0"
|
||||||
quote = "1.0"
|
quote = "1.0"
|
||||||
syn = { version = "1.0.60", features = ["full"] }
|
syn = { version = "1.0.60", features = ["full"] }
|
||||||
anchor-syn = { path = "../../syn", version = "0.24.1" }
|
anchor-syn = { path = "../../syn", version = "0.24.2" }
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "anchor-attribute-event"
|
name = "anchor-attribute-event"
|
||||||
version = "0.24.1"
|
version = "0.24.2"
|
||||||
authors = ["Serum Foundation <foundation@projectserum.com>"]
|
authors = ["Serum Foundation <foundation@projectserum.com>"]
|
||||||
repository = "https://github.com/project-serum/anchor"
|
repository = "https://github.com/project-serum/anchor"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
@ -19,4 +19,4 @@ proc-macro2 = "1.0"
|
||||||
quote = "1.0"
|
quote = "1.0"
|
||||||
syn = { version = "1.0.60", features = ["full"] }
|
syn = { version = "1.0.60", features = ["full"] }
|
||||||
anyhow = "1.0.32"
|
anyhow = "1.0.32"
|
||||||
anchor-syn = { path = "../../syn", version = "0.24.1", features = ["hash"] }
|
anchor-syn = { path = "../../syn", version = "0.24.2", features = ["hash"] }
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "anchor-attribute-interface"
|
name = "anchor-attribute-interface"
|
||||||
version = "0.24.1"
|
version = "0.24.2"
|
||||||
authors = ["Serum Foundation <foundation@projectserum.com>"]
|
authors = ["Serum Foundation <foundation@projectserum.com>"]
|
||||||
repository = "https://github.com/project-serum/anchor"
|
repository = "https://github.com/project-serum/anchor"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
@ -19,5 +19,5 @@ proc-macro2 = "1.0"
|
||||||
quote = "1.0"
|
quote = "1.0"
|
||||||
syn = { version = "1.0.60", features = ["full"] }
|
syn = { version = "1.0.60", features = ["full"] }
|
||||||
anyhow = "1.0.32"
|
anyhow = "1.0.32"
|
||||||
anchor-syn = { path = "../../syn", version = "0.24.1" }
|
anchor-syn = { path = "../../syn", version = "0.24.2" }
|
||||||
heck = "0.3.2"
|
heck = "0.3.2"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "anchor-attribute-program"
|
name = "anchor-attribute-program"
|
||||||
version = "0.24.1"
|
version = "0.24.2"
|
||||||
authors = ["Serum Foundation <foundation@projectserum.com>"]
|
authors = ["Serum Foundation <foundation@projectserum.com>"]
|
||||||
repository = "https://github.com/project-serum/anchor"
|
repository = "https://github.com/project-serum/anchor"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
@ -19,4 +19,4 @@ proc-macro2 = "1.0"
|
||||||
quote = "1.0"
|
quote = "1.0"
|
||||||
syn = { version = "1.0.60", features = ["full"] }
|
syn = { version = "1.0.60", features = ["full"] }
|
||||||
anyhow = "1.0.32"
|
anyhow = "1.0.32"
|
||||||
anchor-syn = { path = "../../syn", version = "0.24.1" }
|
anchor-syn = { path = "../../syn", version = "0.24.2" }
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "anchor-attribute-state"
|
name = "anchor-attribute-state"
|
||||||
version = "0.24.1"
|
version = "0.24.2"
|
||||||
authors = ["Serum Foundation <foundation@projectserum.com>"]
|
authors = ["Serum Foundation <foundation@projectserum.com>"]
|
||||||
repository = "https://github.com/project-serum/anchor"
|
repository = "https://github.com/project-serum/anchor"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
@ -19,4 +19,4 @@ proc-macro2 = "1.0"
|
||||||
quote = "1.0"
|
quote = "1.0"
|
||||||
syn = { version = "1.0.60", features = ["full"] }
|
syn = { version = "1.0.60", features = ["full"] }
|
||||||
anyhow = "1.0.32"
|
anyhow = "1.0.32"
|
||||||
anchor-syn = { path = "../../syn", version = "0.24.1" }
|
anchor-syn = { path = "../../syn", version = "0.24.2" }
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "anchor-derive-accounts"
|
name = "anchor-derive-accounts"
|
||||||
version = "0.24.1"
|
version = "0.24.2"
|
||||||
authors = ["Serum Foundation <foundation@projectserum.com>"]
|
authors = ["Serum Foundation <foundation@projectserum.com>"]
|
||||||
repository = "https://github.com/project-serum/anchor"
|
repository = "https://github.com/project-serum/anchor"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
@ -21,4 +21,4 @@ proc-macro2 = "1.0"
|
||||||
quote = "1.0"
|
quote = "1.0"
|
||||||
syn = { version = "1.0.60", features = ["full"] }
|
syn = { version = "1.0.60", features = ["full"] }
|
||||||
anyhow = "1.0.32"
|
anyhow = "1.0.32"
|
||||||
anchor-syn = { path = "../../syn", version = "0.24.1" }
|
anchor-syn = { path = "../../syn", version = "0.24.2" }
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "anchor-syn"
|
name = "anchor-syn"
|
||||||
version = "0.24.1"
|
version = "0.24.2"
|
||||||
authors = ["Serum Foundation <foundation@projectserum.com>"]
|
authors = ["Serum Foundation <foundation@projectserum.com>"]
|
||||||
repository = "https://github.com/project-serum/anchor"
|
repository = "https://github.com/project-serum/anchor"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "anchor-spl"
|
name = "anchor-spl"
|
||||||
version = "0.24.1"
|
version = "0.24.2"
|
||||||
authors = ["Serum Foundation <foundation@projectserum.com>"]
|
authors = ["Serum Foundation <foundation@projectserum.com>"]
|
||||||
rust-version = "1.56"
|
rust-version = "1.56"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
@ -18,7 +18,7 @@ devnet = []
|
||||||
dex = ["serum_dex"]
|
dex = ["serum_dex"]
|
||||||
|
|
||||||
[dependencies]
|
[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 }
|
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"
|
solana-program = "~1.9.13"
|
||||||
spl-token = { version = "3.1.1", features = ["no-entrypoint"], optional = true }
|
spl-token = { version = "3.1.1", features = ["no-entrypoint"], optional = true }
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "cashiers-check",
|
"name": "cashiers-check",
|
||||||
"version": "0.24.1",
|
"version": "0.24.2",
|
||||||
"license": "(MIT OR Apache-2.0)",
|
"license": "(MIT OR Apache-2.0)",
|
||||||
"homepage": "https://github.com/project-serum/anchor#readme",
|
"homepage": "https://github.com/project-serum/anchor#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "cfo",
|
"name": "cfo",
|
||||||
"version": "0.24.1",
|
"version": "0.24.2",
|
||||||
"license": "(MIT OR Apache-2.0)",
|
"license": "(MIT OR Apache-2.0)",
|
||||||
"homepage": "https://github.com/project-serum/anchor#readme",
|
"homepage": "https://github.com/project-serum/anchor#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -195,7 +195,7 @@ pub mod cfo {
|
||||||
let expiry_ts = 1853942400; // 9/30/2028.
|
let expiry_ts = 1853942400; // 9/30/2028.
|
||||||
let expiry_receiver = *ctx.accounts.officer.to_account_info().key;
|
let expiry_receiver = *ctx.accounts.officer.to_account_info().key;
|
||||||
let locked_kind = {
|
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 end_ts = 1822320000; // 9/30/2027.
|
||||||
let period_count = 2191;
|
let period_count = 2191;
|
||||||
RewardVendorKind::Locked {
|
RewardVendorKind::Locked {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "chat",
|
"name": "chat",
|
||||||
"version": "0.24.1",
|
"version": "0.24.2",
|
||||||
"license": "(MIT OR Apache-2.0)",
|
"license": "(MIT OR Apache-2.0)",
|
||||||
"homepage": "https://github.com/project-serum/anchor#readme",
|
"homepage": "https://github.com/project-serum/anchor#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "composite",
|
"name": "composite",
|
||||||
"version": "0.24.1",
|
"version": "0.24.2",
|
||||||
"license": "(MIT OR Apache-2.0)",
|
"license": "(MIT OR Apache-2.0)",
|
||||||
"homepage": "https://github.com/project-serum/anchor#readme",
|
"homepage": "https://github.com/project-serum/anchor#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "cpi-returns",
|
"name": "cpi-returns",
|
||||||
"version": "0.24.1",
|
"version": "0.24.2",
|
||||||
"license": "(MIT OR Apache-2.0)",
|
"license": "(MIT OR Apache-2.0)",
|
||||||
"homepage": "https://github.com/project-serum/anchor#readme",
|
"homepage": "https://github.com/project-serum/anchor#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "declare-id",
|
"name": "declare-id",
|
||||||
"version": "0.24.1",
|
"version": "0.24.2",
|
||||||
"license": "(MIT OR Apache-2.0)",
|
"license": "(MIT OR Apache-2.0)",
|
||||||
"homepage": "https://github.com/project-serum/anchor#readme",
|
"homepage": "https://github.com/project-serum/anchor#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "errors",
|
"name": "errors",
|
||||||
"version": "0.24.1",
|
"version": "0.24.2",
|
||||||
"license": "(MIT OR Apache-2.0)",
|
"license": "(MIT OR Apache-2.0)",
|
||||||
"homepage": "https://github.com/project-serum/anchor#readme",
|
"homepage": "https://github.com/project-serum/anchor#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "errors",
|
"name": "errors",
|
||||||
"version": "0.24.1",
|
"version": "0.24.2",
|
||||||
"license": "(MIT OR Apache-2.0)",
|
"license": "(MIT OR Apache-2.0)",
|
||||||
"homepage": "https://github.com/project-serum/anchor#readme",
|
"homepage": "https://github.com/project-serum/anchor#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "escrow",
|
"name": "escrow",
|
||||||
"version": "0.24.1",
|
"version": "0.24.2",
|
||||||
"license": "(MIT OR Apache-2.0)",
|
"license": "(MIT OR Apache-2.0)",
|
||||||
"homepage": "https://github.com/project-serum/anchor#readme",
|
"homepage": "https://github.com/project-serum/anchor#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "events",
|
"name": "events",
|
||||||
"version": "0.24.1",
|
"version": "0.24.2",
|
||||||
"license": "(MIT OR Apache-2.0)",
|
"license": "(MIT OR Apache-2.0)",
|
||||||
"homepage": "https://github.com/project-serum/anchor#readme",
|
"homepage": "https://github.com/project-serum/anchor#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "floats",
|
"name": "floats",
|
||||||
"version": "0.24.1",
|
"version": "0.24.2",
|
||||||
"license": "(MIT OR Apache-2.0)",
|
"license": "(MIT OR Apache-2.0)",
|
||||||
"homepage": "https://github.com/project-serum/anchor#readme",
|
"homepage": "https://github.com/project-serum/anchor#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "ido-pool",
|
"name": "ido-pool",
|
||||||
"version": "0.24.1",
|
"version": "0.24.2",
|
||||||
"license": "(MIT OR Apache-2.0)",
|
"license": "(MIT OR Apache-2.0)",
|
||||||
"homepage": "https://github.com/project-serum/anchor#readme",
|
"homepage": "https://github.com/project-serum/anchor#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "interface",
|
"name": "interface",
|
||||||
"version": "0.24.1",
|
"version": "0.24.2",
|
||||||
"license": "(MIT OR Apache-2.0)",
|
"license": "(MIT OR Apache-2.0)",
|
||||||
"homepage": "https://github.com/project-serum/anchor#readme",
|
"homepage": "https://github.com/project-serum/anchor#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "lockup",
|
"name": "lockup",
|
||||||
"version": "0.24.1",
|
"version": "0.24.2",
|
||||||
"license": "(MIT OR Apache-2.0)",
|
"license": "(MIT OR Apache-2.0)",
|
||||||
"homepage": "https://github.com/project-serum/anchor#readme",
|
"homepage": "https://github.com/project-serum/anchor#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "misc",
|
"name": "misc",
|
||||||
"version": "0.24.1",
|
"version": "0.24.2",
|
||||||
"license": "(MIT OR Apache-2.0)",
|
"license": "(MIT OR Apache-2.0)",
|
||||||
"homepage": "https://github.com/project-serum/anchor#readme",
|
"homepage": "https://github.com/project-serum/anchor#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "multiple-suites",
|
"name": "multiple-suites",
|
||||||
"version": "0.24.1",
|
"version": "0.24.2",
|
||||||
"license": "(MIT OR Apache-2.0)",
|
"license": "(MIT OR Apache-2.0)",
|
||||||
"homepage": "https://github.com/project-serum/anchor#readme",
|
"homepage": "https://github.com/project-serum/anchor#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -16,4 +16,4 @@ cpi = ["no-entrypoint"]
|
||||||
default = []
|
default = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anchor-lang = "0.24.1"
|
anchor-lang = "0.24.2"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "multisig",
|
"name": "multisig",
|
||||||
"version": "0.24.1",
|
"version": "0.24.2",
|
||||||
"license": "(MIT OR Apache-2.0)",
|
"license": "(MIT OR Apache-2.0)",
|
||||||
"homepage": "https://github.com/project-serum/anchor#readme",
|
"homepage": "https://github.com/project-serum/anchor#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "pda-derivation",
|
"name": "pda-derivation",
|
||||||
"version": "0.24.1",
|
"version": "0.24.2",
|
||||||
"license": "(MIT OR Apache-2.0)",
|
"license": "(MIT OR Apache-2.0)",
|
||||||
"homepage": "https://github.com/project-serum/anchor#readme",
|
"homepage": "https://github.com/project-serum/anchor#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "pyth",
|
"name": "pyth",
|
||||||
"version": "0.24.1",
|
"version": "0.24.2",
|
||||||
"license": "(MIT OR Apache-2.0)",
|
"license": "(MIT OR Apache-2.0)",
|
||||||
"homepage": "https://github.com/project-serum/anchor#readme",
|
"homepage": "https://github.com/project-serum/anchor#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "token-proxy",
|
"name": "token-proxy",
|
||||||
"version": "0.24.1",
|
"version": "0.24.2",
|
||||||
"license": "(MIT OR Apache-2.0)",
|
"license": "(MIT OR Apache-2.0)",
|
||||||
"homepage": "https://github.com/project-serum/anchor#readme",
|
"homepage": "https://github.com/project-serum/anchor#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "swap",
|
"name": "swap",
|
||||||
"version": "0.24.1",
|
"version": "0.24.2",
|
||||||
"license": "(MIT OR Apache-2.0)",
|
"license": "(MIT OR Apache-2.0)",
|
||||||
"homepage": "https://github.com/project-serum/anchor#readme",
|
"homepage": "https://github.com/project-serum/anchor#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "system-accounts",
|
"name": "system-accounts",
|
||||||
"version": "0.24.1",
|
"version": "0.24.2",
|
||||||
"license": "(MIT OR Apache-2.0)",
|
"license": "(MIT OR Apache-2.0)",
|
||||||
"homepage": "https://github.com/project-serum/anchor#readme",
|
"homepage": "https://github.com/project-serum/anchor#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "sysvars",
|
"name": "sysvars",
|
||||||
"version": "0.24.1",
|
"version": "0.24.2",
|
||||||
"license": "(MIT OR Apache-2.0)",
|
"license": "(MIT OR Apache-2.0)",
|
||||||
"homepage": "https://github.com/project-serum/anchor#readme",
|
"homepage": "https://github.com/project-serum/anchor#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "tictactoe",
|
"name": "tictactoe",
|
||||||
"version": "0.24.1",
|
"version": "0.24.2",
|
||||||
"license": "(MIT OR Apache-2.0)",
|
"license": "(MIT OR Apache-2.0)",
|
||||||
"homepage": "https://github.com/project-serum/anchor#readme",
|
"homepage": "https://github.com/project-serum/anchor#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "typescript-example",
|
"name": "typescript-example",
|
||||||
"version": "0.24.1",
|
"version": "0.24.2",
|
||||||
"license": "(MIT OR Apache-2.0)",
|
"license": "(MIT OR Apache-2.0)",
|
||||||
"homepage": "https://github.com/project-serum/anchor#readme",
|
"homepage": "https://github.com/project-serum/anchor#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "zero-copy",
|
"name": "zero-copy",
|
||||||
"version": "0.24.1",
|
"version": "0.24.2",
|
||||||
"license": "(MIT OR Apache-2.0)",
|
"license": "(MIT OR Apache-2.0)",
|
||||||
"homepage": "https://github.com/project-serum/anchor#readme",
|
"homepage": "https://github.com/project-serum/anchor#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@project-serum/anchor",
|
"name": "@project-serum/anchor",
|
||||||
"version": "0.24.1",
|
"version": "0.24.2",
|
||||||
"description": "Anchor client",
|
"description": "Anchor client",
|
||||||
"module": "./dist/esm/index.js",
|
"module": "./dist/esm/index.js",
|
||||||
"main": "./dist/cjs/index.js",
|
"main": "./dist/cjs/index.js",
|
||||||
|
|
Loading…
Reference in New Issue