From 3c7b6e94ab5786c4cd7267d20198492eeca18f51 Mon Sep 17 00:00:00 2001 From: Kirill Fomichev Date: Sun, 15 Oct 2023 14:40:16 +0400 Subject: [PATCH 1/2] solana: update to 1.16.17 --- Cargo.lock | 438 +++++++++++++++++++++++++++++++++++++++++++---------- Cargo.toml | 14 +- 2 files changed, 366 insertions(+), 86 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fbf2e87..83717eb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1729,6 +1729,17 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "num-derive" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfb77679af88f8b125209d354a202862602672222e7f2313fdd6dc349bad4712" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.37", +] + [[package]] name = "num-integer" version = "0.1.45" @@ -1799,6 +1810,15 @@ dependencies = [ "num_enum_derive 0.6.1", ] +[[package]] +name = "num_enum" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70bf6736f74634d299d00086f02986875b3c2d924781a6a2cb6c201e73da0ceb" +dependencies = [ + "num_enum_derive 0.7.0", +] + [[package]] name = "num_enum_derive" version = "0.5.11" @@ -1823,6 +1843,18 @@ dependencies = [ "syn 2.0.37", ] +[[package]] +name = "num_enum_derive" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56ea360eafe1022f7cc56cd7b869ed57330fb2453d0c7831d99b74c65d2f5597" +dependencies = [ + "proc-macro-crate 1.3.1", + "proc-macro2", + "quote", + "syn 2.0.37", +] + [[package]] name = "num_threads" version = "0.1.6" @@ -2679,9 +2711,8 @@ dependencies = [ [[package]] name = "solana-account-decoder" -version = "1.16.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "850d5d9dc8fa6ea42f4e61c78e296bbbce5a3531ff4cb3c58ef36ee31781049c" +version = "1.16.17" +source = "git+https://github.com/rpcpool/solana-public.git?tag=v1.16.17-geyser-block-v3#cdcfdb86e42956cf955a5ca6c5ef188821c70781" dependencies = [ "Inflector", "base64 0.21.4", @@ -2694,16 +2725,17 @@ dependencies = [ "serde_json", "solana-address-lookup-table-program", "solana-config-program", - "solana-sdk", + "solana-sdk 1.16.17 (git+https://github.com/rpcpool/solana-public.git?tag=v1.16.17-geyser-block-v3)", "spl-token", "spl-token-2022", + "spl-token-metadata-interface", "thiserror", "zstd", ] [[package]] name = "solana-accountsdb-plugin-kafka" -version = "0.3.0+solana.1.16.15" +version = "0.3.0+solana.1.16.17" dependencies = [ "anyhow", "cargo-lock", @@ -2718,7 +2750,7 @@ dependencies = [ "serde", "serde_json", "solana-geyser-plugin-interface", - "solana-logger", + "solana-logger 1.16.17 (registry+https://github.com/rust-lang/crates.io-index)", "solana-program", "solana-transaction-status", "tokio", @@ -2727,44 +2759,74 @@ dependencies = [ [[package]] name = "solana-address-lookup-table-program" -version = "1.16.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a7f867cde478a078d4c4ceb113f4f9ac7e29c2efea98f80a2b30cdcd7be83c5" +version = "1.16.17" +source = "git+https://github.com/rpcpool/solana-public.git?tag=v1.16.17-geyser-block-v3#cdcfdb86e42956cf955a5ca6c5ef188821c70781" dependencies = [ "bincode", "bytemuck", "log", - "num-derive", + "num-derive 0.3.3", "num-traits", "rustc_version", "serde", - "solana-frozen-abi", - "solana-frozen-abi-macro", + "solana-frozen-abi 1.16.17 (git+https://github.com/rpcpool/solana-public.git?tag=v1.16.17-geyser-block-v3)", + "solana-frozen-abi-macro 1.16.17 (git+https://github.com/rpcpool/solana-public.git?tag=v1.16.17-geyser-block-v3)", "solana-program", "solana-program-runtime", - "solana-sdk", + "solana-sdk 1.16.17 (git+https://github.com/rpcpool/solana-public.git?tag=v1.16.17-geyser-block-v3)", "thiserror", ] [[package]] name = "solana-config-program" -version = "1.16.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6f9f2201c7e526581511fa6525e281518be5cabaee82bd5b29fe4b78744148d" +version = "1.16.17" +source = "git+https://github.com/rpcpool/solana-public.git?tag=v1.16.17-geyser-block-v3#cdcfdb86e42956cf955a5ca6c5ef188821c70781" dependencies = [ "bincode", "chrono", "serde", "serde_derive", "solana-program-runtime", - "solana-sdk", + "solana-sdk 1.16.17 (git+https://github.com/rpcpool/solana-public.git?tag=v1.16.17-geyser-block-v3)", ] [[package]] name = "solana-frozen-abi" -version = "1.16.15" +version = "1.16.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "361cc834e5fbbe1a73f1d904fcb8ab052a665e5be6061bd1ba7ab478d7d17c9c" +checksum = "d266bf0311bb403d31206aa2904b8741f57c7f5e27580b6810ad5e22fc7c3282" +dependencies = [ + "ahash 0.8.3", + "blake3", + "block-buffer 0.10.4", + "bs58", + "bv", + "byteorder", + "cc", + "either", + "generic-array", + "getrandom 0.1.16", + "im", + "lazy_static", + "log", + "memmap2", + "once_cell", + "rand_core 0.6.4", + "rustc_version", + "serde", + "serde_bytes", + "serde_derive", + "serde_json", + "sha2 0.10.8", + "solana-frozen-abi-macro 1.16.17 (registry+https://github.com/rust-lang/crates.io-index)", + "subtle", + "thiserror", +] + +[[package]] +name = "solana-frozen-abi" +version = "1.16.17" +source = "git+https://github.com/rpcpool/solana-public.git?tag=v1.16.17-geyser-block-v3#cdcfdb86e42956cf955a5ca6c5ef188821c70781" dependencies = [ "ahash 0.8.3", "blake3", @@ -2788,16 +2850,27 @@ dependencies = [ "serde_derive", "serde_json", "sha2 0.10.8", - "solana-frozen-abi-macro", + "solana-frozen-abi-macro 1.16.17 (git+https://github.com/rpcpool/solana-public.git?tag=v1.16.17-geyser-block-v3)", "subtle", "thiserror", ] [[package]] name = "solana-frozen-abi-macro" -version = "1.16.15" +version = "1.16.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "575d875dc050689f9f88c542e292e295e2f081d4e96e0df297981e45cbad8824" +checksum = "6dfe18c5155015dcb494c6de84a03b725fcf90ec2006a047769018b94c2cf0de" +dependencies = [ + "proc-macro2", + "quote", + "rustc_version", + "syn 2.0.37", +] + +[[package]] +name = "solana-frozen-abi-macro" +version = "1.16.17" +source = "git+https://github.com/rpcpool/solana-public.git?tag=v1.16.17-geyser-block-v3#cdcfdb86e42956cf955a5ca6c5ef188821c70781" dependencies = [ "proc-macro2", "quote", @@ -2807,21 +2880,31 @@ dependencies = [ [[package]] name = "solana-geyser-plugin-interface" -version = "1.16.15" +version = "1.16.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "268db758cb4193ccf70c85459bfd0e8e5eb7a13b3ee876106d07fada04290a17" +checksum = "80a4b54b34ca8365c6b71ee21ea4a49cbce324eb4e9f62138f447ec7b9f05dc5" dependencies = [ "log", - "solana-sdk", + "solana-sdk 1.16.17 (registry+https://github.com/rust-lang/crates.io-index)", "solana-transaction-status", "thiserror", ] [[package]] name = "solana-logger" -version = "1.16.15" +version = "1.16.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c00faf7aa6a3f47c542bd45d2d7f13af9a382d993e647976a676fe1b0eec4eb2" +checksum = "4f76fe25c2d06dcf621befd1e8d5655143e8a059c7e20fcb71736bc80ed779d6" +dependencies = [ + "env_logger", + "lazy_static", + "log", +] + +[[package]] +name = "solana-logger" +version = "1.16.17" +source = "git+https://github.com/rpcpool/solana-public.git?tag=v1.16.17-geyser-block-v3#cdcfdb86e42956cf955a5ca6c5ef188821c70781" dependencies = [ "env_logger", "lazy_static", @@ -2830,33 +2913,30 @@ dependencies = [ [[package]] name = "solana-measure" -version = "1.16.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e19c6e1b35df3c212619a7995ae3576fa92ab15ecfc065899f21385cbe45c95" +version = "1.16.17" +source = "git+https://github.com/rpcpool/solana-public.git?tag=v1.16.17-geyser-block-v3#cdcfdb86e42956cf955a5ca6c5ef188821c70781" dependencies = [ "log", - "solana-sdk", + "solana-sdk 1.16.17 (git+https://github.com/rpcpool/solana-public.git?tag=v1.16.17-geyser-block-v3)", ] [[package]] name = "solana-metrics" -version = "1.16.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10e62760a5f87d836169eb3bb446bae174181db07d2c8016be36de49c04fd432" +version = "1.16.17" +source = "git+https://github.com/rpcpool/solana-public.git?tag=v1.16.17-geyser-block-v3#cdcfdb86e42956cf955a5ca6c5ef188821c70781" dependencies = [ "crossbeam-channel", "gethostname", "lazy_static", "log", "reqwest", - "solana-sdk", + "solana-sdk 1.16.17 (git+https://github.com/rpcpool/solana-public.git?tag=v1.16.17-geyser-block-v3)", ] [[package]] name = "solana-program" -version = "1.16.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9863ff5c6e828015bec331c26fb53e48352a264a9be682e7e078d2c3b3e93b46" +version = "1.16.17" +source = "git+https://github.com/rpcpool/solana-public.git?tag=v1.16.17-geyser-block-v3#cdcfdb86e42956cf955a5ca6c5ef188821c70781" dependencies = [ "ark-bn254", "ark-ec", @@ -2885,7 +2965,7 @@ dependencies = [ "log", "memoffset", "num-bigint 0.4.4", - "num-derive", + "num-derive 0.3.3", "num-traits", "parking_lot", "rand 0.7.3", @@ -2898,9 +2978,9 @@ dependencies = [ "serde_json", "sha2 0.10.8", "sha3 0.10.8", - "solana-frozen-abi", - "solana-frozen-abi-macro", - "solana-sdk-macro", + "solana-frozen-abi 1.16.17 (git+https://github.com/rpcpool/solana-public.git?tag=v1.16.17-geyser-block-v3)", + "solana-frozen-abi-macro 1.16.17 (git+https://github.com/rpcpool/solana-public.git?tag=v1.16.17-geyser-block-v3)", + "solana-sdk-macro 1.16.17 (git+https://github.com/rpcpool/solana-public.git?tag=v1.16.17-geyser-block-v3)", "thiserror", "tiny-bip39", "wasm-bindgen", @@ -2909,9 +2989,8 @@ dependencies = [ [[package]] name = "solana-program-runtime" -version = "1.16.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05813d4d2e141ab4449cf684cc5b05512dfaabb7251561c5bb1ccf1e4221b210" +version = "1.16.17" +source = "git+https://github.com/rpcpool/solana-public.git?tag=v1.16.17-geyser-block-v3#cdcfdb86e42956cf955a5ca6c5ef188821c70781" dependencies = [ "base64 0.21.4", "bincode", @@ -2920,26 +2999,78 @@ dependencies = [ "itertools 0.10.5", "libc", "log", - "num-derive", + "num-derive 0.3.3", "num-traits", "percentage", "rand 0.7.3", "rustc_version", "serde", - "solana-frozen-abi", - "solana-frozen-abi-macro", + "solana-frozen-abi 1.16.17 (git+https://github.com/rpcpool/solana-public.git?tag=v1.16.17-geyser-block-v3)", + "solana-frozen-abi-macro 1.16.17 (git+https://github.com/rpcpool/solana-public.git?tag=v1.16.17-geyser-block-v3)", "solana-measure", "solana-metrics", - "solana-sdk", + "solana-sdk 1.16.17 (git+https://github.com/rpcpool/solana-public.git?tag=v1.16.17-geyser-block-v3)", "solana_rbpf", "thiserror", ] [[package]] name = "solana-sdk" -version = "1.16.15" +version = "1.16.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "621e6973766420162541b26e7974783d32d5471571610da30c5bb0b6263046c9" +checksum = "4106cda3d10833ba957dbd25fb841b50aeca7480ccf8f54859294716f54bcd4b" +dependencies = [ + "assert_matches", + "base64 0.21.4", + "bincode", + "bitflags 1.3.2", + "borsh 0.10.3", + "bs58", + "bytemuck", + "byteorder", + "chrono", + "derivation-path", + "digest 0.10.7", + "ed25519-dalek", + "ed25519-dalek-bip32", + "generic-array", + "hmac 0.12.1", + "itertools 0.10.5", + "js-sys", + "lazy_static", + "libsecp256k1", + "log", + "memmap2", + "num-derive 0.3.3", + "num-traits", + "num_enum 0.6.1", + "pbkdf2 0.11.0", + "qstring", + "rand 0.7.3", + "rand_chacha 0.2.2", + "rustc_version", + "rustversion", + "serde", + "serde_bytes", + "serde_derive", + "serde_json", + "serde_with", + "sha2 0.10.8", + "sha3 0.10.8", + "solana-frozen-abi 1.16.17 (registry+https://github.com/rust-lang/crates.io-index)", + "solana-frozen-abi-macro 1.16.17 (registry+https://github.com/rust-lang/crates.io-index)", + "solana-logger 1.16.17 (registry+https://github.com/rust-lang/crates.io-index)", + "solana-program", + "solana-sdk-macro 1.16.17 (registry+https://github.com/rust-lang/crates.io-index)", + "thiserror", + "uriparse", + "wasm-bindgen", +] + +[[package]] +name = "solana-sdk" +version = "1.16.17" +source = "git+https://github.com/rpcpool/solana-public.git?tag=v1.16.17-geyser-block-v3#cdcfdb86e42956cf955a5ca6c5ef188821c70781" dependencies = [ "assert_matches", "base64 0.21.4", @@ -2962,7 +3093,7 @@ dependencies = [ "libsecp256k1", "log", "memmap2", - "num-derive", + "num-derive 0.3.3", "num-traits", "num_enum 0.6.1", "pbkdf2 0.11.0", @@ -2978,11 +3109,11 @@ dependencies = [ "serde_with", "sha2 0.10.8", "sha3 0.10.8", - "solana-frozen-abi", - "solana-frozen-abi-macro", - "solana-logger", + "solana-frozen-abi 1.16.17 (git+https://github.com/rpcpool/solana-public.git?tag=v1.16.17-geyser-block-v3)", + "solana-frozen-abi-macro 1.16.17 (git+https://github.com/rpcpool/solana-public.git?tag=v1.16.17-geyser-block-v3)", + "solana-logger 1.16.17 (git+https://github.com/rpcpool/solana-public.git?tag=v1.16.17-geyser-block-v3)", "solana-program", - "solana-sdk-macro", + "solana-sdk-macro 1.16.17 (git+https://github.com/rpcpool/solana-public.git?tag=v1.16.17-geyser-block-v3)", "thiserror", "uriparse", "wasm-bindgen", @@ -2990,9 +3121,21 @@ dependencies = [ [[package]] name = "solana-sdk-macro" -version = "1.16.15" +version = "1.16.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd177a74fb3a0a362f1292c027d668eff609ac189f08b78158324587a0a4f8d1" +checksum = "1e560806a3859717eb2220b26e2cd68bb757b63affa3e79c3f1d8d853b5ee78f" +dependencies = [ + "bs58", + "proc-macro2", + "quote", + "rustversion", + "syn 2.0.37", +] + +[[package]] +name = "solana-sdk-macro" +version = "1.16.17" +source = "git+https://github.com/rpcpool/solana-public.git?tag=v1.16.17-geyser-block-v3#cdcfdb86e42956cf955a5ca6c5ef188821c70781" dependencies = [ "bs58", "proc-macro2", @@ -3003,14 +3146,13 @@ dependencies = [ [[package]] name = "solana-transaction-status" -version = "1.16.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8aed485ddb4268b4e4ec64012016cd54ba3a4142377a99706fc3ab7768eb2bea" +version = "1.16.17" +source = "git+https://github.com/rpcpool/solana-public.git?tag=v1.16.17-geyser-block-v3#cdcfdb86e42956cf955a5ca6c5ef188821c70781" dependencies = [ "Inflector", "base64 0.21.4", "bincode", - "borsh 0.9.3", + "borsh 0.10.3", "bs58", "lazy_static", "log", @@ -3019,7 +3161,7 @@ dependencies = [ "serde_json", "solana-account-decoder", "solana-address-lookup-table-program", - "solana-sdk", + "solana-sdk 1.16.17 (git+https://github.com/rpcpool/solana-public.git?tag=v1.16.17-geyser-block-v3)", "spl-associated-token-account", "spl-memo", "spl-token", @@ -3029,9 +3171,9 @@ dependencies = [ [[package]] name = "solana-zk-token-sdk" -version = "1.16.15" +version = "1.16.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61aabdec9fe1b311dce5d21fa5bd58fbaa985e8003e0d0aedf3795113aacc1ea" +checksum = "278c08e13bc04b6940997602909052524a375154b00cf0bfa934359a3bb7e6f0" dependencies = [ "aes-gcm-siv", "base64 0.21.4", @@ -3043,14 +3185,14 @@ dependencies = [ "itertools 0.10.5", "lazy_static", "merlin", - "num-derive", + "num-derive 0.3.3", "num-traits", "rand 0.7.3", "serde", "serde_json", "sha3 0.9.1", "solana-program", - "solana-sdk", + "solana-sdk 1.16.17 (registry+https://github.com/rust-lang/crates.io-index)", "subtle", "thiserror", "zeroize", @@ -3083,13 +3225,13 @@ checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" [[package]] name = "spl-associated-token-account" -version = "1.1.3" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "978dba3bcbe88d0c2c58366c254d9ea41c5f73357e72fc0bdee4d6b5fc99c8f4" +checksum = "385e31c29981488f2820b2022d8e731aae3b02e6e18e2fd854e4c9a94dc44fc3" dependencies = [ "assert_matches", - "borsh 0.9.3", - "num-derive", + "borsh 0.10.3", + "num-derive 0.4.1", "num-traits", "solana-program", "spl-token", @@ -3097,48 +3239,182 @@ dependencies = [ "thiserror", ] +[[package]] +name = "spl-discriminator" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cce5d563b58ef1bb2cdbbfe0dfb9ffdc24903b10ae6a4df2d8f425ece375033f" +dependencies = [ + "bytemuck", + "solana-program", + "spl-discriminator-derive", +] + +[[package]] +name = "spl-discriminator-derive" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fadbefec4f3c678215ca72bd71862697bb06b41fd77c0088902dd3203354387b" +dependencies = [ + "quote", + "spl-discriminator-syn", + "syn 2.0.37", +] + +[[package]] +name = "spl-discriminator-syn" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e5f2044ca42c8938d54d1255ce599c79a1ffd86b677dfab695caa20f9ffc3f2" +dependencies = [ + "proc-macro2", + "quote", + "sha2 0.10.8", + "syn 2.0.37", + "thiserror", +] + [[package]] name = "spl-memo" -version = "3.0.1" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0f180b03318c3dbab3ef4e1e4d46d5211ae3c780940dd0a28695aba4b59a75a" +dependencies = [ + "solana-program", +] + +[[package]] +name = "spl-pod" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2881dddfca792737c0706fa0175345ab282b1b0879c7d877bad129645737c079" +dependencies = [ + "borsh 0.10.3", + "bytemuck", + "solana-program", + "solana-zk-token-sdk", + "spl-program-error", +] + +[[package]] +name = "spl-program-error" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "249e0318493b6bcf27ae9902600566c689b7dfba9f1bdff5893e92253374e78c" +dependencies = [ + "num-derive 0.4.1", + "num-traits", + "solana-program", + "spl-program-error-derive", + "thiserror", +] + +[[package]] +name = "spl-program-error-derive" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd0dc6f70db6bacea7ff25870b016a65ba1d1b6013536f08e4fd79a8f9005325" +checksum = "ab5269c8e868da17b6552ef35a51355a017bd8e0eae269c201fef830d35fa52c" dependencies = [ + "proc-macro2", + "quote", + "sha2 0.10.8", + "syn 2.0.37", +] + +[[package]] +name = "spl-tlv-account-resolution" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "062e148d3eab7b165582757453632ffeef490c02c86a48bfdb4988f63eefb3b9" +dependencies = [ + "bytemuck", "solana-program", + "spl-discriminator", + "spl-pod", + "spl-program-error", + "spl-type-length-value", ] [[package]] name = "spl-token" -version = "3.5.0" +version = "4.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e85e168a785e82564160dcb87b2a8e04cee9bfd1f4d488c729d53d6a4bd300d" +checksum = "08459ba1b8f7c1020b4582c4edf0f5c7511a5e099a7a97570c9698d4f2337060" dependencies = [ "arrayref", "bytemuck", - "num-derive", + "num-derive 0.3.3", "num-traits", - "num_enum 0.5.11", + "num_enum 0.6.1", "solana-program", "thiserror", ] [[package]] name = "spl-token-2022" -version = "0.6.1" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0043b590232c400bad5ee9eb983ced003d15163c4c5d56b090ac6d9a57457b47" +checksum = "e4abf34a65ba420584a0c35f3903f8d727d1f13ababbdc3f714c6b065a686e86" dependencies = [ "arrayref", "bytemuck", - "num-derive", + "num-derive 0.4.1", "num-traits", - "num_enum 0.5.11", + "num_enum 0.7.0", "solana-program", "solana-zk-token-sdk", "spl-memo", + "spl-pod", "spl-token", + "spl-token-metadata-interface", + "spl-transfer-hook-interface", + "spl-type-length-value", "thiserror", ] +[[package]] +name = "spl-token-metadata-interface" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c16ce3ba6979645fb7627aa1e435576172dd63088dc7848cb09aa331fa1fe4f" +dependencies = [ + "borsh 0.10.3", + "solana-program", + "spl-discriminator", + "spl-pod", + "spl-program-error", + "spl-type-length-value", +] + +[[package]] +name = "spl-transfer-hook-interface" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "051d31803f873cabe71aec3c1b849f35248beae5d19a347d93a5c9cccc5d5a9b" +dependencies = [ + "arrayref", + "bytemuck", + "solana-program", + "spl-discriminator", + "spl-pod", + "spl-program-error", + "spl-tlv-account-resolution", + "spl-type-length-value", +] + +[[package]] +name = "spl-type-length-value" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a468e6f6371f9c69aae760186ea9f1a01c2908351b06a5e0026d21cfc4d7ecac" +dependencies = [ + "bytemuck", + "solana-program", + "spl-discriminator", + "spl-pod", + "spl-program-error", +] + [[package]] name = "strsim" version = "0.10.0" diff --git a/Cargo.toml b/Cargo.toml index 0ed946c..aad9253 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "solana-accountsdb-plugin-kafka" description = "Solana AccountsDb plugin for Kafka" authors = ["Blockdaemon", "Triton One"] -version = "0.3.0+solana.1.16.15" +version = "0.3.0+solana.1.16.17" edition = "2021" repository = "https://github.com/rpcpool/solana-accountsdb-plugin-kafka" license = "Apache-2.0" @@ -20,10 +20,10 @@ prost = "0.12.1" rdkafka = { version = "0.33.0", features = ["ssl", "sasl"] } serde = { version = "1.0.147", features = ["derive"] } serde_json = "1.0.81" -solana-geyser-plugin-interface = "=1.16.15" -solana-logger = "=1.16.15" -solana-program = "=1.16.15" -solana-transaction-status = "=1.16.15" +solana-geyser-plugin-interface = "=1.16.17" +solana-logger = "=1.16.17" +solana-program = "=1.16.17" +solana-transaction-status = "=1.16.17" tokio = { version = "1.32.0", features = ["rt-multi-thread", "time", "macros", "sync"] } [build-dependencies] @@ -44,3 +44,7 @@ codegen-units = 1 [profile.release-wo-debug] inherits = "release" debug = false + +[patch.crates-io] +solana-program = { git = "https://github.com/rpcpool/solana-public.git", tag = "v1.16.17-geyser-block-v3" } +solana-transaction-status = { git = "https://github.com/rpcpool/solana-public.git", tag = "v1.16.17-geyser-block-v3" } From 5bc5fab21cfa0324e6fd34cf7255c05e9c78ea0f Mon Sep 17 00:00:00 2001 From: Kirill Fomichev Date: Sun, 15 Oct 2023 14:51:25 +0400 Subject: [PATCH 2/2] patch geyser interface --- Cargo.lock | 5 ++--- Cargo.toml | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 83717eb..5fcb33a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2881,11 +2881,10 @@ dependencies = [ [[package]] name = "solana-geyser-plugin-interface" version = "1.16.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80a4b54b34ca8365c6b71ee21ea4a49cbce324eb4e9f62138f447ec7b9f05dc5" +source = "git+https://github.com/rpcpool/solana-public.git?tag=v1.16.17-geyser-block-v3#cdcfdb86e42956cf955a5ca6c5ef188821c70781" dependencies = [ "log", - "solana-sdk 1.16.17 (registry+https://github.com/rust-lang/crates.io-index)", + "solana-sdk 1.16.17 (git+https://github.com/rpcpool/solana-public.git?tag=v1.16.17-geyser-block-v3)", "solana-transaction-status", "thiserror", ] diff --git a/Cargo.toml b/Cargo.toml index aad9253..5b9097d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,5 +46,6 @@ inherits = "release" debug = false [patch.crates-io] +solana-geyser-plugin-interface = { git = "https://github.com/rpcpool/solana-public.git", tag = "v1.16.17-geyser-block-v3" } solana-program = { git = "https://github.com/rpcpool/solana-public.git", tag = "v1.16.17-geyser-block-v3" } solana-transaction-status = { git = "https://github.com/rpcpool/solana-public.git", tag = "v1.16.17-geyser-block-v3" }