diff --git a/Cargo.Bazel.json.lock b/Cargo.Bazel.json.lock index deadb29382ed..2a490d213b79 100644 --- a/Cargo.Bazel.json.lock +++ b/Cargo.Bazel.json.lock @@ -1,5 +1,5 @@ { - "checksum": "a41d9b5767e5498babf282d2379eda54296f661ad839c6af01da043af1a6a3f8", + "checksum": "13d2b1c70a0c1f3b715dd466f6cf4fc09eb0e93a705e0ad951d8887e0a7cc0b2", "crates": { "abnf 0.12.0": { "name": "abnf", @@ -2014,7 +2014,7 @@ "target": "serde_json" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" }, { @@ -3521,7 +3521,7 @@ "target": "rusticata_macros" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" }, { @@ -11223,7 +11223,7 @@ "target": "once_cell" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" }, { @@ -14322,7 +14322,7 @@ "target": "serde_with" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" }, { @@ -14381,7 +14381,7 @@ "deps": { "common": [ { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" } ], @@ -21522,11 +21522,11 @@ "target": "ethnum" }, { - "id": "evm_rpc_client 0.3.0", + "id": "evm_rpc_client 0.4.0", "target": "evm_rpc_client" }, { - "id": "evm_rpc_types 3.1.0", + "id": "evm_rpc_types 3.1.1", "target": "evm_rpc_types" }, { @@ -21666,7 +21666,7 @@ "target": "ic_canister_log" }, { - "id": "ic-canister-runtime 0.1.0", + "id": "ic-canister-runtime 0.2.0", "target": "ic_canister_runtime" }, { @@ -22448,7 +22448,7 @@ "target": "textplots" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" }, { @@ -26361,14 +26361,14 @@ ], "license_file": "LICENSE-APACHE" }, - "evm_rpc_client 0.3.0": { + "evm_rpc_client 0.4.0": { "name": "evm_rpc_client", - "version": "0.3.0", + "version": "0.4.0", "package_url": "https://github.com/dfinity/evm-rpc-canister", "repository": { "Http": { - "url": "https://static.crates.io/crates/evm_rpc_client/0.3.0/download", - "sha256": "11d6b4ecbd21ee4f46919e9640838a54517fe36bad263a3778d8117eb284b44e" + "url": "https://static.crates.io/crates/evm_rpc_client/0.4.0/download", + "sha256": "023af59e299f1591daf2ac441129ba338fc9c6759c884bd05e222a99ffc19c9c" } }, "targets": [ @@ -26397,11 +26397,11 @@ "target": "candid" }, { - "id": "evm_rpc_types 3.1.0", + "id": "evm_rpc_types 3.1.1", "target": "evm_rpc_types" }, { - "id": "ic-canister-runtime 0.1.0", + "id": "ic-canister-runtime 0.2.0", "target": "ic_canister_runtime" }, { @@ -26429,7 +26429,7 @@ ], "selects": {} }, - "version": "0.3.0" + "version": "0.4.0" }, "license": "Apache-2.0", "license_ids": [ @@ -26437,14 +26437,14 @@ ], "license_file": "LICENSE" }, - "evm_rpc_types 3.1.0": { + "evm_rpc_types 3.1.1": { "name": "evm_rpc_types", - "version": "3.1.0", + "version": "3.1.1", "package_url": "https://github.com/dfinity/evm-rpc-canister", "repository": { "Http": { - "url": "https://static.crates.io/crates/evm_rpc_types/3.1.0/download", - "sha256": "75922b95f9ccc305d90df9dc4dca69d6935c2d961528b8a4916900de1880135b" + "url": "https://static.crates.io/crates/evm_rpc_types/3.1.1/download", + "sha256": "c348e834a97e2ca221259d6ec813009346904860be95cf756123630c44b79d5c" } }, "targets": [ @@ -26501,7 +26501,7 @@ "target": "strum" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" }, { @@ -26512,7 +26512,7 @@ "selects": {} }, "edition": "2021", - "version": "3.1.0" + "version": "3.1.1" }, "license": "Apache-2.0", "license_ids": [ @@ -32276,7 +32276,7 @@ "target": "rustls_pki_types" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" }, { @@ -32420,7 +32420,7 @@ "target": "smallvec" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" }, { @@ -34549,7 +34549,7 @@ "target": "stop_token" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" }, { @@ -34869,7 +34869,7 @@ "target": "tempfile" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" }, { @@ -35085,7 +35085,7 @@ "target": "strum" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" }, { @@ -35235,14 +35235,14 @@ ], "license_file": "LICENSE" }, - "ic-canister-runtime 0.1.0": { + "ic-canister-runtime 0.2.0": { "name": "ic-canister-runtime", - "version": "0.1.0", + "version": "0.2.0", "package_url": "https://github.com/dfinity/canhttp", "repository": { "Http": { - "url": "https://static.crates.io/crates/ic-canister-runtime/0.1.0/download", - "sha256": "01a81a68bc6825ab81142a4e176ee04d0cc73deeed69753603e90e57b3ddcd3f" + "url": "https://static.crates.io/crates/ic-canister-runtime/0.2.0/download", + "sha256": "03ed95be893b8d9b7309dcfd34aac7af9414f18ea8f14f71a065f89f5b94583c" } }, "targets": [ @@ -35283,7 +35283,7 @@ "target": "serde" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" } ], @@ -35299,7 +35299,7 @@ ], "selects": {} }, - "version": "0.1.0" + "version": "0.2.0" }, "license": "Apache-2.0", "license_ids": [ @@ -35381,7 +35381,7 @@ "target": "sha2" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" } ], @@ -35527,7 +35527,7 @@ "target": "slotmap" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" } ], @@ -36097,7 +36097,7 @@ "target": "strum" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" }, { @@ -36241,7 +36241,7 @@ "target": "strum" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" }, { @@ -36329,7 +36329,7 @@ "target": "strum" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" } ], @@ -36579,7 +36579,7 @@ "target": "rand" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" }, { @@ -37139,7 +37139,7 @@ "target": "simple_asn1" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" } ], @@ -37774,7 +37774,7 @@ "target": "sha2" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" } ], @@ -37862,7 +37862,7 @@ "target": "sha2" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" } ], @@ -37964,7 +37964,7 @@ "target": "strum" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" }, { @@ -40958,7 +40958,7 @@ "target": "serde_json" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" }, { @@ -47453,7 +47453,7 @@ "target": "serde" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" } ], @@ -57472,7 +57472,7 @@ "target": "tempfile" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" }, { @@ -60001,7 +60001,7 @@ "target": "protobuf" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" } ], @@ -64409,7 +64409,7 @@ "target": "libredox" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" } ], @@ -66207,7 +66207,7 @@ "target": "tempfile" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" } ], @@ -68836,7 +68836,7 @@ "target": "serde_json" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" }, { @@ -72320,7 +72320,7 @@ "target": "serde" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" } ], @@ -75829,7 +75829,7 @@ "target": "percent_encoding" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" }, { @@ -79841,14 +79841,14 @@ ], "license_file": "LICENSE-APACHE" }, - "thiserror 2.0.17": { + "thiserror 2.0.18": { "name": "thiserror", - "version": "2.0.17", + "version": "2.0.18", "package_url": "https://github.com/dtolnay/thiserror", "repository": { "Http": { - "url": "https://static.crates.io/crates/thiserror/2.0.17/download", - "sha256": "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8" + "url": "https://static.crates.io/crates/thiserror/2.0.18/download", + "sha256": "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4" } }, "targets": [ @@ -79892,7 +79892,7 @@ "deps": { "common": [ { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "build_script_build" } ], @@ -79902,13 +79902,13 @@ "proc_macro_deps": { "common": [ { - "id": "thiserror-impl 2.0.17", + "id": "thiserror-impl 2.0.18", "target": "thiserror_impl" } ], "selects": {} }, - "version": "2.0.17" + "version": "2.0.18" }, "build_script_attrs": { "compile_data_glob": [ @@ -79984,14 +79984,14 @@ ], "license_file": "LICENSE-APACHE" }, - "thiserror-impl 2.0.17": { + "thiserror-impl 2.0.18": { "name": "thiserror-impl", - "version": "2.0.17", + "version": "2.0.18", "package_url": "https://github.com/dtolnay/thiserror", "repository": { "Http": { - "url": "https://static.crates.io/crates/thiserror-impl/2.0.17/download", - "sha256": "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913" + "url": "https://static.crates.io/crates/thiserror-impl/2.0.18/download", + "sha256": "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5" } }, "targets": [ @@ -80031,7 +80031,7 @@ "selects": {} }, "edition": "2021", - "version": "2.0.17" + "version": "2.0.18" }, "license": "MIT OR Apache-2.0", "license_ids": [ @@ -83634,7 +83634,7 @@ "target": "pin_project" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" }, { @@ -83718,7 +83718,7 @@ "target": "pin_project" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" }, { @@ -85107,7 +85107,7 @@ "target": "sha1" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" }, { @@ -89899,7 +89899,7 @@ "target": "target_lexicon" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" }, { @@ -91503,7 +91503,7 @@ "target": "target_lexicon" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" }, { @@ -96014,7 +96014,7 @@ "target": "rusticata_macros" }, { - "id": "thiserror 2.0.17", + "id": "thiserror 2.0.18", "target": "thiserror" }, { @@ -97838,8 +97838,8 @@ "escargot 0.5.7", "ethers-core 2.0.8", "ethnum 1.3.2", - "evm_rpc_client 0.3.0", - "evm_rpc_types 3.1.0", + "evm_rpc_client 0.4.0", + "evm_rpc_types 3.1.1", "exec 0.3.1", "eyre 0.6.8", "ff 0.12.1", @@ -97874,7 +97874,7 @@ "ic-bn-lib-common 0.1.4", "ic-btc-interface 0.3.0", "ic-canister-log 0.2.0", - "ic-canister-runtime 0.1.0", + "ic-canister-runtime 0.2.0", "ic-canister-sig-creation 1.3.0", "ic-cbor 3.1.0", "ic-cdk 0.19.0", @@ -98077,7 +98077,7 @@ "test-strategy 0.3.1", "tester 0.7.0", "textplots 0.8.4", - "thiserror 2.0.17", + "thiserror 2.0.18", "thousands 0.2.0", "threadpool 1.8.1", "tikv-jemalloc-ctl 0.6.0", diff --git a/Cargo.Bazel.toml.lock b/Cargo.Bazel.toml.lock index 289221184b88..afffad16d717 100644 --- a/Cargo.Bazel.toml.lock +++ b/Cargo.Bazel.toml.lock @@ -362,7 +362,7 @@ dependencies = [ "serde", "serde_json", "serde_qs", - "thiserror 2.0.17", + "thiserror 2.0.18", "tower-layer", "tower-service", "tracing", @@ -610,7 +610,7 @@ dependencies = [ "nom 7.1.3", "num-traits", "rusticata-macros", - "thiserror 2.0.17", + "thiserror 2.0.18", "time", ] @@ -1910,7 +1910,7 @@ dependencies = [ "ahash 0.8.11", "hashbrown 0.15.2", "once_cell", - "thiserror 2.0.17", + "thiserror 2.0.18", "web-time", ] @@ -2422,7 +2422,7 @@ dependencies = [ "serde_json", "serde_urlencoded", "serde_with 3.16.0", - "thiserror 2.0.17", + "thiserror 2.0.18", "url", "urlencoding", "uuid", @@ -2434,7 +2434,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0fa961b519f0b462e3a3b4a34b64d119eeaca1d59af726fe450bbba07a9fc0a1" dependencies = [ - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -3913,7 +3913,7 @@ dependencies = [ "test-strategy", "tester", "textplots", - "thiserror 2.0.17", + "thiserror 2.0.18", "thousands", "threadpool", "tikv-jemalloc-ctl", @@ -4577,9 +4577,9 @@ dependencies = [ [[package]] name = "evm_rpc_client" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11d6b4ecbd21ee4f46919e9640838a54517fe36bad263a3778d8117eb284b44e" +checksum = "023af59e299f1591daf2ac441129ba338fc9c6759c884bd05e222a99ffc19c9c" dependencies = [ "async-trait", "candid", @@ -4592,9 +4592,9 @@ dependencies = [ [[package]] name = "evm_rpc_types" -version = "3.1.0" +version = "3.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75922b95f9ccc305d90df9dc4dca69d6935c2d961528b8a4916900de1880135b" +checksum = "c348e834a97e2ca221259d6ec813009346904860be95cf756123630c44b79d5c" dependencies = [ "candid", "canlog", @@ -4604,7 +4604,7 @@ dependencies = [ "num-bigint 0.4.6", "serde", "strum 0.27.2", - "thiserror 2.0.17", + "thiserror 2.0.18", "url", ] @@ -5562,7 +5562,7 @@ dependencies = [ "ring 0.17.14", "rustls 0.23.27", "rustls-pki-types", - "thiserror 2.0.17", + "thiserror 2.0.18", "time", "tinyvec", "tokio", @@ -5589,7 +5589,7 @@ dependencies = [ "resolv-conf", "rustls 0.23.27", "smallvec", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio", "tokio-rustls 0.26.0", "tracing", @@ -5964,7 +5964,7 @@ dependencies = [ "serde_repr", "sha2 0.10.9", "stop-token", - "thiserror 2.0.17", + "thiserror 2.0.18", "time", "tokio", "tower-service", @@ -6038,7 +6038,7 @@ dependencies = [ "systemstat", "tar", "tempfile", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio", "tokio-io-timeout", "tokio-rustls 0.26.0", @@ -6086,7 +6086,7 @@ dependencies = [ "serde", "socket2 0.6.1", "strum 0.27.2", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio-util", "tower-service", "url", @@ -6116,16 +6116,16 @@ dependencies = [ [[package]] name = "ic-canister-runtime" -version = "0.1.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01a81a68bc6825ab81142a4e176ee04d0cc73deeed69753603e90e57b3ddcd3f" +checksum = "03ed95be893b8d9b7309dcfd34aac7af9414f18ea8f14f71a065f89f5b94583c" dependencies = [ "async-trait", "candid", "ic-cdk", "ic-error-types", "serde", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -6143,7 +6143,7 @@ dependencies = [ "serde_bytes", "serde_cbor", "sha2 0.10.9", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -6175,7 +6175,7 @@ dependencies = [ "serde", "serde_bytes", "slotmap", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -6279,7 +6279,7 @@ dependencies = [ "serde", "serde_json", "strum 0.27.2", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio", "tokio-util", "tower-http 0.6.6", @@ -6312,7 +6312,7 @@ dependencies = [ "prometheus 0.14.0", "serde", "strum 0.27.2", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio", "tokio-util", "tracing", @@ -6329,7 +6329,7 @@ dependencies = [ "derive-new", "serde", "strum 0.27.2", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -6378,7 +6378,7 @@ dependencies = [ "ic_principal", "pem", "rand 0.8.5", - "thiserror 2.0.17", + "thiserror 2.0.18", "zeroize", ] @@ -6499,7 +6499,7 @@ dependencies = [ "pkcs11", "sha2 0.10.9", "simple_asn1", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -6618,7 +6618,7 @@ dependencies = [ "serde_cbor", "serde_repr", "sha2 0.10.9", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -6636,7 +6636,7 @@ dependencies = [ "serde_cbor", "serde_repr", "sha2 0.10.9", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -6657,7 +6657,7 @@ dependencies = [ "sha2 0.10.9", "strum 0.27.2", "strum_macros 0.27.1", - "thiserror 2.0.17", + "thiserror 2.0.18", "time", ] @@ -7194,7 +7194,7 @@ dependencies = [ "rustls-pki-types", "serde", "serde_json", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio", ] @@ -8196,7 +8196,7 @@ dependencies = [ "log", "memchr", "serde", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -9809,7 +9809,7 @@ dependencies = [ "strum 0.26.3", "strum_macros 0.26.4", "tempfile", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio", "tracing", "tracing-appender", @@ -10200,7 +10200,7 @@ dependencies = [ "parking_lot 0.12.5", "procfs 0.17.0", "protobuf 3.7.2", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -10938,7 +10938,7 @@ checksum = "dd6f9d3d47bdd2ad6945c5015a226ec6155d0bcdfd8f7cd29f86b71f8de99d2b" dependencies = [ "getrandom 0.2.10", "libredox", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -11194,7 +11194,7 @@ dependencies = [ "nix 0.30.1", "regex", "tempfile", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -11582,7 +11582,7 @@ dependencies = [ "ring 0.17.14", "serde", "serde_json", - "thiserror 2.0.17", + "thiserror 2.0.18", "webpki-roots 1.0.2", "x509-parser 0.16.0", ] @@ -12154,7 +12154,7 @@ dependencies = [ "futures", "percent-encoding", "serde", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -12749,7 +12749,7 @@ dependencies = [ "byteorder", "bytes", "percent-encoding", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio", ] @@ -13405,11 +13405,11 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.17" +version = "2.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8" +checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4" dependencies = [ - "thiserror-impl 2.0.17", + "thiserror-impl 2.0.18", ] [[package]] @@ -13425,9 +13425,9 @@ dependencies = [ [[package]] name = "thiserror-impl" -version = "2.0.17" +version = "2.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913" +checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5" dependencies = [ "proc-macro2", "quote", @@ -14036,7 +14036,7 @@ dependencies = [ "governor 0.8.1", "http 1.3.1", "pin-project", - "thiserror 2.0.17", + "thiserror 2.0.18", "tower 0.5.2", "tracing", ] @@ -14052,7 +14052,7 @@ dependencies = [ "governor 0.10.2", "http 1.3.1", "pin-project", - "thiserror 2.0.17", + "thiserror 2.0.18", "tonic 0.14.2", "tower 0.5.2", "tracing", @@ -14312,7 +14312,7 @@ dependencies = [ "log", "rand 0.9.0", "sha1", - "thiserror 2.0.17", + "thiserror 2.0.18", "utf-8", ] @@ -15090,7 +15090,7 @@ dependencies = [ "pulley-interpreter", "smallvec", "target-lexicon", - "thiserror 2.0.17", + "thiserror 2.0.18", "wasmparser 0.243.0", "wasmtime-environ", "wasmtime-internal-math", @@ -15333,7 +15333,7 @@ dependencies = [ "regalloc2", "smallvec", "target-lexicon", - "thiserror 2.0.17", + "thiserror 2.0.18", "wasmparser 0.243.0", "wasmtime-environ", "wasmtime-internal-cranelift", @@ -15931,7 +15931,7 @@ dependencies = [ "nom 7.1.3", "oid-registry 0.8.1", "rusticata-macros", - "thiserror 2.0.17", + "thiserror 2.0.18", "time", ] diff --git a/Cargo.lock b/Cargo.lock index 54331df14062..abe4992764ba 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -346,7 +346,7 @@ dependencies = [ "serde", "serde_json", "serde_qs", - "thiserror 2.0.17", + "thiserror 2.0.18", "tower-layer", "tower-service", "tracing", @@ -595,7 +595,7 @@ dependencies = [ "nom 7.1.3", "num-traits", "rusticata-macros", - "thiserror 2.0.17", + "thiserror 2.0.18", "time", ] @@ -859,7 +859,7 @@ dependencies = [ "sev", "sha2 0.10.9", "tempfile", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -1124,7 +1124,7 @@ dependencies = [ "rexpect", "rust-ini", "ssh2", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -1265,7 +1265,7 @@ dependencies = [ "bitflags 2.10.0", "cexpr", "clang-sys", - "itertools 0.13.0", + "itertools 0.10.5", "log", "prettyplease", "proc-macro2", @@ -1847,7 +1847,7 @@ dependencies = [ "ahash 0.8.11", "hashbrown 0.15.2", "once_cell", - "thiserror 2.0.17", + "thiserror 2.0.18", "web-time", ] @@ -2416,7 +2416,7 @@ dependencies = [ "serde_json", "serde_urlencoded", "serde_with 3.16.0", - "thiserror 2.0.17", + "thiserror 2.0.18", "url", "urlencoding", "uuid", @@ -2428,7 +2428,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0fa961b519f0b462e3a3b4a34b64d119eeaca1d59af726fe450bbba07a9fc0a1" dependencies = [ - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -2580,7 +2580,7 @@ dependencies = [ "serde_json", "serde_with 1.14.0", "strum 0.26.3", - "thiserror 2.0.17", + "thiserror 2.0.18", "url", ] @@ -4517,9 +4517,9 @@ dependencies = [ [[package]] name = "evm_rpc_client" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11d6b4ecbd21ee4f46919e9640838a54517fe36bad263a3778d8117eb284b44e" +checksum = "023af59e299f1591daf2ac441129ba338fc9c6759c884bd05e222a99ffc19c9c" dependencies = [ "async-trait", "candid", @@ -4532,9 +4532,9 @@ dependencies = [ [[package]] name = "evm_rpc_types" -version = "3.1.0" +version = "3.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75922b95f9ccc305d90df9dc4dca69d6935c2d961528b8a4916900de1880135b" +checksum = "c348e834a97e2ca221259d6ec813009346904860be95cf756123630c44b79d5c" dependencies = [ "candid", "canlog 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4544,7 +4544,7 @@ dependencies = [ "num-bigint 0.4.6", "serde", "strum 0.27.2", - "thiserror 2.0.17", + "thiserror 2.0.18", "url", ] @@ -5313,7 +5313,7 @@ dependencies = [ "regex", "strum 0.26.3", "tempfile", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -5385,7 +5385,7 @@ dependencies = [ "rustls 0.23.27", "sev", "sev_guest", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio", "tokio-rustls 0.26.1", "tokio-util", @@ -5458,7 +5458,7 @@ dependencies = [ "strum_macros 0.26.4", "systemd", "tempfile", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio", "tokio-util", "uuid", @@ -5778,7 +5778,7 @@ dependencies = [ "ring", "rustls 0.23.27", "rustls-pki-types", - "thiserror 2.0.17", + "thiserror 2.0.18", "time", "tinyvec", "tokio", @@ -5805,7 +5805,7 @@ dependencies = [ "resolv-conf", "rustls 0.23.27", "smallvec", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio", "tokio-rustls 0.26.1", "tracing", @@ -6039,7 +6039,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite", - "socket2 0.5.9", + "socket2 0.4.10", "tokio", "tower-service", "tracing", @@ -6326,7 +6326,7 @@ dependencies = [ "serde_repr", "sha2 0.10.9", "stop-token", - "thiserror 2.0.17", + "thiserror 2.0.18", "time", "tokio", "tower-service", @@ -6362,7 +6362,7 @@ dependencies = [ "prometheus", "rand 0.8.5", "slog", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio", "tower 0.5.2", "tracing", @@ -6588,7 +6588,7 @@ dependencies = [ "systemstat", "tar", "tempfile", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio", "tokio-io-timeout", "tokio-rustls 0.26.1", @@ -6636,7 +6636,7 @@ dependencies = [ "serde", "socket2 0.6.1", "strum 0.27.2", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio-util", "tower-service", "url", @@ -6711,7 +6711,7 @@ dependencies = [ "simple_moving_average", "strum 0.26.3", "tempfile", - "thiserror 2.0.17", + "thiserror 2.0.18", "tikv-jemalloc-ctl", "tikv-jemallocator", "tokio", @@ -6828,7 +6828,7 @@ dependencies = [ "slog-async", "static_assertions", "tempfile", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio", "tokio-socks", "tonic 0.12.3", @@ -6936,7 +6936,7 @@ dependencies = [ "proptest", "prost 0.13.4", "slog", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -7057,16 +7057,16 @@ dependencies = [ [[package]] name = "ic-canister-runtime" -version = "0.1.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01a81a68bc6825ab81142a4e176ee04d0cc73deeed69753603e90e57b3ddcd3f" +checksum = "03ed95be893b8d9b7309dcfd34aac7af9414f18ea8f14f71a065f89f5b94583c" dependencies = [ "async-trait", "candid", "ic-cdk", "ic-error-types 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -7150,7 +7150,7 @@ dependencies = [ "serde_bytes", "serde_cbor", "sha2 0.10.9", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -7209,7 +7209,7 @@ dependencies = [ "rand_chacha 0.3.1", "scoped_threadpool", "test-strategy 0.4.0", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -7224,9 +7224,9 @@ dependencies = [ [[package]] name = "ic-cbor" -version = "3.1.0" +version = "3.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ad96f92a9aa201f4578e80409e7f02a0561b4229f0032ea4f24c5a2ecebd15e" +checksum = "a0efada960a6c9fb023f45ed95801b757a033dafba071e4f386c6c112ca186d9" dependencies = [ "candid", "ic-certification 3.1.0", @@ -7251,7 +7251,7 @@ dependencies = [ "serde", "serde_bytes", "slotmap", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -7291,17 +7291,17 @@ dependencies = [ [[package]] name = "ic-certificate-verification" -version = "3.1.0" +version = "3.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a36d5cab93b4ecfb607b95ed469a511b37eec8f4cb30443bafbd37304c2cd0ae" +checksum = "546dfd75c4da975b9f1c55ef3da461321ab4313a66da653af321ed6dc7319b61" dependencies = [ "cached 0.54.0", "candid", "ic-cbor", "ic-certification 3.1.0", - "ic-verify-bls-signature", "lazy_static", "leb128", + "miracl_core_bls12381", "nom 7.1.3", "parking_lot", "sha2 0.10.9", @@ -7572,7 +7572,7 @@ dependencies = [ "strum 0.26.3", "strum_macros 0.26.4", "tempfile", - "thiserror 2.0.17", + "thiserror 2.0.18", "thousands", "time", "tokio", @@ -8053,7 +8053,7 @@ dependencies = [ "strum 0.26.3", "strum_macros 0.26.4", "tempfile", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio", ] @@ -8329,7 +8329,7 @@ dependencies = [ "stubborn-io", "tarpc", "tempfile", - "thiserror 2.0.17", + "thiserror 2.0.18", "time", "tokio", "tokio-serde", @@ -8564,7 +8564,7 @@ dependencies = [ "serde_cbor", "strum 0.26.3", "strum_macros 0.26.4", - "thiserror 2.0.17", + "thiserror 2.0.18", "zeroize", ] @@ -8906,7 +8906,7 @@ version = "0.9.0" dependencies = [ "ic-types", "mockall", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -8979,7 +8979,7 @@ dependencies = [ "maplit", "rustls 0.23.27", "serde", - "thiserror 2.0.17", + "thiserror 2.0.18", "x509-parser 0.16.0", ] @@ -9012,7 +9012,7 @@ dependencies = [ "serde_bytes", "serde_cbor", "test-strategy 0.4.0", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -9025,7 +9025,7 @@ dependencies = [ "proptest", "rand 0.8.5", "test-strategy 0.4.0", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -9084,7 +9084,7 @@ dependencies = [ "pem", "simple_asn1", "tempfile", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -9092,7 +9092,7 @@ name = "ic-crypto-utils-tls" version = "0.9.0" dependencies = [ "ic-base-types", - "thiserror 2.0.17", + "thiserror 2.0.18", "x509-parser 0.16.0", ] @@ -9146,7 +9146,7 @@ dependencies = [ "serde", "serde_json", "strum 0.27.2", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio", "tokio-util", "tower-http", @@ -9179,7 +9179,7 @@ dependencies = [ "prometheus", "serde", "strum 0.27.2", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio", "tokio-util", "tracing", @@ -9196,7 +9196,7 @@ dependencies = [ "derive-new", "serde", "strum 0.27.2", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -9313,7 +9313,7 @@ dependencies = [ "ic_principal", "pem", "rand 0.8.5", - "thiserror 2.0.17", + "thiserror 2.0.18", "zeroize", ] @@ -9330,7 +9330,7 @@ dependencies = [ "pem", "rand 0.8.5", "rand_chacha 0.3.1", - "thiserror 2.0.17", + "thiserror 2.0.18", "wycheproof", "zeroize", ] @@ -9909,7 +9909,7 @@ dependencies = [ "slog", "socks5-impl", "tempfile", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio", "tokio-rustls 0.26.1", "tonic 0.12.3", @@ -10255,7 +10255,7 @@ dependencies = [ "serde", "serde_bytes", "test-strategy 0.4.0", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -10463,7 +10463,7 @@ dependencies = [ "pkcs11", "sha2 0.10.9", "simple_asn1", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -10540,7 +10540,7 @@ dependencies = [ "serde", "strum 0.26.3", "strum_macros 0.26.4", - "thiserror 2.0.17", + "thiserror 2.0.18", "tower 0.5.2", ] @@ -10549,7 +10549,7 @@ name = "ic-interfaces-adapter-client" version = "0.9.0" dependencies = [ "strum_macros 0.26.4", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -10605,7 +10605,7 @@ dependencies = [ "ic-crypto-tree-hash", "ic-types", "phantom_newtype", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -11151,7 +11151,7 @@ dependencies = [ "serde_cbor", "sns-treasury-manager", "tempfile", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio", ] @@ -12464,7 +12464,7 @@ dependencies = [ "pprof", "prost 0.12.6", "regex", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio", ] @@ -12510,7 +12510,7 @@ dependencies = [ "serde_json", "slog", "tempfile", - "thiserror 2.0.17", + "thiserror 2.0.18", "url", "x509-cert", ] @@ -12625,7 +12625,7 @@ dependencies = [ "slog", "socket2 0.5.9", "static_assertions", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio", "tokio-metrics", "tokio-util", @@ -12718,7 +12718,7 @@ dependencies = [ "serde", "serde_json", "tempfile", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio", "url", ] @@ -12735,7 +12735,7 @@ dependencies = [ "ic-registry-transport", "ic-utils 0.9.0", "serde", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -12811,7 +12811,7 @@ dependencies = [ "ic-registry-subnet-features", "ic-types", "serde_cbor", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -12873,7 +12873,7 @@ dependencies = [ "ic-registry-transport", "ic-test-utilities-registry", "ic-types", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio", "url", ] @@ -12962,7 +12962,7 @@ dependencies = [ "ic-registry-transport", "ic-sys", "ic-types", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -13618,7 +13618,7 @@ dependencies = [ "serde", "serde_json", "textplots", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio", ] @@ -13663,7 +13663,7 @@ dependencies = [ "serde_json", "serde_yaml", "tempfile", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio", "url", ] @@ -13749,7 +13749,7 @@ dependencies = [ "strum 0.26.3", "strum_macros 0.26.4", "tempfile", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio", "tokio-test", ] @@ -14153,7 +14153,7 @@ dependencies = [ "serde", "slog", "tempfile", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio", "url", ] @@ -14435,7 +14435,7 @@ dependencies = [ "prost 0.13.4", "rand 0.8.5", "slog", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio", "tokio-metrics", "tokio-util", @@ -14518,7 +14518,7 @@ dependencies = [ "prost 0.13.4", "rand 0.8.5", "tempfile", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio", "wsl", ] @@ -14621,7 +14621,7 @@ dependencies = [ "slog-term", "ssh2", "tempfile", - "thiserror 2.0.17", + "thiserror 2.0.18", "time", "tokio", "url", @@ -15089,7 +15089,7 @@ dependencies = [ "serde_cbor", "serde_repr", "sha2 0.10.9", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -15139,7 +15139,7 @@ dependencies = [ "serde_with 1.14.0", "strum 0.26.3", "strum_macros 0.26.4", - "thiserror 2.0.17", + "thiserror 2.0.18", "thousands", ] @@ -15194,7 +15194,7 @@ dependencies = [ "sha2 0.10.9", "strum 0.27.2", "strum_macros 0.27.1", - "thiserror 2.0.17", + "thiserror 2.0.18", "time", ] @@ -15263,7 +15263,7 @@ dependencies = [ "serde_cbor", "serde_json", "simple_asn1", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -15487,7 +15487,7 @@ dependencies = [ "slog", "tempfile", "test-strategy 0.4.0", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio", "url", ] @@ -16425,7 +16425,7 @@ dependencies = [ "rustls-pki-types", "serde", "serde_json", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio", ] @@ -16697,9 +16697,9 @@ dependencies = [ [[package]] name = "keccak" -version = "0.1.6" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb26cec98cce3a3d96cbb7bced3c4b16e3d13f27ec56dbd62cbc8f39cfb9d653" +checksum = "ecc2af9a1119c51f12a14607e783cb977bde58bc069ff0c3da1095e635d70654" dependencies = [ "cpufeatures", ] @@ -17510,7 +17510,7 @@ dependencies = [ "log", "memchr", "serde", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -17761,6 +17761,12 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "miracl_core_bls12381" +version = "4.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d07cbe42e2a8dd41df582fb8e00fc24d920b5561cc301fcb6d14e2e0434b500f" + [[package]] name = "mock_treasury_manager" version = "0.9.0" @@ -19155,7 +19161,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b7cafe60d6cf8e62e1b9b2ea516a089c008945bb5a275416789e7db0bc199dc" dependencies = [ "memchr", - "thiserror 2.0.17", + "thiserror 2.0.18", "ucd-trie", ] @@ -19501,7 +19507,7 @@ dependencies = [ "strum 0.26.3", "strum_macros 0.26.4", "tempfile", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio", "tracing", "tracing-appender", @@ -19945,7 +19951,7 @@ dependencies = [ "parking_lot", "procfs", "protobuf", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -20028,7 +20034,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "22505a5c94da8e3b7c2996394d1c933236c4d743e81a410bcca4e6989fc066a4" dependencies = [ "bytes", - "heck 0.5.0", + "heck 0.4.1", "itertools 0.12.1", "log", "multimap", @@ -20048,8 +20054,8 @@ version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d0f3e5beed80eb580c68e2c600937ac2c4eedabdfd5ef1e5b7ea4f3fba84497b" dependencies = [ - "heck 0.5.0", - "itertools 0.13.0", + "heck 0.4.1", + "itertools 0.10.5", "log", "multimap", "once_cell", @@ -20082,7 +20088,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "157c5a9d7ea5c2ed2d9fb8f495b64759f7816c7eaea54ba3978f0d63000162e3" dependencies = [ "anyhow", - "itertools 0.13.0", + "itertools 0.10.5", "proc-macro2", "quote", "syn 2.0.110", @@ -20095,7 +20101,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9120690fafc389a67ba3803df527d0ec9cbbc9cc45e4cc20b332996dfb672425" dependencies = [ "anyhow", - "itertools 0.14.0", + "itertools 0.10.5", "proc-macro2", "quote", "syn 2.0.110", @@ -20275,7 +20281,7 @@ dependencies = [ "rustc-hash 2.1.1", "rustls 0.23.27", "socket2 0.5.9", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio", "tracing", ] @@ -20294,7 +20300,7 @@ dependencies = [ "rustls 0.23.27", "rustls-pki-types", "slab", - "thiserror 2.0.17", + "thiserror 2.0.18", "tinyvec", "tracing", "web-time", @@ -20630,7 +20636,7 @@ dependencies = [ "serde_cbor", "serde_json", "strum 0.26.3", - "thiserror 2.0.17", + "thiserror 2.0.18", "uuid", ] @@ -20738,7 +20744,7 @@ checksum = "dd6f9d3d47bdd2ad6945c5015a226ec6155d0bcdfd8f7cd29f86b71f8de99d2b" dependencies = [ "getrandom 0.2.15", "libredox", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -21134,7 +21140,7 @@ dependencies = [ "nix 0.30.1", "regex", "tempfile", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -21616,7 +21622,7 @@ dependencies = [ "ring", "serde", "serde_json", - "thiserror 2.0.17", + "thiserror 2.0.18", "webpki-roots 1.0.4", "x509-parser 0.16.0", ] @@ -22228,7 +22234,7 @@ dependencies = [ "futures", "percent-encoding", "serde", - "thiserror 2.0.17", + "thiserror 2.0.18", ] [[package]] @@ -22633,7 +22639,7 @@ checksum = "297f631f50729c8c99b84667867963997ec0b50f32b2a7dbcab828ef0541e8bb" dependencies = [ "num-bigint 0.4.6", "num-traits", - "thiserror 2.0.17", + "thiserror 2.0.18", "time", ] @@ -22806,7 +22812,7 @@ version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "03c3c6b7927ffe7ecaa769ee0e3994da3b8cafc8f444578982c83ecb161af917" dependencies = [ - "heck 0.5.0", + "heck 0.4.1", "proc-macro2", "quote", "syn 2.0.110", @@ -22915,7 +22921,7 @@ dependencies = [ "byteorder", "bytes", "percent-encoding", - "thiserror 2.0.17", + "thiserror 2.0.18", "tokio", ] @@ -23559,11 +23565,11 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.17" +version = "2.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8" +checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4" dependencies = [ - "thiserror-impl 2.0.17", + "thiserror-impl 2.0.18", ] [[package]] @@ -23579,9 +23585,9 @@ dependencies = [ [[package]] name = "thiserror-impl" -version = "2.0.17" +version = "2.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913" +checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5" dependencies = [ "proc-macro2", "quote", @@ -24165,7 +24171,7 @@ dependencies = [ "governor 0.8.1", "http 1.3.1", "pin-project", - "thiserror 2.0.17", + "thiserror 2.0.18", "tower 0.5.2", "tracing", ] @@ -24181,7 +24187,7 @@ dependencies = [ "governor 0.10.2", "http 1.3.1", "pin-project", - "thiserror 2.0.17", + "thiserror 2.0.18", "tonic 0.14.2", "tower 0.5.2", "tracing", @@ -24398,7 +24404,7 @@ dependencies = [ "log", "rand 0.9.0", "sha1", - "thiserror 2.0.17", + "thiserror 2.0.18", "utf-8", ] @@ -25221,7 +25227,7 @@ dependencies = [ "pulley-interpreter", "smallvec", "target-lexicon", - "thiserror 2.0.17", + "thiserror 2.0.18", "wasmparser 0.243.0", "wasmtime-environ", "wasmtime-internal-math", @@ -25459,7 +25465,7 @@ dependencies = [ "regalloc2", "smallvec", "target-lexicon", - "thiserror 2.0.17", + "thiserror 2.0.18", "wasmparser 0.243.0", "wasmtime-environ", "wasmtime-internal-cranelift", @@ -25928,7 +25934,7 @@ dependencies = [ "nom 7.1.3", "oid-registry 0.8.1", "rusticata-macros", - "thiserror 2.0.17", + "thiserror 2.0.18", "time", ] diff --git a/Cargo.toml b/Cargo.toml index 3f490683474d..e1eb33a8d92a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -648,7 +648,7 @@ ed25519-dalek = { version = "2.2.0", features = [ "hazmat", ] } ethnum = { version = "1.3.2", features = ["serde"] } -evm_rpc_client = "0.3.0" +evm_rpc_client = "0.4.0" evm_rpc_types = "3.1.0" flate2 = "1.0.31" fs_extra = "1.2.0" @@ -680,7 +680,7 @@ ic-agent = { version = "0.45.0", features = ["pem", "ring"] } ic-bn-lib = { version = "0.1.14", features = ["acme-alpn"] } ic-bn-lib-common = "0.1.4" ic-btc-interface = "0.3.0" -ic-canister-runtime = "0.1.0" +ic-canister-runtime = "0.2.0" ic-canister-sig-creation = "1.3.1" ic-cbor = "3" ic-cdk = "0.19.0" @@ -860,7 +860,7 @@ sysinfo = "0.37" systemd = "0.10" tar = "0.4.39" tempfile = "3.20" -thiserror = "2.0.3" +thiserror = "2.0.18" threadpool = "1.8.1" tikv-jemalloc-ctl = { version = "0.6", features = ["stats"] } tikv-jemallocator = "0.6" diff --git a/bazel/rust.MODULE.bazel b/bazel/rust.MODULE.bazel index 62d63f06a02e..7ac0d67d3c9b 100644 --- a/bazel/rust.MODULE.bazel +++ b/bazel/rust.MODULE.bazel @@ -453,7 +453,7 @@ crate.spec( ) crate.spec( package = "evm_rpc_client", - version = "^0.3.0", + version = "^0.4.0", ) crate.spec( package = "evm_rpc_types", @@ -634,7 +634,7 @@ crate.spec( ) crate.spec( package = "ic-canister-runtime", - version = "^0.1.0", + version = "^0.2.0", ) crate.spec( git = "https://github.com/dfinity/ic-canister-sig-creation.git", @@ -1646,7 +1646,7 @@ crate.spec( ) crate.spec( package = "thiserror", - version = "^2.0.3", + version = "^2.0.18", ) crate.spec( package = "thousands", diff --git a/rs/ethereum/cketh/minter/tests/cketh.rs b/rs/ethereum/cketh/minter/tests/cketh.rs index 79eb727295ef..c08303b5f32f 100644 --- a/rs/ethereum/cketh/minter/tests/cketh.rs +++ b/rs/ethereum/cketh/minter/tests/cketh.rs @@ -40,6 +40,7 @@ use icrc_ledger_types::icrc1::transfer::Memo; use icrc_ledger_types::icrc3::transactions::{Burn, Mint}; use num_traits::cast::ToPrimitive; use serde_json::json; +use std::collections::BTreeMap; use std::str::FromStr; use std::time::Duration; @@ -831,20 +832,12 @@ fn should_scrap_one_block_when_at_boundary_with_last_finalized_block() { } #[test] -fn should_document_current_behavior_of_being_unstoppable_while_scraping_blocks_has_open_call_context() - { - // TODO(DEFI-2566): This test documents the current behavior, where the ckETH minter is - // unstoppable while scraping (lots of) logs on a timer. Since log scraping calls are made on - // a loop in the callback handler for log scraping responses, the scraping continues until all - // logs have been scraped. The same call context is reused, and as long as there is an open - // call context, the minter is not stoppable. +fn should_be_able_to_stop_canister_during_scraping() { const UNSCRAPED_BLOCKS: u64 = 5_000; - const NUM_BLOCK_RANGES: usize = 10; + const MAX_BLOCK: u64 = LAST_SCRAPED_BLOCK_NUMBER_AT_INSTALL + UNSCRAPED_BLOCKS; let cketh = CkEthSetup::default(); let max_eth_logs_block_range = cketh.as_ref().max_logs_block_range(); - const MAX_BLOCK: u64 = LAST_SCRAPED_BLOCK_NUMBER_AT_INSTALL + UNSCRAPED_BLOCKS; - cketh.env.advance_time(SCRAPING_ETH_LOGS_INTERVAL); MockJsonRpcProviders::when(JsonRpcMethod::EthGetBlockByNumber) @@ -852,108 +845,86 @@ fn should_document_current_behavior_of_being_unstoppable_while_scraping_blocks_h .build() .expect_rpc_calls(&cketh); - // Only the first few eth_getLogs requests (e.g., 3 out of 10). - // This leaves the scraping in progress with open call contexts. + // Starts scraping to create open call contexts. let mut from_block = BlockNumber::from(LAST_SCRAPED_BLOCK_NUMBER_AT_INSTALL + 1); let mut to_block = from_block .checked_add(BlockNumber::from(max_eth_logs_block_range)) .unwrap(); - const BLOCKS_TO_PROCESS_BEFORE_STOP: usize = 3; - for _ in 0..BLOCKS_TO_PROCESS_BEFORE_STOP { - MockJsonRpcProviders::when(JsonRpcMethod::EthGetLogs) - .with_request_params(json!([{ - "fromBlock": from_block, - "toBlock": to_block, - "address": [ETH_HELPER_CONTRACT_ADDRESS], - "topics": [cketh.received_eth_event_topic()] - }])) - .respond_for_all_with(empty_logs()) - .build() - .expect_rpc_calls(&cketh); + MockJsonRpcProviders::when(JsonRpcMethod::EthGetLogs) + .with_request_params(json!([{ + "fromBlock": from_block, + "toBlock": to_block, + "address": [ETH_HELPER_CONTRACT_ADDRESS], + "topics": [cketh.received_eth_event_topic()] + }])) + .respond_for_all_with(empty_logs()) + .build() + .expect_rpc_calls(&cketh); - from_block = to_block.checked_increment().unwrap(); - to_block = from_block - .checked_add(BlockNumber::from(max_eth_logs_block_range)) - .unwrap(); - } + cketh.env.tick(); + cketh.env.tick(); + assert_eq!( + cketh.env.canister_http_request_contexts().len(), + 4, + "Expected HTTPS outcalls since scraping is still in progress." + ); // At this point: - // - 3 block ranges have been scraped - // - The minter has made an HTTP outcall for the 4th block range + // - 1 block range has been scraped + // - The minter has made an HTTP outcall for the 2nd block range // - There's an open call context waiting for that HTTP response // Request to stop the minter (without providing responses to pending HTTP outcalls). // The stop will NOT complete because there's an open call context. cketh.try_stop_minter_without_stopping_ongoing_https_outcalls(); + cketh.tick_until_minter_canister_status(CanisterStatusType::Stopping); + + // Answer 2nd block range to be able to stop. + from_block = to_block.checked_increment().unwrap(); + to_block = from_block + .checked_add(BlockNumber::from(max_eth_logs_block_range)) + .unwrap(); + MockJsonRpcProviders::when(JsonRpcMethod::EthGetLogs) + .with_request_params(json!([{ + "fromBlock": from_block, + "toBlock": to_block, + "address": [ETH_HELPER_CONTRACT_ADDRESS], + "topics": [cketh.received_eth_event_topic()] + }])) + .respond_for_all_with(empty_logs()) + .build() + .expect_rpc_calls(&cketh); - // Verify the minter is in "Stopping" state (not "Stopped") - let status = cketh.tick_until_minter_canister_status(CanisterStatusType::Stopping); + cketh.tick_until_minter_canister_status(CanisterStatusType::Stopped); assert_eq!( - status, - CanisterStatusType::Stopping, - "Expected minter to be in Stopping state due to open call contexts" + cketh.env.canister_http_request_contexts(), + BTreeMap::default(), + "Unexpected pending HTTPS outcalls" ); - // Even while in "Stopping" state, when we provide a response to the pending HTTPS call, the - // canister does not stop. Instead, the callback continuation runs and the next loop iteration - // makes another outcall. The canister remains in "Stopping" state throughout. - for i in BLOCKS_TO_PROCESS_BEFORE_STOP..NUM_BLOCK_RANGES { - // Before providing response, verify canister is STILL in Stopping state - let status_before = cketh.minter_status(); - assert_eq!( - status_before, - CanisterStatusType::Stopping, - "Block range {}/{}: Canister should be in Stopping state before receiving response", - i + 1, - NUM_BLOCK_RANGES - ); - - // Provide response to the pending HTTPS call. - MockJsonRpcProviders::when(JsonRpcMethod::EthGetLogs) - .with_request_params(json!([{ - "fromBlock": from_block, - "toBlock": to_block, - "address": [ETH_HELPER_CONTRACT_ADDRESS], - "topics": [cketh.received_eth_event_topic()] - }])) - .respond_for_all_with(empty_logs()) - .build() - .expect_rpc_calls(&cketh); - - // After processing the response, verify the canister is still in Stopping state. - let status_after = cketh.minter_status(); - - if i < NUM_BLOCK_RANGES - 1 { - assert_eq!( - status_after, - CanisterStatusType::Stopping, - "Block range {}/{}: Canister should still be in Stopping state after receiving \ - response (it made a new HTTP call for the next block range!)", - i + 1, - NUM_BLOCK_RANGES - ); - } else { - // Last block range - canister might transition to Stopped - println!( - " Block range {}/{}: Final response received", - i + 1, - NUM_BLOCK_RANGES - ); - } - - from_block = to_block.checked_increment().unwrap(); - to_block = from_block - .checked_add(BlockNumber::from(max_eth_logs_block_range)) - .unwrap(); - } + // Restarting the canister should resume scraping from where we stopped + cketh.start_minter(); + cketh.tick_until_minter_canister_status(CanisterStatusType::Running); + cketh.env.advance_time(SCRAPING_ETH_LOGS_INTERVAL); + MockJsonRpcProviders::when(JsonRpcMethod::EthGetBlockByNumber) + .respond_for_all_with(block_response(MAX_BLOCK)) + .build() + .expect_rpc_calls(&cketh); - // After all scraping is complete, the canister should finally be Stopped. - let status = cketh.tick_until_minter_canister_status(CanisterStatusType::Stopped); - assert_eq!( - status, - CanisterStatusType::Stopped, - "Expected minter to be Stopped after all call contexts closed" - ); + from_block = to_block.checked_increment().unwrap(); + to_block = from_block + .checked_add(BlockNumber::from(max_eth_logs_block_range)) + .unwrap(); + MockJsonRpcProviders::when(JsonRpcMethod::EthGetLogs) + .with_request_params(json!([{ + "fromBlock": from_block, + "toBlock": to_block, + "address": [ETH_HELPER_CONTRACT_ADDRESS], + "topics": [cketh.received_eth_event_topic()] + }])) + .respond_for_all_with(empty_logs()) + .build() + .expect_rpc_calls(&cketh); } #[test] diff --git a/rs/ethereum/cketh/test_utils/src/lib.rs b/rs/ethereum/cketh/test_utils/src/lib.rs index 00bcc788da8e..86a48233c55c 100644 --- a/rs/ethereum/cketh/test_utils/src/lib.rs +++ b/rs/ethereum/cketh/test_utils/src/lib.rs @@ -520,10 +520,7 @@ impl CkEthSetup { ); } - pub fn tick_until_minter_canister_status( - &self, - expected_canister_status: CanisterStatusType, - ) -> CanisterStatusType { + pub fn tick_until_minter_canister_status(&self, expected_canister_status: CanisterStatusType) { const MAX_TICKS: u64 = 10; let mut status = self.minter_status(); for _ in 0..MAX_TICKS { @@ -532,7 +529,7 @@ impl CkEthSetup { } status = self.minter_status(); } - status + assert_eq!(status, expected_canister_status); } pub fn stop_minter(&self) {