From 861bdcacf12b2a965e3cf6e92545ead499cfda81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Chuda=C5=9B?= Date: Sun, 5 Nov 2023 21:14:01 +0100 Subject: [PATCH] Update near-account-id version --- Cargo.lock | 44 +++++++++++-------- Cargo.toml | 2 +- .../tests/client/features/delegate_action.rs | 4 +- 3 files changed, 30 insertions(+), 20 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cd8ba1f068a..a6220e9c310 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -725,8 +725,9 @@ dependencies = [ [[package]] name = "bolero" -version = "0.9.0" -source = "git+https://github.com/camshaft/bolero?rev=7d955a67fbd06f61ffaf28178e976280c33c045a#7d955a67fbd06f61ffaf28178e976280c33c045a" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f9fec67acd9afcd579067cc506c537da49751b8b81c98d5a5e15ba1e853aa3c" dependencies = [ "bolero-afl", "bolero-engine", @@ -740,8 +741,9 @@ dependencies = [ [[package]] name = "bolero-afl" -version = "0.9.0" -source = "git+https://github.com/camshaft/bolero?rev=7d955a67fbd06f61ffaf28178e976280c33c045a#7d955a67fbd06f61ffaf28178e976280c33c045a" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1b34f05de1527425bb05287da09ff1ff1612538648824db49e16d9693b24065" dependencies = [ "bolero-engine", "cc", @@ -749,8 +751,9 @@ dependencies = [ [[package]] name = "bolero-engine" -version = "0.9.1" -source = "git+https://github.com/camshaft/bolero?rev=7d955a67fbd06f61ffaf28178e976280c33c045a#7d955a67fbd06f61ffaf28178e976280c33c045a" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7ddcfa4c2aa7d57b1785c6e258f612e74c96afa078300d0f811dee73592d7ca" dependencies = [ "anyhow", "backtrace", @@ -762,8 +765,9 @@ dependencies = [ [[package]] name = "bolero-generator" -version = "0.9.1" -source = "git+https://github.com/camshaft/bolero?rev=7d955a67fbd06f61ffaf28178e976280c33c045a#7d955a67fbd06f61ffaf28178e976280c33c045a" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8efabd99549391e8b372e8afe566e8236ca4be6be379c1b6bf81b027c472fe7" dependencies = [ "arbitrary", "bolero-generator-derive", @@ -773,8 +777,9 @@ dependencies = [ [[package]] name = "bolero-generator-derive" -version = "0.9.2" -source = "git+https://github.com/camshaft/bolero?rev=7d955a67fbd06f61ffaf28178e976280c33c045a#7d955a67fbd06f61ffaf28178e976280c33c045a" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53397bfda19ccb48527faa14025048fc4bb76f090ccdeef1e5a355bfe4a94467" dependencies = [ "proc-macro-crate 1.3.1", "proc-macro2", @@ -784,24 +789,27 @@ dependencies = [ [[package]] name = "bolero-honggfuzz" -version = "0.9.0" -source = "git+https://github.com/camshaft/bolero?rev=7d955a67fbd06f61ffaf28178e976280c33c045a#7d955a67fbd06f61ffaf28178e976280c33c045a" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf78581db1a7263620a8767e645b93ad287c70122ae76f5bd67040c7f06ff8e3" dependencies = [ "bolero-engine", ] [[package]] name = "bolero-kani" -version = "0.9.0" -source = "git+https://github.com/camshaft/bolero?rev=7d955a67fbd06f61ffaf28178e976280c33c045a#7d955a67fbd06f61ffaf28178e976280c33c045a" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e55cec272a617f5ae4ce670db035108eb97c10cd4f67de851a3c8d3f18f19cb" dependencies = [ "bolero-engine", ] [[package]] name = "bolero-libfuzzer" -version = "0.9.0" -source = "git+https://github.com/camshaft/bolero?rev=7d955a67fbd06f61ffaf28178e976280c33c045a#7d955a67fbd06f61ffaf28178e976280c33c045a" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb42f66ee3ec89b9c411994de59d4710ced19df96fea2059feea1c2d73904c5b" dependencies = [ "bolero-engine", "cc", @@ -3342,9 +3350,9 @@ dependencies = [ [[package]] name = "near-account-id" -version = "1.0.0-alpha.1" +version = "1.0.0-alpha.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e328ed1bf9045c46595cc88274a46a6412e3a070c2ad3c146e2f94ed150a7c2" +checksum = "2df682a64c06590d210725268a738a88321536d76beb02f0465bfbdc379f0cbf" dependencies = [ "borsh 1.0.0", "serde", diff --git a/Cargo.toml b/Cargo.toml index 7595cf7674a..16e0789e074 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -172,7 +172,7 @@ lru = "0.7.2" memmap2 = "0.5" memoffset = "0.8" more-asserts = "0.2" -near-account-id = { version = "1.0.0-alpha.1", features = ["internal_unstable", "serde", "borsh"] } +near-account-id = { version = "1.0.0-alpha.2", features = ["internal_unstable", "serde", "borsh"] } near-actix-test-utils = { path = "test-utils/actix-test-utils" } near-amend-genesis = { path = "tools/amend-genesis" } near-database-tool = { path = "tools/database" } diff --git a/integration-tests/src/tests/client/features/delegate_action.rs b/integration-tests/src/tests/client/features/delegate_action.rs index e7b7c974489..31e47c3fbbf 100644 --- a/integration-tests/src/tests/client/features/delegate_action.rs +++ b/integration-tests/src/tests/client/features/delegate_action.rs @@ -137,7 +137,9 @@ fn check_meta_tx_execution( .nonce; let user_pubk = match sender.get_account_type() { AccountType::NearImplicitAccount => PublicKey::from_near_implicit_account(&sender).unwrap(), - AccountType::EthImplicitAccount => PublicKey::from_seed(KeyType::SECP256K1, sender.as_ref()), + AccountType::EthImplicitAccount => { + PublicKey::from_seed(KeyType::SECP256K1, sender.as_ref()) + } AccountType::NamedAccount => PublicKey::from_seed(KeyType::ED25519, sender.as_ref()), }; let user_nonce_before = node_user.get_access_key(&sender, &user_pubk).unwrap().nonce;