From 978cb8443fca226d733fce083d04c3d691b6d0b9 Mon Sep 17 00:00:00 2001 From: Gabriele Picco Date: Tue, 23 Apr 2024 19:08:18 +0100 Subject: [PATCH] :arrow_up: Upgrade anchor_lang to 0.30.0 (#45) * :arrow_up: Upgrade anchor_lang to 0.30.0 * :bug: Bug Fixes * :recycle: Code Refactoring * :bug: Fix anchor-lang version * :construction_worker: Update solana version in CI/CD * :heavy_minus_sign: Remove solana-client dep * :bug: Fix generated toml * :pushpin: Pin ahash dependency * :green_heart: Fix tests on generated proj * :construction_worker: Run also on release branch * :construction_worker: Remove frozen flag * :construction_worker: Ignore error on cargo add single crates --- .github/workflows/publish-bolt-crates.yml | 3 +- .github/workflows/publish-bolt-sdk.yml | 3 +- .github/workflows/run-tests.yml | 9 +- Cargo.lock | 929 +++++++++++++-------- Cargo.toml | 14 +- cli/Cargo.toml | 7 +- cli/src/lib.rs | 2 +- cli/src/rust_template.rs | 43 +- crates/bolt-lang/Cargo.toml | 6 +- crates/types/Cargo.toml | 4 +- examples/system-simple-movement/Cargo.toml | 2 +- package-lock.json | 8 +- package.json | 2 +- tests/bolt.ts | 4 +- yarn.lock | 48 +- 15 files changed, 649 insertions(+), 435 deletions(-) diff --git a/.github/workflows/publish-bolt-crates.yml b/.github/workflows/publish-bolt-crates.yml index 70ea72a..a0c6b0f 100644 --- a/.github/workflows/publish-bolt-crates.yml +++ b/.github/workflows/publish-bolt-crates.yml @@ -8,8 +8,7 @@ on: workflow_dispatch: env: - solana_version: v1.18.1 - anchor_version: 0.29.0 + solana_version: v1.18.8 jobs: install: diff --git a/.github/workflows/publish-bolt-sdk.yml b/.github/workflows/publish-bolt-sdk.yml index b38a82b..b9bf131 100644 --- a/.github/workflows/publish-bolt-sdk.yml +++ b/.github/workflows/publish-bolt-sdk.yml @@ -8,8 +8,7 @@ on: workflow_dispatch: env: - solana_version: v1.18.1 - anchor_version: 0.29.0 + solana_version: v1.18.8 jobs: install: diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 78ade34..ab5dd4b 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -6,7 +6,7 @@ on: pull_request: env: - solana_version: v1.18.8 + solana_version: v1.18.9 jobs: install: @@ -161,14 +161,15 @@ jobs: - name: Install the Bolt CLI and create & build a new project shell: bash - if: ${{ !startsWith(github.ref, 'refs/heads/release/v') && !startsWith(github.head_ref, 'release/v') }} run: | export PATH="/home/runner/.local/share/solana/install/active_release/bin:$PATH" cargo install --path cli --force --locked bolt init test-project --force cd test-project - cargo add --package position --path "../crates/bolt-lang" # Overrides the version with the local version - cargo add --package movement --path "../crates/bolt-lang" # - + cargo add --package test-project --path "../crates/bolt-lang" || true # Overrides the version with the local version + cargo add --package movement --path "../crates/bolt-lang" || true # - + cargo add --package position --path "../crates/bolt-lang" || true # - + cargo update yarn add file:../clients/bolt-sdk/ -D # Overrides the bolt ts SDK with the local version bolt build bolt test \ No newline at end of file diff --git a/Cargo.lock b/Cargo.lock index a20e9ee..717cd96 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -69,19 +69,19 @@ version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" dependencies = [ - "getrandom 0.2.12", + "getrandom 0.2.14", "once_cell", "version_check", ] [[package]] name = "ahash" -version = "0.8.6" +version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91429305e9f0a25f6205c5b8e0d2db09e0708a7a6df0f42212bb56c32c8ac97a" +checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" dependencies = [ "cfg-if", - "getrandom 0.2.12", + "getrandom 0.2.14", "once_cell", "version_check", "zerocopy", @@ -113,8 +113,9 @@ dependencies = [ [[package]] name = "anchor-attribute-access-control" -version = "0.29.0" -source = "git+https://github.com/coral-xyz/anchor.git?rev=0f60909#0f6090950a4e65de581320d22b009b5001441e00" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd7368e171b3a317885dc08ec0f74eed9d0ad6c726cc819593aed81440dca926" dependencies = [ "anchor-syn", "proc-macro2", @@ -124,8 +125,9 @@ dependencies = [ [[package]] name = "anchor-attribute-account" -version = "0.29.0" -source = "git+https://github.com/coral-xyz/anchor.git?rev=0f60909#0f6090950a4e65de581320d22b009b5001441e00" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f527df85a8cba3f2bea04e46ed71b66e525ea378c7fec538aa205f4520b73e31" dependencies = [ "anchor-syn", "bs58 0.5.1", @@ -136,8 +138,9 @@ dependencies = [ [[package]] name = "anchor-attribute-constant" -version = "0.29.0" -source = "git+https://github.com/coral-xyz/anchor.git?rev=0f60909#0f6090950a4e65de581320d22b009b5001441e00" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3eb1dc1845cf8636c2e046a274ca074dabd3884ac8ed11cc4ed64b7e8ef5a318" dependencies = [ "anchor-syn", "quote", @@ -146,8 +149,9 @@ dependencies = [ [[package]] name = "anchor-attribute-error" -version = "0.29.0" -source = "git+https://github.com/coral-xyz/anchor.git?rev=0f60909#0f6090950a4e65de581320d22b009b5001441e00" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f382e41514c59a77ffa7bb1a47df9a0359564a749b6934485c742c11962e540" dependencies = [ "anchor-syn", "quote", @@ -156,8 +160,9 @@ dependencies = [ [[package]] name = "anchor-attribute-event" -version = "0.29.0" -source = "git+https://github.com/coral-xyz/anchor.git?rev=0f60909#0f6090950a4e65de581320d22b009b5001441e00" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "473a122aeed3f6b666438236338d2ef7833ee5fdc5688e1baa80185d61088a53" dependencies = [ "anchor-syn", "proc-macro2", @@ -167,9 +172,11 @@ dependencies = [ [[package]] name = "anchor-attribute-program" -version = "0.29.0" -source = "git+https://github.com/coral-xyz/anchor.git?rev=0f60909#0f6090950a4e65de581320d22b009b5001441e00" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f88c7ffe2eb40aeac43ffd0d74a6671581158aedfaa0552330a2ef92fa5c889" dependencies = [ + "anchor-lang-idl", "anchor-syn", "anyhow", "bs58 0.5.1", @@ -182,12 +189,13 @@ dependencies = [ [[package]] name = "anchor-cli" -version = "0.29.0" -source = "git+https://github.com/coral-xyz/anchor.git?rev=0f60909#0f6090950a4e65de581320d22b009b5001441e00" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80273f97533cb07dd4d0ae164e23e550df2025802a5615d36eff6e0a90942a55" dependencies = [ "anchor-client", - "anchor-idl", "anchor-lang", + "anchor-lang-idl", "anyhow", "base64 0.21.7", "bincode", @@ -219,8 +227,9 @@ dependencies = [ [[package]] name = "anchor-client" -version = "0.29.0" -source = "git+https://github.com/coral-xyz/anchor.git?rev=0f60909#0f6090950a4e65de581320d22b009b5001441e00" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4adc1b211826d72036dc2fcb679a8ef7fe5b9afda376b0b26debe19e28de3ea" dependencies = [ "anchor-lang", "anyhow", @@ -237,8 +246,9 @@ dependencies = [ [[package]] name = "anchor-derive-accounts" -version = "0.29.0" -source = "git+https://github.com/coral-xyz/anchor.git?rev=0f60909#0f6090950a4e65de581320d22b009b5001441e00" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed9b97c99dcec135aae0ff908c14bcfcd3e78cfc16a0c6f245135038f0e6d390" dependencies = [ "anchor-syn", "quote", @@ -247,8 +257,9 @@ dependencies = [ [[package]] name = "anchor-derive-serde" -version = "0.29.0" -source = "git+https://github.com/coral-xyz/anchor.git?rev=0f60909#0f6090950a4e65de581320d22b009b5001441e00" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbece98f6ad9c37070edc0841326c9623a249346cd74f433e7cef69b14f7f31d" dependencies = [ "anchor-syn", "borsh-derive-internal 0.10.3", @@ -259,32 +270,21 @@ dependencies = [ [[package]] name = "anchor-derive-space" -version = "0.29.0" -source = "git+https://github.com/coral-xyz/anchor.git?rev=0f60909#0f6090950a4e65de581320d22b009b5001441e00" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8badbe2648bc99a85ee05a7a5f9512e5e2af8ffac71476a69350cb278057ac53" dependencies = [ "proc-macro2", "quote", "syn 1.0.109", ] -[[package]] -name = "anchor-idl" -version = "0.29.0" -source = "git+https://github.com/coral-xyz/anchor.git?rev=0f60909#0f6090950a4e65de581320d22b009b5001441e00" -dependencies = [ - "anchor-syn", - "anyhow", - "regex", - "serde", - "serde_json", -] - [[package]] name = "anchor-lang" -version = "0.29.0" -source = "git+https://github.com/coral-xyz/anchor.git?rev=0f60909#0f6090950a4e65de581320d22b009b5001441e00" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e41feb9c1cd9f4b0fad1c004fc8f289183f3ce27e9db38fa6e434470c716fb1e" dependencies = [ - "ahash 0.8.6", "anchor-attribute-access-control", "anchor-attribute-account", "anchor-attribute-constant", @@ -294,35 +294,51 @@ dependencies = [ "anchor-derive-accounts", "anchor-derive-serde", "anchor-derive-space", - "anchor-syn", + "anchor-lang-idl", "arrayref", "base64 0.21.7", "bincode", "borsh 0.10.3", "bytemuck", - "getrandom 0.2.12", + "getrandom 0.2.14", "solana-program", "thiserror", ] +[[package]] +name = "anchor-lang-idl" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b29da81eae478b1bb846749b06b8a2cb9c6f9ed26ca793b0c916793fdf36adab" +dependencies = [ + "anchor-syn", + "anyhow", + "regex", + "serde", + "serde_json", +] + [[package]] name = "anchor-spl" -version = "0.29.0" -source = "git+https://github.com/coral-xyz/anchor.git?rev=0f60909#0f6090950a4e65de581320d22b009b5001441e00" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0dcee54a30b27ea8317ca647759b5d9701a8c7caaaa0c922c6d3c306a7278a7a" dependencies = [ "anchor-lang", "mpl-token-metadata", - "solana-program", - "spl-associated-token-account", + "spl-associated-token-account 3.0.2", + "spl-pod 0.2.2", "spl-token", - "spl-token-2022 0.9.0", - "toml_edit 0.21.0", + "spl-token-2022 3.0.2", + "spl-token-group-interface 0.2.3", + "spl-token-metadata-interface 0.3.3", ] [[package]] name = "anchor-syn" -version = "0.29.0" -source = "git+https://github.com/coral-xyz/anchor.git?rev=0f60909#0f6090950a4e65de581320d22b009b5001441e00" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac53f2378bc08e89e20c2b893c01986ffd34cfbc69a17e35bd6f754753e9fdad" dependencies = [ "anyhow", "bs58 0.5.1", @@ -411,9 +427,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.81" +version = "1.0.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0952808a6c2afd1aa8947271f3a60f1a6763c7b912d210184c5149b5cf147247" +checksum = "f538837af36e6f6a9be0faa67f9a314f8119e4e4b5867c6ab40ed60360142519" [[package]] name = "ark-bn254" @@ -617,9 +633,9 @@ dependencies = [ [[package]] name = "async-compression" -version = "0.4.6" +version = "0.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a116f46a969224200a0a97f29cfd4c50e7534e4b4826bd23ea2c3c533039c82c" +checksum = "07dbbf24db18d609b1462965249abdf49129ccad073ec257da372adc83259c60" dependencies = [ "brotli", "flate2", @@ -640,13 +656,13 @@ dependencies = [ [[package]] name = "async-trait" -version = "0.1.79" +version = "0.1.80" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a507401cad91ec6a857ed5513a2073c82a9b9048762b885bb98655b306964681" +checksum = "c6fa2087f2753a7da8cc1c0dbfcf89579dd57458e36769de5ac750b4671737ca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.55", + "syn 2.0.60", ] [[package]] @@ -872,10 +888,11 @@ version = "0.1.4" dependencies = [ "anchor-cli", "anchor-client", + "anchor-lang-idl", "anchor-syn", "anyhow", "clap 4.5.4", - "heck 0.4.1", + "heck 0.5.0", "serde_json", "syn 1.0.109", ] @@ -914,7 +931,7 @@ dependencies = [ name = "bolt-lang" version = "0.1.4" dependencies = [ - "ahash 0.8.6", + "ahash 0.8.11", "anchor-lang", "bolt-attribute-bolt-arguments", "bolt-attribute-bolt-component", @@ -940,7 +957,7 @@ dependencies = [ [[package]] name = "bolt-types" -version = "0.1.1" +version = "0.1.4" dependencies = [ "anchor-lang", "bolt-lang", @@ -975,6 +992,16 @@ dependencies = [ "hashbrown 0.13.2", ] +[[package]] +name = "borsh" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0901fc8eb0aca4c83be0106d6f2db17d86a08dfc2c25f0e84464bf381158add6" +dependencies = [ + "borsh-derive 1.4.0", + "cfg_aliases", +] + [[package]] name = "borsh-derive" version = "0.9.3" @@ -1001,6 +1028,20 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "borsh-derive" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51670c3aa053938b0ee3bd67c3817e471e626151131b934038e83c5bf8de48f5" +dependencies = [ + "once_cell", + "proc-macro-crate 3.1.0", + "proc-macro2", + "quote", + "syn 2.0.60", + "syn_derive", +] + [[package]] name = "borsh-derive-internal" version = "0.9.3" @@ -1047,9 +1088,9 @@ dependencies = [ [[package]] name = "brotli" -version = "3.5.0" +version = "4.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d640d25bc63c50fb1f0b545ffd80207d2e10a4c965530809b40ba3386825c391" +checksum = "125740193d7fee5cc63ab9e16c2fdc4e07c74ba755cc53b327d6ea029e9fc569" dependencies = [ "alloc-no-stdlib", "alloc-stdlib", @@ -1058,9 +1099,9 @@ dependencies = [ [[package]] name = "brotli-decompressor" -version = "2.5.1" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e2e4afe60d7dd600fdd3de8d0f08c2b7ec039712e3b6137ff98b7004e82de4f" +checksum = "65622a320492e09b5e0ac436b14c54ff68199bac392d0e89a6832c4518eea525" dependencies = [ "alloc-no-stdlib", "alloc-stdlib", @@ -1083,9 +1124,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.15.4" +version = "3.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ff69b9dd49fd426c69a0db9fc04dd934cdb6645ff000864d98f7e2af8830eaa" +checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" [[package]] name = "bv" @@ -1114,7 +1155,7 @@ checksum = "4da9a32f3fed317401fa3c862968128267c3106685286e15d5aaa3d7389c2f60" dependencies = [ "proc-macro2", "quote", - "syn 2.0.55", + "syn 2.0.60", ] [[package]] @@ -1151,12 +1192,13 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.90" +version = "1.0.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cd6604a82acf3039f1144f54b8eb34e91ffba622051189e71b781822d5ee1f5" +checksum = "d32a725bc159af97c3e629873bb9f88fb8cf8a4867175f76dc987815ea07c83b" dependencies = [ "jobserver", "libc", + "once_cell", ] [[package]] @@ -1165,11 +1207,17 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" +[[package]] +name = "cfg_aliases" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" + [[package]] name = "chrono" -version = "0.4.35" +version = "0.4.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8eaf5903dcbc0a39312feb77df2ff4c76387d591b9fc7b04a238dcf8bb62639a" +checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" dependencies = [ "android-tzdata", "iana-time-zone", @@ -1177,7 +1225,7 @@ dependencies = [ "num-traits", "serde", "wasm-bindgen", - "windows-targets 0.52.4", + "windows-targets 0.52.5", ] [[package]] @@ -1239,7 +1287,7 @@ dependencies = [ "anstream", "anstyle", "clap_lex 0.7.0", - "strsim 0.11.0", + "strsim 0.11.1", ] [[package]] @@ -1251,7 +1299,7 @@ dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.55", + "syn 2.0.60", ] [[package]] @@ -1480,7 +1528,7 @@ dependencies = [ "proc-macro2", "quote", "strsim 0.10.0", - "syn 2.0.55", + "syn 2.0.60", ] [[package]] @@ -1491,17 +1539,20 @@ checksum = "a668eda54683121533a393014d8692171709ff57a7d61f187b6e782719f8933f" dependencies = [ "darling_core", "quote", - "syn 2.0.55", + "syn 2.0.60", ] [[package]] name = "dashmap" -version = "4.0.2" +version = "5.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e77a43b28d0668df09411cb0bc9a8c2adc40f9a048afe863e05fd43251e8e39c" +checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856" dependencies = [ "cfg-if", - "num_cpus", + "hashbrown 0.14.3", + "lock_api", + "once_cell", + "parking_lot_core", ] [[package]] @@ -1640,7 +1691,7 @@ checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.55", + "syn 2.0.60", ] [[package]] @@ -1663,7 +1714,7 @@ checksum = "a6cbae11b3de8fce2a456e8ea3dada226b35fe791f0dc1d360c0941f0bb681f3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.55", + "syn 2.0.60", ] [[package]] @@ -1709,9 +1760,9 @@ dependencies = [ [[package]] name = "either" -version = "1.10.0" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a" +checksum = "a47c1c47d2f5964e29c61246e81db715514cd532db6b5116a25ea3c03d6780a2" [[package]] name = "ena" @@ -1730,9 +1781,9 @@ checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" [[package]] name = "encoding_rs" -version = "0.8.33" +version = "0.8.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7268b386296a025e474d5140678f75d6de9493ae55a5d709eeb9dd08149945e1" +checksum = "b45de904aa0b010bce2ab45264d0631681847fa7b6f2eaa7dab7619943bc4f59" dependencies = [ "cfg-if", ] @@ -1748,13 +1799,13 @@ dependencies = [ [[package]] name = "enum-iterator-derive" -version = "1.3.0" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03cdc46ec28bd728e67540c528013c6a10eb69a02eb31078a1bda695438cbfb8" +checksum = "c19cbb53d33b57ac4df1f0af6b92c38c107cded663c4aea9fae1189dcfc17cf5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.55", + "syn 2.0.60", ] [[package]] @@ -1903,7 +1954,7 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.55", + "syn 2.0.60", ] [[package]] @@ -1972,9 +2023,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.12" +version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5" +checksum = "94b22e06ecb0110981051723910cbf0b5f5e09a2062dd7663334ee79a9d1286c" dependencies = [ "cfg-if", "js-sys", @@ -2002,9 +2053,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.3.25" +version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fbd2820c5e49886948654ab546d0688ff24530286bdcf8fca3cefb16d4618eb" +checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" dependencies = [ "bytes", "fnv", @@ -2049,7 +2100,7 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.6", + "ahash 0.8.11", ] [[package]] @@ -2337,9 +2388,9 @@ checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" [[package]] name = "jobserver" -version = "0.1.28" +version = "0.1.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab46a6e9526ddef3ae7f787c06f0f2600639ba80ea3eade3d8e670a2230f51d6" +checksum = "d2b099aaa34a9751c5bf0878add70444e1ed2dd73f347be99003d4577277de6e" dependencies = [ "libc", ] @@ -2421,13 +2472,12 @@ checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" [[package]] name = "libredox" -version = "0.0.1" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85c833ca1e66078851dba29046874e38f08b2c883700aa29a03ddd3b23814ee8" +checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" dependencies = [ "bitflags 2.5.0", "libc", - "redox_syscall", ] [[package]] @@ -2514,9 +2564,9 @@ checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" [[package]] name = "memchr" -version = "2.7.1" +version = "2.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149" +checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d" [[package]] name = "memmap2" @@ -2538,9 +2588,9 @@ dependencies = [ [[package]] name = "memoffset" -version = "0.9.0" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" +checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" dependencies = [ "autocfg", ] @@ -2601,9 +2651,9 @@ dependencies = [ [[package]] name = "mpl-token-metadata" -version = "3.2.3" +version = "4.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba8ee05284d79b367ae8966d558e1a305a781fc80c9df51f37775169117ba64f" +checksum = "caf0f61b553e424a6234af1268456972ee66c2222e1da89079242251fa7479e5" dependencies = [ "borsh 0.10.3", "num-derive 0.3.3", @@ -2712,7 +2762,7 @@ checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202" dependencies = [ "proc-macro2", "quote", - "syn 2.0.55", + "syn 2.0.60", ] [[package]] @@ -2793,7 +2843,7 @@ dependencies = [ "proc-macro-crate 1.3.1", "proc-macro2", "quote", - "syn 2.0.55", + "syn 2.0.60", ] [[package]] @@ -2805,7 +2855,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.55", + "syn 2.0.60", ] [[package]] @@ -2973,7 +3023,7 @@ dependencies = [ "phf_shared 0.11.2", "proc-macro2", "quote", - "syn 2.0.55", + "syn 2.0.60", ] [[package]] @@ -2996,9 +3046,9 @@ dependencies = [ [[package]] name = "pin-project-lite" -version = "0.2.13" +version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" +checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" [[package]] name = "pin-utils" @@ -3107,14 +3157,37 @@ version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284" dependencies = [ - "toml_edit 0.21.0", + "toml_edit 0.21.1", +] + +[[package]] +name = "proc-macro-error" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" +dependencies = [ + "proc-macro-error-attr", + "proc-macro2", + "quote", + "version_check", +] + +[[package]] +name = "proc-macro-error-attr" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" +dependencies = [ + "proc-macro2", + "quote", + "version_check", ] [[package]] name = "proc-macro2" -version = "1.0.79" +version = "1.0.81" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e835ff2298f5721608eb1a980ecaee1aef2c132bf95ecc026a11b7bf3c01c02e" +checksum = "3d1597b0c024618f09a9c3b8655b7e430397a36d23fdafec26d6965e9eec3eba" dependencies = [ "unicode-ident", ] @@ -3136,7 +3209,7 @@ checksum = "9e2e25ee72f5b24d773cae88422baddefff7714f97aab68d96fe2b6fc4a28fb2" dependencies = [ "proc-macro2", "quote", - "syn 2.0.55", + "syn 2.0.60", ] [[package]] @@ -3189,9 +3262,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.35" +version = "1.0.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" +checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" dependencies = [ "proc-macro2", ] @@ -3255,7 +3328,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.12", + "getrandom 0.2.14", ] [[package]] @@ -3319,11 +3392,11 @@ dependencies = [ [[package]] name = "redox_users" -version = "0.4.4" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a18479200779601e498ada4e8c1e1f50e3ee19deb0259c25825a98b5603b2cb4" +checksum = "bd283d9651eeda4b2a83a43c1c91b266c40fd76ecd39a50a8c630ae69dc72891" dependencies = [ - "getrandom 0.2.12", + "getrandom 0.2.14", "libredox", "thiserror", ] @@ -3353,9 +3426,9 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.8.2" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" +checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" [[package]] name = "reqwest" @@ -3424,7 +3497,7 @@ checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" dependencies = [ "cc", "cfg-if", - "getrandom 0.2.12", + "getrandom 0.2.14", "libc", "spin 0.9.8", "untrusted 0.9.0", @@ -3484,9 +3557,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.32" +version = "0.38.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65e04861e65f21776e67888bfbea442b3642beaa0138fdb1dd7a84a52dffdb89" +checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" dependencies = [ "bitflags 2.5.0", "errno", @@ -3497,9 +3570,9 @@ dependencies = [ [[package]] name = "rustls" -version = "0.21.10" +version = "0.21.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9d5a6813c0759e4609cd494e8e725babae6a2ca7b62a5536a13daaec6fcb7ba" +checksum = "7fecbfb7b1444f477b345853b1fce097a2c6fb637b2bfb87e6bc5db0f043fae4" dependencies = [ "log", "ring 0.17.8", @@ -3540,9 +3613,9 @@ dependencies = [ [[package]] name = "rustversion" -version = "1.0.14" +version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" +checksum = "80af6f9131f277a45a3fba6ce8e2258037bb0477a67e610d3c1fe046ab31de47" [[package]] name = "ryu" @@ -3591,7 +3664,7 @@ checksum = "1db149f81d46d2deba7cd3c50772474707729550221e69588478ebf9ada425ae" dependencies = [ "proc-macro2", "quote", - "syn 2.0.55", + "syn 2.0.60", ] [[package]] @@ -3606,9 +3679,9 @@ dependencies = [ [[package]] name = "security-framework" -version = "2.9.2" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05b64fb303737d99b81884b2c63433e9ae28abebe5eb5045dcdd175dc2ecf4de" +checksum = "770452e37cad93e0a50d5abc3990d2bc351c36d0328f86cefec2f2fb206eaef6" dependencies = [ "bitflags 1.3.2", "core-foundation", @@ -3619,9 +3692,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.9.1" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e932934257d3b408ed8f30db49d85ea163bfe74961f017f405b025af298f0c7a" +checksum = "41f3cc463c0ef97e11c3461a9d3787412d30e8e7eb907c79180c4a57bf7c04ef" dependencies = [ "core-foundation-sys", "libc", @@ -3635,9 +3708,9 @@ checksum = "92d43fe69e652f3df9bdc2b85b2854a0825b86e4fb76bc44d945137d053639ca" [[package]] name = "serde" -version = "1.0.197" +version = "1.0.198" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2" +checksum = "9846a40c979031340571da2545a4e5b7c4163bdae79b301d5f86d03979451fcc" dependencies = [ "serde_derive", ] @@ -3653,20 +3726,20 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.197" +version = "1.0.198" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b" +checksum = "e88edab869b01783ba905e7d0153f9fc1a6505a96e4ad3018011eedb838566d9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.55", + "syn 2.0.60", ] [[package]] name = "serde_json" -version = "1.0.115" +version = "1.0.116" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12dc5c46daa8e9fdf4f5e71b6cf9a53f2487da0e86e55808e2d35539666497dd" +checksum = "3e17db7126d17feb94eb3fad46bf1a96b034e8aacbc2e775fe81505f8b0b2813" dependencies = [ "itoa", "ryu", @@ -3713,7 +3786,7 @@ dependencies = [ "darling", "proc-macro2", "quote", - "syn 2.0.55", + "syn 2.0.60", ] [[package]] @@ -3803,9 +3876,9 @@ dependencies = [ [[package]] name = "signal-hook-registry" -version = "1.4.1" +version = "1.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1" +checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1" dependencies = [ "libc", ] @@ -3859,9 +3932,9 @@ dependencies = [ [[package]] name = "solana-account-decoder" -version = "1.17.14" +version = "1.18.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21ed570fba6f909f69c888b48b39c7e61b454e3594e448d0dad9d973f27f5668" +checksum = "ff098f24024f1046d9ba778c48b9a68c590c15cf5c42af67e2578a240fb141a4" dependencies = [ "Inflector", "base64 0.21.7", @@ -3876,17 +3949,17 @@ dependencies = [ "solana-sdk", "spl-token", "spl-token-2022 1.0.0", - "spl-token-group-interface", - "spl-token-metadata-interface", + "spl-token-group-interface 0.1.0", + "spl-token-metadata-interface 0.2.0", "thiserror", "zstd", ] [[package]] name = "solana-clap-utils" -version = "1.17.14" +version = "1.18.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4729fec3c2ac37b7daaf24c1ef879bbedbff3495b1ac728d9b627282d878753" +checksum = "751789b7c7a3d78afe7f1ddbf48942463253167e67e85034a9695e0a05fba63e" dependencies = [ "chrono", "clap 2.34.0", @@ -3901,9 +3974,9 @@ dependencies = [ [[package]] name = "solana-cli-config" -version = "1.17.14" +version = "1.18.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc839682c2d3f853fac8d106beed191a2a05974f4defdc9ebe0ce50c3b9249af" +checksum = "9247f845e3c9fb302087e71ca3626930699a03b575c2d21dbc07e19f4f0bb8e8" dependencies = [ "dirs-next", "lazy_static", @@ -3917,9 +3990,9 @@ dependencies = [ [[package]] name = "solana-client" -version = "1.17.14" +version = "1.18.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2da13019a833940af2edebda969db4337ab11c6fb220eb0d4c02d79c83ae8034" +checksum = "ae5a780ff360acc9794d6e7fae8cd449c0b01bb5f0cec9c4bd8b0e6c6d111487" dependencies = [ "async-trait", "bincode", @@ -3950,9 +4023,9 @@ dependencies = [ [[package]] name = "solana-config-program" -version = "1.17.14" +version = "1.18.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04b91ca968a63946e7513a1de20188e6e917f09136339ee3bec247aa0e985d36" +checksum = "3fd4f18daab90c2f703da8dc094b1dc80721178977302d66d21df43e61b4a97b" dependencies = [ "bincode", "chrono", @@ -3964,9 +4037,9 @@ dependencies = [ [[package]] name = "solana-connection-cache" -version = "1.17.14" +version = "1.18.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49a850c0122f094efb83df00ab080ab6ace0dcd8dbf91240f91832157ee6d460" +checksum = "9a7b949fb3d3abc092b0c1dfb437a63d3cb7968f92d74820ef46732093517083" dependencies = [ "async-trait", "bincode", @@ -3986,9 +4059,9 @@ dependencies = [ [[package]] name = "solana-faucet" -version = "1.17.14" +version = "1.18.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d646ed06061aaecb678e5a7ffb08fd843034b92f6b461f0147eb7a099688121" +checksum = "f0f435797ec23f5aa8f1dd7c90ae34b5e44c80ad165c218fabfe2add6790696a" dependencies = [ "bincode", "byteorder", @@ -4010,17 +4083,13 @@ dependencies = [ [[package]] name = "solana-frozen-abi" -version = "1.17.14" +version = "1.18.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e2c5e5dde22cac045d29675b3fefa84817e1f63b0b911d094c599e80c0c07d9" +checksum = "3b8177685ab2bc8cc8b3bf63aa1eaa0580d5af850ecefac323ca1c2473085d77" dependencies = [ - "ahash 0.8.6", - "blake3", "block-buffer 0.10.4", "bs58 0.4.0", "bv", - "byteorder", - "cc", "either", "generic-array", "im", @@ -4031,7 +4100,6 @@ dependencies = [ "serde", "serde_bytes", "serde_derive", - "serde_json", "sha2 0.10.8", "solana-frozen-abi-macro", "subtle", @@ -4040,21 +4108,21 @@ dependencies = [ [[package]] name = "solana-frozen-abi-macro" -version = "1.17.14" +version = "1.18.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "296e4cf0e2479e4c21afe4d17e32526f71f1bcd93b1c7c660900bc3e4233447a" +checksum = "4a68241cad17b74c6034a68ba4890632d409a2c886e7bead9c1e1432befdb7c9" dependencies = [ "proc-macro2", "quote", "rustc_version", - "syn 2.0.55", + "syn 2.0.60", ] [[package]] name = "solana-logger" -version = "1.17.14" +version = "1.18.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d37a1b1a383a01039afbc6447a1712fb2a1a73a5ba8916762e693e8e492fabf3" +checksum = "fea560989ef67ba4a1a0fd62a248721f1aa5bac8fa5ede9ccf4fe9ee484ccadf" dependencies = [ "env_logger", "lazy_static", @@ -4063,9 +4131,9 @@ dependencies = [ [[package]] name = "solana-measure" -version = "1.17.14" +version = "1.18.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19831a93d760205f5c3e20d05a37b0e533caa1889e48041648ad0859e68ec336" +checksum = "2abdc65120ba03eac69a668c0085166e969ea6717aee1f5b0a2ffbdd07afe7a6" dependencies = [ "log", "solana-sdk", @@ -4073,9 +4141,9 @@ dependencies = [ [[package]] name = "solana-metrics" -version = "1.17.14" +version = "1.18.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f63c23a8db755b2903262ad473e32cbf0093e2d3a0a7b8183d797a182c08326a" +checksum = "6e4874fea432f89b6ef0902fdada2cbca715b094419897dcfc7ef82d88b0a308" dependencies = [ "crossbeam-channel", "gethostname", @@ -4088,9 +4156,9 @@ dependencies = [ [[package]] name = "solana-net-utils" -version = "1.17.14" +version = "1.18.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29ac1afc7feb590b45fd72bee0ca4c4f24b2386184d7e00d9f0d17913655bb4a" +checksum = "05afd6080d20db4dc862603178535c7d648cba7462ca23241ff5670fb0026d38" dependencies = [ "bincode", "clap 3.2.25", @@ -4110,11 +4178,11 @@ dependencies = [ [[package]] name = "solana-perf" -version = "1.17.14" +version = "1.18.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfdf5a429e018e8ba693f4c43f833192db421fe97b88dfaf97041aa258e4b191" +checksum = "cff0f2ea9735a5452a3fe837c61f30231c8f5b455a2b12665d3bb6e0c56e49c8" dependencies = [ - "ahash 0.8.6", + "ahash 0.8.11", "bincode", "bv", "caps", @@ -4139,9 +4207,9 @@ dependencies = [ [[package]] name = "solana-program" -version = "1.17.14" +version = "1.18.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e3a3b9623f09e2c480b4e129c92d7a036f8614fd0fc7519791bd44e64061ce8" +checksum = "8bddf573103c890b4ab8f9a6641d4f969d4148bce9a451c263f4a62afa949fae" dependencies = [ "ark-bn254", "ark-ec", @@ -4153,6 +4221,7 @@ dependencies = [ "blake3", "borsh 0.10.3", "borsh 0.9.3", + "borsh 1.4.0", "bs58 0.4.0", "bv", "bytemuck", @@ -4160,7 +4229,7 @@ dependencies = [ "console_error_panic_hook", "console_log", "curve25519-dalek", - "getrandom 0.2.12", + "getrandom 0.2.14", "itertools 0.10.5", "js-sys", "lazy_static", @@ -4168,9 +4237,9 @@ dependencies = [ "libsecp256k1", "light-poseidon", "log", - "memoffset 0.9.0", + "memoffset 0.9.1", "num-bigint 0.4.4", - "num-derive 0.3.3", + "num-derive 0.4.2", "num-traits", "parking_lot", "rand 0.8.5", @@ -4193,9 +4262,9 @@ dependencies = [ [[package]] name = "solana-program-runtime" -version = "1.17.14" +version = "1.18.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d5dbb56d36cc15b4cf5a71c0ce6262a263212f7a312b0dbc41b226654329c37" +checksum = "e22d035b370d65bff46c7d7582a1619c4edac8e8059e2dec0e151df09882c7b3" dependencies = [ "base64 0.21.7", "bincode", @@ -4204,7 +4273,7 @@ dependencies = [ "itertools 0.10.5", "libc", "log", - "num-derive 0.3.3", + "num-derive 0.4.2", "num-traits", "percentage", "rand 0.8.5", @@ -4221,9 +4290,9 @@ dependencies = [ [[package]] name = "solana-pubsub-client" -version = "1.17.14" +version = "1.18.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c22290c0d296a6a250a8d5b680797f12138a81af9c403a6ce62bd3ddad307e6" +checksum = "f1b3aaa906f6b222be23423a0dd5deed254f092d27ad3bc05371acd9685d2db0" dependencies = [ "crossbeam-channel", "futures-util", @@ -4246,9 +4315,9 @@ dependencies = [ [[package]] name = "solana-quic-client" -version = "1.17.14" +version = "1.18.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f924d8722f9e910d790678a79c2a0bfed786dffe1aefa5d769f8548679794263" +checksum = "82e75ba7e460865a7f556d7b7bc59e70c049eab4448bf2528bed1c5e5a1b672d" dependencies = [ "async-mutex", "async-trait", @@ -4273,9 +4342,9 @@ dependencies = [ [[package]] name = "solana-rayon-threadlimit" -version = "1.17.14" +version = "1.18.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc0a2e484e5b272690ac1431a6821f2b5180149d67c56934d9e007224ced15d0" +checksum = "5a6ccb1910cc9efd4bae450d18a57c387e51ebebade1bd9bdf006ae539dd012f" dependencies = [ "lazy_static", "num_cpus", @@ -4283,14 +4352,14 @@ dependencies = [ [[package]] name = "solana-remote-wallet" -version = "1.17.14" +version = "1.18.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb9a96d1c001d07a0abb08e05b92ff6528b2d9239d03c57f99f738527839eb12" +checksum = "24cda66f8ed8860870cd4bf26235fb7fd08d8e5a75a4fce26b279c8d5c9db81f" dependencies = [ "console", "dialoguer", "log", - "num-derive 0.3.3", + "num-derive 0.4.2", "num-traits", "parking_lot", "qstring", @@ -4302,9 +4371,9 @@ dependencies = [ [[package]] name = "solana-rpc-client" -version = "1.17.14" +version = "1.18.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91503edfdb2ba9c5e0127048e7795f22e050cf2bcee1259361af113d533b4b26" +checksum = "efae5c8740d8eb49e504e728de10aed0a5ddc53af3004b32ecdea2f7ca12c97b" dependencies = [ "async-trait", "base64 0.21.7", @@ -4328,9 +4397,9 @@ dependencies = [ [[package]] name = "solana-rpc-client-api" -version = "1.17.14" +version = "1.18.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "131662e5eea4fa5fc88b01f07d9e430315c0976be848ba3994244249c5fb033a" +checksum = "cdd1597ebe177b6fd68a9b33b682a5f0c9445c02be3783e7f51e570cbbbb3aa4" dependencies = [ "base64 0.21.7", "bs58 0.4.0", @@ -4350,9 +4419,9 @@ dependencies = [ [[package]] name = "solana-rpc-client-nonce-utils" -version = "1.17.14" +version = "1.18.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f67cdff955b9994ae240f6f287420c6727a581120c02ccc4f2fa535886732a1d" +checksum = "1ae385b37c59a8507b9871d5162ea7709206360a55cf2859adb4274be4a870e1" dependencies = [ "clap 2.34.0", "solana-clap-utils", @@ -4363,15 +4432,15 @@ dependencies = [ [[package]] name = "solana-sdk" -version = "1.17.14" +version = "1.18.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb34583922c5e79004ad8d8d69f333d274d21b614f0e1a575f325fc29a104ec2" +checksum = "08b24b06fa176209ddb2a2f8172a00b07e8a3b18229fbfc49f1eb3ce6ad11ff1" dependencies = [ "assert_matches", "base64 0.21.7", "bincode", "bitflags 2.5.0", - "borsh 0.10.3", + "borsh 1.4.0", "bs58 0.4.0", "bytemuck", "byteorder", @@ -4388,9 +4457,9 @@ dependencies = [ "libsecp256k1", "log", "memmap2", - "num-derive 0.3.3", + "num-derive 0.4.2", "num-traits", - "num_enum 0.6.1", + "num_enum 0.7.2", "pbkdf2 0.11.0", "qstring", "qualifier_attr", @@ -4405,6 +4474,7 @@ dependencies = [ "serde_with", "sha2 0.10.8", "sha3 0.10.8", + "siphasher", "solana-frozen-abi", "solana-frozen-abi-macro", "solana-logger", @@ -4417,15 +4487,15 @@ dependencies = [ [[package]] name = "solana-sdk-macro" -version = "1.17.14" +version = "1.18.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60f58786e949f43b8c9b826fdfa5ad8586634b077ab04f989fb8e30535786712" +checksum = "869483c05f18d37d4d95a08d9e05e00a4f76a8c8349aeedeee9ba2d013cbacde" dependencies = [ "bs58 0.4.0", "proc-macro2", "quote", "rustversion", - "syn 2.0.55", + "syn 2.0.60", ] [[package]] @@ -4436,9 +4506,9 @@ checksum = "468aa43b7edb1f9b7b7b686d5c3aeb6630dc1708e86e31343499dd5c4d775183" [[package]] name = "solana-streamer" -version = "1.17.14" +version = "1.18.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efe4c33e0f68ea7a3701650badf6753b85fef2100cac6bc187c8e443e61c53da" +checksum = "b76711141dd5b052e29e4825b33cf09ca9cf3987b8ac0c703d36e3d80ad5dc91" dependencies = [ "async-channel", "bytes", @@ -4458,6 +4528,7 @@ dependencies = [ "rand 0.8.5", "rcgen", "rustls", + "smallvec", "solana-metrics", "solana-perf", "solana-sdk", @@ -4468,9 +4539,9 @@ dependencies = [ [[package]] name = "solana-thin-client" -version = "1.17.14" +version = "1.18.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54e782aabf9443a36d65e74d70ce732cc844707a5fec5a498bcbd81d3de7598c" +checksum = "21b6b476b4572453f93a9827fa9312537b8a8ed253006919ab17d921b271b125" dependencies = [ "bincode", "log", @@ -4483,9 +4554,9 @@ dependencies = [ [[package]] name = "solana-tpu-client" -version = "1.17.14" +version = "1.18.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "980bee30cbfe3c51f973da7fdcccb9df2c2d9b9175c06066b293499e02108fd4" +checksum = "9cfa13af3f54db31bde6f2d5462588f03be95f7cf66610d5942e7b52e556d1d9" dependencies = [ "async-trait", "bincode", @@ -4507,9 +4578,9 @@ dependencies = [ [[package]] name = "solana-transaction-status" -version = "1.17.14" +version = "1.18.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c180013e406418d593ce7b51da7007a638ace18261de14901b090e53a1d7025" +checksum = "5b5614e42e4d5a8b15e4553b68008788fae3a0dbc1a3672b62e9574252579536" dependencies = [ "Inflector", "base64 0.21.7", @@ -4523,7 +4594,7 @@ dependencies = [ "serde_json", "solana-account-decoder", "solana-sdk", - "spl-associated-token-account", + "spl-associated-token-account 2.3.0", "spl-memo", "spl-token", "spl-token-2022 1.0.0", @@ -4532,9 +4603,9 @@ dependencies = [ [[package]] name = "solana-udp-client" -version = "1.17.14" +version = "1.18.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab995970a424c89b7966a01aec90cdf1685c49aacf38a5f463200fc273a7d86b" +checksum = "22a37626fc851db74838725fc1034a71f2b2445149d93e45884ae366c6d85d61" dependencies = [ "async-trait", "solana-connection-cache", @@ -4547,9 +4618,9 @@ dependencies = [ [[package]] name = "solana-version" -version = "1.17.14" +version = "1.18.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b32cc394aa7132ab7f270801b98bf47fa585ab93f1038e5be27e480d7b5b2dca" +checksum = "7c23651369dd7278308c988078adeb593a37560abd0f728f70e768e12fa4b507" dependencies = [ "log", "rustc_version", @@ -4563,13 +4634,13 @@ dependencies = [ [[package]] name = "solana-vote-program" -version = "1.17.14" +version = "1.18.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "589cad4dccb4392e23f5ae4ccdd1f0aaa10f2823b264b27c4feb6382f40f4fd4" +checksum = "6f0bab220b03482b90aa1781f7c4d4f073c7c9e7eafe6759d07a1b3efee6e315" dependencies = [ "bincode", "log", - "num-derive 0.3.3", + "num-derive 0.4.2", "num-traits", "rustc_version", "serde", @@ -4585,9 +4656,9 @@ dependencies = [ [[package]] name = "solana-zk-token-sdk" -version = "1.17.14" +version = "1.18.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03d932d7b13a223a6c1068d7061df7e9d2de14bfc0a874350eef19d59086b04a" +checksum = "459c27f7b954798677d8243aa53b8080cfb314ecfecbf8889a5a65c91ad11fee" dependencies = [ "aes-gcm-siv", "base64 0.21.7", @@ -4599,7 +4670,7 @@ dependencies = [ "itertools 0.10.5", "lazy_static", "merlin", - "num-derive 0.3.3", + "num-derive 0.4.2", "num-traits", "rand 0.7.3", "serde", @@ -4683,15 +4754,42 @@ dependencies = [ "thiserror", ] +[[package]] +name = "spl-associated-token-account" +version = "3.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2e688554bac5838217ffd1fab7845c573ff106b6336bf7d290db7c98d5a8efd" +dependencies = [ + "assert_matches", + "borsh 1.4.0", + "num-derive 0.4.2", + "num-traits", + "solana-program", + "spl-token", + "spl-token-2022 3.0.2", + "thiserror", +] + [[package]] name = "spl-discriminator" -version = "0.1.0" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "daa600f2fe56f32e923261719bae640d873edadbc5237681a39b8e37bfd4d263" +dependencies = [ + "bytemuck", + "solana-program", + "spl-discriminator-derive 0.1.2", +] + +[[package]] +name = "spl-discriminator" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cce5d563b58ef1bb2cdbbfe0dfb9ffdc24903b10ae6a4df2d8f425ece375033f" +checksum = "34d1814406e98b08c5cd02c1126f83fd407ad084adce0b05fda5730677822eac" dependencies = [ "bytemuck", "solana-program", - "spl-discriminator-derive", + "spl-discriminator-derive 0.2.0", ] [[package]] @@ -4701,8 +4799,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "07fd7858fc4ff8fb0e34090e41d7eb06a823e1057945c26d480bfc21d2338a93" dependencies = [ "quote", - "spl-discriminator-syn", - "syn 2.0.55", + "spl-discriminator-syn 0.1.2", + "syn 2.0.60", +] + +[[package]] +name = "spl-discriminator-derive" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9e8418ea6269dcfb01c712f0444d2c75542c04448b480e87de59d2865edc750" +dependencies = [ + "quote", + "spl-discriminator-syn 0.2.0", + "syn 2.0.60", ] [[package]] @@ -4714,7 +4823,20 @@ dependencies = [ "proc-macro2", "quote", "sha2 0.10.8", - "syn 2.0.55", + "syn 2.0.60", + "thiserror", +] + +[[package]] +name = "spl-discriminator-syn" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c1f05593b7ca9eac7caca309720f2eafb96355e037e6d373b909a80fe7b69b9" +dependencies = [ + "proc-macro2", + "quote", + "sha2 0.10.8", + "syn 2.0.60", "thiserror", ] @@ -4729,27 +4851,53 @@ dependencies = [ [[package]] name = "spl-pod" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2881dddfca792737c0706fa0175345ab282b1b0879c7d877bad129645737c079" +checksum = "85a5db7e4efb1107b0b8e52a13f035437cdcb36ef99c58f6d467f089d9b2915a" dependencies = [ "borsh 0.10.3", "bytemuck", "solana-program", "solana-zk-token-sdk", - "spl-program-error", + "spl-program-error 0.3.1", +] + +[[package]] +name = "spl-pod" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "046ce669f48cf2eca1ec518916d8725596bfb655beb1c74374cf71dc6cb773c9" +dependencies = [ + "borsh 1.4.0", + "bytemuck", + "solana-program", + "solana-zk-token-sdk", + "spl-program-error 0.4.1", ] [[package]] name = "spl-program-error" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "249e0318493b6bcf27ae9902600566c689b7dfba9f1bdff5893e92253374e78c" +checksum = "7e0657b6490196971d9e729520ba934911ff41fbb2cb9004463dbe23cf8b4b4f" dependencies = [ "num-derive 0.4.2", "num-traits", "solana-program", - "spl-program-error-derive", + "spl-program-error-derive 0.3.2", + "thiserror", +] + +[[package]] +name = "spl-program-error" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49065093ea91f57b9b2bd81493ff705e2ad4e64507a07dbc02b085778e02770e" +dependencies = [ + "num-derive 0.4.2", + "num-traits", + "solana-program", + "spl-program-error-derive 0.4.1", "thiserror", ] @@ -4762,35 +4910,47 @@ dependencies = [ "proc-macro2", "quote", "sha2 0.10.8", - "syn 2.0.55", + "syn 2.0.60", +] + +[[package]] +name = "spl-program-error-derive" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6d375dd76c517836353e093c2dbb490938ff72821ab568b545fd30ab3256b3e" +dependencies = [ + "proc-macro2", + "quote", + "sha2 0.10.8", + "syn 2.0.60", ] [[package]] name = "spl-tlv-account-resolution" -version = "0.4.0" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "062e148d3eab7b165582757453632ffeef490c02c86a48bfdb4988f63eefb3b9" +checksum = "56f335787add7fa711819f9e7c573f8145a5358a709446fe2d24bf2a88117c90" dependencies = [ "bytemuck", "solana-program", - "spl-discriminator", - "spl-pod", - "spl-program-error", - "spl-type-length-value", + "spl-discriminator 0.1.1", + "spl-pod 0.1.1", + "spl-program-error 0.3.1", + "spl-type-length-value 0.3.1", ] [[package]] name = "spl-tlv-account-resolution" -version = "0.5.1" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "615d381f48ddd2bb3c57c7f7fb207591a2a05054639b18a62e785117dd7a8683" +checksum = "cace91ba08984a41556efe49cbf2edca4db2f577b649da7827d3621161784bf8" dependencies = [ "bytemuck", "solana-program", - "spl-discriminator", - "spl-pod", - "spl-program-error", - "spl-type-length-value", + "spl-discriminator 0.2.2", + "spl-pod 0.2.2", + "spl-program-error 0.4.1", + "spl-type-length-value 0.4.3", ] [[package]] @@ -4810,9 +4970,9 @@ dependencies = [ [[package]] name = "spl-token-2022" -version = "0.9.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4abf34a65ba420584a0c35f3903f8d727d1f13ababbdc3f714c6b065a686e86" +checksum = "d697fac19fd74ff472dfcc13f0b442dd71403178ce1de7b5d16f83a33561c059" dependencies = [ "arrayref", "bytemuck", @@ -4820,21 +4980,23 @@ dependencies = [ "num-traits", "num_enum 0.7.2", "solana-program", + "solana-security-txt", "solana-zk-token-sdk", "spl-memo", - "spl-pod", + "spl-pod 0.1.1", "spl-token", - "spl-token-metadata-interface", - "spl-transfer-hook-interface 0.3.0", - "spl-type-length-value", + "spl-token-group-interface 0.1.0", + "spl-token-metadata-interface 0.2.0", + "spl-transfer-hook-interface 0.4.1", + "spl-type-length-value 0.3.1", "thiserror", ] [[package]] name = "spl-token-2022" -version = "1.0.0" +version = "3.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d697fac19fd74ff472dfcc13f0b442dd71403178ce1de7b5d16f83a33561c059" +checksum = "e5412f99ae7ee6e0afde00defaa354e6228e47e30c0e3adf553e2e01e6abb584" dependencies = [ "arrayref", "bytemuck", @@ -4845,12 +5007,12 @@ dependencies = [ "solana-security-txt", "solana-zk-token-sdk", "spl-memo", - "spl-pod", + "spl-pod 0.2.2", "spl-token", - "spl-token-group-interface", - "spl-token-metadata-interface", - "spl-transfer-hook-interface 0.4.1", - "spl-type-length-value", + "spl-token-group-interface 0.2.3", + "spl-token-metadata-interface 0.3.3", + "spl-transfer-hook-interface 0.6.3", + "spl-type-length-value 0.4.3", "thiserror", ] @@ -4862,9 +5024,22 @@ checksum = "b889509d49fa74a4a033ca5dae6c2307e9e918122d97e58562f5c4ffa795c75d" dependencies = [ "bytemuck", "solana-program", - "spl-discriminator", - "spl-pod", - "spl-program-error", + "spl-discriminator 0.1.1", + "spl-pod 0.1.1", + "spl-program-error 0.3.1", +] + +[[package]] +name = "spl-token-group-interface" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d419b5cfa3ee8e0f2386fd7e02a33b3ec8a7db4a9c7064a2ea24849dc4a273b6" +dependencies = [ + "bytemuck", + "solana-program", + "spl-discriminator 0.2.2", + "spl-pod 0.2.2", + "spl-program-error 0.4.1", ] [[package]] @@ -4875,55 +5050,82 @@ checksum = "4c16ce3ba6979645fb7627aa1e435576172dd63088dc7848cb09aa331fa1fe4f" dependencies = [ "borsh 0.10.3", "solana-program", - "spl-discriminator", - "spl-pod", - "spl-program-error", - "spl-type-length-value", + "spl-discriminator 0.1.1", + "spl-pod 0.1.1", + "spl-program-error 0.3.1", + "spl-type-length-value 0.3.1", +] + +[[package]] +name = "spl-token-metadata-interface" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30179c47e93625680dabb620c6e7931bd12d62af390f447bc7beb4a3a9b5feee" +dependencies = [ + "borsh 1.4.0", + "solana-program", + "spl-discriminator 0.2.2", + "spl-pod 0.2.2", + "spl-program-error 0.4.1", + "spl-type-length-value 0.4.3", ] [[package]] name = "spl-transfer-hook-interface" -version = "0.3.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "051d31803f873cabe71aec3c1b849f35248beae5d19a347d93a5c9cccc5d5a9b" +checksum = "7aabdb7c471566f6ddcee724beb8618449ea24b399e58d464d6b5bc7db550259" dependencies = [ "arrayref", "bytemuck", "solana-program", - "spl-discriminator", - "spl-pod", - "spl-program-error", - "spl-tlv-account-resolution 0.4.0", - "spl-type-length-value", + "spl-discriminator 0.1.1", + "spl-pod 0.1.1", + "spl-program-error 0.3.1", + "spl-tlv-account-resolution 0.5.2", + "spl-type-length-value 0.3.1", ] [[package]] name = "spl-transfer-hook-interface" -version = "0.4.1" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7aabdb7c471566f6ddcee724beb8618449ea24b399e58d464d6b5bc7db550259" +checksum = "66a98359769cd988f7b35c02558daa56d496a7e3bd8626e61f90a7c757eedb9b" dependencies = [ "arrayref", "bytemuck", "solana-program", - "spl-discriminator", - "spl-pod", - "spl-program-error", - "spl-tlv-account-resolution 0.5.1", - "spl-type-length-value", + "spl-discriminator 0.2.2", + "spl-pod 0.2.2", + "spl-program-error 0.4.1", + "spl-tlv-account-resolution 0.6.3", + "spl-type-length-value 0.4.3", ] [[package]] name = "spl-type-length-value" -version = "0.3.0" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f9ebd75d29c5f48de5f6a9c114e08531030b75b8ac2c557600ac7da0b73b1e8" +dependencies = [ + "bytemuck", + "solana-program", + "spl-discriminator 0.1.1", + "spl-pod 0.1.1", + "spl-program-error 0.3.1", +] + +[[package]] +name = "spl-type-length-value" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a468e6f6371f9c69aae760186ea9f1a01c2908351b06a5e0026d21cfc4d7ecac" +checksum = "422ce13429dbd41d2cee8a73931c05fda0b0c8ca156a8b0c19445642550bb61a" dependencies = [ "bytemuck", "solana-program", - "spl-discriminator", - "spl-pod", - "spl-program-error", + "spl-discriminator 0.2.2", + "spl-pod 0.2.2", + "spl-program-error 0.4.1", ] [[package]] @@ -4953,9 +5155,9 @@ checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" [[package]] name = "strsim" -version = "0.11.0" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ee073c9e4cd00e28217186dbe12796d692868f432bf2e97ee73bed0c56dfa01" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" [[package]] name = "subtle" @@ -4976,15 +5178,27 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.55" +version = "2.0.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "002a1b3dbf967edfafc32655d0f377ab0bb7b994aa1d32c8cc7e9b8bf3ebb8f0" +checksum = "909518bc7b1c9b779f1bbf07f2929d35af9f0f37e47c6e9ef7f9dddc1e1821f3" dependencies = [ "proc-macro2", "quote", "unicode-ident", ] +[[package]] +name = "syn_derive" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1329189c02ff984e9736652b1631330da25eaa6bc639089ed4915d25446cbe7b" +dependencies = [ + "proc-macro-error", + "proc-macro2", + "quote", + "syn 2.0.60", +] + [[package]] name = "sync_wrapper" version = "0.1.2" @@ -5114,29 +5328,29 @@ checksum = "23d434d3f8967a09480fb04132ebe0a3e088c173e6d0ee7897abbdf4eab0f8b9" [[package]] name = "thiserror" -version = "1.0.58" +version = "1.0.59" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03468839009160513471e86a034bb2c5c0e4baae3b43f79ffc55c4a5427b3297" +checksum = "f0126ad08bff79f29fc3ae6a55cc72352056dfff61e3ff8bb7129476d44b23aa" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.58" +version = "1.0.59" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c61f3ba182994efc43764a46c018c347bc492c79f024e705f46567b418f6d4f7" +checksum = "d1cd413b5d558b4c5bf3680e324a6fa5014e7b7c067a51e69dbdf47eb7148b66" dependencies = [ "proc-macro2", "quote", - "syn 2.0.55", + "syn 2.0.60", ] [[package]] name = "time" -version = "0.3.34" +version = "0.3.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8248b6521bb14bc45b4067159b9b6ad792e2d6d754d6c41fb50e29fefe38749" +checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885" dependencies = [ "deranged", "itoa", @@ -5155,9 +5369,9 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.17" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ba3a3ef41e6672a2f0f001392bb5dcd3ff0a9992d618ca761a11c3121547774" +checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" dependencies = [ "num-conv", "time-core", @@ -5208,9 +5422,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.36.0" +version = "1.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61285f6515fa018fb2d1e46eb21223fff441ee8db5d0f1435e8ab4f5cdb80931" +checksum = "1adbebffeca75fcfd058afa480fb6c0b81e165a0323f9c9d39c9697e37c46787" dependencies = [ "backtrace", "bytes", @@ -5233,7 +5447,7 @@ checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.55", + "syn 2.0.60", ] [[package]] @@ -5316,7 +5530,7 @@ dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit 0.22.9", + "toml_edit 0.22.12", ] [[package]] @@ -5343,9 +5557,9 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.21.0" +version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d34d383cd00a163b4a5b85053df514d45bc330f6de7737edfe0a93311d1eaa03" +checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" dependencies = [ "indexmap 2.2.6", "toml_datetime", @@ -5354,15 +5568,15 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.22.9" +version = "0.22.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e40bb779c5187258fd7aad0eb68cb8706a0a81fa712fbea808ab43c4b8374c4" +checksum = "d3328d4f68a705b2a4498da1d580585d39a6510f98318a2cec3018a7ec61ddef" dependencies = [ "indexmap 2.2.6", "serde", "serde_spanned", "toml_datetime", - "winnow 0.6.5", + "winnow 0.6.6", ] [[package]] @@ -5391,7 +5605,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.55", + "syn 2.0.60", ] [[package]] @@ -5638,7 +5852,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.55", + "syn 2.0.60", "wasm-bindgen-shared", ] @@ -5672,7 +5886,7 @@ checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.55", + "syn 2.0.60", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -5745,7 +5959,7 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" dependencies = [ - "windows-targets 0.52.4", + "windows-targets 0.52.5", ] [[package]] @@ -5763,7 +5977,7 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" dependencies = [ - "windows-targets 0.52.4", + "windows-targets 0.52.5", ] [[package]] @@ -5783,17 +5997,18 @@ dependencies = [ [[package]] name = "windows-targets" -version = "0.52.4" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7dd37b7e5ab9018759f893a1952c9420d060016fc19a472b4bb20d1bdd694d1b" +checksum = "6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb" dependencies = [ - "windows_aarch64_gnullvm 0.52.4", - "windows_aarch64_msvc 0.52.4", - "windows_i686_gnu 0.52.4", - "windows_i686_msvc 0.52.4", - "windows_x86_64_gnu 0.52.4", - "windows_x86_64_gnullvm 0.52.4", - "windows_x86_64_msvc 0.52.4", + "windows_aarch64_gnullvm 0.52.5", + "windows_aarch64_msvc 0.52.5", + "windows_i686_gnu 0.52.5", + "windows_i686_gnullvm", + "windows_i686_msvc 0.52.5", + "windows_x86_64_gnu 0.52.5", + "windows_x86_64_gnullvm 0.52.5", + "windows_x86_64_msvc 0.52.5", ] [[package]] @@ -5804,9 +6019,9 @@ checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" [[package]] name = "windows_aarch64_gnullvm" -version = "0.52.4" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcf46cf4c365c6f2d1cc93ce535f2c8b244591df96ceee75d8e83deb70a9cac9" +checksum = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263" [[package]] name = "windows_aarch64_msvc" @@ -5816,9 +6031,9 @@ checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" [[package]] name = "windows_aarch64_msvc" -version = "0.52.4" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da9f259dd3bcf6990b55bffd094c4f7235817ba4ceebde8e6d11cd0c5633b675" +checksum = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6" [[package]] name = "windows_i686_gnu" @@ -5828,9 +6043,15 @@ checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" [[package]] name = "windows_i686_gnu" -version = "0.52.4" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b474d8268f99e0995f25b9f095bc7434632601028cf86590aea5c8a5cb7801d3" +checksum = "88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9" [[package]] name = "windows_i686_msvc" @@ -5840,9 +6061,9 @@ checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" [[package]] name = "windows_i686_msvc" -version = "0.52.4" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1515e9a29e5bed743cb4415a9ecf5dfca648ce85ee42e15873c3cd8610ff8e02" +checksum = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf" [[package]] name = "windows_x86_64_gnu" @@ -5852,9 +6073,9 @@ checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" [[package]] name = "windows_x86_64_gnu" -version = "0.52.4" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5eee091590e89cc02ad514ffe3ead9eb6b660aedca2183455434b93546371a03" +checksum = "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9" [[package]] name = "windows_x86_64_gnullvm" @@ -5864,9 +6085,9 @@ checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" [[package]] name = "windows_x86_64_gnullvm" -version = "0.52.4" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77ca79f2451b49fa9e2af39f0747fe999fcda4f5e241b2898624dca97a1f2177" +checksum = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596" [[package]] name = "windows_x86_64_msvc" @@ -5876,9 +6097,9 @@ checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" [[package]] name = "windows_x86_64_msvc" -version = "0.52.4" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32b752e52a2da0ddfbdbcc6fceadfeede4c939ed16d13e648833a61dfb611ed8" +checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0" [[package]] name = "winnow" @@ -5891,9 +6112,9 @@ dependencies = [ [[package]] name = "winnow" -version = "0.6.5" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dffa400e67ed5a4dd237983829e66475f0a4a26938c4b04c21baede6262215b8" +checksum = "f0c976aaaa0e1f90dbb21e9587cdaf1d9679a1cde8875c0d6bd83ab96a208352" dependencies = [ "memchr", ] @@ -5975,7 +6196,7 @@ checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.55", + "syn 2.0.60", ] [[package]] @@ -5995,7 +6216,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.55", + "syn 2.0.60", ] [[package]] @@ -6019,9 +6240,9 @@ dependencies = [ [[package]] name = "zstd-sys" -version = "2.0.9+zstd.1.5.5" +version = "2.0.10+zstd.1.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e16efa8a874a0481a574084d34cc26fdb3b99627480f785888deb6386506656" +checksum = "c253a4914af5bafc8fa8c86ee400827e83cf6ec01195ec1f1ed8441bf00d65aa" dependencies = [ "cc", "pkg-config", diff --git a/Cargo.toml b/Cargo.toml index 49d64ad..a4cf1f8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,8 +31,13 @@ bolt-system = { path = "programs/bolt-system", features = ["cpi"], version = "=0 bolt-component = { path = "programs/bolt-component", features = ["cpi"], version = "=0.1.4"} ## External crates -anchor-lang = { version = "0.29.0", git = "https://github.com/coral-xyz/anchor.git", rev = "0f60909", features = ["init-if-needed"] } -anchor-spl = { version = "0.29.0", git = "https://github.com/coral-xyz/anchor.git", rev = "0f60909" } +anchor-lang = { version = "=0.30.0", features = ["init-if-needed"] } +anchor-cli = { version = "=0.30.0" } +anchor-client = { version = "=0.30.0" } +anchor-syn = { version = "=0.30.0" } +anchor-lang-idl = { version = "=0.1.0" } +solana-client = { version = "=1.16" } +anchor-spl = { version = "=0.30.0" } solana-security-txt = "1.1.1" tuple-conv = "1.0.1" syn = { version = "1.0.60", features = ["full"] } @@ -41,10 +46,9 @@ proc-macro2 = "1.0" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" anyhow = "1.0.32" -heck = "0.4.0" +heck = "0.5.0" clap = { version = "4.2.4", features = ["derive"] } -# TODO: Remove once https://github.com/solana-labs/solana/issues/33504 is resolved. -ahash = "=0.8.6" +ahash = "=0.8.11" [profile.release] overflow-checks = true diff --git a/cli/Cargo.toml b/cli/Cargo.toml index c60b454..b525582 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -21,9 +21,10 @@ lto = true dev = [] [dependencies] -anchor-cli = { git = "https://github.com/coral-xyz/anchor.git", rev = "0f60909" } -anchor-client = { git = "https://github.com/coral-xyz/anchor.git", rev = "0f60909" } -anchor-syn = { git = "https://github.com/coral-xyz/anchor.git", features = ["idl-types"], rev = "0f60909" } +anchor-cli = { workspace = true } +anchor-client = { workspace = true } +anchor-syn = { workspace = true } +anchor-lang-idl = { workspace = true, features = ["build"] } anyhow = { workspace = true } serde_json = { workspace = true } heck = { workspace = true } diff --git a/cli/src/lib.rs b/cli/src/lib.rs index a988f78..14c892f 100644 --- a/cli/src/lib.rs +++ b/cli/src/lib.rs @@ -7,7 +7,7 @@ use anchor_cli::config::{ TestValidator, Validator, WithPath, }; use anchor_client::Cluster; -use anchor_syn::idl::types::Idl; +use anchor_lang_idl::types::Idl; use anyhow::{anyhow, Result}; use clap::{Parser, Subcommand}; use heck::{ToKebabCase, ToSnakeCase}; diff --git a/cli/src/rust_template.rs b/cli/src/rust_template.rs index 1e0e0fb..0a0e536 100644 --- a/cli/src/rust_template.rs +++ b/cli/src/rust_template.rs @@ -1,7 +1,7 @@ use crate::VERSION; use anchor_cli::rust_template::{get_or_create_program_id, ProgramTemplate}; use anchor_cli::{create_files, Files}; -use anchor_syn::idl::types::{ +use anchor_lang_idl::types::{ Idl, IdlArrayLen, IdlDefinedFields, IdlGenericArg, IdlType, IdlTypeDef, IdlTypeDefGeneric, IdlTypeDefTy, }; @@ -9,11 +9,7 @@ use anyhow::Result; use heck::{ToSnakeCase, ToUpperCamelCase}; use std::path::{Path, PathBuf}; -// Anchor CLI version -// TODO: use the stable version once the new IDL standard is released -pub const ANCHOR_CLI_VERSION: &str = - "{ version = \"0.29.0\", git = \"https://github.com/coral-xyz/anchor.git\", rev = \"0f60909\" }"; -pub const TS_ANCHOR_VERSION: &str = "0.29.1"; +pub const ANCHOR_VERSION: &str = anchor_cli::VERSION; /// Create a component from the given name. pub fn create_component(name: &str) -> Result<()> { @@ -256,7 +252,7 @@ pub fn package_json(jest: bool) -> String { "lint": "prettier */*.js \"*/**/*{{.js,.ts}}\" --check" }}, "dependencies": {{ - "@magicblock-labs/anchor": "^{TS_ANCHOR_VERSION}" + "@coral-xyz/anchor": "^{ANCHOR_VERSION}" }}, "devDependencies": {{ "jest": "^29.0.3", @@ -273,7 +269,7 @@ pub fn package_json(jest: bool) -> String { "lint": "prettier */*.js \"*/**/*{{.js,.ts}}\" --check" }}, "dependencies": {{ - "@magicblock-labs/anchor": "^{TS_ANCHOR_VERSION}" + "@coral-xyz/anchor": "^{ANCHOR_VERSION}" }}, "devDependencies": {{ "chai": "^4.3.4", @@ -298,7 +294,7 @@ pub fn ts_package_json(jest: bool) -> String { "lint": "prettier */*.js \"*/**/*{{.js,.ts}}\" --check" }}, "dependencies": {{ - "@magicblock-labs/anchor": "^{TS_ANCHOR_VERSION}" + "@coral-xyz/anchor": "^{ANCHOR_VERSION}" }}, "devDependencies": {{ "@types/bn.js": "^5.1.0", @@ -322,7 +318,7 @@ pub fn ts_package_json(jest: bool) -> String { "lint": "prettier */*.js \"*/**/*{{.js,.ts}}\" --check" }}, "dependencies": {{ - "@magicblock-labs/anchor": "^{TS_ANCHOR_VERSION}" + "@coral-xyz/anchor": "^{ANCHOR_VERSION}" }}, "devDependencies": {{ "chai": "^4.3.4", @@ -345,7 +341,7 @@ pub fn ts_package_json(jest: bool) -> String { pub fn mocha(name: &str) -> String { format!( - r#"const anchor = require("@magicblock-labs/anchor"); + r#"const anchor = require("@coral-xyz/anchor"); const boltSdk = require("@magicblock-labs/bolt-sdk"); const {{ InitializeNewWorld, @@ -373,7 +369,7 @@ describe("{}", () => {{ pub fn jest(name: &str) -> String { format!( - r#"const anchor = require("@magicblock-labs/anchor"); + r#"const anchor = require("@coral-xyz/anchor"); const boltSdk = require("@magicblock-labs/bolt-sdk"); const {{ InitializeNewWorld, @@ -404,8 +400,8 @@ describe("{}", () => {{ pub fn ts_mocha(name: &str) -> String { format!( - r#"import * as anchor from "@magicblock-labs/anchor"; -import {{ Program }} from "@magicblock-labs/anchor"; + r#"import * as anchor from "@coral-xyz/anchor"; +import {{ Program }} from "@coral-xyz/anchor"; import {{ PublicKey }} from "@solana/web3.js"; import {{ Position }} from "../target/types/position"; import {{ Movement }} from "../target/types/movement"; @@ -512,14 +508,12 @@ idl-build = ["anchor-lang/idl-build"] [dependencies] bolt-lang = "{2}" -anchor-lang = {3} +anchor-lang = "{3}" "#, name, name.to_snake_case(), VERSION, - // Todo use stable version once new IDL standard is released - //anchor_cli::VERSION, - ANCHOR_CLI_VERSION + ANCHOR_VERSION ) } @@ -546,15 +540,13 @@ idl-build = ["anchor-lang/idl-build"] [dependencies] bolt-lang = "{2}" -anchor-lang = {3} +anchor-lang = "{3}" serde = {{ version = "1.0", features = ["derive"] }} "#, name, name.to_snake_case(), VERSION, - // Todo use stable version once new IDL standard is released - //anchor_cli::VERSION, - ANCHOR_CLI_VERSION + ANCHOR_VERSION ) } @@ -761,6 +753,7 @@ pub fn convert_idl_type_to_str(ty: &IdlType) -> String { .map(|generics| format!("{name}<{generics}>")) .unwrap_or(name.into()), IdlType::Generic(ty) => ty.into(), + _ => unimplemented!("{ty:?}"), } } @@ -823,13 +816,11 @@ name = "{1}" [dependencies] bolt-lang = "{2}" -anchor-lang = {3} +anchor-lang = "{3}" "#, name, name.to_snake_case(), VERSION, - // TODO: use the stable version once the new IDL standard is released - //anchor_cli::VERSION, - ANCHOR_CLI_VERSION + ANCHOR_VERSION ) } diff --git a/crates/bolt-lang/Cargo.toml b/crates/bolt-lang/Cargo.toml index a54bb7e..60c7045 100644 --- a/crates/bolt-lang/Cargo.toml +++ b/crates/bolt-lang/Cargo.toml @@ -26,8 +26,6 @@ world = { workspace = true } bolt-system = { workspace = true } # Other dependencies -serde = {workspace = true } +serde = { workspace = true } serde_json = {workspace = true } - -# TODO: Remove once https://github.com/solana-labs/solana/issues/33504 is resolved. -ahash = {workspace = true } \ No newline at end of file +ahash = { workspace = true } \ No newline at end of file diff --git a/crates/types/Cargo.toml b/crates/types/Cargo.toml index 9075854..895058b 100644 --- a/crates/types/Cargo.toml +++ b/crates/types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bolt-types" -version = "0.1.1" +version = "0.1.4" description = "Autogenerate types for the bolt language" edition = "2021" @@ -10,4 +10,4 @@ name = "bolt_types" [dependencies] bolt-lang = { path = "../../crates/bolt-lang" } -anchor-lang = { git = "https://github.com/coral-xyz/anchor.git", rev = "0f60909" } +anchor-lang = { version = "0.30.0" } diff --git a/examples/system-simple-movement/Cargo.toml b/examples/system-simple-movement/Cargo.toml index f7e2858..0f02387 100644 --- a/examples/system-simple-movement/Cargo.toml +++ b/examples/system-simple-movement/Cargo.toml @@ -24,4 +24,4 @@ idl-build = ["anchor-lang/idl-build"] anchor-lang = { workspace = true } serde = { workspace = true } bolt-lang = { path = "../../crates/bolt-lang" } -bolt-types = { version = "0.1.1", path = "../../crates/types" } +bolt-types = { version = "0.1.4", path = "../../crates/types" } diff --git a/package-lock.json b/package-lock.json index 237d0ca..8f06486 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "": { "license": "MIT", "dependencies": { - "@magicblock-labs/anchor": "^0.29.0" + "@coral-xyz/anchor": "^0.29.0" }, "devDependencies": { "@metaplex-foundation/beet": "^0.7.1", @@ -164,9 +164,9 @@ "dev": true, "license": "BSD-3-Clause" }, - "node_modules/@magicblock-labs/anchor": { + "node_modules/@coral-xyz/anchor": { "version": "0.29.0", - "resolved": "https://registry.npmjs.org/@magicblock-labs/anchor/-/anchor-0.29.0.tgz", + "resolved": "https://registry.npmjs.org/@coral-xyz/anchor/-/anchor-0.29.0.tgz", "integrity": "sha512-WjluKt/TRC1GXdijAIVk9KBGNEIl8C3T99T3Sf5728VRUXjQrxt8HNBNmhjiSQittySghQifLFuz4taY42c8jA==", "dependencies": { "@coral-xyz/borsh": "^0.29.0", @@ -188,7 +188,7 @@ "node": ">=11" } }, - "node_modules/@magicblock-labs/anchor/node_modules/superstruct": { + "node_modules/@coral-xyz/anchor/node_modules/superstruct": { "version": "0.15.5", "resolved": "https://registry.npmjs.org/superstruct/-/superstruct-0.15.5.tgz", "integrity": "sha512-4AOeU+P5UuE/4nOUkmcQdW5y7i9ndt1cQd/3iUe+LTz3RxESf/W/5lg4B74HbDMMv8PHnPnGCQFH45kBcrQYoQ==" diff --git a/package.json b/package.json index e14da4e..13779ef 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "lint": "prettier */*.js \"*/**/*{.js,.ts}\" --check" }, "dependencies": { - "@magicblock-labs/anchor": "^0.29.1" + "@coral-xyz/anchor": "0.30.0" }, "devDependencies": { "chai": "^4.3.4", diff --git a/tests/bolt.ts b/tests/bolt.ts index 96620a4..52490e2 100644 --- a/tests/bolt.ts +++ b/tests/bolt.ts @@ -1,5 +1,5 @@ -import * as anchor from "@magicblock-labs/anchor"; -import { type Program, web3 } from "@magicblock-labs/anchor"; +import * as anchor from "@coral-xyz/anchor"; +import { type Program, web3 } from "@coral-xyz/anchor"; import { type PublicKey } from "@solana/web3.js"; import { type Position } from "../target/types/position"; import { type Velocity } from "../target/types/velocity"; diff --git a/yarn.lock b/yarn.lock index 5c7eb93..52f7446 100644 --- a/yarn.lock +++ b/yarn.lock @@ -21,10 +21,30 @@ dependencies: regenerator-runtime "^0.14.0" -"@coral-xyz/borsh@^0.29.0": - version "0.29.0" - resolved "https://registry.npmjs.org/@coral-xyz/borsh/-/borsh-0.29.0.tgz" - integrity sha512-s7VFVa3a0oqpkuRloWVPdCK7hMbAMY270geZOGfCnaqexrP5dTIpbEHL33req6IYPPJ0hYa71cdvJ1h6V55/oQ== +"@coral-xyz/anchor@0.30.0": + version "0.30.0" + resolved "https://registry.yarnpkg.com/@coral-xyz/anchor/-/anchor-0.30.0.tgz#52acdba504b0008f1026d3a4bbbcb2d4feb5c69e" + integrity sha512-qreDh5ztiRHVnCbJ+RS70NJ6aSTPBYDAgFeQ7Z5QvaT5DcDIhNyt4onOciVz2ieIE1XWePOJDDu9SbNvPGBkvQ== + dependencies: + "@coral-xyz/borsh" "^0.30.0" + "@noble/hashes" "^1.3.1" + "@solana/web3.js" "^1.68.0" + bn.js "^5.1.2" + bs58 "^4.0.1" + buffer-layout "^1.2.2" + camelcase "^6.3.0" + cross-fetch "^3.1.5" + crypto-hash "^1.3.0" + eventemitter3 "^4.0.7" + pako "^2.0.3" + snake-case "^3.0.4" + superstruct "^0.15.4" + toml "^3.0.0" + +"@coral-xyz/borsh@^0.30.0": + version "0.30.0" + resolved "https://registry.yarnpkg.com/@coral-xyz/borsh/-/borsh-0.30.0.tgz#3e6f23e944ef6c89f2c9cbead383358752ac5e73" + integrity sha512-OrcV+7N10cChhgDRUxM4iEIuwxUHHs52XD85R8cFCUqE0vbLYrcoPPPs+VF6kZ9DhdJGVW2I6DHJOp5TykyZog== dependencies: bn.js "^5.1.2" buffer-layout "^1.2.0" @@ -80,26 +100,6 @@ resolved "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz" integrity sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw== -"@magicblock-labs/anchor@^0.29.1": - version "0.29.1" - resolved "https://registry.yarnpkg.com/@magicblock-labs/anchor/-/anchor-0.29.1.tgz#f8a117b119fc38938180b4b4804e2d16076efe92" - integrity sha512-LzrsVqahesXKMlS1LYZI7Je28eRO54OM766tyZorDOQcc9qKcisfpQ1TfmuUUGkaoD8CyZ2OR6YHe5RYiNoQFQ== - dependencies: - "@coral-xyz/borsh" "^0.29.0" - "@noble/hashes" "^1.3.1" - "@solana/web3.js" "^1.68.0" - bn.js "^5.1.2" - bs58 "^4.0.1" - buffer-layout "^1.2.2" - camelcase "^6.3.0" - cross-fetch "^3.1.5" - crypto-hash "^1.3.0" - eventemitter3 "^4.0.7" - pako "^2.0.3" - snake-case "^3.0.4" - superstruct "^0.15.4" - toml "^3.0.0" - "@metaplex-foundation/beet-solana@^0.4.0": version "0.4.1" resolved "https://registry.npmjs.org/@metaplex-foundation/beet-solana/-/beet-solana-0.4.1.tgz"