diff --git a/Cargo.lock b/Cargo.lock index e7b5978311..f14c0fce08 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -52,6 +52,18 @@ dependencies = [ "subtle", ] +[[package]] +name = "ahash" +version = "0.8.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" +dependencies = [ + "cfg-if 1.0.0", + "once_cell", + "version_check", + "zerocopy", +] + [[package]] name = "aho-corasick" version = "1.1.3" @@ -154,7 +166,7 @@ dependencies = [ "nom", "num-traits", "rusticata-macros", - "thiserror", + "thiserror 1.0.69", "time", ] @@ -170,7 +182,7 @@ dependencies = [ "nom", "num-traits", "rusticata-macros", - "thiserror", + "thiserror 1.0.69", "time", ] @@ -241,6 +253,12 @@ dependencies = [ "syn 2.0.90", ] +[[package]] +name = "atomic-waker" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" + [[package]] name = "auto_impl" version = "1.2.0" @@ -951,7 +969,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fab9d9a7e9ff7a4762c5c378deb4158d6aaeaeab86952ecf64221159dcd20809" dependencies = [ "subtle", - "thiserror", + "thiserror 1.0.69", "zeroize", ] @@ -1213,8 +1231,8 @@ dependencies = [ "serde", "serde_json", "sha3", - "thiserror", - "uint", + "thiserror 1.0.69", + "uint 0.9.5", ] [[package]] @@ -1226,7 +1244,7 @@ dependencies = [ "crunchy", "fixed-hash", "impl-codec", - "impl-rlp", + "impl-rlp 0.3.0", "impl-serde", "scale-info", "tiny-keccak 2.0.2", @@ -1243,7 +1261,7 @@ dependencies = [ "hash-db 0.15.2", "hash256-std-hasher", "parity-scale-codec", - "rlp", + "rlp 0.5.2", "scale-info", "serde", "sha3", @@ -1261,7 +1279,7 @@ dependencies = [ "hash-db 0.16.0", "hash256-std-hasher", "parity-scale-codec", - "rlp", + "rlp 0.5.2", "scale-info", "serde", "sha3", @@ -1277,11 +1295,11 @@ dependencies = [ "ethbloom", "fixed-hash", "impl-codec", - "impl-rlp", + "impl-rlp 0.3.0", "impl-serde", - "primitive-types", + "primitive-types 0.12.2", "scale-info", - "uint", + "uint 0.9.5", ] [[package]] @@ -1297,8 +1315,8 @@ dependencies = [ "evm-runtime", "log", "parity-scale-codec", - "primitive-types", - "rlp", + "primitive-types 0.12.2", + "rlp 0.5.2", "scale-info", "serde", "sha3", @@ -1310,7 +1328,7 @@ version = "0.39.0" source = "git+https://github.com/oasisprotocol/evm?tag=v0.39.1-oasis#13a30bfc1a10074f3f1676988aeb6ada76c65553" dependencies = [ "parity-scale-codec", - "primitive-types", + "primitive-types 0.12.2", "scale-info", "serde", ] @@ -1323,7 +1341,7 @@ dependencies = [ "environmental", "evm-core", "evm-runtime", - "primitive-types", + "primitive-types 0.12.2", ] [[package]] @@ -1334,7 +1352,7 @@ dependencies = [ "auto_impl", "environmental", "evm-core", - "primitive-types", + "primitive-types 0.12.2", "sha3", ] @@ -1585,6 +1603,25 @@ dependencies = [ "subtle", ] +[[package]] +name = "h2" +version = "0.4.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccae279728d634d083c00f6099cb58f01cc99c145b84b8be2f6c74618d79922e" +dependencies = [ + "atomic-waker", + "bytes", + "fnv", + "futures-core", + "futures-sink", + "http", + "indexmap 2.7.0", + "slab", + "tokio", + "tokio-util", + "tracing", +] + [[package]] name = "half" version = "1.8.3" @@ -1628,6 +1665,16 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" +[[package]] +name = "hashbrown" +version = "0.14.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" +dependencies = [ + "ahash", + "serde", +] + [[package]] name = "hashbrown" version = "0.15.2" @@ -1641,12 +1688,9 @@ dependencies = [ [[package]] name = "heck" -version = "0.3.3" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" -dependencies = [ - "unicode-segmentation", -] +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" [[package]] name = "hermit-abi" @@ -1722,12 +1766,76 @@ dependencies = [ "itoa", ] +[[package]] +name = "http-body" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" +dependencies = [ + "bytes", + "http", +] + +[[package]] +name = "http-body-util" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f" +dependencies = [ + "bytes", + "futures-util", + "http", + "http-body", + "pin-project-lite", +] + [[package]] name = "httparse" version = "1.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7d71d3574edd2771538b901e6549113b4006ece66150fb69c0fb6d9a2adae946" +[[package]] +name = "httpdate" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" + +[[package]] +name = "hyper" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97818827ef4f364230e16705d4706e2897df2bb60617d6ca15d598025a3c481f" +dependencies = [ + "bytes", + "futures-channel", + "futures-util", + "h2", + "http", + "http-body", + "httparse", + "httpdate", + "itoa", + "pin-project-lite", + "smallvec", + "tokio", +] + +[[package]] +name = "hyper-util" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df2dcfbe0677734ab2f3ffa7fa7bfd4706bfdc1ef393f2ee30184aed67e631b4" +dependencies = [ + "bytes", + "futures-util", + "http", + "http-body", + "hyper", + "pin-project-lite", + "tokio", +] + [[package]] name = "iana-time-zone" version = "0.1.61" @@ -1913,13 +2021,13 @@ dependencies = [ [[package]] name = "impl-num-traits" -version = "0.1.2" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "951641f13f873bff03d4bf19ae8bec531935ac0ac2cc775f84d7edfdcfed3f17" +checksum = "803d15461ab0dcc56706adf266158acbc44ccf719bf7d0af30705f58b90a4b8c" dependencies = [ "integer-sqrt", "num-traits", - "uint", + "uint 0.10.0", ] [[package]] @@ -1928,7 +2036,16 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f28220f89297a075ddc7245cd538076ee98b01f2a9c23a53a4f1105d5a322808" dependencies = [ - "rlp", + "rlp 0.5.2", +] + +[[package]] +name = "impl-rlp" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "54ed8ad1f3877f7e775b8cbf30ed1bd3209a95401817f19a0eb4402d13f8cf90" +dependencies = [ + "rlp 0.6.1", ] [[package]] @@ -1969,6 +2086,7 @@ checksum = "62f822373a4fe84d4bb149bf54e584a7f4abec90e072ed49cda0edea5b95471f" dependencies = [ "equivalent", "hashbrown 0.15.2", + "serde", ] [[package]] @@ -2109,7 +2227,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc2f4eb4bc735547cfed7c0a4922cbd04a4655978c09b54f1f7b228750664c34" dependencies = [ "cfg-if 1.0.0", - "windows-targets 0.48.5", + "windows-targets 0.52.6", ] [[package]] @@ -2272,20 +2390,26 @@ dependencies = [ [[package]] name = "mockito" -version = "0.31.1" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80f9fece9bd97ab74339fe19f4bcaf52b76dcc18e5364c7977c1838f76b38de9" +checksum = "652cd6d169a36eaf9d1e6bce1a221130439a966d7f27858af66a33a66e9c4ee2" dependencies = [ "assert-json-diff", + "bytes", "colored", - "httparse", - "lazy_static", + "futures-util", + "http", + "http-body", + "http-body-util", + "hyper", + "hyper-util", "log", "rand", "regex", "serde_json", "serde_urlencoded", "similar", + "tokio", ] [[package]] @@ -2440,7 +2564,7 @@ dependencies = [ "oasis-cbor-derive", "oasis-cbor-value", "serde", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -2474,7 +2598,7 @@ dependencies = [ "oasis-runtime-sdk", "rand_core", "rand_xorshift", - "thiserror", + "thiserror 2.0.7", "wee_alloc", ] @@ -2488,7 +2612,7 @@ dependencies = [ "oasis-cbor", "oasis-runtime-sdk", "sha2 0.10.8", - "thiserror", + "thiserror 2.0.7", "x25519-dalek", ] @@ -2520,7 +2644,7 @@ dependencies = [ "hex", "oasis-cbor", "oasis-runtime-sdk", - "thiserror", + "thiserror 2.0.7", ] [[package]] @@ -2544,7 +2668,7 @@ dependencies = [ "secret-sharing", "sgx-isa", "sp800-185", - "thiserror", + "thiserror 1.0.69", "tiny-keccak 2.0.2", "tokio", "x25519-dalek", @@ -2605,7 +2729,7 @@ dependencies = [ "tendermint-light-client", "tendermint-proto", "tendermint-rpc", - "thiserror", + "thiserror 1.0.69", "tiny-keccak 2.0.2", "tokio", "tokio-retry", @@ -2649,7 +2773,7 @@ dependencies = [ "sha2 0.10.8", "sha3", "slog", - "thiserror", + "thiserror 2.0.7", "tiny-keccak 2.0.2", "tokio", "tokio-retry", @@ -2675,7 +2799,7 @@ dependencies = [ "pretty_assertions", "rand_core", "snap", - "thiserror", + "thiserror 2.0.7", "walrus", "wasm3", "wasmprinter", @@ -2702,18 +2826,18 @@ dependencies = [ "oasis-cbor", "oasis-runtime-sdk", "once_cell", - "primitive-types", + "primitive-types 0.13.1", "rand", "rand_core", "ripemd", - "rlp", + "rlp 0.6.1", "serde", "serde_json", "sha2 0.10.8", "sha3", "substrate-bn", - "thiserror", - "uint", + "thiserror 2.0.7", + "uint 0.10.0", "x25519-dalek", ] @@ -3056,11 +3180,22 @@ checksum = "0b34d9fd68ae0b74a41b21c03c2f62847aa0ffea044eee893b4c140b37e244e2" dependencies = [ "fixed-hash", "impl-codec", - "impl-num-traits", - "impl-rlp", + "impl-rlp 0.3.0", "impl-serde", "scale-info", - "uint", + "uint 0.9.5", +] + +[[package]] +name = "primitive-types" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d15600a7d856470b7d278b3fe0e311fe28c2526348549f8ef2ff7db3299c87f5" +dependencies = [ + "fixed-hash", + "impl-num-traits", + "impl-rlp 0.4.0", + "uint 0.10.0", ] [[package]] @@ -3271,6 +3406,16 @@ dependencies = [ "rustc-hex", ] +[[package]] +name = "rlp" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa24e92bb2a83198bb76d661a71df9f7076b8c420b8696e4d3d97d50d94479e3" +dependencies = [ + "bytes", + "rustc-hex", +] + [[package]] name = "rlp-derive" version = "0.1.0" @@ -3377,9 +3522,9 @@ dependencies = [ [[package]] name = "rustls" -version = "0.23.19" +version = "0.23.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "934b404430bb06b3fae2cba809eb45a1ab1aecd64491213d7c3301b88393f8d1" +checksum = "5065c3f250cbd332cd894be57c40fa52387247659b14a2d6041d121547903b1b" dependencies = [ "log", "once_cell", @@ -3406,9 +3551,9 @@ dependencies = [ [[package]] name = "rustls-mbedpki-provider" -version = "0.1.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd4245e05baaa3493865cc15f80e6520c52423936b409a695f57c3f92d1aad71" +checksum = "5fa57cbb88f865fb47158e95a9326134d9726ed01201c28b00ed4a892792fce9" dependencies = [ "chrono", "mbedtls", @@ -3429,9 +3574,9 @@ dependencies = [ [[package]] name = "rustls-pki-types" -version = "1.10.0" +version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16f1201b3c9a7ee8039bcadc17b7e605e2945b27eee7631788c1bd2b0643674b" +checksum = "d2bf47e6ff922db3825eb750c4e2ff784c6ff8fb9e13046ef6a1d1c5401b0b37" [[package]] name = "rustls-webpki" @@ -3536,7 +3681,7 @@ dependencies = [ "rand_core", "sha3", "subtle", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -3547,9 +3692,9 @@ checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" [[package]] name = "serde" -version = "1.0.215" +version = "1.0.216" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6513c1ad0b11a9376da888e3e0baa0077f1aed55c17f50e7b2397136129fb88f" +checksum = "0b9781016e935a97e8beecf0c933758c97a5520d32930e460142b4cd80c6338e" dependencies = [ "serde_derive", ] @@ -3575,9 +3720,9 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.215" +version = "1.0.216" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad1e866f866923f252f05c889987993144fb74e722403468a4ebd70c3cd756c0" +checksum = "46f859dbbf73865c6627ed570e78961cd3ac92407a2d117204c49232485da55e" dependencies = [ "proc-macro2", "quote", @@ -4040,7 +4185,7 @@ dependencies = [ "tendermint", "tendermint-config", "tendermint-proto", - "thiserror", + "thiserror 1.0.69", "time", "url", "uuid", @@ -4063,7 +4208,7 @@ dependencies = [ "oasis-cbor", "oasis-runtime-sdk", "oasis-runtime-sdk-evm", - "thiserror", + "thiserror 2.0.7", ] [[package]] @@ -4083,7 +4228,7 @@ dependencies = [ "oasis-cbor", "oasis-runtime-sdk", "once_cell", - "thiserror", + "thiserror 2.0.7", ] [[package]] @@ -4101,7 +4246,7 @@ dependencies = [ "oasis-cbor", "oasis-runtime-sdk", "oasis-runtime-sdk-contracts", - "thiserror", + "thiserror 2.0.7", ] [[package]] @@ -4111,7 +4256,7 @@ dependencies = [ "oasis-cbor", "oasis-runtime-sdk", "oasis-runtime-sdk-evm", - "thiserror", + "thiserror 2.0.7", ] [[package]] @@ -4122,7 +4267,7 @@ dependencies = [ "futures", "oasis-cbor", "oasis-runtime-sdk", - "thiserror", + "thiserror 2.0.7", ] [[package]] @@ -4131,7 +4276,16 @@ version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" dependencies = [ - "thiserror-impl", + "thiserror-impl 1.0.69", +] + +[[package]] +name = "thiserror" +version = "2.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93605438cbd668185516ab499d589afb7ee1859ea3d5fc8f6b0755e1c7443767" +dependencies = [ + "thiserror-impl 2.0.7", ] [[package]] @@ -4145,6 +4299,17 @@ dependencies = [ "syn 2.0.90", ] +[[package]] +name = "thiserror-impl" +version = "2.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1d8749b4531af2117677a5fcd12b1348a3fe2b81e36e61ffeac5c4aa3273e36" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.90", +] + [[package]] name = "time" version = "0.3.37" @@ -4254,6 +4419,19 @@ dependencies = [ "tokio", ] +[[package]] +name = "tokio-util" +version = "0.7.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7fcaa8d55a2bdd6b83ace262b016eca0d79ee02818c5c1bcdf0305114081078" +dependencies = [ + "bytes", + "futures-core", + "futures-sink", + "pin-project-lite", + "tokio", +] + [[package]] name = "toml" version = "0.8.19" @@ -4314,6 +4492,9 @@ name = "tracing-core" version = "0.1.33" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c" +dependencies = [ + "once_cell", +] [[package]] name = "trie-root" @@ -4331,7 +4512,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1631b201eb031b563d2e85ca18ec8092508e262a3196ce9bd10a67ec87b9f5c" dependencies = [ "hash-db 0.15.2", - "rlp", + "rlp 0.5.2", ] [[package]] @@ -4353,16 +4534,22 @@ dependencies = [ ] [[package]] -name = "unicode-ident" -version = "1.0.14" +name = "uint" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83" +checksum = "909988d098b2f738727b161a106cfc7cab00c539c2687a8836f8e565976fb53e" +dependencies = [ + "byteorder", + "crunchy", + "hex", + "static_assertions", +] [[package]] -name = "unicode-segmentation" -version = "1.12.0" +name = "unicode-ident" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" +checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83" [[package]] name = "unicode-width" @@ -4409,7 +4596,7 @@ dependencies = [ "serde", "serde_json", "smallvec", - "thiserror", + "thiserror 1.0.69", "utf-8", ] @@ -4476,9 +4663,9 @@ dependencies = [ [[package]] name = "walrus" -version = "0.20.3" +version = "0.23.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c03529cd0c4400a2449f640d2f27cd1b48c3065226d15e26d98e4429ab0adb7" +checksum = "6481311b98508f4bc2d0abbfa5d42172e7a54b4b24d8f15e28b0dc650be0c59f" dependencies = [ "anyhow", "gimli 0.26.2", @@ -4486,20 +4673,20 @@ dependencies = [ "leb128", "log", "walrus-macro", - "wasm-encoder 0.29.0", - "wasmparser 0.80.2", + "wasm-encoder 0.214.0", + "wasmparser 0.214.0", ] [[package]] name = "walrus-macro" -version = "0.19.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a6e5bd22c71e77d60140b0bd5be56155a37e5bd14e24f5f87298040d0cc40d7" +checksum = "439ad39ff894c43c9649fa724cdde9a6fc50b855d517ef071a93e5df82fe51d3" dependencies = [ "heck", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.90", ] [[package]] @@ -4565,9 +4752,9 @@ checksum = "6ee99da9c5ba11bd675621338ef6fa52296b76b83305e9b6e5c77d4c286d6d49" [[package]] name = "wasm-encoder" -version = "0.29.0" +version = "0.214.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18c41dbd92eaebf3612a39be316540b8377c871cb9bde6b064af962984912881" +checksum = "ff694f02a8d7a50b6922b197ae03883fbf18cdb2ae9fbee7b6148456f5f44041" dependencies = [ "leb128", ] @@ -4590,7 +4777,7 @@ dependencies = [ "cty", "impl-trait-for-tuples", "rs-libc", - "thiserror", + "thiserror 1.0.69", "wasm3-sys", ] @@ -4607,18 +4794,16 @@ dependencies = [ [[package]] name = "wasmparser" -version = "0.80.2" +version = "0.214.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "449167e2832691a1bff24cde28d2804e90e09586a448c8e76984792c44334a6b" - -[[package]] -name = "wasmparser" -version = "0.211.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3189cc8a91f547390e2f043ca3b3e3fe0892f7d581767fd4e4b7f3dc3fe8e561" +checksum = "5309c1090e3e84dad0d382f42064e9933fdaedb87e468cc239f0eabea73ddcb6" dependencies = [ + "ahash", "bitflags 2.6.0", + "hashbrown 0.14.5", "indexmap 2.7.0", + "semver", + "serde", ] [[package]] @@ -4634,13 +4819,13 @@ dependencies = [ [[package]] name = "wasmprinter" -version = "0.211.1" +version = "0.221.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23708dd7a986bd9b12fca26eff525bbc3659a336e947fd9ed9fdf79086825aec" +checksum = "a80742ff1b9e6d8c231ac7c7247782c6fc5bce503af760bca071811e5fc9ee56" dependencies = [ "anyhow", "termcolor", - "wasmparser 0.211.1", + "wasmparser 0.221.2", ] [[package]] @@ -4960,7 +5145,7 @@ dependencies = [ "nom", "oid-registry 0.6.1", "rusticata-macros", - "thiserror", + "thiserror 1.0.69", "time", ] @@ -4977,7 +5162,7 @@ dependencies = [ "nom", "oid-registry 0.7.1", "rusticata-macros", - "thiserror", + "thiserror 1.0.69", "time", ] diff --git a/contract-sdk/Cargo.toml b/contract-sdk/Cargo.toml index 1d976420ca..8d4d0456df 100644 --- a/contract-sdk/Cargo.toml +++ b/contract-sdk/Cargo.toml @@ -12,7 +12,7 @@ oasis-contract-sdk-types = { path = "types" } oasis-contract-sdk-macros = { path = "../contract-sdk-macros", optional = true } # Third party. -thiserror = "1.0.61" +thiserror = "2.0.7" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] oasis-contract-sdk-crypto = { path = "crypto" } diff --git a/contract-sdk/crypto/Cargo.toml b/contract-sdk/crypto/Cargo.toml index 3eb8455874..890147b442 100644 --- a/contract-sdk/crypto/Cargo.toml +++ b/contract-sdk/crypto/Cargo.toml @@ -12,7 +12,7 @@ oasis-runtime-sdk = { path = "../../runtime-sdk" } # Third party. k256 = "0.13.1" -thiserror = "1.0.61" +thiserror = "2.0.7" x25519-dalek = { version = "2.0.1", features = ["static_secrets"] } sha2 = "0.10.8" hmac = "0.12.1" diff --git a/contract-sdk/types/Cargo.toml b/contract-sdk/types/Cargo.toml index 72ea260aac..7048231016 100644 --- a/contract-sdk/types/Cargo.toml +++ b/contract-sdk/types/Cargo.toml @@ -12,7 +12,7 @@ oasis-runtime-sdk = { path = "../../runtime-sdk", optional = true } # Third party. bech32 = "0.11.0" -thiserror = "1.0.61" +thiserror = "2.0.7" [dev-dependencies] hex = "0.4.2" diff --git a/rofl-utils/Cargo.toml b/rofl-utils/Cargo.toml index 43afedb529..0ab84579f4 100644 --- a/rofl-utils/Cargo.toml +++ b/rofl-utils/Cargo.toml @@ -7,13 +7,13 @@ license = "Apache-2.0" [dependencies] der = { version = "0.7.9", default-features = false, features = ["pem", "std"] } -rustls = { version = "0.23.18", default-features = false, features = ["logging", "std", "tls12"] } +rustls = { version = "0.23.20", default-features = false, features = ["logging", "std", "tls12"] } rustls-mbedcrypto-provider = { version = "0.1.0" } -rustls-mbedpki-provider = { version = "0.1.0" } -rustls-pki-types = { version = "1.7.0", default-features = false, features = ["std"] } +rustls-mbedpki-provider = { version = "0.2.0" } +rustls-pki-types = { version = "1.10.1", default-features = false, features = ["std"] } # TODO: Change to released version once 3.x is published. ureq = { git = "https://github.com/algesten/ureq", rev = "e4e7e4e51209d8a14c741ad46991cd83e1a18379", default-features = false, features = ["gzip", "brotli", "charset", "json"] } webpki-root-certs = "0.26.4" [dev-dependencies] -mockito = "0.31.0" +mockito = "1.6.1" diff --git a/runtime-sdk/Cargo.toml b/runtime-sdk/Cargo.toml index 264ecbb675..0cdb0673ba 100644 --- a/runtime-sdk/Cargo.toml +++ b/runtime-sdk/Cargo.toml @@ -26,7 +26,7 @@ p256 = "0.13.2" p384 = { version = "0.13.0", default-features = false, features = ["std", "ecdsa"] } schnorrkel = "0.11.2" merlin = "3.0.0" -thiserror = "1.0.61" +thiserror = "2.0.7" hex = "0.4.2" anyhow = "1.0.86" bech32 = "0.11.0" diff --git a/runtime-sdk/modules/contracts/Cargo.toml b/runtime-sdk/modules/contracts/Cargo.toml index b5b87cbe84..3390726ccd 100644 --- a/runtime-sdk/modules/contracts/Cargo.toml +++ b/runtime-sdk/modules/contracts/Cargo.toml @@ -23,14 +23,14 @@ num-traits = "0.2.14" once_cell = "1.8.0" rand_core = { version = "0.6.4", default-features = false } snap = "1" -thiserror = "1.0" -walrus = "0.20.3" +thiserror = "2.0" +walrus = "0.23.3" [dev-dependencies] wat = "1.211" k256 = "0.13.1" hex = "0.4.2" -wasmprinter = "0.211.1" +wasmprinter = "0.221.2" pretty_assertions = "1.3.0" [features] diff --git a/runtime-sdk/modules/evm/Cargo.toml b/runtime-sdk/modules/evm/Cargo.toml index d3a8f82112..8a45ab0315 100644 --- a/runtime-sdk/modules/evm/Cargo.toml +++ b/runtime-sdk/modules/evm/Cargo.toml @@ -14,7 +14,7 @@ oasis-runtime-sdk = { path = "../.." } anyhow = "1.0" base64 = "0.22.1" blake3 = { version = "~1.5.1", features = ["traits-preview"] } -thiserror = "1.0" +thiserror = "2.0" hex = "0.4.2" sha2 = "0.10.8" substrate-bn = "0.6.0" @@ -32,20 +32,20 @@ ethabi = { version = "18.0.0", default-features = false, features = ["std"] } ethereum = "0.15" evm = { git = "https://github.com/oasisprotocol/evm", tag = "v0.39.1-oasis" } fixed-hash = "0.8.0" -primitive-types = { version = "0.12", default-features = false, features = ["rlp", "num-traits"] } -rlp = "0.5.2" -uint = "0.9.1" +primitive-types = { version = "0.13", default-features = false, features = ["rlp", "num-traits"] } +rlp = "0.6.1" +uint = "0.10.0" # Fuzzing. honggfuzz = "0.5.56" -serde = { version = "1.0.203", features = ["derive"], optional = true } +serde = { version = "1.0.216", features = ["derive"], optional = true } serde_json = { version = "1.0.116", features = ["raw_value"], optional = true } [dev-dependencies] criterion = "0.5.1" oasis-runtime-sdk = { path = "../..", features = ["test"] } rand = "0.8.5" -serde = { version = "1.0.203", features = ["derive"] } +serde = { version = "1.0.216", features = ["derive"] } serde_json = { version = "1.0.116", features = ["raw_value"] } ethabi = { version = "18.0.0", default-features = false, features = ["std", "full-serde"] } diff --git a/tests/runtimes/benchmarking/Cargo.toml b/tests/runtimes/benchmarking/Cargo.toml index b1efaf8a17..bd9858ac12 100644 --- a/tests/runtimes/benchmarking/Cargo.toml +++ b/tests/runtimes/benchmarking/Cargo.toml @@ -11,4 +11,4 @@ oasis-runtime-sdk-evm = { path = "../../../runtime-sdk/modules/evm" } cbor = { version = "0.5.1", package = "oasis-cbor" } # Third party. -thiserror = "1.0" +thiserror = "2.0" diff --git a/tests/runtimes/components-ronl/Cargo.toml b/tests/runtimes/components-ronl/Cargo.toml index f148a7e70f..d0e1f898b6 100644 --- a/tests/runtimes/components-ronl/Cargo.toml +++ b/tests/runtimes/components-ronl/Cargo.toml @@ -11,7 +11,7 @@ oasis-runtime-sdk = { path = "../../../runtime-sdk" } # Third party. once_cell = "1.8.0" -thiserror = "1.0" +thiserror = "2.0" [features] # Enables mock SGX in non-SGX builds. diff --git a/tests/runtimes/simple-contracts/Cargo.toml b/tests/runtimes/simple-contracts/Cargo.toml index 47119befa1..d962445da5 100644 --- a/tests/runtimes/simple-contracts/Cargo.toml +++ b/tests/runtimes/simple-contracts/Cargo.toml @@ -11,7 +11,7 @@ oasis-runtime-sdk = { path = "../../../runtime-sdk" } oasis-runtime-sdk-contracts = { path = "../../../runtime-sdk/modules/contracts" } # Third party. -thiserror = "1.0" +thiserror = "2.0" [features] # Enables mock SGX in non-SGX builds. diff --git a/tests/runtimes/simple-evm/Cargo.toml b/tests/runtimes/simple-evm/Cargo.toml index 52c6233dc3..a94cfeef02 100644 --- a/tests/runtimes/simple-evm/Cargo.toml +++ b/tests/runtimes/simple-evm/Cargo.toml @@ -11,7 +11,7 @@ oasis-runtime-sdk = { path = "../../../runtime-sdk" } oasis-runtime-sdk-evm = { path = "../../../runtime-sdk/modules/evm" } # Third party. -thiserror = "1.0" +thiserror = "2.0" [features] confidential = [] diff --git a/tests/runtimes/simple-keyvalue/Cargo.toml b/tests/runtimes/simple-keyvalue/Cargo.toml index 94590c6f62..8a667f6ede 100644 --- a/tests/runtimes/simple-keyvalue/Cargo.toml +++ b/tests/runtimes/simple-keyvalue/Cargo.toml @@ -11,7 +11,7 @@ cbor = { version = "0.5.1", package = "oasis-cbor" } # Third party. anyhow = "1.0.86" -thiserror = "1.0" +thiserror = "2.0" futures = "0.3.18" [features]