From 606b9938f3aac3a3be334ac56232438bef8a1ee2 Mon Sep 17 00:00:00 2001 From: Szilard Parrag Date: Wed, 31 May 2023 17:20:25 +0200 Subject: [PATCH 01/34] polkadot update v0.9.42 --- Cargo.lock | 1281 ++++++++--------- app-libs/sgx-runtime/Cargo.toml | 54 +- app-libs/stf/Cargo.toml | 20 +- cli/Cargo.toml | 26 +- .../attestation-handler/Cargo.toml | 4 +- core-primitives/enclave-api/Cargo.toml | 10 +- core-primitives/extrinsics-factory/Cargo.toml | 6 +- core-primitives/hashing/Cargo.toml | 2 +- .../node-api/api-client-extensions/Cargo.toml | 8 +- .../node-api/api-client-types/Cargo.toml | 8 +- core-primitives/node-api/factory/Cargo.toml | 2 +- core-primitives/node-api/metadata/Cargo.toml | 2 +- core-primitives/ocall-api/Cargo.toml | 6 +- .../sgx-runtime-primitives/Cargo.toml | 8 +- core-primitives/sgx/crypto/Cargo.toml | 2 +- core-primitives/stf-executor/Cargo.toml | 4 +- core-primitives/stf-primitives/Cargo.toml | 4 +- core-primitives/stf-state-handler/Cargo.toml | 2 +- core-primitives/storage/Cargo.toml | 12 +- .../substrate-sgx/externalities/Cargo.toml | 2 +- .../substrate-sgx/sp-io/Cargo.toml | 10 +- core-primitives/teerex-storage/Cargo.toml | 2 +- core-primitives/test/Cargo.toml | 6 +- core-primitives/top-pool-author/Cargo.toml | 6 +- core-primitives/top-pool/Cargo.toml | 6 +- core-primitives/types/Cargo.toml | 12 +- core-primitives/utils/Cargo.toml | 4 +- core/direct-rpc-server/Cargo.toml | 2 +- core/offchain-worker-executor/Cargo.toml | 4 +- .../block-import-dispatcher/Cargo.toml | 2 +- core/parentchain/block-importer/Cargo.toml | 2 +- .../indirect-calls-executor/Cargo.toml | 6 +- core/parentchain/light-client/Cargo.toml | 14 +- core/parentchain/parentchain-crate/Cargo.toml | 2 +- core/parentchain/test/Cargo.toml | 12 +- core/rpc-server/Cargo.toml | 2 +- core/tls-websocket-server/Cargo.toml | 2 +- enclave-runtime/Cargo.lock | 842 ++++++----- enclave-runtime/Cargo.toml | 10 +- service/Cargo.toml | 22 +- sidechain/block-composer/Cargo.toml | 4 +- sidechain/block-verification/Cargo.toml | 10 +- sidechain/consensus/aura/Cargo.toml | 8 +- sidechain/consensus/common/Cargo.toml | 4 +- sidechain/consensus/slots/Cargo.toml | 6 +- sidechain/primitives/Cargo.toml | 8 +- sidechain/rpc-handler/Cargo.toml | 2 +- sidechain/state/Cargo.toml | 8 +- sidechain/storage/Cargo.toml | 2 +- sidechain/test/Cargo.toml | 2 +- sidechain/validateer-fetch/Cargo.toml | 8 +- 51 files changed, 1266 insertions(+), 1227 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c8a14a29d8..55ab47d33a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9,34 +9,31 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3" dependencies = [ "lazy_static", - "regex 1.8.1", + "regex 1.8.3", ] [[package]] name = "ac-compose-macros" -version = "0.2.3" -source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.39#d872c2ca4328a30222e4d470c8fc4921abad9f34" +version = "0.4.0" +source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.42#9bfdbdec280944a6f9cabf71113b4f880fa292c4" dependencies = [ "ac-primitives", - "log 0.4.17", - "parity-scale-codec", - "sp-application-crypto", - "sp-core", - "sp-runtime", + "log 0.4.18", + "maybe-async", ] [[package]] name = "ac-node-api" -version = "0.2.3" -source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.39#d872c2ca4328a30222e4d470c8fc4921abad9f34" +version = "0.4.0" +source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.42#9bfdbdec280944a6f9cabf71113b4f880fa292c4" dependencies = [ "ac-primitives", "bitvec", "derive_more", "either", - "frame-metadata 15.1.0 (git+https://github.com/paritytech/frame-metadata)", + "frame-metadata 15.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "hex", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "scale-info", "serde 1.0.163", @@ -49,25 +46,26 @@ dependencies = [ [[package]] name = "ac-primitives" -version = "0.5.0" -source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.39#d872c2ca4328a30222e4d470c8fc4921abad9f34" +version = "0.7.0" +source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.42#9bfdbdec280944a6f9cabf71113b4f880fa292c4" dependencies = [ "frame-system", - "hex", "impl-serde", "pallet-assets", "pallet-balances", - "pallet-contracts", - "pallet-staking", "parity-scale-codec", "primitive-types", "scale-info", "serde 1.0.163", "serde_json 1.0.96", + "sp-application-crypto", "sp-core", + "sp-core-hashing", "sp-runtime", + "sp-runtime-interface", "sp-staking", "sp-version", + "sp-weights", ] [[package]] @@ -132,7 +130,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" dependencies = [ "getrandom 0.2.9", - "once_cell 1.17.1", + "once_cell 1.17.2", "version_check", ] @@ -144,7 +142,7 @@ checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" dependencies = [ "cfg-if 1.0.0", "getrandom 0.2.9", - "once_cell 1.17.1", + "once_cell 1.17.2", "version_check", ] @@ -166,6 +164,12 @@ dependencies = [ "memchr 2.5.0", ] +[[package]] +name = "android-tzdata" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" + [[package]] name = "android_system_properties" version = "0.1.5" @@ -246,7 +250,7 @@ checksum = "b9ccdd8f2a161be9bd5c023df56f1b2a0bd1d83872ae53b71a84a12c9bf6e842" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.18", ] [[package]] @@ -304,9 +308,9 @@ dependencies = [ [[package]] name = "base16ct" -version = "0.1.1" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "349a06037c7bf932dd7e7d1f653678b2038b9ad46a74102f1fc7bd7872678cce" +checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" [[package]] name = "base58" @@ -346,9 +350,9 @@ checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" [[package]] name = "base64" -version = "0.21.0" +version = "0.21.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a4ddaa51a5bc52a6948f74c06d20aaaddb71924eab79b8c97a8c556e942d6a" +checksum = "604178f6c5c21f02dc555784810edfb88d34ac2c73b2eae109655649ee73ce3d" [[package]] name = "base64ct" @@ -368,10 +372,10 @@ dependencies = [ [[package]] name = "binary-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ - "hash-db", - "log 0.4.17", + "hash-db 0.16.0", + "log 0.4.18", ] [[package]] @@ -397,7 +401,7 @@ dependencies = [ "peeking_take_while", "proc-macro2", "quote", - "regex 1.8.1", + "regex 1.8.3", "rustc-hash", "shlex", ] @@ -432,7 +436,7 @@ version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "46502ad458c9a52b69d4d4d32775c788b7a1b85e8bc9d482d92250fc0e3f8efe" dependencies = [ - "digest 0.10.6", + "digest 0.10.7", ] [[package]] @@ -442,7 +446,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5d6d530bdd2d52966a6d03b7a964add7ae1a288d25214066fd4b600f0f796400" dependencies = [ "arrayvec 0.4.12", - "constant_time_eq", + "constant_time_eq 0.1.5", +] + +[[package]] +name = "blake2b_simd" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c2f0dc9a68c6317d884f97cc36cf5a3d20ba14ce404227df55e1af708ab04bc" +dependencies = [ + "arrayref", + "arrayvec 0.7.2", + "constant_time_eq 0.2.5", ] [[package]] @@ -500,7 +515,7 @@ version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "07fbd1d11282a1eb134d3c3b7cf8ce213b5161c6e5f73fb1b98618482c606b64" dependencies = [ - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "scale-info", "serde 1.0.163", @@ -514,9 +529,9 @@ checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" [[package]] name = "bstr" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3d4260bcc2e8fc9df1eac4919a720effeb63a3f0952f5bf4944adfa18897f09" +checksum = "a246e68bb43f6cd9db24bea052a53e40405417c5fb372e3d1a8a7f770a564ef5" dependencies = [ "memchr 2.5.0", "serde 1.0.163", @@ -533,9 +548,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.12.2" +version = "3.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c6ed94e98ecff0c12dd1b04c15ec0d7d9458ca8fe806cea6f12954efe74c63b" +checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1" [[package]] name = "byte-slice-cast" @@ -682,13 +697,13 @@ dependencies = [ [[package]] name = "chrono" -version = "0.4.24" +version = "0.4.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e3c5919066adf22df73762e50cffcde3a758f2a848b113b586d1f86728b673b" +checksum = "ec837a71355b28f6556dbd569b37b3f363091c0bd4b2e735674521b4c5fd9bc5" dependencies = [ + "android-tzdata", "iana-time-zone", "js-sys", - "num-integer 0.1.45", "num-traits 0.2.15", "serde 1.0.163", "time", @@ -708,13 +723,13 @@ dependencies = [ [[package]] name = "claims-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.39#4239d3defa20c3fbd13966f62ce85e9a407bd7bf" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#e124aebb2d3d05a9a65f209f8e6304c6790f15d5" dependencies = [ "parity-scale-codec", "rustc-hex", "scale-info", "serde 1.0.163", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", "sp-std", ] @@ -757,7 +772,7 @@ dependencies = [ "clap_derive", "clap_lex", "indexmap 1.9.3", - "once_cell 1.17.1", + "once_cell 1.17.2", "strsim 0.10.0", "termcolor", "textwrap 0.16.0", @@ -813,7 +828,7 @@ dependencies = [ [[package]] name = "common-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.39#4239d3defa20c3fbd13966f62ce85e9a407bd7bf" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#e124aebb2d3d05a9a65f209f8e6304c6790f15d5" dependencies = [ "sp-std", ] @@ -830,6 +845,12 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" +[[package]] +name = "constant_time_eq" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13418e745008f7349ec7e449155f419a61b92b58a99cc3616942b926825ec76b" + [[package]] name = "convert_case" version = "0.4.0" @@ -939,9 +960,9 @@ checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" [[package]] name = "crypto-bigint" -version = "0.4.9" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef2b4b23cddf68b89b8f8069890e8c270d54e2d5fe1b143820234805e4cb17ef" +checksum = "cf4c2f4e1afd912bc40bfd6fed5d9dc1f288e0ba01bfcc835cc5bc3eb13efe15" dependencies = [ "generic-array 0.14.7", "rand_core 0.6.4", @@ -1016,9 +1037,9 @@ dependencies = [ [[package]] name = "cxx" -version = "1.0.94" +version = "1.0.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f61f1b6389c3fe1c316bf8a4dccc90a38208354b330925bce1f74a6c4756eb93" +checksum = "109308c20e8445959c2792e81871054c6a17e6976489a93d2769641a2ba5839c" dependencies = [ "cc", "cxxbridge-flags", @@ -1028,41 +1049,41 @@ dependencies = [ [[package]] name = "cxx-build" -version = "1.0.94" +version = "1.0.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12cee708e8962df2aeb38f594aae5d827c022b6460ac71a7a3e2c3c2aae5a07b" +checksum = "daf4c6755cdf10798b97510e0e2b3edb9573032bd9379de8fffa59d68165494f" dependencies = [ "cc", "codespan-reporting", - "once_cell 1.17.1", + "once_cell 1.17.2", "proc-macro2", "quote", "scratch", - "syn 2.0.16", + "syn 2.0.18", ] [[package]] name = "cxxbridge-flags" -version = "1.0.94" +version = "1.0.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7944172ae7e4068c533afbb984114a56c46e9ccddda550499caa222902c7f7bb" +checksum = "882074421238e84fe3b4c65d0081de34e5b323bf64555d3e61991f76eb64a7bb" [[package]] name = "cxxbridge-macro" -version = "1.0.94" +version = "1.0.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2345488264226bf682893e25de0769f3360aac9957980ec49361b083ddaa5bc5" +checksum = "4a076022ece33e7686fb76513518e219cca4fce5750a8ae6d1ce6c0f48fd1af9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.18", ] [[package]] name = "data-encoding" -version = "2.3.3" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23d8666cb01533c39dde32bcbab8e227b4ed6679b2c925eba05feabea39508fb" +checksum = "c2e66c9d817f1720209181c316d28635c050fa304f9c79e47a520882661b7308" [[package]] name = "der" @@ -1073,6 +1094,15 @@ dependencies = [ "const-oid", "der_derive", "flagset", +] + +[[package]] +name = "der" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56acb310e15652100da43d130af8d97b509e95af61aab1c5a7939ef24337ee17" +dependencies = [ + "const-oid", "zeroize", ] @@ -1147,11 +1177,12 @@ dependencies = [ [[package]] name = "digest" -version = "0.10.6" +version = "0.10.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8168378f4e5023e7218c89c891c0fd8ecdb5e5e4f18cb78f38cf245dd021e76f" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ "block-buffer 0.10.4", + "const-oid", "crypto-common", "subtle", ] @@ -1217,14 +1248,16 @@ checksum = "68b0cf012f1230e43cd00ebb729c6bb58707ecfa8ad08b52ef3a4ccd2697fc30" [[package]] name = "ecdsa" -version = "0.14.8" +version = "0.16.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "413301934810f597c1d19ca71c8710e99a3f1ba28a0d2ebc01551a2daeea3c5c" +checksum = "0997c976637b606099b9985693efa3581e84e41f5c11ba5255f88711058ad428" dependencies = [ - "der", + "der 0.7.6", + "digest 0.10.7", "elliptic-curve", "rfc6979", - "signature", + "signature 2.1.0", + "spki 0.7.2", ] [[package]] @@ -1233,7 +1266,7 @@ version = "1.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "91cff35c70bba8a626e3185d8cd48cc11b5437e1a5bcd15b9b5fa3c64b6dfee7" dependencies = [ - "signature", + "signature 1.6.4", ] [[package]] @@ -1270,17 +1303,17 @@ checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91" [[package]] name = "elliptic-curve" -version = "0.12.3" +version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7bb888ab5300a19b8e5bceef25ac745ad065f3c9f7efc6de1b91958110891d3" +checksum = "968405c8fdc9b3bf4df0a6638858cc0b52462836ab6b1c87377785dd09cf1c0b" dependencies = [ "base16ct", "crypto-bigint", - "der", - "digest 0.10.6", + "digest 0.10.7", "ff", "generic-array 0.14.7", "group", + "pkcs8", "rand_core 0.6.4", "sec1", "subtle", @@ -1304,8 +1337,8 @@ checksum = "a12e6657c4c97ebab115a42dcee77225f7f482cdd841cf7088c657a42e9e00e7" dependencies = [ "atty", "humantime", - "log 0.4.17", - "regex 1.8.1", + "log 0.4.18", + "regex 1.8.3", "termcolor", ] @@ -1317,8 +1350,8 @@ checksum = "85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0" dependencies = [ "humantime", "is-terminal", - "log 0.4.17", - "regex 1.8.1", + "log 0.4.18", + "regex 1.8.3", "termcolor", ] @@ -1379,7 +1412,7 @@ checksum = "6a89fb87a9e103f71b903b80b670200b54cc67a07578f070681f1fffb7396fb7" dependencies = [ "bytes 1.4.0", "ethereum-types", - "hash-db", + "hash-db 0.15.2", "hash256-std-hasher", "parity-scale-codec", "rlp", @@ -1407,9 +1440,9 @@ dependencies = [ [[package]] name = "evm" -version = "0.37.0" +version = "0.39.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4448c65b71e8e2b9718232d84d09045eeaaccb2320494e6bd6dbf7e58fec8ff" +checksum = "a49a4e11987c51220aa89dbe1a5cc877f5079fa6864c0a5b4533331db44e9365" dependencies = [ "auto_impl", "environmental 1.1.4", @@ -1417,7 +1450,7 @@ dependencies = [ "evm-core", "evm-gasometer", "evm-runtime", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "primitive-types", "rlp", @@ -1428,9 +1461,9 @@ dependencies = [ [[package]] name = "evm-core" -version = "0.37.0" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64c51bec0eb68a891c2575c758eaaa1d61373fc51f7caaf216b1fb5c3fea3b5d" +checksum = "4f1f13264b044cb66f0602180f0bc781c29accb41ff560669a3ec15858d5b606" dependencies = [ "parity-scale-codec", "primitive-types", @@ -1440,9 +1473,9 @@ dependencies = [ [[package]] name = "evm-gasometer" -version = "0.37.0" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8b93c59c54fc26522d842f0e0d3f8e8be331c776df18ff3e540b53c2f64d509" +checksum = "8d43eadc395bd1a52990787ca1495c26b0248165444912be075c28909a853b8c" dependencies = [ "environmental 1.1.4", "evm-core", @@ -1452,9 +1485,9 @@ dependencies = [ [[package]] name = "evm-runtime" -version = "0.37.0" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c79b9459ce64f1a28688397c4013764ce53cd57bb84efc16b5187fa9b05b13ad" +checksum = "2aa5b32f59ec582a5651978004e5c784920291263b7dcb6de418047438e37f4f" dependencies = [ "auto_impl", "environmental 1.1.4", @@ -1463,6 +1496,19 @@ dependencies = [ "sha3", ] +[[package]] +name = "expander" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f360349150728553f92e4c997a16af8915f418d3a0f21b440d34c5632f16ed84" +dependencies = [ + "blake2", + "fs-err", + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "failure" version = "0.1.8" @@ -1508,9 +1554,9 @@ dependencies = [ [[package]] name = "ff" -version = "0.12.1" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d013fc25338cc558c5c2cfbad646908fb23591e2404481826742b651c9af7160" +checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" dependencies = [ "rand_core 0.6.4", "subtle", @@ -1537,7 +1583,7 @@ dependencies = [ "either", "futures 0.3.28", "futures-timer", - "log 0.4.17", + "log 0.4.18", "num-traits 0.2.15", "parity-scale-codec", "parking_lot 0.12.1", @@ -1630,17 +1676,17 @@ dependencies = [ [[package]] name = "fp-account" version = "1.0.0-dev" -source = "git+https://github.com/integritee-network/frontier.git?branch=polkadot-v0.9.39#3297c466619934d462e0b845c1ab1e81906dcb18" +source = "git+https://github.com/integritee-network/frontier.git?branch=bar/polkadot-v0.9.42#a5a5e1e6ec08cd542a6084c310863150fb8841b1" dependencies = [ "hex", "impl-serde", "libsecp256k1", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "scale-info", "serde 1.0.163", "sp-core", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", "sp-std", ] @@ -1648,11 +1694,12 @@ dependencies = [ [[package]] name = "fp-evm" version = "3.0.0-dev" -source = "git+https://github.com/integritee-network/frontier.git?branch=polkadot-v0.9.39#3297c466619934d462e0b845c1ab1e81906dcb18" +source = "git+https://github.com/integritee-network/frontier.git?branch=bar/polkadot-v0.9.42#a5a5e1e6ec08cd542a6084c310863150fb8841b1" dependencies = [ "evm", "frame-support", "parity-scale-codec", + "scale-info", "serde 1.0.163", "sp-core", "sp-runtime", @@ -1668,13 +1715,13 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-support", "frame-support-procedural", "frame-system", "linregress", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "paste", "scale-info", @@ -1682,7 +1729,7 @@ dependencies = [ "sp-api", "sp-application-crypto", "sp-core", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", "sp-runtime-interface", "sp-std", @@ -1690,45 +1737,17 @@ dependencies = [ "static_assertions", ] -[[package]] -name = "frame-election-provider-solution-type" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" -dependencies = [ - "proc-macro-crate", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "frame-election-provider-support" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" -dependencies = [ - "frame-election-provider-solution-type", - "frame-support", - "frame-system", - "parity-scale-codec", - "scale-info", - "sp-arithmetic", - "sp-core", - "sp-npos-elections", - "sp-runtime", - "sp-std", -] - [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-support", "frame-system", "parity-scale-codec", "scale-info", "sp-core", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", "sp-std", "sp-tracing", @@ -1749,7 +1768,7 @@ dependencies = [ [[package]] name = "frame-metadata" version = "15.1.0" -source = "git+https://github.com/paritytech/frame-metadata#438a5b098bb9d5b5a09bdc5b68275b2c5e63a010" +source = "git+https://github.com/paritytech/frame-metadata#0c6400964fe600ea07f8233810415f6958fe4e20" dependencies = [ "cfg-if 1.0.0", "parity-scale-codec", @@ -1760,15 +1779,16 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "bitflags", + "environmental 1.1.4", "frame-metadata 15.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "frame-support-procedural", "impl-trait-for-tuples", "k256", - "log 0.4.17", - "once_cell 1.17.1", + "log 0.4.18", + "once_cell 1.17.2", "parity-scale-codec", "paste", "scale-info", @@ -1779,7 +1799,7 @@ dependencies = [ "sp-core", "sp-core-hashing-proc-macro", "sp-inherents", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", "sp-staking", "sp-state-machine", @@ -1792,52 +1812,53 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "Inflector", "cfg-expr", "derive-syn-parse", "frame-support-procedural-tools", "itertools", + "proc-macro-warning", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.18", ] [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.18", ] [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.18", ] [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-support", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "scale-info", "serde 1.0.163", "sp-core", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", "sp-std", "sp-version", @@ -1847,7 +1868,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-benchmarking", "frame-support", @@ -1862,12 +1883,18 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "parity-scale-codec", "sp-api", ] +[[package]] +name = "fs-err" +version = "2.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0845fa252299212f0389d64ba26f34fa32cfe41588355f21ed507c59a0f64541" + [[package]] name = "fuchsia-zircon" version = "0.3.3" @@ -2010,7 +2037,7 @@ checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.18", ] [[package]] @@ -2109,6 +2136,7 @@ checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" dependencies = [ "typenum 1.16.0 (registry+https://github.com/rust-lang/crates.io-index)", "version_check", + "zeroize", ] [[package]] @@ -2175,15 +2203,15 @@ dependencies = [ "aho-corasick 0.7.20", "bstr", "fnv 1.0.7", - "log 0.4.17", - "regex 1.8.1", + "log 0.4.18", + "regex 1.8.3", ] [[package]] name = "group" -version = "0.12.1" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5dfbfb3a6cfbd390d5c9564ab283a0349b9b9fcd46a706c1eb10e0db70bfbac7" +checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" dependencies = [ "ff", "rand_core 0.6.4", @@ -2215,6 +2243,12 @@ version = "0.15.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d23bd4e7b5eda0d0f3a307e8b381fdc8ba9000f26fbe912250c0a4cc3956364a" +[[package]] +name = "hash-db" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e7d7786361d7425ae2fe4f9e407eb0efaa0840f5212d109cc018c40c35c6ab4" + [[package]] name = "hash256-std-hasher" version = "0.15.2" @@ -2257,7 +2291,7 @@ dependencies = [ [[package]] name = "hashbrown_tstd" version = "0.12.0" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" [[package]] name = "hdrhistogram" @@ -2366,7 +2400,7 @@ version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" dependencies = [ - "digest 0.10.6", + "digest 0.10.7", ] [[package]] @@ -2418,7 +2452,7 @@ name = "http_req" version = "0.8.1" source = "git+https://github.com/integritee-network/http_req?branch=master#3723e88235f2b29bc1a31835853b072ffd0455fd" dependencies = [ - "log 0.4.17", + "log 0.4.18", "rustls 0.19.1", "unicase 2.6.0 (registry+https://github.com/rust-lang/crates.io-index)", "webpki 0.21.4 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2430,7 +2464,7 @@ name = "http_req" version = "0.8.1" source = "git+https://github.com/integritee-network/http_req#3723e88235f2b29bc1a31835853b072ffd0455fd" dependencies = [ - "log 0.4.17", + "log 0.4.18", "rustls 0.19.0 (git+https://github.com/mesalock-linux/rustls?branch=mesalock_sgx)", "sgx_tstd", "unicase 2.6.0 (git+https://github.com/mesalock-linux/unicase-sgx)", @@ -2510,7 +2544,7 @@ dependencies = [ "ct-logs", "futures-util 0.3.28", "hyper", - "log 0.4.17", + "log 0.4.18", "rustls 0.19.1", "rustls-native-certs", "tokio", @@ -2634,12 +2668,6 @@ dependencies = [ "serde 1.0.163", ] -[[package]] -name = "indexmap-nostd" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e04e2fd2b8188ea827b32ef11de88377086d690286ab35747ef7f9bf3ccb590" - [[package]] name = "instant" version = "0.1.12" @@ -2665,7 +2693,7 @@ dependencies = [ "array-bytes 6.1.0", "base58", "blake2-rfc", - "chrono 0.4.24", + "chrono 0.4.26", "clap 3.2.25", "env_logger 0.9.3", "frame-system", @@ -2681,7 +2709,7 @@ dependencies = [ "itp-time-utils", "itp-types", "itp-utils", - "log 0.4.17", + "log 0.4.18", "pallet-balances", "pallet-evm", "pallet-teerex", @@ -2707,7 +2735,7 @@ dependencies = [ [[package]] name = "integritee-node-runtime" version = "1.0.32" -source = "git+https://github.com/integritee-network/integritee-node.git?branch=polkadot-v0.9.39#89f8cc939c719025cd57379a007b7f36a58bdd29" +source = "git+https://github.com/integritee-network/integritee-node.git?branch=szp/polkadot-v0.9.42#03c799358ad096e97852d5322fc67ce0d4aced03" dependencies = [ "frame-executive", "frame-support", @@ -2786,7 +2814,7 @@ dependencies = [ "its-test", "jsonrpsee", "lazy_static", - "log 0.4.17", + "log 0.4.18", "mockall", "pallet-balances", "parity-scale-codec", @@ -2803,8 +2831,8 @@ dependencies = [ "sgx_types", "sgx_urts", "sha2 0.7.1", + "sp-consensus-grandpa", "sp-core", - "sp-finality-grandpa", "sp-keyring", "sp-runtime", "substrate-api-client", @@ -2816,9 +2844,9 @@ dependencies = [ [[package]] name = "io-lifetimes" -version = "1.0.10" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c66c74d2ae7e79a5a8f7ac924adbe38ee42a859c6539ad869eb51f0b52dc220" +checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" dependencies = [ "hermit-abi 0.3.1", "libc", @@ -2887,7 +2915,7 @@ dependencies = [ "itp-enclave-metrics", "itp-ocall-api", "lazy_static", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "serde 1.0.163", "serde_json 1.0.96", @@ -2956,7 +2984,7 @@ dependencies = [ "itp-storage", "itp-types", "itp-utils", - "log 0.4.17", + "log 0.4.18", "pallet-balances", "pallet-parentchain", "pallet-sudo", @@ -2981,7 +3009,7 @@ dependencies = [ "itp-utils", "jsonrpc-core 18.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "jsonrpc-core 18.0.0 (git+https://github.com/scs/jsonrpc?branch=no_std_v18)", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "serde_json 1.0.96", "sgx_tstd", @@ -3006,7 +3034,7 @@ dependencies = [ "itp-test", "itp-top-pool-author", "itp-types", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "sgx_tstd", "sgx_types", @@ -3037,7 +3065,7 @@ dependencies = [ "itc-parentchain-block-importer", "itp-import-queue", "itp-types", - "log 0.4.17", + "log 0.4.18", "sgx_tstd", "sgx_types", "sp-runtime", @@ -3056,7 +3084,7 @@ dependencies = [ "itp-settings", "itp-stf-executor", "itp-types", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "sgx_tstd", "sgx_types", @@ -3085,7 +3113,7 @@ dependencies = [ "itp-test", "itp-top-pool-author", "itp-types", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "sgx_tstd", "sgx_types", @@ -3102,7 +3130,7 @@ dependencies = [ "derive_more", "finality-grandpa", "frame-system", - "hash-db", + "hash-db 0.15.2", "itc-parentchain-test", "itp-ocall-api", "itp-sgx-io", @@ -3111,14 +3139,14 @@ dependencies = [ "itp-test", "itp-types", "lazy_static", - "log 0.4.17", + "log 0.4.18", "num-traits 0.2.15", "parity-scale-codec", "sgx_tstd", "sgx_types", "sp-application-crypto", + "sp-consensus-grandpa", "sp-core", - "sp-finality-grandpa", "sp-runtime", "sp-trie", "thiserror 1.0.40", @@ -3132,12 +3160,12 @@ dependencies = [ "frame-support", "frame-system", "itp-types", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "scale-info", "serde 1.0.163", "sp-core", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", "sp-std", ] @@ -3151,7 +3179,7 @@ dependencies = [ "http 0.2.9", "http_req 0.8.1 (git+https://github.com/integritee-network/http_req?branch=master)", "http_req 0.8.1 (git+https://github.com/integritee-network/http_req)", - "log 0.4.17", + "log 0.4.18", "serde 1.0.163", "serde_json 1.0.96", "sgx_tstd", @@ -3174,7 +3202,7 @@ dependencies = [ "itp-rpc", "itp-types", "itp-utils", - "log 0.4.17", + "log 0.4.18", "openssl", "parity-scale-codec", "parking_lot 0.12.1", @@ -3202,7 +3230,7 @@ dependencies = [ "its-storage", "its-test", "jsonrpsee", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "serde_json 1.0.96", "sp-core", @@ -3214,9 +3242,9 @@ name = "itc-tls-websocket-server" version = "0.9.0" dependencies = [ "bit-vec", - "chrono 0.4.24", + "chrono 0.4.26", "env_logger 0.9.3", - "log 0.4.17", + "log 0.4.18", "mio 0.6.21", "mio 0.6.23", "mio-extras 2.0.6 (git+https://github.com/integritee-network/mio-extras-sgx?rev=963234b)", @@ -3268,8 +3296,8 @@ dependencies = [ "itp-api-client-types", "itp-types", "parity-scale-codec", + "sp-consensus-grandpa", "sp-core", - "sp-finality-grandpa", "sp-runtime", "substrate-api-client", "thiserror 1.0.40", @@ -3295,7 +3323,7 @@ dependencies = [ "base64 0.13.1", "bit-vec", "chrono 0.4.11", - "chrono 0.4.24", + "chrono 0.4.26", "hex", "httparse 1.4.1", "itertools", @@ -3305,7 +3333,7 @@ dependencies = [ "itp-sgx-io", "itp-time-utils", "itp-types", - "log 0.4.17", + "log 0.4.18", "num-bigint 0.2.5", "parity-scale-codec", "rustls 0.19.0 (git+https://github.com/mesalock-linux/rustls?rev=sgx_1.1.3)", @@ -3347,14 +3375,14 @@ dependencies = [ "itp-settings", "itp-storage", "itp-types", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "serde_json 1.0.96", "sgx_crypto_helper", "sgx_types", "sgx_urts", + "sp-consensus-grandpa", "sp-core", - "sp-finality-grandpa", "sp-runtime", "teerex-primitives", "thiserror 1.0.40", @@ -3383,7 +3411,7 @@ dependencies = [ "itp-node-api", "itp-nonce-cache", "itp-types", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "sgx_tstd", "sgx_types", @@ -3516,7 +3544,7 @@ dependencies = [ "itp-settings", "itp-sgx-io", "itp-sgx-temp-dir", - "log 0.4.17", + "log 0.4.18", "ofb", "parity-scale-codec", "serde 1.0.118 (git+https://github.com/mesalock-linux/serde-sgx?tag=sgx_1.1.3)", @@ -3537,7 +3565,7 @@ dependencies = [ "derive_more", "environmental 1.1.3", "itp-hashing", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "postcard", "serde 1.0.163", @@ -3590,7 +3618,7 @@ dependencies = [ "itp-time-utils", "itp-top-pool-author", "itp-types", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "sgx_crypto_helper", "sgx_tstd", @@ -3635,7 +3663,7 @@ dependencies = [ "itp-time-utils", "itp-types", "lazy_static", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "rust-base58 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)", "rust-base58 0.0.4 (git+https://github.com/mesalock-linux/rust-base58-sgx?rev=sgx_1.1.3)", @@ -3652,7 +3680,7 @@ name = "itp-stf-state-observer" version = "0.9.0" dependencies = [ "itp-types", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "sgx_tstd", "thiserror 1.0.40", @@ -3666,7 +3694,7 @@ dependencies = [ "derive_more", "frame-metadata 15.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "frame-support", - "hash-db", + "hash-db 0.15.2", "itp-types", "parity-scale-codec", "sgx_tstd", @@ -3734,7 +3762,7 @@ dependencies = [ "jsonrpc-core 18.0.0 (git+https://github.com/scs/jsonrpc?branch=no_std_v18)", "linked-hash-map 0.5.2", "linked-hash-map 0.5.6", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "parity-util-mem", "serde 1.0.163", @@ -3765,7 +3793,7 @@ dependencies = [ "itp-utils", "jsonrpc-core 18.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "jsonrpc-core 18.0.0 (git+https://github.com/scs/jsonrpc?branch=no_std_v18)", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "sgx_crypto_helper", "sgx_tstd", @@ -3781,7 +3809,7 @@ dependencies = [ name = "itp-types" version = "0.9.0" dependencies = [ - "chrono 0.4.24", + "chrono 0.4.26", "frame-system", "integritee-node-runtime", "itp-sgx-runtime-primitives", @@ -3824,7 +3852,7 @@ dependencies = [ "itp-types", "its-primitives", "its-state", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "sgx_tstd", "sgx_types", @@ -3844,7 +3872,7 @@ dependencies = [ "itp-utils", "its-primitives", "its-test", - "log 0.4.17", + "log 0.4.18", "sgx_tstd", "sp-consensus-slots", "sp-core", @@ -3885,7 +3913,7 @@ dependencies = [ "its-state", "its-test", "its-validateer-fetch", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "sgx_tstd", "sp-core", @@ -3914,7 +3942,7 @@ dependencies = [ "its-primitives", "its-state", "its-test", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "sgx_tstd", "sgx_types", @@ -3941,7 +3969,7 @@ dependencies = [ "its-primitives", "its-test", "lazy_static", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "sgx_tstd", "sp-consensus-slots", @@ -3964,7 +3992,7 @@ dependencies = [ "its-storage", "its-test", "jsonrpsee", - "log 0.4.17", + "log 0.4.18", "serde 1.0.163", "serde_json 1.0.96", "thiserror 1.0.40", @@ -3979,7 +4007,7 @@ dependencies = [ "scale-info", "serde 1.0.163", "sp-core", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", "sp-std", ] @@ -3996,7 +4024,7 @@ dependencies = [ "its-primitives", "jsonrpc-core 18.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "jsonrpc-core 18.0.0 (git+https://github.com/scs/jsonrpc?branch=no_std_v18)", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "rust-base58 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)", "rust-base58 0.0.4 (git+https://github.com/mesalock-linux/rust-base58-sgx?rev=sgx_1.1.3)", @@ -4027,7 +4055,7 @@ dependencies = [ "itp-sgx-externalities", "itp-storage", "its-primitives", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "serde 1.0.163", "sgx_tstd", @@ -4048,7 +4076,7 @@ dependencies = [ "itp-types", "its-primitives", "its-test", - "log 0.4.17", + "log 0.4.18", "mockall", "parity-scale-codec", "parking_lot 0.12.1", @@ -4115,7 +4143,7 @@ dependencies = [ "futures 0.3.28", "futures-executor 0.3.28", "futures-util 0.3.28", - "log 0.4.17", + "log 0.4.18", "serde 1.0.163", "serde_derive 1.0.163", "serde_json 1.0.96", @@ -4160,7 +4188,7 @@ dependencies = [ "hyper-rustls", "jsonrpsee-types", "jsonrpsee-utils", - "log 0.4.17", + "log 0.4.18", "serde 1.0.163", "serde_json 1.0.96", "thiserror 1.0.40", @@ -4180,7 +4208,7 @@ dependencies = [ "jsonrpsee-types", "jsonrpsee-utils", "lazy_static", - "log 0.4.17", + "log 0.4.18", "serde 1.0.163", "serde_json 1.0.96", "socket2", @@ -4213,7 +4241,7 @@ dependencies = [ "futures-channel 0.3.28", "futures-util 0.3.28", "hyper", - "log 0.4.17", + "log 0.4.18", "serde 1.0.163", "serde_json 1.0.96", "soketto", @@ -4230,7 +4258,7 @@ dependencies = [ "futures-util 0.3.28", "hyper", "jsonrpsee-types", - "log 0.4.17", + "log 0.4.18", "parking_lot 0.11.2", "rand 0.8.5", "rustc-hash", @@ -4249,7 +4277,7 @@ dependencies = [ "fnv 1.0.7", "futures 0.3.28", "jsonrpsee-types", - "log 0.4.17", + "log 0.4.18", "pin-project", "rustls 0.19.1", "rustls-native-certs", @@ -4273,7 +4301,7 @@ dependencies = [ "futures-util 0.3.28", "jsonrpsee-types", "jsonrpsee-utils", - "log 0.4.17", + "log 0.4.18", "rustc-hash", "serde 1.0.163", "serde_json 1.0.96", @@ -4286,13 +4314,14 @@ dependencies = [ [[package]] name = "k256" -version = "0.11.6" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72c1e0b51e7ec0a97369623508396067a486bd0cbed95a2659a4b863d28cfc8b" +checksum = "cadb76004ed8e97623117f3df85b17aaa6626ab0b0831e6573f104df16cd1bcc" dependencies = [ "cfg-if 1.0.0", "ecdsa", "elliptic-curve", + "once_cell 1.17.2", "sha2 0.10.6", ] @@ -4452,9 +4481,9 @@ checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" [[package]] name = "linux-raw-sys" -version = "0.3.7" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ece97ea872ece730aed82664c424eb4c8291e1ff2480247ccf7409044bc6479f" +checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" [[package]] name = "lock_api" @@ -4486,12 +4515,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.17" +version = "0.4.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" -dependencies = [ - "cfg-if 1.0.0", -] +checksum = "518ef76f2f87365916b142844c16d8fefd85039bc5699050210a7778ee1cd1de" [[package]] name = "mach" @@ -4526,6 +4552,17 @@ dependencies = [ "rawpointer", ] +[[package]] +name = "maybe-async" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f1b8c13cb1f814b634a96b2c725449fe7ed464a7b8781de8688be5ffbd3f305" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "memchr" version = "2.2.1" @@ -4571,12 +4608,11 @@ dependencies = [ [[package]] name = "memory-db" -version = "0.31.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e0c7cba9ce19ac7ffd2053ac9f49843bbd3f4318feedfd74e85c19d5fb0ba66" +checksum = "808b50db46293432a45e63bc15ea51e0ab4c0a1647b8eb114e31a3e698dd6fbe" dependencies = [ - "hash-db", - "hashbrown 0.12.3", + "hash-db 0.16.0", ] [[package]] @@ -4663,7 +4699,7 @@ dependencies = [ "iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", "kernel32-sys", "libc", - "log 0.4.17", + "log 0.4.18", "miow", "net2 0.2.38", "slab 0.4.8", @@ -4672,14 +4708,13 @@ dependencies = [ [[package]] name = "mio" -version = "0.8.6" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b9d9a46eff5b4ff64b45a9e316a6d1e0bc719ef429cbec4dc630684212bfdf9" +checksum = "927a765cd3fc26206e66b296465fa9d3e5ab003e651c1b3c060e7956d96b19d2" dependencies = [ "libc", - "log 0.4.17", "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys 0.45.0", + "windows-sys 0.48.0", ] [[package]] @@ -4689,7 +4724,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "52403fe290012ce777c4626790c8951324a2b9e3316b3143779c72b029742f19" dependencies = [ "lazycell", - "log 0.4.17", + "log 0.4.18", "mio 0.6.23", "slab 0.4.8", ] @@ -4700,7 +4735,7 @@ version = "2.0.6" source = "git+https://github.com/integritee-network/mio-extras-sgx?rev=963234b#963234bf55e44f9efff921938255126c48deef3a" dependencies = [ "lazycell", - "log 0.4.17", + "log 0.4.18", "mio 0.6.21", "mio 0.6.23", "sgx_tstd", @@ -4758,7 +4793,7 @@ dependencies = [ "futures-util 0.3.28", "http 0.2.9", "httparse 1.8.0", - "log 0.4.17", + "log 0.4.18", "memchr 2.5.0", "mime", "spin 0.9.8", @@ -4825,7 +4860,7 @@ checksum = "07226173c32f2926027b63cce4bcd8076c3552846cbe7925f3aaffeac0a3b92e" dependencies = [ "lazy_static", "libc", - "log 0.4.17", + "log 0.4.18", "openssl", "openssl-probe", "openssl-sys", @@ -5153,9 +5188,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.17.1" +version = "1.17.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3" +checksum = "9670a07f94779e00908f3e686eab508878ebb390ba6e604d3a284c00e8d0487b" [[package]] name = "opaque-debug" @@ -5171,15 +5206,15 @@ checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" [[package]] name = "openssl" -version = "0.10.52" +version = "0.10.54" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01b8574602df80f7b85fdfc5392fa884a4e3b3f4f35402c070ab34c3d3f78d56" +checksum = "69b3f656a17a6cbc115b5c7a40c616947d213ba182135b014d6051b73ab6f019" dependencies = [ "bitflags", "cfg-if 1.0.0", "foreign-types", "libc", - "once_cell 1.17.1", + "once_cell 1.17.2", "openssl-macros", "openssl-sys", ] @@ -5192,7 +5227,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.18", ] [[package]] @@ -5203,9 +5238,9 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] name = "openssl-sys" -version = "0.9.87" +version = "0.9.88" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e17f59264b2809d77ae94f0e1ebabc434773f370d6ca667bd223ea10e06cc7e" +checksum = "c2ce0f250f34a308dcfdbb351f511359857d4ed2134ba715a4eadd46e1ffd617" dependencies = [ "cc", "libc", @@ -5222,7 +5257,7 @@ checksum = "ceedf44fb00f2d1984b0bc98102627ce622e083e49a5bacdb3e514fa4238e267" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5237,7 +5272,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-support", "frame-system", @@ -5253,7 +5288,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-support", "frame-system", @@ -5267,12 +5302,12 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "scale-info", "sp-runtime", @@ -5282,7 +5317,7 @@ dependencies = [ [[package]] name = "pallet-claims" version = "0.9.12" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.39#4239d3defa20c3fbd13966f62ce85e9a407bd7bf" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#e124aebb2d3d05a9a65f209f8e6304c6790f15d5" dependencies = [ "claims-primitives", "frame-support", @@ -5292,66 +5327,15 @@ dependencies = [ "scale-info", "serde 1.0.163", "serde_derive 1.0.163", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", "sp-std", ] -[[package]] -name = "pallet-contracts" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" -dependencies = [ - "bitflags", - "frame-benchmarking", - "frame-support", - "frame-system", - "impl-trait-for-tuples", - "log 0.4.17", - "pallet-contracts-primitives", - "pallet-contracts-proc-macro", - "parity-scale-codec", - "rand 0.8.5", - "scale-info", - "serde 1.0.163", - "smallvec 1.10.0", - "sp-api", - "sp-core", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39)", - "sp-runtime", - "sp-std", - "wasm-instrument", - "wasmi 0.20.0", - "wasmparser-nostd", -] - -[[package]] -name = "pallet-contracts-primitives" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" -dependencies = [ - "bitflags", - "parity-scale-codec", - "scale-info", - "sp-runtime", - "sp-std", - "sp-weights", -] - -[[package]] -name = "pallet-contracts-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "pallet-evm" version = "6.0.0-dev" -source = "git+https://github.com/integritee-network/frontier.git?branch=polkadot-v0.9.39#3297c466619934d462e0b845c1ab1e81906dcb18" +source = "git+https://github.com/integritee-network/frontier.git?branch=bar/polkadot-v0.9.42#a5a5e1e6ec08cd542a6084c310863150fb8841b1" dependencies = [ "environmental 1.1.4", "evm", @@ -5362,13 +5346,12 @@ dependencies = [ "frame-system", "hex", "impl-trait-for-tuples", - "log 0.4.17", - "pallet-timestamp", + "log 0.4.18", "parity-scale-codec", "rlp", "scale-info", "sp-core", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", "sp-std", ] @@ -5376,20 +5359,20 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log 0.4.17", + "log 0.4.18", "pallet-authorship", "pallet-session", "parity-scale-codec", "scale-info", "sp-application-crypto", + "sp-consensus-grandpa", "sp-core", - "sp-finality-grandpa", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", "sp-session", "sp-staking", @@ -5399,7 +5382,7 @@ dependencies = [ [[package]] name = "pallet-insecure-randomness-collective-flip" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-support", "frame-system", @@ -5413,15 +5396,15 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", "sp-std", ] @@ -5429,16 +5412,16 @@ dependencies = [ [[package]] name = "pallet-parentchain" version = "0.9.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.39#4239d3defa20c3fbd13966f62ce85e9a407bd7bf" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#e124aebb2d3d05a9a65f209f8e6304c6790f15d5" dependencies = [ "frame-support", "frame-system", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "scale-info", "serde 1.0.163", "sp-core", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", "sp-std", ] @@ -5446,14 +5429,14 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-support", "frame-system", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", "sp-std", ] @@ -5461,14 +5444,14 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", "sp-std", ] @@ -5476,15 +5459,15 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", "sp-std", "sp-weights", @@ -5493,17 +5476,17 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-support", "frame-system", "impl-trait-for-tuples", - "log 0.4.17", + "log 0.4.18", "pallet-timestamp", "parity-scale-codec", "scale-info", "sp-core", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", "sp-session", "sp-staking", @@ -5514,11 +5497,11 @@ dependencies = [ [[package]] name = "pallet-sidechain" version = "0.9.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.39#4239d3defa20c3fbd13966f62ce85e9a407bd7bf" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#e124aebb2d3d05a9a65f209f8e6304c6790f15d5" dependencies = [ "frame-support", "frame-system", - "log 0.4.17", + "log 0.4.18", "pallet-teerex", "pallet-timestamp", "parity-scale-codec", @@ -5526,44 +5509,22 @@ dependencies = [ "serde 1.0.163", "sidechain-primitives", "sp-core", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", "sp-std", "teerex-primitives", ] -[[package]] -name = "pallet-staking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" -dependencies = [ - "frame-benchmarking", - "frame-election-provider-support", - "frame-support", - "frame-system", - "log 0.4.17", - "pallet-authorship", - "pallet-session", - "parity-scale-codec", - "scale-info", - "serde 1.0.163", - "sp-application-crypto", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39)", - "sp-runtime", - "sp-staking", - "sp-std", -] - [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", "sp-std", ] @@ -5571,16 +5532,16 @@ dependencies = [ [[package]] name = "pallet-teeracle" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.39#4239d3defa20c3fbd13966f62ce85e9a407bd7bf" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#e124aebb2d3d05a9a65f209f8e6304c6790f15d5" dependencies = [ "frame-support", "frame-system", - "log 0.4.17", + "log 0.4.18", "pallet-teerex", "parity-scale-codec", "scale-info", "sp-core", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", "sp-std", "substrate-fixed", @@ -5590,18 +5551,18 @@ dependencies = [ [[package]] name = "pallet-teerex" version = "0.9.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.39#4239d3defa20c3fbd13966f62ce85e9a407bd7bf" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#e124aebb2d3d05a9a65f209f8e6304c6790f15d5" dependencies = [ "frame-support", "frame-system", - "log 0.4.17", + "log 0.4.18", "pallet-timestamp", "parity-scale-codec", "scale-info", "serde 1.0.163", "sgx-verify", "sp-core", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", "sp-std", "teerex-primitives", @@ -5610,16 +5571,16 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "scale-info", "sp-inherents", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", "sp-std", "sp-timestamp", @@ -5628,7 +5589,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-support", "frame-system", @@ -5636,7 +5597,7 @@ dependencies = [ "scale-info", "serde 1.0.163", "sp-core", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", "sp-std", ] @@ -5644,7 +5605,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5656,7 +5617,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5673,7 +5634,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5681,7 +5642,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-core", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", "sp-std", ] @@ -5689,12 +5650,12 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "scale-info", "sp-runtime", @@ -5832,7 +5793,7 @@ checksum = "7037e5e93e0172a5a96874380bf73bc6ecef022e26fa25f2be26864d6b3ba95d" dependencies = [ "lazy_static", "num 0.2.1", - "regex 1.8.1", + "regex 1.8.3", ] [[package]] @@ -5856,7 +5817,7 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" dependencies = [ - "digest 0.10.6", + "digest 0.10.7", ] [[package]] @@ -5913,7 +5874,7 @@ checksum = "39407670928234ebc5e6e580247dd567ad73a3578460c5990f9503df207e8f07" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.18", ] [[package]] @@ -5930,12 +5891,12 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "pkcs8" -version = "0.9.0" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9eca2c590a5f85da82668fa685c09ce2888b9430e83299debf1f34b65fd4a4ba" +checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" dependencies = [ - "der", - "spki", + "der 0.7.6", + "spki 0.7.2", ] [[package]] @@ -5982,7 +5943,7 @@ dependencies = [ "itertools", "normalize-line-endings", "predicates-core", - "regex 1.8.1", + "regex 1.8.3", ] [[package]] @@ -6021,7 +5982,7 @@ version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" dependencies = [ - "once_cell 1.17.1", + "once_cell 1.17.2", "toml_edit", ] @@ -6061,11 +6022,22 @@ version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bc881b2c22681370c6a780e47af9840ef841837bc98118431d4e1868bd0c1086" +[[package]] +name = "proc-macro-warning" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e99670bafb56b9a106419397343bdbc8b8742c3cc449fec6345f86173f47cd4" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.18", +] + [[package]] name = "proc-macro2" -version = "1.0.58" +version = "1.0.59" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa1fb82fc0c281dd9671101b66b771ebbe1eaf967b96ac8740dcba4b70005ca8" +checksum = "6aeca18b86b413c660b781aa319e4e2648a3e6f9eadc9b47e9038e6fe9f3451b" dependencies = [ "unicode-ident", ] @@ -6080,7 +6052,7 @@ dependencies = [ "byteorder 1.4.3", "hex", "lazy_static", - "rustix 0.36.13", + "rustix 0.36.14", ] [[package]] @@ -6137,9 +6109,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.27" +version = "1.0.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f4f29d145265ec1c483c7c654450edde0bfe043d3938d6972630663356d9500" +checksum = "1b9ab9c7eadfd8df19006f1cf1a4aed13540ed5cbc047010ece5826e10825488" dependencies = [ "proc-macro2", ] @@ -6300,7 +6272,7 @@ version = "0.9.2" source = "git+https://github.com/integritee-network/rcgen#1852c8dbeb74de36a422d218254b659497daf717" dependencies = [ "chrono 0.4.11", - "chrono 0.4.24", + "chrono 0.4.26", "pem 0.8.2", "pem 1.1.1", "ring 0.16.19", @@ -6365,7 +6337,7 @@ checksum = "8d2275aab483050ab2a7364c1a46604865ee7d6906684e08db0f090acf74f9e7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.18", ] [[package]] @@ -6379,13 +6351,13 @@ dependencies = [ [[package]] name = "regex" -version = "1.8.1" +version = "1.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af83e617f331cc6ae2da5443c602dfa5af81e517212d9d611a5b3ba1777b5370" +checksum = "81ca098a9821bd52d6b24fd8b10bd081f47d39c22778cafaa75a2857a62c6390" dependencies = [ "aho-corasick 1.0.1", "memchr 2.5.0", - "regex-syntax 0.7.1", + "regex-syntax 0.7.2", ] [[package]] @@ -6413,19 +6385,18 @@ checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" [[package]] name = "regex-syntax" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5996294f19bd3aae0453a862ad728f60e6600695733dd5df01da90c54363a3c" +checksum = "436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78" [[package]] name = "rfc6979" -version = "0.3.1" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7743f17af12fa0b03b803ba12cd6a8d9483a587e89c69445e3909655c0b9fabb" +checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" dependencies = [ - "crypto-bigint", "hmac 0.12.1", - "zeroize", + "subtle", ] [[package]] @@ -6447,7 +6418,7 @@ checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc" dependencies = [ "cc", "libc", - "once_cell 1.17.1", + "once_cell 1.17.2", "spin 0.5.2", "untrusted", "web-sys", @@ -6461,8 +6432,8 @@ source = "git+https://github.com/Niederb/ring-xous.git?branch=0.16.20-cleanup#8b dependencies = [ "cc", "libc", - "log 0.4.17", - "once_cell 1.17.1", + "log 0.4.18", + "once_cell 1.17.2", "rkyv", "spin 0.5.2", "untrusted", @@ -6582,9 +6553,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.36.13" +version = "0.36.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a38f9520be93aba504e8ca974197f46158de5dcaa9fa04b57c57cd6a679d658" +checksum = "14e4d67015953998ad0eb82887a0eb0129e18a7e2f3b7b0f6c422fddcd503d62" dependencies = [ "bitflags", "errno", @@ -6604,7 +6575,7 @@ dependencies = [ "errno", "io-lifetimes", "libc", - "linux-raw-sys 0.3.7", + "linux-raw-sys 0.3.8", "windows-sys 0.48.0", ] @@ -6654,7 +6625,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7" dependencies = [ "base64 0.13.1", - "log 0.4.17", + "log 0.4.18", "ring 0.16.20 (registry+https://github.com/rust-lang/crates.io-index)", "sct 0.6.1", "webpki 0.21.4 (registry+https://github.com/rust-lang/crates.io-index)", @@ -6678,7 +6649,7 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d194b56d58803a43635bdc398cd17e383d6f71f9182b9a192c127ca42494a59b" dependencies = [ - "base64 0.21.0", + "base64 0.21.2", ] [[package]] @@ -6729,7 +6700,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "array-bytes 4.2.0", "async-trait", @@ -6845,12 +6816,12 @@ dependencies = [ [[package]] name = "sec1" -version = "0.3.0" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3be24c1842290c45df0a7bf069e0c268a747ad05a192f2fd7dcfdbc1cba40928" +checksum = "f0aec48e813d6b90b15f0b8948af3c63483992dee44c03e9930b3eebdabe046e" dependencies = [ "base16ct", - "der", + "der 0.7.6", "generic-array 0.14.7", "pkcs8", "subtle", @@ -6886,9 +6857,9 @@ dependencies = [ [[package]] name = "security-framework" -version = "2.9.0" +version = "2.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca2855b3715770894e67cbfa3df957790aa0c9edc3bf06efa1a84d77fa0839d1" +checksum = "1fc758eb7bffce5b308734e9b0c1468893cae9ff70ebf13e7090be8dcbcc83a8" dependencies = [ "bitflags", "core-foundation", @@ -7003,7 +6974,7 @@ checksum = "8c805777e3930c8883389c602315a24224bcc738b63905ef87cd1420353ea93e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.18", ] [[package]] @@ -7041,6 +7012,15 @@ dependencies = [ "serde 1.0.163", ] +[[package]] +name = "serde_spanned" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93107647184f6027e3b7dcb2e11034cf95ffa1e3a682c67951963ac69c1c007d" +dependencies = [ + "serde 1.0.163", +] + [[package]] name = "serde_urlencoded" version = "0.7.1" @@ -7056,11 +7036,11 @@ dependencies = [ [[package]] name = "sgx-verify" version = "0.1.4" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.39#4239d3defa20c3fbd13966f62ce85e9a407bd7bf" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#e124aebb2d3d05a9a65f209f8e6304c6790f15d5" dependencies = [ "base64 0.13.1", - "chrono 0.4.24", - "der", + "chrono 0.4.26", + "der 0.6.1", "frame-support", "hex", "hex-literal", @@ -7070,7 +7050,7 @@ dependencies = [ "serde 1.0.163", "serde_json 1.0.96", "sp-core", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-std", "teerex-primitives", "webpki 0.21.0", @@ -7080,12 +7060,12 @@ dependencies = [ [[package]] name = "sgx_alloc" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" [[package]] name = "sgx_backtrace_sys" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" dependencies = [ "cc", "sgx_build_helper", @@ -7095,12 +7075,12 @@ dependencies = [ [[package]] name = "sgx_build_helper" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" [[package]] name = "sgx_crypto_helper" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" dependencies = [ "itertools", "libc", @@ -7119,12 +7099,12 @@ dependencies = [ [[package]] name = "sgx_demangle" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" [[package]] name = "sgx_libc" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" dependencies = [ "sgx_types", ] @@ -7132,7 +7112,7 @@ dependencies = [ [[package]] name = "sgx_rand" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" dependencies = [ "sgx_trts", "sgx_tstd", @@ -7142,7 +7122,7 @@ dependencies = [ [[package]] name = "sgx_tcrypto" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" dependencies = [ "sgx_types", ] @@ -7150,7 +7130,7 @@ dependencies = [ [[package]] name = "sgx_tprotected_fs" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" dependencies = [ "sgx_trts", "sgx_types", @@ -7159,7 +7139,7 @@ dependencies = [ [[package]] name = "sgx_trts" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" dependencies = [ "sgx_libc", "sgx_types", @@ -7168,7 +7148,7 @@ dependencies = [ [[package]] name = "sgx_tse" version = "1.1.6" -source = "git+https://github.com/apache/teaclave-sgx-sdk.git?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/teaclave-sgx-sdk.git?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" dependencies = [ "sgx_types", ] @@ -7176,7 +7156,7 @@ dependencies = [ [[package]] name = "sgx_tstd" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" dependencies = [ "hashbrown_tstd", "sgx_alloc", @@ -7192,12 +7172,12 @@ dependencies = [ [[package]] name = "sgx_types" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" [[package]] name = "sgx_ucrypto" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" dependencies = [ "libc", "rand_core 0.3.1", @@ -7208,7 +7188,7 @@ dependencies = [ [[package]] name = "sgx_unwind" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" dependencies = [ "sgx_build_helper", ] @@ -7216,7 +7196,7 @@ dependencies = [ [[package]] name = "sgx_urts" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" dependencies = [ "libc", "sgx_types", @@ -7263,7 +7243,7 @@ checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3" dependencies = [ "cfg-if 1.0.0", "cpufeatures", - "digest 0.10.6", + "digest 0.10.7", ] [[package]] @@ -7311,7 +7291,7 @@ checksum = "82e6b795fe2e3b1e845bafcb27aa35405c4d47cdfc92af5fc8d3002f76cebdc0" dependencies = [ "cfg-if 1.0.0", "cpufeatures", - "digest 0.10.6", + "digest 0.10.7", ] [[package]] @@ -7320,7 +7300,7 @@ version = "0.10.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60" dependencies = [ - "digest 0.10.6", + "digest 0.10.7", "keccak", ] @@ -7342,13 +7322,13 @@ checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" [[package]] name = "sidechain-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.39#4239d3defa20c3fbd13966f62ce85e9a407bd7bf" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#e124aebb2d3d05a9a65f209f8e6304c6790f15d5" dependencies = [ "parity-scale-codec", "scale-info", "serde 1.0.163", "sp-core", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", "sp-std", ] @@ -7367,8 +7347,14 @@ name = "signature" version = "1.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c" + +[[package]] +name = "signature" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e1788eed21689f9cf370582dfc467ef36ed9c707f073528ddafa8d83e3b8500" dependencies = [ - "digest 0.10.6", + "digest 0.10.7", "rand_core 0.6.4", ] @@ -7436,7 +7422,7 @@ dependencies = [ "bytes 1.4.0", "futures 0.3.28", "httparse 1.8.0", - "log 0.4.17", + "log 0.4.18", "rand 0.8.5", "sha-1 0.9.8", ] @@ -7444,13 +7430,15 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ - "hash-db", - "log 0.4.17", + "hash-db 0.16.0", + "log 0.4.18", "parity-scale-codec", + "scale-info", "sp-api-proc-macro", "sp-core", + "sp-metadata-ir", "sp-runtime", "sp-state-machine", "sp-std", @@ -7462,32 +7450,34 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ + "Inflector", "blake2", + "expander", "proc-macro-crate", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.18", ] [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "parity-scale-codec", "scale-info", "serde 1.0.163", "sp-core", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-std", ] [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "integer-sqrt", "num-traits 0.2.15", @@ -7501,7 +7491,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "parity-scale-codec", "sp-api", @@ -7513,25 +7503,22 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "async-trait", "futures 0.3.28", - "log 0.4.17", - "parity-scale-codec", + "log 0.4.18", "sp-core", "sp-inherents", "sp-runtime", "sp-state-machine", - "sp-std", - "sp-version", "thiserror 1.0.40", ] [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "async-trait", "parity-scale-codec", @@ -7546,10 +7533,28 @@ dependencies = [ "sp-timestamp", ] +[[package]] +name = "sp-consensus-grandpa" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" +dependencies = [ + "finality-grandpa", + "log 0.4.18", + "parity-scale-codec", + "scale-info", + "serde 1.0.163", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-keystore", + "sp-runtime", + "sp-std", +] + [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "parity-scale-codec", "scale-info", @@ -7561,28 +7566,29 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "array-bytes 4.2.0", - "base58", "bitflags", "blake2", "bounded-collections", + "bs58", "dyn-clonable", "ed25519-zebra", "futures 0.3.28", - "hash-db", + "hash-db 0.16.0", "hash256-std-hasher", "impl-serde", "lazy_static", "libsecp256k1", - "log 0.4.17", + "log 0.4.18", "merlin", "parity-scale-codec", "parking_lot 0.12.1", + "paste", "primitive-types", "rand 0.8.5", - "regex 1.8.1", + "regex 1.8.3", "scale-info", "schnorrkel", "secp256k1", @@ -7604,11 +7610,11 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ - "blake2", + "blake2b_simd", "byteorder 1.4.3", - "digest 0.10.6", + "digest 0.10.7", "sha2 0.10.6", "sha3", "sp-std", @@ -7618,28 +7624,28 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "proc-macro2", "quote", "sp-core-hashing", - "syn 1.0.109", + "syn 2.0.18", ] [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.18", ] [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "environmental 1.1.4", "parity-scale-codec", @@ -7647,28 +7653,10 @@ dependencies = [ "sp-storage", ] -[[package]] -name = "sp-finality-grandpa" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" -dependencies = [ - "finality-grandpa", - "log 0.4.17", - "parity-scale-codec", - "scale-info", - "serde 1.0.163", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-keystore", - "sp-runtime", - "sp-std", -] - [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -7686,10 +7674,10 @@ version = "7.0.0" dependencies = [ "environmental 1.1.3", "futures 0.3.28", - "hash-db", + "hash-db 0.15.2", "itp-sgx-externalities", "libsecp256k1", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "parking_lot 0.12.1", "sgx_tstd", @@ -7706,15 +7694,16 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "bytes 1.4.0", "ed25519", "ed25519-dalek", "futures 0.3.28", "libsecp256k1", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", + "rustversion", "secp256k1", "sp-core", "sp-externalities", @@ -7731,7 +7720,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "lazy_static", "sp-core", @@ -7742,14 +7731,11 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ - "async-trait", "futures 0.3.28", - "merlin", "parity-scale-codec", "parking_lot 0.12.1", - "schnorrkel", "serde 1.0.163", "sp-core", "sp-externalities", @@ -7759,30 +7745,27 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "thiserror 1.0.40", "zstd", ] [[package]] -name = "sp-npos-elections" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +name = "sp-metadata-ir" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ + "frame-metadata 15.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", "scale-info", - "serde 1.0.163", - "sp-arithmetic", - "sp-core", - "sp-runtime", "sp-std", ] [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "sp-api", "sp-core", @@ -7792,22 +7775,22 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "backtrace", "lazy_static", - "regex 1.8.1", + "regex 1.8.3", ] [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "either", "hash256-std-hasher", "impl-trait-for-tuples", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "paste", "rand 0.8.5", @@ -7816,7 +7799,7 @@ dependencies = [ "sp-application-crypto", "sp-arithmetic", "sp-core", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-std", "sp-weights", ] @@ -7824,7 +7807,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "bytes 1.4.0", "impl-trait-for-tuples", @@ -7842,19 +7825,19 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "Inflector", "proc-macro-crate", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.18", ] [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "parity-scale-codec", "scale-info", @@ -7868,10 +7851,11 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "parity-scale-codec", "scale-info", + "serde 1.0.163", "sp-core", "sp-runtime", "sp-std", @@ -7880,10 +7864,10 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ - "hash-db", - "log 0.4.17", + "hash-db 0.16.0", + "log 0.4.18", "parity-scale-codec", "parking_lot 0.12.1", "rand 0.8.5", @@ -7900,12 +7884,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "impl-serde", "parity-scale-codec", @@ -7918,11 +7902,11 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "async-trait", "futures-timer", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "sp-inherents", "sp-runtime", @@ -7933,7 +7917,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "parity-scale-codec", "sp-std", @@ -7945,7 +7929,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "sp-api", "sp-runtime", @@ -7954,11 +7938,11 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "ahash 0.8.3", - "hash-db", - "hashbrown 0.12.3", + "hash-db 0.16.0", + "hashbrown 0.13.2", "lazy_static", "memory-db", "nohash-hasher", @@ -7977,7 +7961,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "impl-serde", "parity-scale-codec", @@ -7994,32 +7978,32 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.18", ] [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "anyhow", "impl-trait-for-tuples", - "log 0.4.17", + "log 0.4.18", "parity-scale-codec", "sp-std", - "wasmi 0.13.2", + "wasmi", "wasmtime", ] [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "parity-scale-codec", "scale-info", @@ -8050,7 +8034,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "67cf02bbac7a337dc36e4f5a693db6c21e7863f45070f7064577eb4367a3212b" dependencies = [ "base64ct", - "der", + "der 0.6.1", +] + +[[package]] +name = "spki" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d1e996ef02c474957d681f1b05213dfb0abab947b446a62d37770b23500184a" +dependencies = [ + "base64ct", + "der 0.7.6", ] [[package]] @@ -8116,17 +8110,19 @@ dependencies = [ [[package]] name = "substrate-api-client" -version = "0.10.0" -source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.39#d872c2ca4328a30222e4d470c8fc4921abad9f34" +version = "0.12.0" +source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.42#9bfdbdec280944a6f9cabf71113b4f880fa292c4" dependencies = [ "ac-compose-macros", "ac-node-api", "ac-primitives", + "async-trait", "derive_more", - "frame-metadata 15.1.0 (git+https://github.com/paritytech/frame-metadata)", + "frame-metadata 15.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "frame-support", "hex", - "log 0.4.17", + "log 0.4.18", + "maybe-async", "parity-scale-codec", "serde 1.0.163", "serde_json 1.0.96", @@ -8152,11 +8148,11 @@ dependencies = [ [[package]] name = "substrate-client-keystore" -version = "0.7.0" -source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.39#d872c2ca4328a30222e4d470c8fc4921abad9f34" +version = "0.9.0" +source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.42#9bfdbdec280944a6f9cabf71113b4f880fa292c4" dependencies = [ + "array-bytes 4.2.0", "async-trait", - "hex", "parking_lot 0.12.1", "sc-keystore", "serde_json 1.0.96", @@ -8180,7 +8176,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#8c4b84520cee2d7de53cc33cb67605ce4efefba8" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "ansi_term", "build-helper", @@ -8213,9 +8209,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.16" +version = "2.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6f671d4b5ffdb8eadec19c0ae67fe2639df8684bd7bc4b83d986b8db549cf01" +checksum = "32d41677bcbe24c20c52e7c70b0d8db04134c5d1066bf98662e2871ad200ea3e" dependencies = [ "proc-macro2", "quote", @@ -8249,7 +8245,7 @@ checksum = "fd1ba337640d60c3e96bc6f0638a939b9c9a7f2c316a1598c279828b3d1dc8c5" [[package]] name = "teeracle-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.39#4239d3defa20c3fbd13966f62ce85e9a407bd7bf" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#e124aebb2d3d05a9a65f209f8e6304c6790f15d5" dependencies = [ "common-primitives", "sp-std", @@ -8259,14 +8255,14 @@ dependencies = [ [[package]] name = "teerex-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.39#4239d3defa20c3fbd13966f62ce85e9a407bd7bf" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#e124aebb2d3d05a9a65f209f8e6304c6790f15d5" dependencies = [ "common-primitives", "parity-scale-codec", "scale-info", "serde 1.0.163", "sp-core", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-std", ] @@ -8355,7 +8351,7 @@ checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.18", ] [[package]] @@ -8365,7 +8361,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152" dependencies = [ "cfg-if 1.0.0", - "once_cell 1.17.1", + "once_cell 1.17.2", ] [[package]] @@ -8387,7 +8383,7 @@ checksum = "62cc94d358b5a1e84a5cb9109f559aa3c4d634d2b1b4de3d0fa4adc7c78e2861" dependencies = [ "anyhow", "hmac 0.12.1", - "once_cell 1.17.1", + "once_cell 1.17.2", "pbkdf2 0.11.0", "rand 0.8.5", "rustc-hash", @@ -8424,14 +8420,14 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.28.1" +version = "1.28.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0aa32867d44e6f2ce3385e89dceb990188b8bb0fb25b0cf576647a6f98ac5105" +checksum = "94d7b1cfd2aa4011f2de74c2c4c63665e27a71006b0a192dcd2710272e73dfa2" dependencies = [ "autocfg 1.1.0", "bytes 1.4.0", "libc", - "mio 0.8.6", + "mio 0.8.8", "num_cpus", "parking_lot 0.12.1", "pin-project-lite", @@ -8449,7 +8445,7 @@ checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.18", ] [[package]] @@ -8491,7 +8487,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "54319c93411147bced34cb5609a80e0a8e44c5999c93903a81cd866630ec0bfd" dependencies = [ "futures-util 0.3.28", - "log 0.4.17", + "log 0.4.18", "tokio", "tungstenite 0.18.0", ] @@ -8506,7 +8502,7 @@ dependencies = [ "futures-core 0.3.28", "futures-io 0.3.28", "futures-sink 0.3.28", - "log 0.4.17", + "log 0.4.18", "pin-project-lite", "tokio", ] @@ -8527,26 +8523,34 @@ dependencies = [ [[package]] name = "toml" -version = "0.5.11" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" +checksum = "d6135d499e69981f9ff0ef2167955a5333c35e36f6937d382974566b3d5b94ec" dependencies = [ "serde 1.0.163", + "serde_spanned", + "toml_datetime", + "toml_edit", ] [[package]] name = "toml_datetime" -version = "0.6.1" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ab8ed2edee10b50132aed5f331333428b011c99402b5a534154ed15746f9622" +checksum = "5a76a9312f5ba4c2dec6b9161fdf25d87ad8a09256ccea5a556fef03c706a10f" +dependencies = [ + "serde 1.0.163", +] [[package]] name = "toml_edit" -version = "0.19.8" +version = "0.19.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "239410c8609e8125456927e6707163a3b1fdb40561e4b803bc041f466ccfdc13" +checksum = "2380d56e8670370eee6566b0bfd4265f65b3f432e8c6d85623f728d4fa31f739" dependencies = [ "indexmap 1.9.3", + "serde 1.0.163", + "serde_spanned", "toml_datetime", "winnow", ] @@ -8564,7 +8568,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" dependencies = [ "cfg-if 1.0.0", - "log 0.4.17", + "log 0.4.18", "pin-project-lite", "tracing-attributes", "tracing-core", @@ -8578,7 +8582,7 @@ checksum = "0f57e3ca2a01450b1a921183a9c9cbfda207fd822cef4ccb00a65402cbba7a74" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.18", ] [[package]] @@ -8587,7 +8591,7 @@ version = "0.1.31" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0955b8137a1df6f1a2e9a37d8a6656291ff0297c1a97c24e0d8425fe2312f79a" dependencies = [ - "once_cell 1.17.1", + "once_cell 1.17.2", "valuable", ] @@ -8598,7 +8602,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922" dependencies = [ "lazy_static", - "log 0.4.17", + "log 0.4.18", "tracing-core", ] @@ -8619,10 +8623,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0e0d2eaa99c3c2e41547cfa109e910a68ea03823cccad4a0525dcbc9b01e8c71" dependencies = [ "ansi_term", - "chrono 0.4.24", + "chrono 0.4.26", "lazy_static", "matchers", - "regex 1.8.1", + "regex 1.8.3", "serde 1.0.163", "serde_json 1.0.96", "sharded-slab", @@ -8636,24 +8640,24 @@ dependencies = [ [[package]] name = "trie-db" -version = "0.25.1" +version = "0.27.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3390c0409daaa6027d6681393316f4ccd3ff82e1590a1e4725014e3ae2bf1920" +checksum = "767abe6ffed88a1889671a102c2861ae742726f52e0a5a425b92c9fbfa7e9c85" dependencies = [ - "hash-db", + "hash-db 0.16.0", "hashbrown 0.13.2", - "log 0.4.17", + "log 0.4.18", "rustc-hex", "smallvec 1.10.0", ] [[package]] name = "trie-root" -version = "0.17.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a36c5ca3911ed3c9a5416ee6c679042064b93fc637ded67e25f92e68d783891" +checksum = "d4ed310ef5ab98f5fa467900ed906cb9232dd5376597e00fd4cba2a449d06c0b" dependencies = [ - "hash-db", + "hash-db 0.16.0", ] [[package]] @@ -8662,7 +8666,7 @@ version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1631b201eb031b563d2e85ca18ec8092508e262a3196ce9bd10a67ec87b9f5c" dependencies = [ - "hash-db", + "hash-db 0.15.2", "rlp", ] @@ -8711,7 +8715,7 @@ dependencies = [ "bytes 1.4.0", "http 0.2.9", "httparse 1.8.0", - "log 0.4.17", + "log 0.4.18", "rand 0.8.5", "rustls 0.19.1", "sha-1 0.9.8", @@ -8733,7 +8737,7 @@ dependencies = [ "bytes 1.4.0", "http 0.2.9", "httparse 1.8.0", - "log 0.4.17", + "log 0.4.18", "rand 0.8.5", "sha1 0.10.5", "thiserror 1.0.40", @@ -8747,8 +8751,8 @@ version = "1.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ - "cfg-if 0.1.10", - "digest 0.10.6", + "cfg-if 1.0.0", + "digest 0.10.7", "rand 0.8.5", "static_assertions", ] @@ -8826,9 +8830,9 @@ checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" [[package]] name = "unicode-ident" -version = "1.0.8" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4" +checksum = "b15811caf2415fb889178633e7724bad2509101cde276048e013b9def5e51fa0" [[package]] name = "unicode-normalization" @@ -8953,7 +8957,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0" dependencies = [ - "log 0.4.17", + "log 0.4.18", "try-lock", ] @@ -8969,7 +8973,7 @@ dependencies = [ "headers", "http 0.2.9", "hyper", - "log 0.4.17", + "log 0.4.18", "mime", "mime_guess", "multer", @@ -9023,11 +9027,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "19b04bc93f9d6bdee709f6bd2118f57dd6679cf1176a1af464fca3ab0d66d8fb" dependencies = [ "bumpalo", - "log 0.4.17", - "once_cell 1.17.1", + "log 0.4.18", + "once_cell 1.17.2", "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.18", "wasm-bindgen-shared", ] @@ -9049,7 +9053,7 @@ checksum = "e128beba882dd1eb6200e1dc92ae6c5dbaa4311aa7bb211ca035779e5efc39f8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.18", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -9060,15 +9064,6 @@ version = "0.2.86" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed9d5b4305409d1fc9482fee2d7f9bcbf24b3972bf59817ef757e23982242a93" -[[package]] -name = "wasm-instrument" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a47ecb37b9734d1085eaa5ae1a81e60801fd8c28d4cabdd8aedb982021918bc" -dependencies = [ - "parity-wasm", -] - [[package]] name = "wasm-opt" version = "0.111.0" @@ -9107,7 +9102,7 @@ dependencies = [ "cc", "cxx", "cxx-build", - "regex 1.8.1", + "regex 1.8.3", ] [[package]] @@ -9118,19 +9113,7 @@ checksum = "06c326c93fbf86419608361a2c925a31754cf109da1b8b55737070b4d6669422" dependencies = [ "parity-wasm", "wasmi-validation", - "wasmi_core 0.2.1", -] - -[[package]] -name = "wasmi" -version = "0.20.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01bf50edb2ea9d922aa75a7bf3c15e26a6c9e2d18c56e862b49737a582901729" -dependencies = [ - "spin 0.9.8", - "wasmi_arena", - "wasmi_core 0.5.0", - "wasmparser-nostd", + "wasmi_core", ] [[package]] @@ -9142,12 +9125,6 @@ dependencies = [ "parity-wasm", ] -[[package]] -name = "wasmi_arena" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1ea379cbb0b41f3a9f0bf7b47036d036aae7f43383d8cc487d4deccf40dee0a" - [[package]] name = "wasmi_core" version = "0.2.1" @@ -9161,17 +9138,6 @@ dependencies = [ "num-traits 0.2.15", ] -[[package]] -name = "wasmi_core" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5bf998ab792be85e20e771fe14182b4295571ad1d4f89d3da521c1bef5f597a" -dependencies = [ - "downcast-rs", - "libm", - "num-traits 0.2.15", -] - [[package]] name = "wasmparser" version = "0.100.0" @@ -9182,15 +9148,6 @@ dependencies = [ "url 2.3.1", ] -[[package]] -name = "wasmparser-nostd" -version = "0.91.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c37f310b5a62bfd5ae7c0f1d8e6f98af16a5d6d84ba764e9c36439ec14e318b" -dependencies = [ - "indexmap-nostd", -] - [[package]] name = "wasmtime" version = "6.0.2" @@ -9202,9 +9159,9 @@ dependencies = [ "cfg-if 1.0.0", "indexmap 1.9.3", "libc", - "log 0.4.17", + "log 0.4.18", "object 0.29.0", - "once_cell 1.17.1", + "once_cell 1.17.2", "paste", "psm", "serde 1.0.163", @@ -9235,7 +9192,7 @@ dependencies = [ "cranelift-entity", "gimli 0.26.2", "indexmap 1.9.3", - "log 0.4.17", + "log 0.4.18", "object 0.29.0", "serde 1.0.163", "target-lexicon", @@ -9256,7 +9213,7 @@ dependencies = [ "cfg-if 1.0.0", "cpp_demangle", "gimli 0.26.2", - "log 0.4.17", + "log 0.4.18", "object 0.29.0", "rustc-demangle", "serde 1.0.163", @@ -9273,7 +9230,7 @@ version = "6.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eed41cbcbf74ce3ff6f1d07d1b707888166dc408d1a880f651268f4f7c9194b2" dependencies = [ - "once_cell 1.17.1", + "once_cell 1.17.2", ] [[package]] @@ -9298,13 +9255,13 @@ dependencies = [ "cfg-if 1.0.0", "indexmap 1.9.3", "libc", - "log 0.4.17", + "log 0.4.18", "mach", "memfd", "memoffset 0.6.5", "paste", "rand 0.8.5", - "rustix 0.36.13", + "rustix 0.36.14", "wasmtime-asm-macros", "wasmtime-environ", "wasmtime-jit-debug", @@ -9392,9 +9349,9 @@ dependencies = [ [[package]] name = "wide" -version = "0.7.8" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b689b6c49d6549434bf944e6b0f39238cf63693cb7a147e9d887507fffa3b223" +checksum = "5cd0496a71f3cc6bc4bf0ed91346426a5099e93d89807e663162dc5a1069ff65" dependencies = [ "bytemuck", "safe_arch", @@ -9617,7 +9574,7 @@ dependencies = [ "byteorder 1.4.3", "bytes 0.4.12", "httparse 1.8.0", - "log 0.4.17", + "log 0.4.18", "mio 0.6.23", "mio-extras 2.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "openssl", @@ -9653,27 +9610,27 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "99d224a125dec5adda27d0346b9cae9794830279c4f9c27e4ab0b6c408d54012" dependencies = [ "const-oid", - "der", + "der 0.6.1", "flagset", - "spki", + "spki 0.6.0", ] [[package]] name = "xous" -version = "0.9.42" +version = "0.9.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4126043d97e773d482d4be8bd45c007640ae09af3ebf40d3d9b5c9ab843abf0b" +checksum = "30684dda3583f528d5b05bddc96527e1783255e867a5e81c10721d6abb9e169c" dependencies = [ "lazy_static", ] [[package]] name = "xous-api-log" -version = "0.1.38" +version = "0.1.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d267ec4b8fb7bff386e448043b81f20a7eb15174973bd37b7b9af6e2d6bbe2e6" +checksum = "fd6b15ea09891f09b02d763422dc99733c96e62d0f8ab476c6bc663c90b17e72" dependencies = [ - "log 0.4.17", + "log 0.4.18", "num-derive", "num-traits 0.2.15", "xous", @@ -9682,11 +9639,11 @@ dependencies = [ [[package]] name = "xous-api-names" -version = "0.9.40" +version = "0.9.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95f39025c4b19ebf704effb967afcea2e2576f7a55ed0d25dec01920bed6ac44" +checksum = "7b470fbf177d58767fa001acfcb5294a88d3938d3935865ff6b8f1db40f1004e" dependencies = [ - "log 0.4.17", + "log 0.4.18", "num-derive", "num-traits 0.2.15", "rkyv", @@ -9697,9 +9654,9 @@ dependencies = [ [[package]] name = "xous-ipc" -version = "0.9.42" +version = "0.9.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc52f85ca63305a0ea9d31ade0ea8fca86515ce33550486e7c0c8edbe3a4d68f" +checksum = "d520fe08642d55a56f700b6d30c7a556f38818e7c3e5d9a0856dde0b79ed4d67" dependencies = [ "bitflags", "rkyv", @@ -9730,7 +9687,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e262a29d0e61ccf2b6190d7050d4b237535fc76ce4c1210d9caa316f71dffa75" dependencies = [ "bit-vec", - "chrono 0.4.24", + "chrono 0.4.26", "num-bigint 0.4.3", ] @@ -9751,23 +9708,23 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.18", ] [[package]] name = "zstd" -version = "0.11.2+zstd.1.5.2" +version = "0.12.3+zstd.1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4" +checksum = "76eea132fb024e0e13fd9c2f5d5d595d8a967aa72382ac2f9d39fcc95afd0806" dependencies = [ "zstd-safe", ] [[package]] name = "zstd-safe" -version = "5.0.2+zstd.1.5.2" +version = "6.0.5+zstd.1.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d2a5585e04f9eea4b2a3d1eca508c4dee9592a89ef6f450c11719da0726f4db" +checksum = "d56d9e60b4b1758206c238a10165fbcae3ca37b01744e394c463463f6529d23b" dependencies = [ "libc", "zstd-sys", diff --git a/app-libs/sgx-runtime/Cargo.toml b/app-libs/sgx-runtime/Cargo.toml index d0163874b2..e55df95e23 100644 --- a/app-libs/sgx-runtime/Cargo.toml +++ b/app-libs/sgx-runtime/Cargo.toml @@ -18,35 +18,35 @@ scale-info = { version = "2.0.1", default-features = false, features = ["derive" itp-sgx-runtime-primitives = { path = "../../core-primitives/sgx-runtime-primitives", default-features = false } # Substrate dependencies -frame-benchmarking = { optional = true, default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -frame-executive = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -frame-system-benchmarking = { optional = true, default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -frame-system-rpc-runtime-api = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -pallet-aura = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -pallet-balances = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -pallet-grandpa = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -pallet-insecure-randomness-collective-flip = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -pallet-sudo = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -pallet-timestamp = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -pallet-transaction-payment = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -pallet-transaction-payment-rpc-runtime-api = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-api = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-block-builder = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-consensus-aura = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-inherents = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-offchain = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-session = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-transaction-pool = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-version = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +frame-benchmarking = { optional = true, default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +frame-executive = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +frame-system = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +frame-system-benchmarking = { optional = true, default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +frame-system-rpc-runtime-api = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +pallet-aura = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +pallet-balances = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +pallet-grandpa = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +pallet-insecure-randomness-collective-flip = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +pallet-sudo = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +pallet-timestamp = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +pallet-transaction-payment = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +pallet-transaction-payment-rpc-runtime-api = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-api = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-block-builder = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-consensus-aura = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-inherents = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-offchain = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-session = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-transaction-pool = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-version = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } # Integritee dependencies -pallet-evm = { default-features = false, optional = true, git = "https://github.com/integritee-network/frontier.git", branch = "polkadot-v0.9.39" } -pallet-parentchain = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v0.9.39" } +pallet-evm = { default-features = false, optional = true, git = "https://github.com/integritee-network/frontier.git", branch = "bar/polkadot-v0.9.42" } +pallet-parentchain = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v0.9.42" } [features] default = ["std"] diff --git a/app-libs/stf/Cargo.toml b/app-libs/stf/Cargo.toml index edbde3c121..7a6f676966 100644 --- a/app-libs/stf/Cargo.toml +++ b/app-libs/stf/Cargo.toml @@ -30,21 +30,21 @@ itp-utils = { default-features = false, path = "../../core-primitives/utils" } sp-io = { default-features = false, features = ["disable_oom", "disable_panic_handler", "disable_allocator"], path = "../../core-primitives/substrate-sgx/sp-io" } # Substrate dependencies -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -pallet-balances = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -pallet-sudo = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-application-crypto = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +frame-system = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +pallet-balances = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +pallet-sudo = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-application-crypto = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } # scs / integritee -my-node-runtime = { package = "integritee-node-runtime", optional = true, git = "https://github.com/integritee-network/integritee-node.git", branch = "polkadot-v0.9.39" } -pallet-parentchain = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v0.9.39" } +my-node-runtime = { package = "integritee-node-runtime", optional = true, git = "https://github.com/integritee-network/integritee-node.git", branch = "szp/polkadot-v0.9.42" } +pallet-parentchain = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v0.9.42" } [dev-dependencies] -sp-keyring = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-keyring = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } [features] default = ["std"] diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 49181dde7d..10b9143861 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -25,22 +25,22 @@ thiserror = "1.0" ws = { version = "0.9.1", features = ["ssl"] } # scs / integritee -my-node-runtime = { package = "integritee-node-runtime", git = "https://github.com/integritee-network/integritee-node.git", branch = "polkadot-v0.9.39" } -pallet-evm = { optional = true, git = "https://github.com/integritee-network/frontier.git", branch = "polkadot-v0.9.39" } -pallet-teerex = { git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v0.9.39" } +my-node-runtime = { package = "integritee-node-runtime", git = "https://github.com/integritee-network/integritee-node.git", branch = "szp/polkadot-v0.9.42" } +pallet-evm = { optional = true, git = "https://github.com/integritee-network/frontier.git", branch = "bar/polkadot-v0.9.42" } +pallet-teerex = { git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v0.9.42" } # `default-features = false` to remove the jsonrpsee dependency. -substrate-api-client = { default-features = false, features = ["std", "ws-client"], git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.39" } -substrate-client-keystore = { git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.39" } -teerex-primitives = { git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v0.9.39" } +substrate-api-client = { default-features = false, features = ["std", "ws-client"], git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42" } +substrate-client-keystore = { git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42" } +teerex-primitives = { git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v0.9.42" } # substrate dependencies -frame-system = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -pallet-balances = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sc-keystore = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-application-crypto = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-core = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-keyring = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-runtime = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +frame-system = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +pallet-balances = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sc-keystore = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-core = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-keyring = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-runtime = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } # local dependencies ita-stf = { path = "../app-libs/stf" } diff --git a/core-primitives/attestation-handler/Cargo.toml b/core-primitives/attestation-handler/Cargo.toml index 20ffad4f25..e03ae41c00 100644 --- a/core-primitives/attestation-handler/Cargo.toml +++ b/core-primitives/attestation-handler/Cargo.toml @@ -51,8 +51,8 @@ itp-types = { path = "../types", default-features = false } httparse = { default-features = false, git = "https://github.com/integritee-network/httparse-sgx", branch = "sgx-experimental" } # substrate deps -sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } [features] default = ["std"] diff --git a/core-primitives/enclave-api/Cargo.toml b/core-primitives/enclave-api/Cargo.toml index da7672c569..915618dd18 100644 --- a/core-primitives/enclave-api/Cargo.toml +++ b/core-primitives/enclave-api/Cargo.toml @@ -15,12 +15,12 @@ sgx_crypto_helper = { branch = "master", git = "https://github.com/apache/teacla sgx_types = { branch = "master", git = "https://github.com/apache/teaclave-sgx-sdk.git" } sgx_urts = { branch = "master", git = "https://github.com/apache/teaclave-sgx-sdk.git" } -frame-support = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-core = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-runtime = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +frame-support = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-core = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-consensus-grandpa = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-runtime = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } -teerex-primitives = { git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v0.9.39" } +teerex-primitives = { git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v0.9.42" } itc-parentchain = { path = "../../core/parentchain/parentchain-crate" } itp-enclave-api-ffi = { path = "ffi" } diff --git a/core-primitives/extrinsics-factory/Cargo.toml b/core-primitives/extrinsics-factory/Cargo.toml index cc6f7e4893..4baac51c47 100644 --- a/core-primitives/extrinsics-factory/Cargo.toml +++ b/core-primitives/extrinsics-factory/Cargo.toml @@ -8,7 +8,7 @@ edition = "2021" # sgx dependencies sgx_tstd = { branch = "master", git = "https://github.com/apache/teaclave-sgx-sdk.git", optional = true } sgx_types = { branch = "master", git = "https://github.com/apache/teaclave-sgx-sdk.git" } -substrate-api-client = { default-features = false, git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.39" } +substrate-api-client = { default-features = false, git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42" } # local dependencies itp-node-api = { path = "../node-api", default-features = false } @@ -24,8 +24,8 @@ thiserror = { version = "1.0", optional = true } # no-std dependencies codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } log = { version = "0.4", default-features = false } -sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } [features] default = ["std"] diff --git a/core-primitives/hashing/Cargo.toml b/core-primitives/hashing/Cargo.toml index 29be6428c1..c2e9f248f0 100644 --- a/core-primitives/hashing/Cargo.toml +++ b/core-primitives/hashing/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" [dependencies] # substrate -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } [features] default = ["std"] diff --git a/core-primitives/node-api/api-client-extensions/Cargo.toml b/core-primitives/node-api/api-client-extensions/Cargo.toml index 8514d29317..c56e6ff7da 100644 --- a/core-primitives/node-api/api-client-extensions/Cargo.toml +++ b/core-primitives/node-api/api-client-extensions/Cargo.toml @@ -10,13 +10,13 @@ codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive thiserror = { version = "1.0" } # substrate -sp-core = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-runtime = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-core = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-consensus-grandpa = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-runtime = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } # scs # `default-features = false` to remove the jsonrpsee dependency. -substrate-api-client = { default-features = false, features = ["std"], git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.39" } +substrate-api-client = { default-features = false, features = ["std"], git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42" } # local deps itp-api-client-types = { path = "../api-client-types" } diff --git a/core-primitives/node-api/api-client-types/Cargo.toml b/core-primitives/node-api/api-client-types/Cargo.toml index 866f23881b..0a57a9448b 100644 --- a/core-primitives/node-api/api-client-types/Cargo.toml +++ b/core-primitives/node-api/api-client-types/Cargo.toml @@ -6,14 +6,14 @@ edition = "2021" [dependencies] # integritee-node -my-node-runtime = { package = "integritee-node-runtime", optional = true, git = "https://github.com/integritee-network/integritee-node.git", branch = "polkadot-v0.9.39" } +my-node-runtime = { package = "integritee-node-runtime", optional = true, git = "https://github.com/integritee-network/integritee-node.git", branch = "szp/polkadot-v0.9.42" } # scs -substrate-api-client = { default-features = false, git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.39" } +substrate-api-client = { default-features = false, git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42" } # substrate -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } # local itp-types = { default-features = false, path = "../../types" } diff --git a/core-primitives/node-api/factory/Cargo.toml b/core-primitives/node-api/factory/Cargo.toml index d37f76fa82..234203ff24 100644 --- a/core-primitives/node-api/factory/Cargo.toml +++ b/core-primitives/node-api/factory/Cargo.toml @@ -8,7 +8,7 @@ edition = "2021" thiserror = { version = "1.0" } # substrate -sp-core = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-core = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } # local itp-api-client-types = { path = "../api-client-types" } diff --git a/core-primitives/node-api/metadata/Cargo.toml b/core-primitives/node-api/metadata/Cargo.toml index 3798a5ac47..4e336530dd 100644 --- a/core-primitives/node-api/metadata/Cargo.toml +++ b/core-primitives/node-api/metadata/Cargo.toml @@ -13,7 +13,7 @@ derive_more = { version = "0.99.5" } itp-api-client-types = { default-features = false, path = "../api-client-types" } # substrate -sp-core = { git = "https://github.com/paritytech/substrate.git", default-features = false, branch = "polkadot-v0.9.39" } +sp-core = { git = "https://github.com/paritytech/substrate.git", default-features = false, branch = "polkadot-v0.9.42" } [features] default = ["std"] diff --git a/core-primitives/ocall-api/Cargo.toml b/core-primitives/ocall-api/Cargo.toml index 5b4e0057f9..f7584c86f3 100644 --- a/core-primitives/ocall-api/Cargo.toml +++ b/core-primitives/ocall-api/Cargo.toml @@ -12,9 +12,9 @@ derive_more = { version = "0.99.5" } sgx_types = { branch = "master", git = "https://github.com/apache/teaclave-sgx-sdk.git" } # substrate deps -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } # local deps itp-storage = { path = "../storage", default-features = false } diff --git a/core-primitives/sgx-runtime-primitives/Cargo.toml b/core-primitives/sgx-runtime-primitives/Cargo.toml index 5b69981eb9..3c25e3a126 100644 --- a/core-primitives/sgx-runtime-primitives/Cargo.toml +++ b/core-primitives/sgx-runtime-primitives/Cargo.toml @@ -7,10 +7,10 @@ edition = "2021" [dependencies] # Substrate dependencies -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -pallet-balances = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +frame-system = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +pallet-balances = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } [features] default = ["std"] diff --git a/core-primitives/sgx/crypto/Cargo.toml b/core-primitives/sgx/crypto/Cargo.toml index ad7a6e5cb7..2e3e7c7072 100644 --- a/core-primitives/sgx/crypto/Cargo.toml +++ b/core-primitives/sgx/crypto/Cargo.toml @@ -23,7 +23,7 @@ sgx_tstd = { branch = "master", git = "https://github.com/apache/teaclave-sgx-sd sgx_types = { branch = "master", git = "https://github.com/apache/teaclave-sgx-sdk.git" } # substrate deps -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } # local deps itp-settings = { path = "../../settings" } diff --git a/core-primitives/stf-executor/Cargo.toml b/core-primitives/stf-executor/Cargo.toml index 43baf31659..ee844db96f 100644 --- a/core-primitives/stf-executor/Cargo.toml +++ b/core-primitives/stf-executor/Cargo.toml @@ -36,8 +36,8 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = log = { version = "0.4", default-features = false } # substrate dependencies -sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } # dev dependencies itc-parentchain-test = { path = "../../core/parentchain/test", optional = true, default-features = false } diff --git a/core-primitives/stf-primitives/Cargo.toml b/core-primitives/stf-primitives/Cargo.toml index 7770959dad..ea22e6d91a 100644 --- a/core-primitives/stf-primitives/Cargo.toml +++ b/core-primitives/stf-primitives/Cargo.toml @@ -9,8 +9,8 @@ edition = "2021" codec = { version = "3.0.0", default-features = false, features = ["derive"], package = "parity-scale-codec" } # Substrate dependencies -sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } [features] diff --git a/core-primitives/stf-state-handler/Cargo.toml b/core-primitives/stf-state-handler/Cargo.toml index 739473c96b..9373c3941d 100644 --- a/core-primitives/stf-state-handler/Cargo.toml +++ b/core-primitives/stf-state-handler/Cargo.toml @@ -37,7 +37,7 @@ thiserror = { version = "1.0", optional = true } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } lazy_static = { version = "1.1.0", features = ["spin_no_std"] } log = { version = "0.4", default-features = false } -sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } [dev-dependencies] itp-sgx-crypto = { path = "../../core-primitives/sgx/crypto", features = ["mocks"] } diff --git a/core-primitives/storage/Cargo.toml b/core-primitives/storage/Cargo.toml index c15b368bb9..2116175674 100644 --- a/core-primitives/storage/Cargo.toml +++ b/core-primitives/storage/Cargo.toml @@ -16,17 +16,17 @@ sgx_tstd = { branch = "master", git = "https://github.com/apache/teaclave-sgx-sd thiserror-sgx = { package = "thiserror", git = "https://github.com/mesalock-linux/thiserror-sgx", tag = "sgx_1.1.3", optional = true } # substrate deps -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-trie = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-trie = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } # integritee itp-types = { default-features = false, path = "../types" } [dev-dependencies] -sp-state-machine = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-state-machine = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } [features] default = ["std"] diff --git a/core-primitives/substrate-sgx/externalities/Cargo.toml b/core-primitives/substrate-sgx/externalities/Cargo.toml index d7ca575d95..4d13234773 100644 --- a/core-primitives/substrate-sgx/externalities/Cargo.toml +++ b/core-primitives/substrate-sgx/externalities/Cargo.toml @@ -16,7 +16,7 @@ serde = { version = "1.0", default-features = false, features = ["derive", "allo sgx_tstd = { optional = true, features = ["untrusted_fs", "net", "backtrace"], git = "https://github.com/apache/teaclave-sgx-sdk.git", branch = "master" } # substrate -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } # local environmental = { default-features = false, path = "../environmental" } diff --git a/core-primitives/substrate-sgx/sp-io/Cargo.toml b/core-primitives/substrate-sgx/sp-io/Cargo.toml index 5e9f5aaf2d..500b7a55e8 100644 --- a/core-primitives/substrate-sgx/sp-io/Cargo.toml +++ b/core-primitives/substrate-sgx/sp-io/Cargo.toml @@ -20,11 +20,11 @@ sgx_tstd = { optional = true, features = ["untrusted_fs", "net", "backtrace"], g sgx_types = { optional = true, git = "https://github.com/apache/teaclave-sgx-sdk.git", branch = "master" } # Substrate dependencies -sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-runtime-interface = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-tracing = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-wasm-interface = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-runtime-interface = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-tracing = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-wasm-interface = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } # local environmental = { path = "../environmental", default-features = false } diff --git a/core-primitives/teerex-storage/Cargo.toml b/core-primitives/teerex-storage/Cargo.toml index f8a64f7c92..f2cc061859 100644 --- a/core-primitives/teerex-storage/Cargo.toml +++ b/core-primitives/teerex-storage/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Integritee AG "] edition = "2021" [dependencies] -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } #local deps itp-storage = { path = "../storage", default-features = false } diff --git a/core-primitives/test/Cargo.toml b/core-primitives/test/Cargo.toml index ffcde0a9af..422b6881ce 100644 --- a/core-primitives/test/Cargo.toml +++ b/core-primitives/test/Cargo.toml @@ -14,9 +14,9 @@ sgx_tstd = { branch = "master", git = "https://github.com/apache/teaclave-sgx-sd sgx_types = { branch = "master", git = "https://github.com/apache/teaclave-sgx-sdk.git" } # substrate deps -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } # local deps ita-stf = { path = "../../app-libs/stf", default-features = false } diff --git a/core-primitives/top-pool-author/Cargo.toml b/core-primitives/top-pool-author/Cargo.toml index 6dbae91070..31d862344c 100644 --- a/core-primitives/top-pool-author/Cargo.toml +++ b/core-primitives/top-pool-author/Cargo.toml @@ -33,8 +33,8 @@ thiserror = { version = "1.0", optional = true } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } derive_more = { version = "0.99.5" } log = { version = "0.4", default-features = false } -sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } [dev-dependencies] futures = { version = "0.3" } @@ -42,7 +42,7 @@ itp-sgx-crypto = { path = "../sgx/crypto", features = ["mocks"] } itp-test = { path = "../test" } itp-top-pool = { path = "../top-pool", features = ["mocks"] } sgx-crypto-helper = { branch = "master", git = "https://github.com/apache/teaclave-sgx-sdk.git", package = "sgx_crypto_helper", default-features = false } -sp-keyring = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-keyring = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } [features] default = ["std"] diff --git a/core-primitives/top-pool/Cargo.toml b/core-primitives/top-pool/Cargo.toml index 9d17a6bcf5..fd27f44329 100644 --- a/core-primitives/top-pool/Cargo.toml +++ b/core-primitives/top-pool/Cargo.toml @@ -32,9 +32,9 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = derive_more = { version = "0.99.5" } log = { version = "0.4", default-features = false } serde = { version = "1.0", default-features = false, features = ["alloc", "derive"] } -sp-application-crypto = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-application-crypto = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } # dev dependencies (for tests) [dev-dependencies] diff --git a/core-primitives/types/Cargo.toml b/core-primitives/types/Cargo.toml index 63ff06ea7c..6015b43356 100644 --- a/core-primitives/types/Cargo.toml +++ b/core-primitives/types/Cargo.toml @@ -18,14 +18,14 @@ serde_json = { version = "1.0", default-features = false, features = ["alloc"] } itp-sgx-runtime-primitives = { path = "../../core-primitives/sgx-runtime-primitives", default-features = false } # substrate-deps -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -pallet-balances = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +frame-system = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +pallet-balances = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } # integritee-node -my-node-runtime = { package = "integritee-node-runtime", optional = true, git = "https://github.com/integritee-network/integritee-node.git", branch = "polkadot-v0.9.39" } +my-node-runtime = { package = "integritee-node-runtime", optional = true, git = "https://github.com/integritee-network/integritee-node.git", branch = "szp/polkadot-v0.9.42" } [features] default = ["std"] diff --git a/core-primitives/utils/Cargo.toml b/core-primitives/utils/Cargo.toml index deb3a9300b..f2736695af 100644 --- a/core-primitives/utils/Cargo.toml +++ b/core-primitives/utils/Cargo.toml @@ -12,8 +12,8 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = hex = { version = "0.4.3", default-features = false, features = ["alloc"] } # substrate -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } # teaclave sgx_tstd = { branch = "master", git = "https://github.com/apache/teaclave-sgx-sdk.git", optional = true } diff --git a/core/direct-rpc-server/Cargo.toml b/core/direct-rpc-server/Cargo.toml index c7b181d4fd..1eeb0e575f 100644 --- a/core/direct-rpc-server/Cargo.toml +++ b/core/direct-rpc-server/Cargo.toml @@ -13,7 +13,7 @@ sgx_types = { branch = "master", git = "https://github.com/apache/teaclave-sgx-s codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } log = { version = "0.4", default-features = false } serde_json = { version = "1.0", default-features = false, features = ["alloc"] } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } # local itc-tls-websocket-server = { path = "../tls-websocket-server", default-features = false } diff --git a/core/offchain-worker-executor/Cargo.toml b/core/offchain-worker-executor/Cargo.toml index 748799e3db..a41906a31e 100644 --- a/core/offchain-worker-executor/Cargo.toml +++ b/core/offchain-worker-executor/Cargo.toml @@ -28,8 +28,8 @@ itp-top-pool-author = { path = "../../core-primitives/top-pool-author", default- itp-types = { path = "../../core-primitives/types", default-features = false } # Substrate dependencies -sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } # no-std compatible libraries log = { version = "0.4", default-features = false } diff --git a/core/parentchain/block-import-dispatcher/Cargo.toml b/core/parentchain/block-import-dispatcher/Cargo.toml index ad9d4acd47..f5a878a689 100644 --- a/core/parentchain/block-import-dispatcher/Cargo.toml +++ b/core/parentchain/block-import-dispatcher/Cargo.toml @@ -21,7 +21,7 @@ thiserror = { version = "1.0", optional = true } # crates.io no-std compatible libraries log = { version = "0.4", default-features = false } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } [dev-dependencies] itc-parentchain-block-importer = { path = "../block-importer", features = ["mocks"] } diff --git a/core/parentchain/block-importer/Cargo.toml b/core/parentchain/block-importer/Cargo.toml index 069e262563..1064ea58d4 100644 --- a/core/parentchain/block-importer/Cargo.toml +++ b/core/parentchain/block-importer/Cargo.toml @@ -27,7 +27,7 @@ thiserror = { version = "1.0", optional = true } # crates.io no-std compatible libraries codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } log = { version = "0.4", default-features = false } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } [features] default = ["std"] diff --git a/core/parentchain/indirect-calls-executor/Cargo.toml b/core/parentchain/indirect-calls-executor/Cargo.toml index 9bccb58df5..9d7048b659 100644 --- a/core/parentchain/indirect-calls-executor/Cargo.toml +++ b/core/parentchain/indirect-calls-executor/Cargo.toml @@ -34,9 +34,9 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = log = { version = "0.4", default-features = false } # substrate dep -binary-merkle-tree = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +binary-merkle-tree = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } [dev-dependencies] env_logger = "0.9.0" diff --git a/core/parentchain/light-client/Cargo.toml b/core/parentchain/light-client/Cargo.toml index 6baf1687d2..8b74570e78 100644 --- a/core/parentchain/light-client/Cargo.toml +++ b/core/parentchain/light-client/Cargo.toml @@ -26,12 +26,12 @@ itp-storage = { path = "../../../core-primitives/storage", default-features = fa itp-types = { path = "../../../core-primitives/types", default-features = false } # substrate deps -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-application-crypto = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-finality-grandpa = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-trie = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +frame-system = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-application-crypto = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-consensus-grandpa = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-trie = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } # test & mock dependencies itc-parentchain-test = { optional = true, default-features = false, path = "../../../core/parentchain/test" } @@ -58,7 +58,7 @@ std = [ "frame-system/std", "sp-core/std", "sp-application-crypto/std", - "sp-finality-grandpa/std", + "sp-consensus-grandpa/std", "sp-runtime/std", "sp-trie/std", diff --git a/core/parentchain/parentchain-crate/Cargo.toml b/core/parentchain/parentchain-crate/Cargo.toml index a450358fca..89af39dffa 100644 --- a/core/parentchain/parentchain-crate/Cargo.toml +++ b/core/parentchain/parentchain-crate/Cargo.toml @@ -8,7 +8,7 @@ edition = "2021" codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "chain-error"] } # Parity -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } # local itc-parentchain-block-import-dispatcher = { path = "../block-import-dispatcher", default-features = false } diff --git a/core/parentchain/test/Cargo.toml b/core/parentchain/test/Cargo.toml index 26610cf048..54d9b690a0 100644 --- a/core/parentchain/test/Cargo.toml +++ b/core/parentchain/test/Cargo.toml @@ -15,12 +15,12 @@ scale-info = { version = "2.0.1", default-features = false, features = ["derive" serde = { version = "1.0.13", features = ["derive"], optional = true } # substrate dependencies -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -frame-system = { default-features = false, package = "frame-system", git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-io = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +frame-system = { default-features = false, package = "frame-system", git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-io = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } [features] default = ["std"] diff --git a/core/rpc-server/Cargo.toml b/core/rpc-server/Cargo.toml index 3227a6c944..7850d64fe9 100644 --- a/core/rpc-server/Cargo.toml +++ b/core/rpc-server/Cargo.toml @@ -27,5 +27,5 @@ std = [] [dev-dependencies] env_logger = { version = "*" } -sp-core = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-core = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } its-test = { path = "../../sidechain/test" } diff --git a/core/tls-websocket-server/Cargo.toml b/core/tls-websocket-server/Cargo.toml index b4cbbdf67a..725cc63ad9 100644 --- a/core/tls-websocket-server/Cargo.toml +++ b/core/tls-websocket-server/Cargo.toml @@ -33,7 +33,7 @@ webpki = { version = "0.21", optional = true } yasna = { version = "0.4", optional = true, features = ["bit-vec", "num-bigint", "chrono", "std"] } # Substrate dependencies -sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } # no-std compatible libraries log = { version = "0.4", default-features = false } diff --git a/enclave-runtime/Cargo.lock b/enclave-runtime/Cargo.lock index 57ec28e5cf..f7dc89bef2 100644 --- a/enclave-runtime/Cargo.lock +++ b/enclave-runtime/Cargo.lock @@ -9,38 +9,35 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3" dependencies = [ "lazy_static", - "regex 1.7.3", + "regex 1.8.3", ] [[package]] name = "ac-compose-macros" -version = "0.2.3" -source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.39#417c301cce7e23f765891cd56ca48878390c5cf9" +version = "0.4.0" +source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.42#9bfdbdec280944a6f9cabf71113b4f880fa292c4" dependencies = [ "ac-primitives", "log", - "parity-scale-codec", - "sp-application-crypto", - "sp-core", - "sp-runtime", + "maybe-async", ] [[package]] name = "ac-node-api" -version = "0.2.3" -source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.39#417c301cce7e23f765891cd56ca48878390c5cf9" +version = "0.4.0" +source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.42#9bfdbdec280944a6f9cabf71113b4f880fa292c4" dependencies = [ "ac-primitives", "bitvec", "derive_more", "either", - "frame-metadata 15.1.0", + "frame-metadata", "hex", "log", "parity-scale-codec", "scale-info", - "serde 1.0.158", - "serde_json 1.0.94", + "serde 1.0.163", + "serde_json 1.0.96", "sp-application-crypto", "sp-core", "sp-runtime", @@ -49,20 +46,23 @@ dependencies = [ [[package]] name = "ac-primitives" -version = "0.5.0" -source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.39#417c301cce7e23f765891cd56ca48878390c5cf9" +version = "0.7.0" +source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.42#9bfdbdec280944a6f9cabf71113b4f880fa292c4" dependencies = [ - "hex", "impl-serde", "parity-scale-codec", "primitive-types", "scale-info", - "serde 1.0.158", - "serde_json 1.0.94", + "serde 1.0.163", + "serde_json 1.0.96", + "sp-application-crypto", "sp-core", + "sp-core-hashing", "sp-runtime", + "sp-runtime-interface", "sp-staking", "sp-version", + "sp-weights", ] [[package]] @@ -103,7 +103,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" dependencies = [ "getrandom 0.2.3", - "once_cell 1.17.1", + "once_cell 1.17.2", "version_check", ] @@ -114,7 +114,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" dependencies = [ "cfg-if 1.0.0", - "once_cell 1.17.1", + "once_cell 1.17.2", "version_check", ] @@ -129,13 +129,19 @@ dependencies = [ [[package]] name = "aho-corasick" -version = "0.7.20" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac" +checksum = "67fc08ce920c31afb70f013dcce1bfc3a3195de6a228474e45e1f145b36f8d04" dependencies = [ "memchr 2.5.0", ] +[[package]] +name = "android-tzdata" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" + [[package]] name = "array-bytes" version = "4.2.0" @@ -144,9 +150,9 @@ checksum = "f52f63c5c1316a16a4b35eaac8b76a98248961a533f061684cb2a7cb0eafb6c6" [[package]] name = "array-bytes" -version = "6.0.0" +version = "6.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22f72e9d6fac4bc80778ea470b20197b88d28c292bb7d60c3fb099280003cd19" +checksum = "d9b1c5a481ec30a5abd8dfbd94ab5cf1bb4e9a66be7f1b3b322f2f1170c200fd" [[package]] name = "arrayref" @@ -166,15 +172,26 @@ version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6" +[[package]] +name = "async-trait" +version = "0.1.68" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9ccdd8f2a161be9bd5c023df56f1b2a0bd1d83872ae53b71a84a12c9bf6e842" +dependencies = [ + "proc-macro2", + "quote 1.0.28", + "syn 2.0.18", +] + [[package]] name = "auto_impl" -version = "1.0.1" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a8c1df849285fbacd587de7818cc7d13be6cd2cbcd47a04fb1801b0e2706e33" +checksum = "fee3da8ef1276b0bee5dd1c7258010d8fffd31801447323115a25560e1327b89" dependencies = [ "proc-macro-error", "proc-macro2", - "quote 1.0.26", + "quote 1.0.28", "syn 1.0.109", ] @@ -200,9 +217,9 @@ source = "git+https://github.com/whalelephant/base-x-rs?branch=no_std#906c9ac592 [[package]] name = "base16ct" -version = "0.1.1" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "349a06037c7bf932dd7e7d1f653678b2038b9ad46a74102f1fc7bd7872678cce" +checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" [[package]] name = "base64" @@ -237,9 +254,9 @@ checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" [[package]] name = "binary-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ - "hash-db", + "hash-db 0.16.0", ] [[package]] @@ -272,7 +289,7 @@ version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "46502ad458c9a52b69d4d4d32775c788b7a1b85e8bc9d482d92250fc0e3f8efe" dependencies = [ - "digest 0.10.6", + "digest 0.10.7", ] [[package]] @@ -283,7 +300,18 @@ checksum = "afa748e348ad3be8263be728124b24a24f268266f6f5d58af9d75f6a40b5c587" dependencies = [ "arrayref", "arrayvec 0.5.2", - "constant_time_eq", + "constant_time_eq 0.1.5", +] + +[[package]] +name = "blake2b_simd" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c2f0dc9a68c6317d884f97cc36cf5a3d20ba14ce404227df55e1af708ab04bc" +dependencies = [ + "arrayref", + "arrayvec 0.7.2", + "constant_time_eq 0.2.5", ] [[package]] @@ -294,7 +322,7 @@ checksum = "9e461a7034e85b211a4acb57ee2e6730b32912b06c08cc242243c39fc21ae6a2" dependencies = [ "arrayref", "arrayvec 0.5.2", - "constant_time_eq", + "constant_time_eq 0.1.5", ] [[package]] @@ -316,7 +344,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" dependencies = [ "block-padding 0.2.1", - "generic-array 0.14.6", + "generic-array 0.14.7", ] [[package]] @@ -325,7 +353,7 @@ version = "0.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" dependencies = [ - "generic-array 0.14.6", + "generic-array 0.14.7", ] [[package]] @@ -345,9 +373,9 @@ checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae" [[package]] name = "bounded-collections" -version = "0.1.5" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a071c348a5ef6da1d3a87166b408170b46002382b1dda83992b5c2208cefb370" +checksum = "07fbd1d11282a1eb134d3c3b7cf8ce213b5161c6e5f73fb1b98618482c606b64" dependencies = [ "log", "parity-scale-codec", @@ -432,18 +460,18 @@ name = "chrono" version = "0.4.11" source = "git+https://github.com/mesalock-linux/chrono-sgx#f964ae7f5f65bd2c9cd6f44a067e7980afc08ca0" dependencies = [ - "num-integer 0.1.41", + "num-integer", "num-traits 0.2.10", "sgx_tstd", ] [[package]] name = "chrono" -version = "0.4.24" +version = "0.4.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e3c5919066adf22df73762e50cffcde3a758f2a848b113b586d1f86728b673b" +checksum = "ec837a71355b28f6556dbd569b37b3f363091c0bd4b2e735674521b4c5fd9bc5" dependencies = [ - "num-integer 0.1.45", + "android-tzdata", "num-traits 0.2.15", ] @@ -463,7 +491,7 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "12f8e7987cbd042a63249497f41aed09f8e65add917ea6566effbc56578d6801" dependencies = [ - "generic-array 0.14.6", + "generic-array 0.14.7", ] [[package]] @@ -478,6 +506,12 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" +[[package]] +name = "constant_time_eq" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13418e745008f7349ec7e449155f419a61b92b58a99cc3616942b926825ec76b" + [[package]] name = "convert_case" version = "0.4.0" @@ -486,9 +520,9 @@ checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" [[package]] name = "cpufeatures" -version = "0.2.6" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "280a9f2d8b3a38871a3c8a46fb80db65e5e5ed97da80c4d08bf27fb63e35e181" +checksum = "3e4c1eaa2012c47becbbad2ab175484c2a84d1185b566fb2cc5b8707343dfe58" dependencies = [ "libc", ] @@ -501,11 +535,11 @@ checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" [[package]] name = "crypto-bigint" -version = "0.4.9" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef2b4b23cddf68b89b8f8069890e8c270d54e2d5fe1b143820234805e4cb17ef" +checksum = "cf4c2f4e1afd912bc40bfd6fed5d9dc1f288e0ba01bfcc835cc5bc3eb13efe15" dependencies = [ - "generic-array 0.14.6", + "generic-array 0.14.7", "rand_core 0.6.4", "subtle", "zeroize", @@ -517,7 +551,7 @@ version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" dependencies = [ - "generic-array 0.14.6", + "generic-array 0.14.7", "typenum 1.16.0 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -549,17 +583,18 @@ dependencies = [ [[package]] name = "data-encoding" -version = "2.3.3" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23d8666cb01533c39dde32bcbab8e227b4ed6679b2c925eba05feabea39508fb" +checksum = "c2e66c9d817f1720209181c316d28635c050fa304f9c79e47a520882661b7308" [[package]] name = "der" -version = "0.6.1" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1a467a65c5e759bce6e65eaf91cc29f466cdc57cb65777bd646872a8a1fd4de" +checksum = "56acb310e15652100da43d130af8d97b509e95af61aab1c5a7939ef24337ee17" dependencies = [ "const-oid", + "zeroize", ] [[package]] @@ -569,7 +604,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e79116f119dd1dba1abf1f3405f03b9b0e79a27a3883864bfebded8a3dc768cd" dependencies = [ "proc-macro2", - "quote 1.0.26", + "quote 1.0.28", "syn 1.0.109", ] @@ -581,7 +616,7 @@ checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" dependencies = [ "convert_case", "proc-macro2", - "quote 1.0.26", + "quote 1.0.28", "rustc_version 0.4.0", "syn 1.0.109", ] @@ -601,27 +636,29 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" dependencies = [ - "generic-array 0.14.6", + "generic-array 0.14.7", ] [[package]] name = "digest" -version = "0.10.6" +version = "0.10.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8168378f4e5023e7218c89c891c0fd8ecdb5e5e4f18cb78f38cf245dd021e76f" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ "block-buffer 0.10.4", + "const-oid", "crypto-common", "subtle", ] [[package]] name = "ecdsa" -version = "0.14.8" +version = "0.16.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "413301934810f597c1d19ca71c8710e99a3f1ba28a0d2ebc01551a2daeea3c5c" +checksum = "0997c976637b606099b9985693efa3581e84e41f5c11ba5255f88711058ad428" dependencies = [ "der", + "digest 0.10.7", "elliptic-curve", "rfc6979", "signature", @@ -649,16 +686,15 @@ checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91" [[package]] name = "elliptic-curve" -version = "0.12.3" +version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7bb888ab5300a19b8e5bceef25ac745ad065f3c9f7efc6de1b91958110891d3" +checksum = "968405c8fdc9b3bf4df0a6638858cc0b52462836ab6b1c87377785dd09cf1c0b" dependencies = [ "base16ct", "crypto-bigint", - "der", - "digest 0.10.6", + "digest 0.10.7", "ff", - "generic-array 0.14.6", + "generic-array 0.14.7", "group", "rand_core 0.6.4", "sec1", @@ -670,7 +706,7 @@ dependencies = [ name = "enclave-runtime" version = "0.9.0" dependencies = [ - "array-bytes 6.0.0", + "array-bytes 6.1.0", "cid", "derive_more", "env_logger", @@ -794,12 +830,12 @@ checksum = "6a89fb87a9e103f71b903b80b670200b54cc67a07578f070681f1fffb7396fb7" dependencies = [ "bytes 1.4.0", "ethereum-types", - "hash-db", + "hash-db 0.15.2", "hash256-std-hasher", "parity-scale-codec", "rlp", "scale-info", - "sha3 0.10.6", + "sha3 0.10.8", "triehash", ] @@ -820,9 +856,9 @@ dependencies = [ [[package]] name = "evm" -version = "0.37.0" +version = "0.39.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4448c65b71e8e2b9718232d84d09045eeaaccb2320494e6bd6dbf7e58fec8ff" +checksum = "a49a4e11987c51220aa89dbe1a5cc877f5079fa6864c0a5b4533331db44e9365" dependencies = [ "auto_impl", "ethereum", @@ -834,14 +870,14 @@ dependencies = [ "primitive-types", "rlp", "scale-info", - "sha3 0.10.6", + "sha3 0.10.8", ] [[package]] name = "evm-core" -version = "0.37.0" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64c51bec0eb68a891c2575c758eaaa1d61373fc51f7caaf216b1fb5c3fea3b5d" +checksum = "4f1f13264b044cb66f0602180f0bc781c29accb41ff560669a3ec15858d5b606" dependencies = [ "parity-scale-codec", "primitive-types", @@ -850,9 +886,9 @@ dependencies = [ [[package]] name = "evm-gasometer" -version = "0.37.0" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8b93c59c54fc26522d842f0e0d3f8e8be331c776df18ff3e540b53c2f64d509" +checksum = "8d43eadc395bd1a52990787ca1495c26b0248165444912be075c28909a853b8c" dependencies = [ "evm-core", "evm-runtime", @@ -861,14 +897,27 @@ dependencies = [ [[package]] name = "evm-runtime" -version = "0.37.0" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c79b9459ce64f1a28688397c4013764ce53cd57bb84efc16b5187fa9b05b13ad" +checksum = "2aa5b32f59ec582a5651978004e5c784920291263b7dcb6de418047438e37f4f" dependencies = [ "auto_impl", "evm-core", "primitive-types", - "sha3 0.10.6", + "sha3 0.10.8", +] + +[[package]] +name = "expander" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f360349150728553f92e4c997a16af8915f418d3a0f21b440d34c5632f16ed84" +dependencies = [ + "blake2", + "fs-err", + "proc-macro2", + "quote 1.0.28", + "syn 1.0.109", ] [[package]] @@ -879,9 +928,9 @@ checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed" [[package]] name = "ff" -version = "0.12.1" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d013fc25338cc558c5c2cfbad646908fb23591e2404481826742b651c9af7160" +checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" dependencies = [ "rand_core 0.6.4", "subtle", @@ -894,7 +943,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "36530797b9bf31cd4ff126dcfee8170f86b00cfdcea3269d73133cc0415945c3" dependencies = [ "either", - "futures 0.3.27", + "futures 0.3.28", "num-traits 0.2.15", "parity-scale-codec", "scale-info", @@ -930,7 +979,7 @@ dependencies = [ [[package]] name = "fp-account" version = "1.0.0-dev" -source = "git+https://github.com/integritee-network/frontier.git?branch=polkadot-v0.9.39#3297c466619934d462e0b845c1ab1e81906dcb18" +source = "git+https://github.com/integritee-network/frontier.git?branch=bar/polkadot-v0.9.42#a5a5e1e6ec08cd542a6084c310863150fb8841b1" dependencies = [ "hex", "libsecp256k1", @@ -946,11 +995,12 @@ dependencies = [ [[package]] name = "fp-evm" version = "3.0.0-dev" -source = "git+https://github.com/integritee-network/frontier.git?branch=polkadot-v0.9.39#3297c466619934d462e0b845c1ab1e81906dcb18" +source = "git+https://github.com/integritee-network/frontier.git?branch=bar/polkadot-v0.9.42#a5a5e1e6ec08cd542a6084c310863150fb8841b1" dependencies = [ "evm", "frame-support", "parity-scale-codec", + "scale-info", "sp-core", "sp-runtime", "sp-std", @@ -959,7 +1009,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-support", "frame-system", @@ -972,35 +1022,26 @@ dependencies = [ "sp-tracing", ] -[[package]] -name = "frame-metadata" -version = "15.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df6bb8542ef006ef0de09a5c4420787d79823c0ed7924225822362fd2bf2ff2d" -dependencies = [ - "cfg-if 1.0.0", - "parity-scale-codec", - "scale-info", -] - [[package]] name = "frame-metadata" version = "15.1.0" -source = "git+https://github.com/paritytech/frame-metadata#438a5b098bb9d5b5a09bdc5b68275b2c5e63a010" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "878babb0b136e731cc77ec2fd883ff02745ff21e6fb662729953d44923df009c" dependencies = [ "cfg-if 1.0.0", "parity-scale-codec", "scale-info", - "serde 1.0.158", + "serde 1.0.163", ] [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "bitflags", - "frame-metadata 15.0.0", + "environmental 1.1.4", + "frame-metadata", "frame-support-procedural", "impl-trait-for-tuples", "k256", @@ -1026,44 +1067,45 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "Inflector", "cfg-expr", "derive-syn-parse", "frame-support-procedural-tools", "itertools", + "proc-macro-warning", "proc-macro2", - "quote 1.0.26", - "syn 1.0.109", + "quote 1.0.28", + "syn 2.0.18", ] [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", "proc-macro2", - "quote 1.0.26", - "syn 1.0.109", + "quote 1.0.28", + "syn 2.0.18", ] [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "proc-macro2", - "quote 1.0.26", - "syn 1.0.109", + "quote 1.0.28", + "syn 2.0.18", ] [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-support", "log", @@ -1080,12 +1122,18 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "parity-scale-codec", "sp-api", ] +[[package]] +name = "fs-err" +version = "2.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0845fa252299212f0389d64ba26f34fa32cfe41588355f21ed507c59a0f64541" + [[package]] name = "funty" version = "2.0.0" @@ -1109,16 +1157,16 @@ dependencies = [ [[package]] name = "futures" -version = "0.3.27" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "531ac96c6ff5fd7c62263c5e3c67a603af4fcaee2e1a0ae5565ba3a11e69e549" +checksum = "23342abe12aba583913b2e62f22225ff9c950774065e4bfb61a19cd9770fec40" dependencies = [ - "futures-channel 0.3.27", - "futures-core 0.3.27", - "futures-io 0.3.27", - "futures-sink 0.3.27", - "futures-task 0.3.27", - "futures-util 0.3.27", + "futures-channel 0.3.28", + "futures-core 0.3.28", + "futures-io 0.3.28", + "futures-sink 0.3.28", + "futures-task 0.3.28", + "futures-util 0.3.28", ] [[package]] @@ -1133,12 +1181,12 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.27" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "164713a5a0dcc3e7b4b1ed7d3b433cabc18025386f9339346e8daf15963cf7ac" +checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2" dependencies = [ - "futures-core 0.3.27", - "futures-sink 0.3.27", + "futures-core 0.3.28", + "futures-sink 0.3.28", ] [[package]] @@ -1151,9 +1199,9 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.27" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86d7a0c1aa76363dac491de0ee99faf6941128376f1cf96f07db7603b7de69dd" +checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c" [[package]] name = "futures-executor" @@ -1176,9 +1224,9 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.27" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89d422fa3cbe3b40dca574ab087abb5bc98258ea57eea3fd6f1fa7162c778b91" +checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964" [[package]] name = "futures-macro" @@ -1187,7 +1235,7 @@ source = "git+https://github.com/mesalock-linux/futures-rs-sgx#d54882f24ddf7d613 dependencies = [ "proc-macro-hack", "proc-macro2", - "quote 1.0.26", + "quote 1.0.28", "syn 1.0.109", ] @@ -1198,9 +1246,9 @@ source = "git+https://github.com/mesalock-linux/futures-rs-sgx#d54882f24ddf7d613 [[package]] name = "futures-sink" -version = "0.3.27" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec93083a4aecafb2a80a885c9de1f0ccae9dbd32c2bb54b0c3a65690e0b8d2f2" +checksum = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e" [[package]] name = "futures-task" @@ -1213,9 +1261,9 @@ dependencies = [ [[package]] name = "futures-task" -version = "0.3.27" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd65540d33b37b16542a0438c12e6aeead10d4ac5d05bd3f805b8f35ab592879" +checksum = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65" [[package]] name = "futures-util" @@ -1239,13 +1287,13 @@ dependencies = [ [[package]] name = "futures-util" -version = "0.3.27" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ef6b17e481503ec85211fed8f39d1970f128935ca1f814cd32ac4a6842e84ab" +checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533" dependencies = [ - "futures-core 0.3.27", - "futures-sink 0.3.27", - "futures-task 0.3.27", + "futures-core 0.3.28", + "futures-sink 0.3.28", + "futures-task 0.3.28", "pin-project-lite", "pin-utils", ] @@ -1261,12 +1309,13 @@ dependencies = [ [[package]] name = "generic-array" -version = "0.14.6" +version = "0.14.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bff49e947297f3312447abdca79f45f4738097cc82b06e72054d2223f601f1b9" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" dependencies = [ "typenum 1.16.0 (registry+https://github.com/rust-lang/crates.io-index)", "version_check", + "zeroize", ] [[package]] @@ -1293,9 +1342,9 @@ dependencies = [ [[package]] name = "group" -version = "0.12.1" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5dfbfb3a6cfbd390d5c9564ab283a0349b9b9fcd46a706c1eb10e0db70bfbac7" +checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" dependencies = [ "ff", "rand_core 0.6.4", @@ -1308,6 +1357,12 @@ version = "0.15.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d23bd4e7b5eda0d0f3a307e8b381fdc8ba9000f26fbe912250c0a4cc3956364a" +[[package]] +name = "hash-db" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e7d7786361d7425ae2fe4f9e407eb0efaa0840f5212d109cc018c40c35c6ab4" + [[package]] name = "hash256-std-hasher" version = "0.15.2" @@ -1350,7 +1405,7 @@ dependencies = [ [[package]] name = "hashbrown_tstd" version = "0.12.0" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" [[package]] name = "hex" @@ -1364,7 +1419,7 @@ version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" dependencies = [ - "digest 0.10.6", + "digest 0.10.7", ] [[package]] @@ -1443,7 +1498,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ebc88fc67028ae3db0c853baa36269d398d5f45b6982f95549ff5def78c935cd" dependencies = [ - "serde 1.0.158", + "serde 1.0.163", ] [[package]] @@ -1453,7 +1508,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "11d7a9f6330b71fea57921c9b61c47ee6e84f72d394754eff6163ae67e7395eb" dependencies = [ "proc-macro2", - "quote 1.0.26", + "quote 1.0.28", "syn 1.0.109", ] @@ -1516,8 +1571,8 @@ dependencies = [ "lazy_static", "log", "parity-scale-codec", - "serde 1.0.158", - "serde_json 1.0.94", + "serde 1.0.163", + "serde_json 1.0.96", "sgx_tstd", "substrate-fixed", "thiserror 1.0.9", @@ -1583,7 +1638,7 @@ dependencies = [ "parity-scale-codec", "rlp", "sgx_tstd", - "sha3 0.10.6", + "sha3 0.10.8", "sp-application-crypto", "sp-core", "sp-io", @@ -1601,7 +1656,7 @@ dependencies = [ "jsonrpc-core", "log", "parity-scale-codec", - "serde_json 1.0.94", + "serde_json 1.0.96", "sgx_tstd", "sgx_types", "sp-runtime", @@ -1705,7 +1760,7 @@ dependencies = [ "derive_more", "finality-grandpa", "frame-system", - "hash-db", + "hash-db 0.15.2", "itc-parentchain-test", "itp-ocall-api", "itp-sgx-io", @@ -1720,8 +1775,8 @@ dependencies = [ "sgx_tstd", "sgx_types", "sp-application-crypto", + "sp-consensus-grandpa", "sp-core", - "sp-finality-grandpa", "sp-runtime", "sp-trie", "thiserror 1.0.9", @@ -1751,8 +1806,8 @@ dependencies = [ "http", "http_req", "log", - "serde 1.0.158", - "serde_json 1.0.94", + "serde 1.0.163", + "serde_json 1.0.96", "sgx_tstd", "sgx_types", "thiserror 1.0.9", @@ -1764,7 +1819,7 @@ name = "itc-tls-websocket-server" version = "0.9.0" dependencies = [ "bit-vec", - "chrono 0.4.24", + "chrono 0.4.26", "log", "mio", "mio-extras", @@ -1964,8 +2019,8 @@ version = "0.9.0" dependencies = [ "itp-types", "parity-scale-codec", - "serde 1.0.158", - "serde_json 1.0.94", + "serde 1.0.163", + "serde_json 1.0.96", "sgx_tstd", ] @@ -2004,7 +2059,7 @@ dependencies = [ "log", "parity-scale-codec", "postcard", - "serde 1.0.158", + "serde 1.0.163", "sgx_tstd", "sp-core", ] @@ -2123,9 +2178,9 @@ name = "itp-storage" version = "0.9.0" dependencies = [ "derive_more", - "frame-metadata 15.0.0", + "frame-metadata", "frame-support", - "hash-db", + "hash-db 0.15.2", "itp-types", "parity-scale-codec", "sgx_tstd", @@ -2191,7 +2246,7 @@ dependencies = [ "linked-hash-map", "log", "parity-scale-codec", - "serde 1.0.158", + "serde 1.0.163", "sgx_tstd", "sgx_types", "sp-application-crypto", @@ -2229,14 +2284,14 @@ dependencies = [ name = "itp-types" version = "0.9.0" dependencies = [ - "chrono 0.4.24", + "chrono 0.4.26", "frame-system", "itp-sgx-runtime-primitives", "pallet-balances", "parity-scale-codec", "primitive-types", - "serde 1.0.158", - "serde_json 1.0.94", + "serde 1.0.163", + "serde_json 1.0.96", "sp-core", "sp-runtime", "sp-std", @@ -2379,7 +2434,7 @@ version = "0.1.0" dependencies = [ "parity-scale-codec", "scale-info", - "serde 1.0.158", + "serde 1.0.163", "sp-core", "sp-io", "sp-runtime", @@ -2429,7 +2484,7 @@ dependencies = [ "its-primitives", "log", "parity-scale-codec", - "serde 1.0.158", + "serde 1.0.163", "sgx_tstd", "sp-core", "sp-io", @@ -2468,9 +2523,9 @@ dependencies = [ [[package]] name = "k256" -version = "0.11.6" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72c1e0b51e7ec0a97369623508396067a486bd0cbed95a2659a4b863d28cfc8b" +checksum = "cadb76004ed8e97623117f3df85b17aaa6626ab0b0831e6573f104df16cd1bcc" dependencies = [ "cfg-if 1.0.0", "ecdsa", @@ -2480,9 +2535,9 @@ dependencies = [ [[package]] name = "keccak" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3afef3b6eff9ce9d8ff9b3601125eec7f0c8cbac7abd14f355d053fa56c98768" +checksum = "8f6d5ed8676d904364de097082f4e7d240b571b67989ced0240f08b7f966f940" dependencies = [ "cpufeatures", ] @@ -2504,9 +2559,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.140" +version = "0.2.144" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99227334921fae1a979cf0bfdfcc6b3e5ce376ef57e16fb6fb3ea2ed6095f80c" +checksum = "2b00cc1c228a6782d0f076e7b232802e0c5689d41bb5df366f2a6b6621cfdfe1" [[package]] name = "libsecp256k1" @@ -2521,7 +2576,7 @@ dependencies = [ "libsecp256k1-gen-ecmult", "libsecp256k1-gen-genmult", "rand 0.8.5", - "serde 1.0.158", + "serde 1.0.163", ] [[package]] @@ -2575,6 +2630,17 @@ name = "matches" version = "0.1.8" source = "git+https://github.com/mesalock-linux/rust-std-candidates-sgx#5747bcf37f3e18687758838da0339ff0f2c83924" +[[package]] +name = "maybe-async" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f1b8c13cb1f814b634a96b2c725449fe7ed464a7b8781de8688be5ffbd3f305" +dependencies = [ + "proc-macro2", + "quote 1.0.28", + "syn 1.0.109", +] + [[package]] name = "memchr" version = "2.2.1" @@ -2593,12 +2659,11 @@ checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" [[package]] name = "memory-db" -version = "0.31.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e0c7cba9ce19ac7ffd2053ac9f49843bbd3f4318feedfd74e85c19d5fb0ba66" +checksum = "808b50db46293432a45e63bc15ea51e0ab4c0a1647b8eb114e31a3e698dd6fbe" dependencies = [ - "hash-db", - "hashbrown 0.12.3", + "hash-db 0.16.0", ] [[package]] @@ -2655,7 +2720,7 @@ name = "multihash" version = "0.11.4" source = "git+https://github.com/whalelephant/rust-multihash?branch=nstd#2c8aca8fa1fcbcba26951d925de40fa81696020a" dependencies = [ - "blake2b_simd", + "blake2b_simd 0.5.11", "blake2s_simd", "digest 0.9.0", "sha-1", @@ -2681,7 +2746,7 @@ source = "git+https://github.com/mesalock-linux/num-sgx#22645415542cc67551890dfd dependencies = [ "num-bigint", "num-complex", - "num-integer 0.1.41", + "num-integer", "num-iter", "num-rational", "num-traits 0.2.10", @@ -2693,7 +2758,7 @@ version = "0.2.5" source = "git+https://github.com/mesalock-linux/num-bigint-sgx#76a5bed94dc31c32bd1670dbf72877abcf9bbc09" dependencies = [ "autocfg 1.1.0", - "num-integer 0.1.41", + "num-integer", "num-traits 0.2.10", "sgx_tstd", ] @@ -2718,22 +2783,12 @@ dependencies = [ "sgx_tstd", ] -[[package]] -name = "num-integer" -version = "0.1.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" -dependencies = [ - "autocfg 1.1.0", - "num-traits 0.2.15", -] - [[package]] name = "num-iter" version = "0.1.39" source = "git+https://github.com/mesalock-linux/num-iter-sgx#f19fc44fcad0b82a040e5a24c511e5049cc04b60" dependencies = [ - "num-integer 0.1.41", + "num-integer", "num-traits 0.2.10", "sgx_tstd", ] @@ -2745,7 +2800,7 @@ source = "git+https://github.com/mesalock-linux/num-rational-sgx#be65f9ce439f3c9 dependencies = [ "autocfg 0.1.8", "num-bigint", - "num-integer 0.1.41", + "num-integer", "num-traits 0.2.10", "sgx_tstd", ] @@ -2787,9 +2842,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.17.1" +version = "1.17.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3" +checksum = "9670a07f94779e00908f3e686eab508878ebb390ba6e604d3a284c00e8d0487b" [[package]] name = "opaque-debug" @@ -2806,7 +2861,7 @@ checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" [[package]] name = "pallet-aura" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-support", "frame-system", @@ -2822,7 +2877,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-support", "frame-system", @@ -2836,7 +2891,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-support", "frame-system", @@ -2850,7 +2905,7 @@ dependencies = [ [[package]] name = "pallet-evm" version = "6.0.0-dev" -source = "git+https://github.com/integritee-network/frontier.git?branch=polkadot-v0.9.39#3297c466619934d462e0b845c1ab1e81906dcb18" +source = "git+https://github.com/integritee-network/frontier.git?branch=bar/polkadot-v0.9.42#a5a5e1e6ec08cd542a6084c310863150fb8841b1" dependencies = [ "evm", "fp-account", @@ -2860,7 +2915,6 @@ dependencies = [ "hex", "impl-trait-for-tuples", "log", - "pallet-timestamp", "parity-scale-codec", "rlp", "scale-info", @@ -2873,7 +2927,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-support", "frame-system", @@ -2883,8 +2937,8 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-application-crypto", + "sp-consensus-grandpa", "sp-core", - "sp-finality-grandpa", "sp-io", "sp-runtime", "sp-session", @@ -2895,7 +2949,7 @@ dependencies = [ [[package]] name = "pallet-insecure-randomness-collective-flip" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-support", "frame-system", @@ -2909,7 +2963,7 @@ dependencies = [ [[package]] name = "pallet-parentchain" version = "0.9.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.39#75e57c53063918e39720e67582b2e30e2cf269b8" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#e124aebb2d3d05a9a65f209f8e6304c6790f15d5" dependencies = [ "frame-support", "frame-system", @@ -2925,7 +2979,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-support", "frame-system", @@ -2945,7 +2999,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-support", "frame-system", @@ -2959,7 +3013,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-support", "frame-system", @@ -2975,7 +3029,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-support", "frame-system", @@ -2990,7 +3044,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -3001,9 +3055,9 @@ dependencies = [ [[package]] name = "parity-scale-codec" -version = "3.4.0" +version = "3.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "637935964ff85a605d114591d4d2c13c5d1ba2806dae97cea6bf180238a749ac" +checksum = "5ddb756ca205bd108aee3c62c6d3c994e1df84a59b9d6d4a5ea42ee1fd5a9a28" dependencies = [ "arrayvec 0.7.2", "bitvec", @@ -3011,7 +3065,7 @@ dependencies = [ "bytes 1.4.0", "impl-trait-for-tuples", "parity-scale-codec-derive", - "serde 1.0.158", + "serde 1.0.163", ] [[package]] @@ -3022,7 +3076,7 @@ checksum = "86b26a931f824dd4eca30b3e43bb4f31cd5f0d3a403c5f5ff27106b805bfde7b" dependencies = [ "proc-macro-crate", "proc-macro2", - "quote 1.0.26", + "quote 1.0.28", "syn 1.0.109", ] @@ -3067,7 +3121,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a25c0b0ae06fcffe600ad392aabfa535696c8973f2253d9ac83171924c58a858" dependencies = [ "postcard-cobs", - "serde 1.0.158", + "serde 1.0.163", ] [[package]] @@ -3101,7 +3155,7 @@ version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" dependencies = [ - "once_cell 1.17.1", + "once_cell 1.17.2", "toml_edit", ] @@ -3113,7 +3167,7 @@ checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" dependencies = [ "proc-macro-error-attr", "proc-macro2", - "quote 1.0.26", + "quote 1.0.28", "syn 1.0.109", "version_check", ] @@ -3125,7 +3179,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" dependencies = [ "proc-macro2", - "quote 1.0.26", + "quote 1.0.28", "version_check", ] @@ -3141,11 +3195,22 @@ version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bc881b2c22681370c6a780e47af9840ef841837bc98118431d4e1868bd0c1086" +[[package]] +name = "proc-macro-warning" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e99670bafb56b9a106419397343bdbc8b8742c3cc449fec6345f86173f47cd4" +dependencies = [ + "proc-macro2", + "quote 1.0.28", + "syn 2.0.18", +] + [[package]] name = "proc-macro2" -version = "1.0.54" +version = "1.0.59" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e472a104799c74b514a57226160104aa483546de37e839ec50e3c2e41dd87534" +checksum = "6aeca18b86b413c660b781aa319e4e2648a3e6f9eadc9b47e9038e6fe9f3451b" dependencies = [ "unicode-ident", ] @@ -3172,9 +3237,9 @@ checksum = "7a6e920b65c65f10b2ae65c831a81a073a89edd28c7cce89475bff467ab4167a" [[package]] name = "quote" -version = "1.0.26" +version = "1.0.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4424af4bf778aae2051a77b60283332f386554255d722233d09fbfc7e30da2fc" +checksum = "1b9ab9c7eadfd8df19006f1cf1a4aed13540ed5cbc047010ece5826e10825488" dependencies = [ "proc-macro2", ] @@ -3264,8 +3329,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8d2275aab483050ab2a7364c1a46604865ee7d6906684e08db0f090acf74f9e7" dependencies = [ "proc-macro2", - "quote 1.0.26", - "syn 2.0.10", + "quote 1.0.28", + "syn 2.0.18", ] [[package]] @@ -3282,13 +3347,13 @@ dependencies = [ [[package]] name = "regex" -version = "1.7.3" +version = "1.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b1f693b24f6ac912f4893ef08244d70b6067480d2f1a46e950c9691e6749d1d" +checksum = "81ca098a9821bd52d6b24fd8b10bd081f47d39c22778cafaa75a2857a62c6390" dependencies = [ - "aho-corasick 0.7.20", + "aho-corasick 1.0.1", "memchr 2.5.0", - "regex-syntax 0.6.29", + "regex-syntax 0.7.2", ] [[package]] @@ -3301,19 +3366,18 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.6.29" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" +checksum = "436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78" [[package]] name = "rfc6979" -version = "0.3.1" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7743f17af12fa0b03b803ba12cd6a8d9483a587e89c69445e3909655c0b9fabb" +checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" dependencies = [ - "crypto-bigint", "hmac", - "zeroize", + "subtle", ] [[package]] @@ -3345,7 +3409,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e33d7b2abe0c340d8797fe2907d3f20d3b5ea5908683618bfe80df7f621f672a" dependencies = [ "proc-macro2", - "quote 1.0.26", + "quote 1.0.28", "syn 1.0.109", ] @@ -3438,27 +3502,27 @@ dependencies = [ [[package]] name = "scale-info" -version = "2.4.0" +version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61471dff9096de1d8b2319efed7162081e96793f5ebb147e50db10d50d648a4d" +checksum = "b569c32c806ec3abdf3b5869fb8bf1e0d275a7c1c9b0b05603d9464632649edf" dependencies = [ "bitvec", "cfg-if 1.0.0", "derive_more", "parity-scale-codec", "scale-info-derive", - "serde 1.0.158", + "serde 1.0.163", ] [[package]] name = "scale-info-derive" -version = "2.4.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "219580e803a66b3f05761fd06f1f879a872444e49ce23f73694d26e5a954c7e6" +checksum = "53012eae69e5aa5c14671942a5dd47de59d4cdcff8532a6dd0e081faf1119482" dependencies = [ "proc-macro-crate", "proc-macro2", - "quote 1.0.26", + "quote 1.0.28", "syn 1.0.109", ] @@ -3490,13 +3554,13 @@ dependencies = [ [[package]] name = "sec1" -version = "0.3.0" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3be24c1842290c45df0a7bf069e0c268a747ad05a192f2fd7dcfdbc1cba40928" +checksum = "f0aec48e813d6b90b15f0b8948af3c63483992dee44c03e9930b3eebdabe046e" dependencies = [ "base16ct", "der", - "generic-array 0.14.6", + "generic-array 0.14.7", "subtle", "zeroize", ] @@ -3568,11 +3632,11 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.158" +version = "1.0.163" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "771d4d9c4163ee138805e12c710dd365e4f44be8be0503cb1bb9eb989425d9c9" +checksum = "2113ab51b87a539ae008b5c6c02dc020ffa39afd2d83cffcb3f4eb2722cebec2" dependencies = [ - "serde_derive 1.0.158", + "serde_derive 1.0.163", ] [[package]] @@ -3590,19 +3654,19 @@ version = "1.0.118" source = "git+https://github.com/mesalock-linux/serde-sgx#db0226f1d5d70fca6b96af2c285851502204e21c" dependencies = [ "proc-macro2", - "quote 1.0.26", + "quote 1.0.28", "syn 1.0.109", ] [[package]] name = "serde_derive" -version = "1.0.158" +version = "1.0.163" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e801c1712f48475582b7696ac71e0ca34ebb30e09338425384269d9717c62cad" +checksum = "8c805777e3930c8883389c602315a24224bcc738b63905ef87cd1420353ea93e" dependencies = [ "proc-macro2", - "quote 1.0.26", - "syn 2.0.10", + "quote 1.0.28", + "syn 2.0.18", ] [[package]] @@ -3630,24 +3694,24 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.94" +version = "1.0.96" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c533a59c9d8a93a09c6ab31f0fd5e5f4dd1b8fc9434804029839884765d04ea" +checksum = "057d394a50403bcac12672b2b18fb387ab6d289d957dab67dd201875391e52f1" dependencies = [ "itoa 1.0.6", "ryu", - "serde 1.0.158", + "serde 1.0.163", ] [[package]] name = "sgx_alloc" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" [[package]] name = "sgx_backtrace_sys" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" dependencies = [ "cc", "sgx_build_helper", @@ -3657,12 +3721,12 @@ dependencies = [ [[package]] name = "sgx_build_helper" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" [[package]] name = "sgx_crypto_helper" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" dependencies = [ "itertools", "serde 1.0.118 (git+https://github.com/mesalock-linux/serde-sgx)", @@ -3676,12 +3740,12 @@ dependencies = [ [[package]] name = "sgx_demangle" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" [[package]] name = "sgx_libc" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" dependencies = [ "sgx_types", ] @@ -3689,7 +3753,7 @@ dependencies = [ [[package]] name = "sgx_rand" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" dependencies = [ "sgx_trts", "sgx_tstd", @@ -3699,7 +3763,7 @@ dependencies = [ [[package]] name = "sgx_serialize" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" dependencies = [ "sgx_tstd", ] @@ -3707,7 +3771,7 @@ dependencies = [ [[package]] name = "sgx_serialize_derive" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" dependencies = [ "quote 0.3.15", "sgx_serialize_derive_internals", @@ -3717,7 +3781,7 @@ dependencies = [ [[package]] name = "sgx_serialize_derive_internals" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" dependencies = [ "syn 0.11.11", ] @@ -3725,7 +3789,7 @@ dependencies = [ [[package]] name = "sgx_tcrypto" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" dependencies = [ "sgx_types", ] @@ -3733,7 +3797,7 @@ dependencies = [ [[package]] name = "sgx_tcrypto_helper" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" dependencies = [ "sgx_crypto_helper", ] @@ -3741,7 +3805,7 @@ dependencies = [ [[package]] name = "sgx_tprotected_fs" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" dependencies = [ "sgx_trts", "sgx_types", @@ -3750,7 +3814,7 @@ dependencies = [ [[package]] name = "sgx_trts" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" dependencies = [ "sgx_libc", "sgx_types", @@ -3759,7 +3823,7 @@ dependencies = [ [[package]] name = "sgx_tse" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" dependencies = [ "sgx_types", ] @@ -3767,7 +3831,7 @@ dependencies = [ [[package]] name = "sgx_tseal" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" dependencies = [ "sgx_tcrypto", "sgx_trts", @@ -3778,7 +3842,7 @@ dependencies = [ [[package]] name = "sgx_tstd" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" dependencies = [ "hashbrown_tstd", "sgx_alloc", @@ -3794,7 +3858,7 @@ dependencies = [ [[package]] name = "sgx_tunittest" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" dependencies = [ "sgx_tstd", ] @@ -3802,12 +3866,12 @@ dependencies = [ [[package]] name = "sgx_types" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" [[package]] name = "sgx_unwind" version = "1.1.6" -source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#780dc8999477244d8ff1e6f418321adbec51ee58" +source = "git+https://github.com/apache/incubator-teaclave-sgx-sdk?branch=master#f1776a7cec1caab2959813f87bb4924805b92011" dependencies = [ "sgx_build_helper", ] @@ -3866,7 +3930,7 @@ checksum = "82e6b795fe2e3b1e845bafcb27aa35405c4d47cdfc92af5fc8d3002f76cebdc0" dependencies = [ "cfg-if 1.0.0", "cpufeatures", - "digest 0.10.6", + "digest 0.10.7", ] [[package]] @@ -3883,21 +3947,21 @@ dependencies = [ [[package]] name = "sha3" -version = "0.10.6" +version = "0.10.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdf0c33fae925bdc080598b84bc15c55e7b9a4a43b3c704da051f977469691c9" +checksum = "75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60" dependencies = [ - "digest 0.10.6", + "digest 0.10.7", "keccak", ] [[package]] name = "signature" -version = "1.6.4" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c" +checksum = "5e1788eed21689f9cf370582dfc467ef36ed9c707f073528ddafa8d83e3b8500" dependencies = [ - "digest 0.10.6", + "digest 0.10.7", "rand_core 0.6.4", ] @@ -3935,12 +3999,14 @@ checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "log", "parity-scale-codec", + "scale-info", "sp-api-proc-macro", "sp-core", + "sp-metadata-ir", "sp-runtime", "sp-std", "sp-version", @@ -3949,19 +4015,21 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ + "Inflector", "blake2", + "expander", "proc-macro-crate", "proc-macro2", - "quote 1.0.26", - "syn 1.0.109", + "quote 1.0.28", + "syn 2.0.18", ] [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "parity-scale-codec", "scale-info", @@ -3973,7 +4041,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "integer-sqrt", "num-traits 0.2.15", @@ -3986,7 +4054,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "parity-scale-codec", "sp-api", @@ -3998,7 +4066,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "parity-scale-codec", "scale-info", @@ -4011,10 +4079,26 @@ dependencies = [ "sp-timestamp", ] +[[package]] +name = "sp-consensus-grandpa" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" +dependencies = [ + "finality-grandpa", + "log", + "parity-scale-codec", + "scale-info", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-runtime", + "sp-std", +] + [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "parity-scale-codec", "scale-info", @@ -4025,19 +4109,20 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "array-bytes 4.2.0", "bitflags", "blake2", "bounded-collections", "ed25519-zebra", - "hash-db", + "hash-db 0.16.0", "hash256-std-hasher", "libsecp256k1", "log", "merlin", "parity-scale-codec", + "paste", "primitive-types", "scale-info", "schnorrkel", @@ -4055,13 +4140,13 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ - "blake2", + "blake2b_simd 1.0.1", "byteorder 1.4.3", - "digest 0.10.6", + "digest 0.10.7", "sha2 0.10.6", - "sha3 0.10.6", + "sha3 0.10.8", "sp-std", "twox-hash", ] @@ -4069,28 +4154,28 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "proc-macro2", - "quote 1.0.26", + "quote 1.0.28", "sp-core-hashing", - "syn 1.0.109", + "syn 2.0.18", ] [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "proc-macro2", - "quote 1.0.26", - "syn 1.0.109", + "quote 1.0.28", + "syn 2.0.18", ] [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "environmental 1.1.4", "parity-scale-codec", @@ -4098,26 +4183,10 @@ dependencies = [ "sp-storage", ] -[[package]] -name = "sp-finality-grandpa" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" -dependencies = [ - "finality-grandpa", - "log", - "parity-scale-codec", - "scale-info", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-runtime", - "sp-std", -] - [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -4131,7 +4200,7 @@ name = "sp-io" version = "7.0.0" dependencies = [ "environmental 1.1.3", - "hash-db", + "hash-db 0.15.2", "itp-sgx-externalities", "libsecp256k1", "log", @@ -4147,10 +4216,21 @@ dependencies = [ "tracing-core", ] +[[package]] +name = "sp-metadata-ir" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" +dependencies = [ + "frame-metadata", + "parity-scale-codec", + "scale-info", + "sp-std", +] + [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "sp-api", "sp-core", @@ -4160,7 +4240,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "either", "hash256-std-hasher", @@ -4180,7 +4260,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "bytes 1.4.0", "impl-trait-for-tuples", @@ -4198,19 +4278,19 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "Inflector", "proc-macro-crate", "proc-macro2", - "quote 1.0.26", - "syn 1.0.109", + "quote 1.0.28", + "syn 2.0.18", ] [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "parity-scale-codec", "scale-info", @@ -4223,7 +4303,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "parity-scale-codec", "scale-info", @@ -4235,12 +4315,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "parity-scale-codec", "ref-cast", @@ -4251,7 +4331,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -4262,7 +4342,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "parity-scale-codec", "sp-std", @@ -4273,7 +4353,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "sp-api", "sp-runtime", @@ -4282,9 +4362,9 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ - "hash-db", + "hash-db 0.16.0", "memory-db", "parity-scale-codec", "scale-info", @@ -4297,7 +4377,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "parity-scale-codec", "scale-info", @@ -4310,18 +4390,18 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "parity-scale-codec", "proc-macro2", - "quote 1.0.26", - "syn 1.0.109", + "quote 1.0.28", + "syn 2.0.18", ] [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -4331,7 +4411,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.39#1837f423b494254e1d27834b1c9da34b2c0c2375" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "parity-scale-codec", "scale-info", @@ -4350,15 +4430,15 @@ checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" [[package]] name = "ss58-registry" -version = "1.39.0" +version = "1.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ecf0bd63593ef78eca595a7fc25e9a443ca46fe69fd472f8f09f5245cdcd769d" +checksum = "eb47a8ad42e5fc72d5b1eb104a5546937eaf39843499948bb666d6e93c62423b" dependencies = [ "Inflector", "proc-macro2", - "quote 1.0.26", - "serde 1.0.158", - "serde_json 1.0.94", + "quote 1.0.28", + "serde 1.0.163", + "serde_json 1.0.96", "unicode-xid 0.2.4", ] @@ -4370,19 +4450,21 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" [[package]] name = "substrate-api-client" -version = "0.10.0" -source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.39#417c301cce7e23f765891cd56ca48878390c5cf9" +version = "0.12.0" +source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.42#9bfdbdec280944a6f9cabf71113b4f880fa292c4" dependencies = [ "ac-compose-macros", "ac-node-api", "ac-primitives", + "async-trait", "derive_more", - "frame-metadata 15.1.0", + "frame-metadata", "hex", "log", + "maybe-async", "parity-scale-codec", - "serde 1.0.158", - "serde_json 1.0.94", + "serde 1.0.163", + "serde_json 1.0.96", "sp-core", "sp-runtime", "sp-runtime-interface", @@ -4400,9 +4482,9 @@ dependencies = [ [[package]] name = "subtle" -version = "2.4.1" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" +checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" [[package]] name = "syn" @@ -4422,18 +4504,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" dependencies = [ "proc-macro2", - "quote 1.0.26", + "quote 1.0.28", "unicode-ident", ] [[package]] name = "syn" -version = "2.0.10" +version = "2.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aad1363ed6d37b84299588d62d3a7d95b5a5c2d9aad5c85609fda12afaa1f40" +checksum = "32d41677bcbe24c20c52e7c70b0d8db04134c5d1066bf98662e2871ad200ea3e" dependencies = [ "proc-macro2", - "quote 1.0.26", + "quote 1.0.28", "unicode-ident", ] @@ -4484,7 +4566,7 @@ version = "1.0.9" source = "git+https://github.com/mesalock-linux/thiserror-sgx?tag=sgx_1.1.3#c2f806b88616e06aab0af770366a76885d974fdc" dependencies = [ "proc-macro2", - "quote 1.0.26", + "quote 1.0.28", "syn 1.0.109", ] @@ -4495,8 +4577,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f" dependencies = [ "proc-macro2", - "quote 1.0.26", - "syn 2.0.10", + "quote 1.0.28", + "syn 2.0.18", ] [[package]] @@ -4519,15 +4601,15 @@ dependencies = [ [[package]] name = "toml_datetime" -version = "0.6.1" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ab8ed2edee10b50132aed5f331333428b011c99402b5a534154ed15746f9622" +checksum = "5a76a9312f5ba4c2dec6b9161fdf25d87ad8a09256ccea5a556fef03c706a10f" [[package]] name = "toml_edit" -version = "0.19.8" +version = "0.19.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "239410c8609e8125456927e6707163a3b1fdb40561e4b803bc041f466ccfdc13" +checksum = "2380d56e8670370eee6566b0bfd4265f65b3f432e8c6d85623f728d4fa31f739" dependencies = [ "indexmap 1.9.3", "toml_datetime", @@ -4547,17 +4629,17 @@ dependencies = [ [[package]] name = "tracing-core" -version = "0.1.30" +version = "0.1.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24eb03ba0eab1fd845050058ce5e616558e8f8d8fca633e6b163fe25c797213a" +checksum = "0955b8137a1df6f1a2e9a37d8a6656291ff0297c1a97c24e0d8425fe2312f79a" [[package]] name = "trie-db" -version = "0.25.1" +version = "0.27.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3390c0409daaa6027d6681393316f4ccd3ff82e1590a1e4725014e3ae2bf1920" +checksum = "767abe6ffed88a1889671a102c2861ae742726f52e0a5a425b92c9fbfa7e9c85" dependencies = [ - "hash-db", + "hash-db 0.16.0", "hashbrown 0.13.2", "log", "smallvec 1.10.0", @@ -4565,11 +4647,11 @@ dependencies = [ [[package]] name = "trie-root" -version = "0.17.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a36c5ca3911ed3c9a5416ee6c679042064b93fc637ded67e25f92e68d783891" +checksum = "d4ed310ef5ab98f5fa467900ed906cb9232dd5376597e00fd4cba2a449d06c0b" dependencies = [ - "hash-db", + "hash-db 0.16.0", ] [[package]] @@ -4578,7 +4660,7 @@ version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1631b201eb031b563d2e85ca18ec8092508e262a3196ce9bd10a67ec87b9f5c" dependencies = [ - "hash-db", + "hash-db 0.15.2", "rlp", ] @@ -4616,8 +4698,8 @@ version = "1.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ - "cfg-if 0.1.10", - "digest 0.10.6", + "cfg-if 1.0.0", + "digest 0.10.7", "static_assertions", ] @@ -4668,9 +4750,9 @@ dependencies = [ [[package]] name = "unicode-ident" -version = "1.0.8" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4" +checksum = "b15811caf2415fb889178633e7724bad2509101cde276048e013b9def5e51fa0" [[package]] name = "unicode-normalization" @@ -4759,9 +4841,9 @@ dependencies = [ [[package]] name = "winnow" -version = "0.4.1" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae8970b36c66498d8ff1d66685dc86b91b29db0c7739899012f63a63814b4b28" +checksum = "61de7bac303dc551fe038e2b3cef0f571087a47571ea6e79a87692ac99b99699" dependencies = [ "memchr 2.5.0", ] @@ -4797,11 +4879,11 @@ dependencies = [ [[package]] name = "zeroize_derive" -version = "1.4.0" +version = "1.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57090580b8b26d9fd2288c4ac982b3b3c6446cd8e91112bcf672d5ddb2f17441" +checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", - "quote 1.0.26", - "syn 2.0.10", + "quote 1.0.28", + "syn 2.0.18", ] diff --git a/enclave-runtime/Cargo.toml b/enclave-runtime/Cargo.toml index 76c854816b..2d8153a7ed 100644 --- a/enclave-runtime/Cargo.toml +++ b/enclave-runtime/Cargo.toml @@ -131,11 +131,11 @@ its-primitives = { path = "../sidechain/primitives", default-features = false } its-sidechain = { path = "../sidechain/sidechain-crate", default-features = false, features = ["sgx"] } # substrate deps -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -frame-system = { optional = true, default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +frame-system = { optional = true, default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } # test-deps itp-sgx-temp-dir = { version = "0.1", default-features = false, optional = true, path = "../core-primitives/sgx/temp-dir" } diff --git a/service/Cargo.toml b/service/Cargo.toml index 01c69708e7..af21532ef2 100644 --- a/service/Cargo.toml +++ b/service/Cargo.toml @@ -60,20 +60,20 @@ its-storage = { path = "../sidechain/storage" } # scs / integritee -my-node-runtime = { package = "integritee-node-runtime", git = "https://github.com/integritee-network/integritee-node.git", branch = "polkadot-v0.9.39" } -sgx-verify = { git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v0.9.39" } +my-node-runtime = { package = "integritee-node-runtime", git = "https://github.com/integritee-network/integritee-node.git", branch = "szp/polkadot-v0.9.42" } +sgx-verify = { git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v0.9.42" } # `default-features = false` to remove the jsonrpsee dependency. -substrate-api-client = { default-features = false, features = ["std", "ws-client"], git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.39" } -teerex-primitives = { git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v0.9.39" } +substrate-api-client = { default-features = false, features = ["std", "ws-client"], git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42" } +teerex-primitives = { git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v0.9.42" } # Substrate dependencies -frame-support = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -frame-system = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -pallet-balances = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-core = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-keyring = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-runtime = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +frame-support = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +frame-system = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +pallet-balances = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-core = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-consensus-grandpa = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-keyring = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-runtime = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } [features] default = [] diff --git a/sidechain/block-composer/Cargo.toml b/sidechain/block-composer/Cargo.toml index 0a978bf667..48da60d6f9 100644 --- a/sidechain/block-composer/Cargo.toml +++ b/sidechain/block-composer/Cargo.toml @@ -32,8 +32,8 @@ thiserror = { version = "1.0", optional = true } # no-std compatible libraries codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } log = { version = "0.4", default-features = false } -sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } [features] diff --git a/sidechain/block-verification/Cargo.toml b/sidechain/block-verification/Cargo.toml index 391d0d49e4..20728928d7 100644 --- a/sidechain/block-verification/Cargo.toml +++ b/sidechain/block-verification/Cargo.toml @@ -18,10 +18,10 @@ itp-utils = { default-features = false, path = "../../core-primitives/utils" } its-primitives = { default-features = false, path = "../primitives" } # substrate deps -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-consensus-slots = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-consensus-slots = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } # sgx deps sgx_tstd = { branch = "master", features = ["untrusted_fs", "net", "backtrace"], git = "https://github.com/apache/teaclave-sgx-sdk.git", optional = true } @@ -51,4 +51,4 @@ sgx = [ [dev-dependencies] itc-parentchain-test = { path = "../../core/parentchain/test" } its-test = { path = "../../sidechain/test" } -sp-keyring = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-keyring = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } diff --git a/sidechain/consensus/aura/Cargo.toml b/sidechain/consensus/aura/Cargo.toml index 587812ae20..5fcd079c4e 100644 --- a/sidechain/consensus/aura/Cargo.toml +++ b/sidechain/consensus/aura/Cargo.toml @@ -13,9 +13,9 @@ log = { version = "0.4", default-features = false } sgx_tstd = { branch = "master", git = "https://github.com/apache/teaclave-sgx-sdk.git", optional = true } # substrate deps -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } # local deps ita-stf = { path = "../../../app-libs/stf", default-features = false } @@ -47,7 +47,7 @@ itc-parentchain-test = { path = "../../../core/parentchain/test" } itp-storage = { path = "../../../core-primitives/storage" } itp-test = { path = "../../../core-primitives/test" } its-test = { path = "../../../sidechain/test" } -sp-keyring = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-keyring = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } [features] default = ["std"] diff --git a/sidechain/consensus/common/Cargo.toml b/sidechain/consensus/common/Cargo.toml index 45d5e71b57..226f19d8d3 100644 --- a/sidechain/consensus/common/Cargo.toml +++ b/sidechain/consensus/common/Cargo.toml @@ -30,7 +30,7 @@ sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git", branch = " thiserror-sgx = { package = "thiserror", optional = true, git = "https://github.com/mesalock-linux/thiserror-sgx", tag = "sgx_1.1.3" } # substrate deps -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } [dev-dependencies] # local @@ -40,7 +40,7 @@ itp-test = { path = "../../../core-primitives/test" } its-test = { path = "../../test" } # substrate -sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } [features] default = ["std"] diff --git a/sidechain/consensus/slots/Cargo.toml b/sidechain/consensus/slots/Cargo.toml index a80d5e2fc9..94ba257cad 100644 --- a/sidechain/consensus/slots/Cargo.toml +++ b/sidechain/consensus/slots/Cargo.toml @@ -24,8 +24,8 @@ futures-timer = { version = "3.0", optional = true } sgx_tstd = { branch = "master", git = "https://github.com/apache/teaclave-sgx-sdk.git", optional = true, features = ["untrusted_time"] } # substrate deps -sp-consensus-slots = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-consensus-slots = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } # local deps itp-settings = { path = "../../../core-primitives/settings" } @@ -36,7 +36,7 @@ its-consensus-common = { path = "../common", default-features = false } [dev-dependencies] itc-parentchain-test = { path = "../../../core/parentchain/test" } its-test = { path = "../../test" } -sp-keyring = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-keyring = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } tokio = { version = "1.6.1", features = ["full"] } diff --git a/sidechain/primitives/Cargo.toml b/sidechain/primitives/Cargo.toml index 6cbffa83ef..e93e3d9719 100644 --- a/sidechain/primitives/Cargo.toml +++ b/sidechain/primitives/Cargo.toml @@ -14,10 +14,10 @@ serde = { version = "1.0.13", default-features = false } # substrate dependencies -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-io = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-io = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } [features] diff --git a/sidechain/rpc-handler/Cargo.toml b/sidechain/rpc-handler/Cargo.toml index 831b6408cc..bbe5c4e92b 100644 --- a/sidechain/rpc-handler/Cargo.toml +++ b/sidechain/rpc-handler/Cargo.toml @@ -28,7 +28,7 @@ rust-base58 = { package = "rust-base58", version = "0.0.4", optional = true } # no-std compatible libraries codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } log = { version = "0.4", default-features = false } -sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } [features] default = ["std"] diff --git a/sidechain/state/Cargo.toml b/sidechain/state/Cargo.toml index 7737b8c3cb..96b1fda3f1 100644 --- a/sidechain/state/Cargo.toml +++ b/sidechain/state/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "chain-error"] } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } log = { version = "0.4", default-features = false } serde = { version = "1.0", default-features = false, features = ["alloc", "derive"] } @@ -26,12 +26,12 @@ its-primitives = { path = "../primitives", default-features = false } sp-io = { optional = true, default-features = false, features = ["disable_oom", "disable_panic_handler", "disable_allocator"], path = "../../core-primitives/substrate-sgx/sp-io" } # substrate deps -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } # test deps [dev-dependencies] -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } [features] default = ["std"] diff --git a/sidechain/storage/Cargo.toml b/sidechain/storage/Cargo.toml index 4294b9faa2..b20bbf473a 100644 --- a/sidechain/storage/Cargo.toml +++ b/sidechain/storage/Cargo.toml @@ -18,7 +18,7 @@ itp-types = { path = "../../core-primitives/types" } its-primitives = { path = "../primitives" } # Substrate dependencies -sp-core = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-core = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } [dev-dependencies] # crate.io diff --git a/sidechain/test/Cargo.toml b/sidechain/test/Cargo.toml index 1a1c073e68..f6f8fbfc72 100644 --- a/sidechain/test/Cargo.toml +++ b/sidechain/test/Cargo.toml @@ -14,7 +14,7 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = sgx_tstd = { branch = "master", git = "https://github.com/apache/teaclave-sgx-sdk.git", features = ["untrusted_time"], optional = true } # Substrate dependencies -sp-core = { default_features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +sp-core = { default_features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } # local itp-types = { path = "../../core-primitives/types", default_features = false } diff --git a/sidechain/validateer-fetch/Cargo.toml b/sidechain/validateer-fetch/Cargo.toml index 9a37ce2b93..dba26b3189 100644 --- a/sidechain/validateer-fetch/Cargo.toml +++ b/sidechain/validateer-fetch/Cargo.toml @@ -10,10 +10,10 @@ derive_more = "0.99.16" thiserror = "1.0.26" # substrate deps -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } # local deps itp-ocall-api = { path = "../../core-primitives/ocall-api", default-features = false } From 6e8a291633b216d6b4db5b645dbad72bbc44b55d Mon Sep 17 00:00:00 2001 From: Szilard Parrag Date: Thu, 1 Jun 2023 08:32:35 +0200 Subject: [PATCH 02/34] followup for Keystore overhaul (final) (#13683) --- core-primitives/utils/src/stringify.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core-primitives/utils/src/stringify.rs b/core-primitives/utils/src/stringify.rs index b03d782846..993c1b15c9 100644 --- a/core-primitives/utils/src/stringify.rs +++ b/core-primitives/utils/src/stringify.rs @@ -19,13 +19,13 @@ //! `Debug` implementation on `sgx`. use codec::Encode; -use sp_core::{hexdisplay::HexDisplay, Public}; +use sp_core::{crypto::Public, hexdisplay::HexDisplay}; use std::{format, string::String}; /// Convert a sp_core public type to string. pub fn public_to_string(t: &T) -> String { - let crypto_pair = t.to_public_crypto_pair(); - format!("{}", HexDisplay::from(&crypto_pair.1)) + let crypto_pair = t.as_ref(); + format!("{}", HexDisplay::from(&crypto_pair)) } pub fn account_id_to_string(account: &AccountId) -> String { From 6f0aade080cb05799b977f8a059565b00c7bb1cd Mon Sep 17 00:00:00 2001 From: Szilard Parrag Date: Thu, 1 Jun 2023 08:42:17 +0200 Subject: [PATCH 03/34] implement missing trait methods --- app-libs/sgx-runtime/src/lib.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/app-libs/sgx-runtime/src/lib.rs b/app-libs/sgx-runtime/src/lib.rs index e31821e288..ddd66d67f1 100644 --- a/app-libs/sgx-runtime/src/lib.rs +++ b/app-libs/sgx-runtime/src/lib.rs @@ -234,6 +234,10 @@ impl pallet_balances::Config for Runtime { type ExistentialDeposit = ExistentialDeposit; type AccountStore = System; type WeightInfo = (); + type HoldIdentifier = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } parameter_types! { @@ -317,6 +321,14 @@ impl_runtime_apis! { fn metadata() -> OpaqueMetadata { OpaqueMetadata::new(Runtime::metadata().into()) } + + fn metadata_at_version(version: u32) -> Option { + Runtime::metadata_at_version(version) + } + + fn metadata_versions() -> sp_std::vec::Vec { + Runtime::metadata_versions() + } } } From a81fda64a168ba4ddb674546fab03dad62120f6e Mon Sep 17 00:00:00 2001 From: Szilard Parrag Date: Thu, 1 Jun 2023 09:54:52 +0200 Subject: [PATCH 04/34] substrate-api-client: explicitly use synchronous mode instead of the default async --- cli/Cargo.toml | 2 +- core-primitives/extrinsics-factory/Cargo.toml | 2 +- core-primitives/node-api/api-client-extensions/Cargo.toml | 2 +- core-primitives/node-api/api-client-types/Cargo.toml | 2 +- service/Cargo.toml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 10b9143861..3d18015773 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -29,7 +29,7 @@ my-node-runtime = { package = "integritee-node-runtime", git = "https://github.c pallet-evm = { optional = true, git = "https://github.com/integritee-network/frontier.git", branch = "bar/polkadot-v0.9.42" } pallet-teerex = { git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v0.9.42" } # `default-features = false` to remove the jsonrpsee dependency. -substrate-api-client = { default-features = false, features = ["std", "ws-client"], git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42" } +substrate-api-client = { default-features = false, features = ["std", "ws-client", "sync-api"], git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42" } substrate-client-keystore = { git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42" } teerex-primitives = { git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v0.9.42" } diff --git a/core-primitives/extrinsics-factory/Cargo.toml b/core-primitives/extrinsics-factory/Cargo.toml index 4baac51c47..9dc7dad14a 100644 --- a/core-primitives/extrinsics-factory/Cargo.toml +++ b/core-primitives/extrinsics-factory/Cargo.toml @@ -8,7 +8,7 @@ edition = "2021" # sgx dependencies sgx_tstd = { branch = "master", git = "https://github.com/apache/teaclave-sgx-sdk.git", optional = true } sgx_types = { branch = "master", git = "https://github.com/apache/teaclave-sgx-sdk.git" } -substrate-api-client = { default-features = false, git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42" } +substrate-api-client = { default-features = false, features = ["sync-api"], git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42" } # local dependencies itp-node-api = { path = "../node-api", default-features = false } diff --git a/core-primitives/node-api/api-client-extensions/Cargo.toml b/core-primitives/node-api/api-client-extensions/Cargo.toml index c56e6ff7da..0572552cd2 100644 --- a/core-primitives/node-api/api-client-extensions/Cargo.toml +++ b/core-primitives/node-api/api-client-extensions/Cargo.toml @@ -16,7 +16,7 @@ sp-runtime = { git = "https://github.com/paritytech/substrate.git", branch = "po # scs # `default-features = false` to remove the jsonrpsee dependency. -substrate-api-client = { default-features = false, features = ["std"], git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42" } +substrate-api-client = { default-features = false, features = ["std", "sync-api"], git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42" } # local deps itp-api-client-types = { path = "../api-client-types" } diff --git a/core-primitives/node-api/api-client-types/Cargo.toml b/core-primitives/node-api/api-client-types/Cargo.toml index 0a57a9448b..6e8019e58c 100644 --- a/core-primitives/node-api/api-client-types/Cargo.toml +++ b/core-primitives/node-api/api-client-types/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" my-node-runtime = { package = "integritee-node-runtime", optional = true, git = "https://github.com/integritee-network/integritee-node.git", branch = "szp/polkadot-v0.9.42" } # scs -substrate-api-client = { default-features = false, git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42" } +substrate-api-client = { default-features = false, features = ["sync-api"], git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42" } # substrate sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } diff --git a/service/Cargo.toml b/service/Cargo.toml index af21532ef2..273e832773 100644 --- a/service/Cargo.toml +++ b/service/Cargo.toml @@ -63,7 +63,7 @@ its-storage = { path = "../sidechain/storage" } my-node-runtime = { package = "integritee-node-runtime", git = "https://github.com/integritee-network/integritee-node.git", branch = "szp/polkadot-v0.9.42" } sgx-verify = { git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v0.9.42" } # `default-features = false` to remove the jsonrpsee dependency. -substrate-api-client = { default-features = false, features = ["std", "ws-client"], git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42" } +substrate-api-client = { default-features = false, features = ["std", "ws-client", "sync-api"], git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42" } teerex-primitives = { git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v0.9.42" } # Substrate dependencies From e2167e2bfc30ff0ac2d07aa11e8ab2c193087609 Mon Sep 17 00:00:00 2001 From: Szilard Parrag Date: Fri, 2 Jun 2023 14:14:02 +0200 Subject: [PATCH 05/34] susbtrate-api-client followup regarding keystore overhaul --- Cargo.lock | 223 +++++++++++++++--- app-libs/stf/src/stf_sgx.rs | 3 +- app-libs/stf/src/test_genesis.rs | 3 +- app-libs/stf/src/trusted_call.rs | 9 +- cli/Cargo.toml | 5 +- cli/src/base_cli/commands/transfer.rs | 2 +- cli/src/base_cli/mod.rs | 17 +- cli/src/benchmark/mod.rs | 15 +- cli/src/trusted_base_cli/mod.rs | 19 +- core-primitives/extrinsics-factory/Cargo.toml | 2 +- .../node-api/api-client-extensions/Cargo.toml | 2 +- .../api-client-extensions/src/chain.rs | 2 +- .../node-api/api-client-types/Cargo.toml | 2 +- core-primitives/storage/src/proof.rs | 5 +- core/parentchain/light-client/src/finality.rs | 4 +- .../light-client/src/justification.rs | 4 +- core/parentchain/light-client/src/lib.rs | 4 +- .../src/light_client_init_params.rs | 2 +- .../src/light_validation_state.rs | 2 +- core/parentchain/light-client/src/state.rs | 2 +- enclave-runtime/Cargo.lock | 69 +++--- service/Cargo.toml | 2 +- service/src/account_funding.rs | 3 +- service/src/parentchain_handler.rs | 2 +- .../src/tests/mocks/parentchain_api_mock.rs | 2 +- 25 files changed, 281 insertions(+), 124 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 55ab47d33a..4567d3e520 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14,24 +14,27 @@ dependencies = [ [[package]] name = "ac-compose-macros" -version = "0.4.0" -source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.42#9bfdbdec280944a6f9cabf71113b4f880fa292c4" +version = "0.2.3" +source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.42-tag-v0.10.0#686b7ef0aa8da255d3864a3fc703e32193813700" dependencies = [ "ac-primitives", "log 0.4.18", - "maybe-async", + "parity-scale-codec", + "sp-application-crypto", + "sp-core", + "sp-runtime", ] [[package]] name = "ac-node-api" -version = "0.4.0" -source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.42#9bfdbdec280944a6f9cabf71113b4f880fa292c4" +version = "0.2.3" +source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.42-tag-v0.10.0#686b7ef0aa8da255d3864a3fc703e32193813700" dependencies = [ "ac-primitives", "bitvec", "derive_more", "either", - "frame-metadata 15.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-metadata 15.1.0 (git+https://github.com/paritytech/frame-metadata)", "hex", "log 0.4.18", "parity-scale-codec", @@ -46,23 +49,23 @@ dependencies = [ [[package]] name = "ac-primitives" -version = "0.7.0" -source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.42#9bfdbdec280944a6f9cabf71113b4f880fa292c4" +version = "0.5.0" +source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.42-tag-v0.10.0#686b7ef0aa8da255d3864a3fc703e32193813700" dependencies = [ "frame-system", + "hex", "impl-serde", "pallet-assets", "pallet-balances", + "pallet-contracts", + "pallet-staking", "parity-scale-codec", "primitive-types", "scale-info", "serde 1.0.163", "serde_json 1.0.96", - "sp-application-crypto", "sp-core", - "sp-core-hashing", "sp-runtime", - "sp-runtime-interface", "sp-staking", "sp-version", "sp-weights", @@ -1737,6 +1740,34 @@ dependencies = [ "static_assertions", ] +[[package]] +name = "frame-election-provider-solution-type" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.18", +] + +[[package]] +name = "frame-election-provider-support" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" +dependencies = [ + "frame-election-provider-solution-type", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-arithmetic", + "sp-core", + "sp-npos-elections", + "sp-runtime", + "sp-std", +] + [[package]] name = "frame-executive" version = "4.0.0-dev" @@ -2668,6 +2699,12 @@ dependencies = [ "serde 1.0.163", ] +[[package]] +name = "indexmap-nostd" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e04e2fd2b8188ea827b32ef11de88377086d690286ab35747ef7f9bf3ccb590" + [[package]] name = "instant" version = "0.1.12" @@ -2724,6 +2761,7 @@ dependencies = [ "sp-application-crypto", "sp-core", "sp-keyring", + "sp-keystore", "sp-runtime", "substrate-api-client", "substrate-client-keystore", @@ -4552,17 +4590,6 @@ dependencies = [ "rawpointer", ] -[[package]] -name = "maybe-async" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f1b8c13cb1f814b634a96b2c725449fe7ed464a7b8781de8688be5ffbd3f305" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "memchr" version = "2.2.1" @@ -5332,6 +5359,58 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-contracts" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" +dependencies = [ + "bitflags", + "environmental 1.1.4", + "frame-benchmarking", + "frame-support", + "frame-system", + "impl-trait-for-tuples", + "log 0.4.18", + "pallet-contracts-primitives", + "pallet-contracts-proc-macro", + "parity-scale-codec", + "rand 0.8.5", + "scale-info", + "serde 1.0.163", + "smallvec 1.10.0", + "sp-api", + "sp-core", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-std", + "wasm-instrument", + "wasmi 0.28.0", + "wasmparser-nostd", +] + +[[package]] +name = "pallet-contracts-primitives" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" +dependencies = [ + "bitflags", + "parity-scale-codec", + "scale-info", + "sp-runtime", + "sp-std", + "sp-weights", +] + +[[package]] +name = "pallet-contracts-proc-macro" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.18", +] + [[package]] name = "pallet-evm" version = "6.0.0-dev" @@ -5515,6 +5594,28 @@ dependencies = [ "teerex-primitives", ] +[[package]] +name = "pallet-staking" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" +dependencies = [ + "frame-benchmarking", + "frame-election-provider-support", + "frame-support", + "frame-system", + "log 0.4.18", + "pallet-authorship", + "pallet-session", + "parity-scale-codec", + "scale-info", + "serde 1.0.163", + "sp-application-crypto", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", + "sp-runtime", + "sp-staking", + "sp-std", +] + [[package]] name = "pallet-sudo" version = "4.0.0-dev" @@ -7762,6 +7863,20 @@ dependencies = [ "sp-std", ] +[[package]] +name = "sp-npos-elections" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde 1.0.163", + "sp-arithmetic", + "sp-core", + "sp-runtime", + "sp-std", +] + [[package]] name = "sp-offchain" version = "4.0.0-dev" @@ -7996,7 +8111,7 @@ dependencies = [ "log 0.4.18", "parity-scale-codec", "sp-std", - "wasmi", + "wasmi 0.13.2", "wasmtime", ] @@ -8110,19 +8225,17 @@ dependencies = [ [[package]] name = "substrate-api-client" -version = "0.12.0" -source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.42#9bfdbdec280944a6f9cabf71113b4f880fa292c4" +version = "0.10.0" +source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.42-tag-v0.10.0#686b7ef0aa8da255d3864a3fc703e32193813700" dependencies = [ "ac-compose-macros", "ac-node-api", "ac-primitives", - "async-trait", "derive_more", - "frame-metadata 15.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-metadata 15.1.0 (git+https://github.com/paritytech/frame-metadata)", "frame-support", "hex", "log 0.4.18", - "maybe-async", "parity-scale-codec", "serde 1.0.163", "serde_json 1.0.96", @@ -8148,8 +8261,8 @@ dependencies = [ [[package]] name = "substrate-client-keystore" -version = "0.9.0" -source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.42#9bfdbdec280944a6f9cabf71113b4f880fa292c4" +version = "0.7.0" +source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.42-tag-v0.10.0#686b7ef0aa8da255d3864a3fc703e32193813700" dependencies = [ "array-bytes 4.2.0", "async-trait", @@ -9064,6 +9177,15 @@ version = "0.2.86" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed9d5b4305409d1fc9482fee2d7f9bcbf24b3972bf59817ef757e23982242a93" +[[package]] +name = "wasm-instrument" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a47ecb37b9734d1085eaa5ae1a81e60801fd8c28d4cabdd8aedb982021918bc" +dependencies = [ + "parity-wasm", +] + [[package]] name = "wasm-opt" version = "0.111.0" @@ -9113,7 +9235,19 @@ checksum = "06c326c93fbf86419608361a2c925a31754cf109da1b8b55737070b4d6669422" dependencies = [ "parity-wasm", "wasmi-validation", - "wasmi_core", + "wasmi_core 0.2.1", +] + +[[package]] +name = "wasmi" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e61a7006b0fdf24f6bbe8dcfdad5ca1b350de80061fb2827f31c82fbbb9565a" +dependencies = [ + "spin 0.9.8", + "wasmi_arena", + "wasmi_core 0.12.0", + "wasmparser-nostd", ] [[package]] @@ -9125,6 +9259,12 @@ dependencies = [ "parity-wasm", ] +[[package]] +name = "wasmi_arena" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "401c1f35e413fac1846d4843745589d9ec678977ab35a384db8ae7830525d468" + [[package]] name = "wasmi_core" version = "0.2.1" @@ -9138,6 +9278,18 @@ dependencies = [ "num-traits 0.2.15", ] +[[package]] +name = "wasmi_core" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "624e6333e861ef49095d2d678b76ebf30b06bf37effca845be7e5b87c90071b7" +dependencies = [ + "downcast-rs", + "libm", + "num-traits 0.2.15", + "paste", +] + [[package]] name = "wasmparser" version = "0.100.0" @@ -9148,6 +9300,15 @@ dependencies = [ "url 2.3.1", ] +[[package]] +name = "wasmparser-nostd" +version = "0.100.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9157cab83003221bfd385833ab587a039f5d6fa7304854042ba358a3b09e0724" +dependencies = [ + "indexmap-nostd", +] + [[package]] name = "wasmtime" version = "6.0.2" diff --git a/app-libs/stf/src/stf_sgx.rs b/app-libs/stf/src/stf_sgx.rs index 1ecfd79162..54dd3d96a9 100644 --- a/app-libs/stf/src/stf_sgx.rs +++ b/app-libs/stf/src/stf_sgx.rs @@ -267,10 +267,9 @@ where <::Lookup as StaticLookup>::Source: From, Runtime::Balance: From, { - pallet_balances::Call::::set_balance { + pallet_balances::Call::::force_set_balance { who: enclave_account.into(), new_free: 1000.into(), - new_reserved: 0.into(), } .dispatch_bypass_filter(Runtime::RuntimeOrigin::root()) .map_err(|e| { diff --git a/app-libs/stf/src/test_genesis.rs b/app-libs/stf/src/test_genesis.rs index a3c04f52da..faea0a3eb6 100644 --- a/app-libs/stf/src/test_genesis.rs +++ b/app-libs/stf/src/test_genesis.rs @@ -104,10 +104,9 @@ pub fn endow( for e in endowees.into_iter() { let account = e.0; - ita_sgx_runtime::BalancesCall::::set_balance { + ita_sgx_runtime::BalancesCall::::force_set_balance { who: MultiAddress::Id(account.clone()), new_free: e.1, - new_reserved: e.2, } .dispatch_bypass_filter(ita_sgx_runtime::RuntimeOrigin::root()) .map_err(|e| StfError::Dispatch(format!("Balance Set Balance error: {:?}", e.error))) diff --git a/app-libs/stf/src/trusted_call.rs b/app-libs/stf/src/trusted_call.rs index 690af26882..1f13721f6b 100644 --- a/app-libs/stf/src/trusted_call.rs +++ b/app-libs/stf/src/trusted_call.rs @@ -198,10 +198,9 @@ where free_balance, reserved_balance ); - ita_sgx_runtime::BalancesCall::::set_balance { + ita_sgx_runtime::BalancesCall::::force_set_balance { who: MultiAddress::Id(who), new_free: free_balance, - new_reserved: reserved_balance, } .dispatch_bypass_filter(ita_sgx_runtime::RuntimeOrigin::root()) .map_err(|e| { @@ -407,10 +406,9 @@ fn unshield_funds(account: AccountId, amount: u128) -> Result<(), StfError> { return Err(StfError::MissingFunds) } - ita_sgx_runtime::BalancesCall::::set_balance { + ita_sgx_runtime::BalancesCall::::force_set_balance { who: MultiAddress::Id(account), new_free: account_info.data.free - amount, - new_reserved: account_info.data.reserved, } .dispatch_bypass_filter(ita_sgx_runtime::RuntimeOrigin::root()) .map_err(|e| StfError::Dispatch(format!("Unshield funds error: {:?}", e.error)))?; @@ -419,10 +417,9 @@ fn unshield_funds(account: AccountId, amount: u128) -> Result<(), StfError> { fn shield_funds(account: AccountId, amount: u128) -> Result<(), StfError> { let account_info = System::account(&account); - ita_sgx_runtime::BalancesCall::::set_balance { + ita_sgx_runtime::BalancesCall::::force_set_balance { who: MultiAddress::Id(account), new_free: account_info.data.free + amount, - new_reserved: account_info.data.reserved, } .dispatch_bypass_filter(ita_sgx_runtime::RuntimeOrigin::root()) .map_err(|e| StfError::Dispatch(format!("Shield funds error: {:?}", e.error)))?; diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 3d18015773..88b8a3f468 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -29,8 +29,8 @@ my-node-runtime = { package = "integritee-node-runtime", git = "https://github.c pallet-evm = { optional = true, git = "https://github.com/integritee-network/frontier.git", branch = "bar/polkadot-v0.9.42" } pallet-teerex = { git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v0.9.42" } # `default-features = false` to remove the jsonrpsee dependency. -substrate-api-client = { default-features = false, features = ["std", "ws-client", "sync-api"], git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42" } -substrate-client-keystore = { git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42" } +substrate-api-client = { default-features = false, features = ["std", "ws-client"], git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42-tag-v0.10.0" } +substrate-client-keystore = { git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42-tag-v0.10.0" } teerex-primitives = { git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v0.9.42" } # substrate dependencies @@ -39,6 +39,7 @@ pallet-balances = { git = "https://github.com/paritytech/substrate.git", branch sc-keystore = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } sp-application-crypto = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } sp-core = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-keystore = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } sp-keyring = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } sp-runtime = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } diff --git a/cli/src/base_cli/commands/transfer.rs b/cli/src/base_cli/commands/transfer.rs index 04c26a1d34..3ea285cb40 100644 --- a/cli/src/base_cli/commands/transfer.rs +++ b/cli/src/base_cli/commands/transfer.rs @@ -47,7 +47,7 @@ impl TransferCommand { info!("to ss58 is {}", to_account.to_ss58check()); let mut api = get_chain_api(cli); api.set_signer(ParentchainExtrinsicSigner::new(sr25519_core::Pair::from(from_account))); - let xt = api.balance_transfer(Address::Id(to_account.clone()), self.amount); + let xt = api.balance_transfer_allow_death(Address::Id(to_account.clone()), self.amount); let tx_hash = api .submit_and_watch_extrinsic_until(xt, XtStatus::InBlock) .unwrap() diff --git a/cli/src/base_cli/mod.rs b/cli/src/base_cli/mod.rs index 2279bceb23..66e82b2619 100644 --- a/cli/src/base_cli/mod.rs +++ b/cli/src/base_cli/mod.rs @@ -29,13 +29,17 @@ use clap::Subcommand; use itc_rpc_client::direct_client::DirectApi; use itp_node_api::api_client::PalletTeerexApi; use sp_application_crypto::{ed25519, sr25519}; -use sp_core::{crypto::Ss58Codec, Pair}; +use sp_core::{ + crypto::{key_types::ACCOUNT, Ss58Codec}, + Pair, +}; +use sp_keystore::Keystore; use std::{ path::PathBuf, time::{Duration, UNIX_EPOCH}, }; use substrate_api_client::Metadata; -use substrate_client_keystore::{KeystoreExt, LocalKeystore}; +use substrate_client_keystore::LocalKeystore; mod commands; @@ -91,8 +95,9 @@ impl BaseCommand { fn new_account() -> CliResult { let store = LocalKeystore::open(PathBuf::from(&KEYSTORE_PATH), None).unwrap(); - let key: sr25519::AppPair = store.generate().unwrap(); - let key_base58 = key.public().to_ss58check(); + let key = LocalKeystore::sr25519_generate_new(&store, ACCOUNT, None).unwrap(); + //let key: sr25519::AppPair = store.generate().unwrap(); + let key_base58 = key.to_ss58check(); drop(store); println!("{}", key_base58); Ok(CliResultOk::PubKeysBase58 { @@ -105,14 +110,14 @@ fn list_accounts() -> CliResult { let store = LocalKeystore::open(PathBuf::from(&KEYSTORE_PATH), None).unwrap(); println!("sr25519 keys:"); let mut keys_sr25519 = vec![]; - for pubkey in store.public_keys::().unwrap().into_iter() { + for pubkey in store.sr25519_public_keys(ACCOUNT).into_iter() { let key_ss58 = pubkey.to_ss58check(); println!("{}", key_ss58); keys_sr25519.push(key_ss58); } println!("ed25519 keys:"); let mut keys_ed25519 = vec![]; - for pubkey in store.public_keys::().unwrap().into_iter() { + for pubkey in store.ed25519_public_keys(ACCOUNT).into_iter() { let key_ss58 = pubkey.to_ss58check(); println!("{}", key_ss58); keys_ed25519.push(key_ss58); diff --git a/cli/src/benchmark/mod.rs b/cli/src/benchmark/mod.rs index bae12f9082..36b74e6ff2 100644 --- a/cli/src/benchmark/mod.rs +++ b/cli/src/benchmark/mod.rs @@ -39,7 +39,8 @@ use rand::Rng; use rayon::prelude::*; use sgx_crypto_helper::rsa3072::Rsa3072PubKey; use sp_application_crypto::sr25519; -use sp_core::{sr25519 as sr25519_core, Pair}; +use sp_core::{crypto::key_types::ACCOUNT, sr25519 as sr25519_core, Pair}; +use sp_keystore::Keystore; use std::{ boxed::Box, string::ToString, @@ -48,7 +49,7 @@ use std::{ time::Instant, vec::Vec, }; -use substrate_client_keystore::{KeystoreExt, LocalKeystore}; +use substrate_client_keystore::LocalKeystore; // Needs to be above the existential deposit minimum, otherwise an account will not // be created and the state is not increased. @@ -141,8 +142,9 @@ impl BenchmarkCommand { println!("Initializing account {}", i); // Create new account to use. - let a: sr25519::AppPair = store.generate().unwrap(); - let account = get_pair_from_str(trusted_args, a.public().to_string().as_str()); + //let a: sr25519::AppPair = store.generate().unwrap(); + let a = LocalKeystore::sr25519_generate_new(&store, ACCOUNT, None).unwrap(); + let account = get_pair_from_str(trusted_args, a.to_string().as_str()); let initial_balance = 10000000; // Transfer amount from Alice to new account. @@ -190,9 +192,10 @@ impl BenchmarkCommand { } // Create new account. - let account_keys: sr25519::AppPair = store.generate().unwrap(); + let account_keys = LocalKeystore::sr25519_generate_new(&store, ACCOUNT, None).unwrap(); + let new_account = - get_pair_from_str(trusted_args, account_keys.public().to_string().as_str()); + get_pair_from_str(trusted_args, account_keys.to_string().as_str()); println!(" Transfer amount: {}", EXISTENTIAL_DEPOSIT); diff --git a/cli/src/trusted_base_cli/mod.rs b/cli/src/trusted_base_cli/mod.rs index e32c44177b..d0b6a2e5d3 100644 --- a/cli/src/trusted_base_cli/mod.rs +++ b/cli/src/trusted_base_cli/mod.rs @@ -26,8 +26,12 @@ use crate::{ }; use log::*; use sp_application_crypto::{ed25519, sr25519}; -use sp_core::{crypto::Ss58Codec, Pair}; -use substrate_client_keystore::{KeystoreExt, LocalKeystore}; +use sp_core::{ + crypto::{key_types::ACCOUNT, Ss58Codec}, + Pair, +}; +use sp_keystore::Keystore; +use substrate_client_keystore::LocalKeystore; mod commands; @@ -72,10 +76,10 @@ impl TrustedBaseCommand { fn new_account(trusted_args: &TrustedCli) -> CliResult { let store = LocalKeystore::open(get_keystore_path(trusted_args), None).unwrap(); - let key: sr25519::AppPair = store.generate().unwrap(); + let key = LocalKeystore::sr25519_generate_new(&store, ACCOUNT, None).unwrap(); drop(store); - info!("new account {}", key.public().to_ss58check()); - let key_str = key.public().to_ss58check(); + info!("new account {}", key.to_ss58check()); + let key_str = key.to_ss58check(); println!("{}", key_str); Ok(CliResultOk::PubKeysBase58 { pubkeys_sr25519: Some(vec![key_str]), pubkeys_ed25519: None }) @@ -84,13 +88,12 @@ fn new_account(trusted_args: &TrustedCli) -> CliResult { fn list_accounts(trusted_args: &TrustedCli) -> CliResult { let store = LocalKeystore::open(get_keystore_path(trusted_args), None).unwrap(); info!("sr25519 keys:"); - for pubkey in store.public_keys::().unwrap().into_iter() { + for pubkey in store.sr25519_public_keys(ACCOUNT).into_iter() { println!("{}", pubkey.to_ss58check()); } info!("ed25519 keys:"); let pubkeys: Vec = store - .public_keys::() - .unwrap() + .ed25519_public_keys(ACCOUNT) .into_iter() .map(|pubkey| pubkey.to_ss58check()) .collect(); diff --git a/core-primitives/extrinsics-factory/Cargo.toml b/core-primitives/extrinsics-factory/Cargo.toml index 9dc7dad14a..17ae3002d6 100644 --- a/core-primitives/extrinsics-factory/Cargo.toml +++ b/core-primitives/extrinsics-factory/Cargo.toml @@ -8,7 +8,7 @@ edition = "2021" # sgx dependencies sgx_tstd = { branch = "master", git = "https://github.com/apache/teaclave-sgx-sdk.git", optional = true } sgx_types = { branch = "master", git = "https://github.com/apache/teaclave-sgx-sdk.git" } -substrate-api-client = { default-features = false, features = ["sync-api"], git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42" } +substrate-api-client = { default-features = false, features = [], git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42-tag-v0.10.0" } # local dependencies itp-node-api = { path = "../node-api", default-features = false } diff --git a/core-primitives/node-api/api-client-extensions/Cargo.toml b/core-primitives/node-api/api-client-extensions/Cargo.toml index 0572552cd2..1eb2c24722 100644 --- a/core-primitives/node-api/api-client-extensions/Cargo.toml +++ b/core-primitives/node-api/api-client-extensions/Cargo.toml @@ -16,7 +16,7 @@ sp-runtime = { git = "https://github.com/paritytech/substrate.git", branch = "po # scs # `default-features = false` to remove the jsonrpsee dependency. -substrate-api-client = { default-features = false, features = ["std", "sync-api"], git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42" } +substrate-api-client = { default-features = false, features = ["std"], git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42-tag-v0.10.0" } # local deps itp-api-client-types = { path = "../api-client-types" } diff --git a/core-primitives/node-api/api-client-extensions/src/chain.rs b/core-primitives/node-api/api-client-extensions/src/chain.rs index fa34ad0883..7842fa0ef1 100644 --- a/core-primitives/node-api/api-client-extensions/src/chain.rs +++ b/core-primitives/node-api/api-client-extensions/src/chain.rs @@ -21,7 +21,7 @@ use itp_types::{ parentchain::{BlockNumber, Hash, Header, StorageProof}, H256, }; -use sp_finality_grandpa::{AuthorityList, VersionedAuthorityList, GRANDPA_AUTHORITIES_KEY}; +use sp_consensus_grandpa::{AuthorityList, VersionedAuthorityList, GRANDPA_AUTHORITIES_KEY}; use sp_runtime::traits::GetRuntimeBlockType; use substrate_api_client::{ rpc::Request, serde_impls::StorageKey, storage_key, Api, ExtrinsicParams, FrameSystemConfig, diff --git a/core-primitives/node-api/api-client-types/Cargo.toml b/core-primitives/node-api/api-client-types/Cargo.toml index 6e8019e58c..63a7f9b47e 100644 --- a/core-primitives/node-api/api-client-types/Cargo.toml +++ b/core-primitives/node-api/api-client-types/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" my-node-runtime = { package = "integritee-node-runtime", optional = true, git = "https://github.com/integritee-network/integritee-node.git", branch = "szp/polkadot-v0.9.42" } # scs -substrate-api-client = { default-features = false, features = ["sync-api"], git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42" } +substrate-api-client = { default-features = false, features = [], git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42-tag-v0.10.0" } # substrate sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } diff --git a/core-primitives/storage/src/proof.rs b/core-primitives/storage/src/proof.rs index 1b710f3e52..6b2c02c49f 100644 --- a/core-primitives/storage/src/proof.rs +++ b/core-primitives/storage/src/proof.rs @@ -18,9 +18,10 @@ //! Logic for checking Substrate storage proofs. use crate::error::Error; -use hash_db::{HashDB, Hasher, EMPTY_PREFIX}; +use hash_db::EMPTY_PREFIX; +use sp_core::Hasher; use sp_std::vec::Vec; -use sp_trie::{trie_types::TrieDB, MemoryDB, Trie, TrieDBBuilder}; +use sp_trie::{trie_types::TrieDB, HashDBT, MemoryDB, Trie, TrieDBBuilder}; pub type StorageProof = Vec>; diff --git a/core/parentchain/light-client/src/finality.rs b/core/parentchain/light-client/src/finality.rs index d7d4da66dd..95371a8863 100644 --- a/core/parentchain/light-client/src/finality.rs +++ b/core/parentchain/light-client/src/finality.rs @@ -26,8 +26,8 @@ use crate::{ }; use finality_grandpa::voter_set::VoterSet; use log::*; -pub use sp_finality_grandpa::SetId; -use sp_finality_grandpa::{AuthorityId, ScheduledChange, GRANDPA_ENGINE_ID}; +pub use sp_consensus_grandpa::SetId; +use sp_consensus_grandpa::{AuthorityId, ScheduledChange, GRANDPA_ENGINE_ID}; use sp_runtime::{ generic::Digest, traits::{Block as ParentchainBlockTrait, Header as HeaderTrait}, diff --git a/core/parentchain/light-client/src/justification.rs b/core/parentchain/light-client/src/justification.rs index 4142862310..5e6f21f78c 100644 --- a/core/parentchain/light-client/src/justification.rs +++ b/core/parentchain/light-client/src/justification.rs @@ -25,7 +25,7 @@ use super::error::JustificationError as ClientError; use codec::{Decode, Encode}; use finality_grandpa::{voter_set::VoterSet, Error as GrandpaError}; use log::*; -use sp_finality_grandpa::{AuthorityId, AuthorityList, AuthoritySignature}; +use sp_consensus_grandpa::{AuthorityId, AuthorityList, AuthoritySignature}; use sp_runtime::traits::{Block as BlockT, Header as HeaderT, NumberFor}; /// A commit message for this chain's block type. @@ -143,7 +143,7 @@ impl GrandpaJustification { let mut buf = Vec::new(); let mut visited_hashes = HashSet::new(); for signed in self.commit.precommits.iter() { - if !sp_finality_grandpa::check_message_signature_with_buffer( + if !sp_consensus_grandpa::check_message_signature_with_buffer( &finality_grandpa::Message::Precommit(signed.precommit.clone()), &signed.id, &signed.signature, diff --git a/core/parentchain/light-client/src/lib.rs b/core/parentchain/light-client/src/lib.rs index dda3cd557b..753d3fc862 100644 --- a/core/parentchain/light-client/src/lib.rs +++ b/core/parentchain/light-client/src/lib.rs @@ -28,11 +28,11 @@ extern crate sgx_tstd as std; // Re-export useful types. pub use finality_grandpa::BlockNumberOps; -pub use sp_finality_grandpa::{AuthorityList, SetId}; +pub use sp_consensus_grandpa::{AuthorityList, SetId}; use crate::light_validation_state::LightValidationState; use error::Error; -use sp_finality_grandpa::{AuthorityId, AuthorityWeight, ConsensusLog, GRANDPA_ENGINE_ID}; +use sp_consensus_grandpa::{AuthorityId, AuthorityWeight, ConsensusLog, GRANDPA_ENGINE_ID}; use sp_runtime::{ generic::{Digest, OpaqueDigestItemId, SignedBlock}, traits::{Block as ParentchainBlockTrait, Header as HeaderTrait}, diff --git a/core/parentchain/light-client/src/light_client_init_params.rs b/core/parentchain/light-client/src/light_client_init_params.rs index 11cba5e5e0..61baf247ee 100644 --- a/core/parentchain/light-client/src/light_client_init_params.rs +++ b/core/parentchain/light-client/src/light_client_init_params.rs @@ -17,7 +17,7 @@ */ use codec::{Decode, Encode}; -use sp_finality_grandpa::AuthorityList; +use sp_consensus_grandpa::AuthorityList; use std::vec::Vec; #[derive(Encode, Decode, Clone)] diff --git a/core/parentchain/light-client/src/light_validation_state.rs b/core/parentchain/light-client/src/light_validation_state.rs index aaea10f28a..f8b34dbf78 100644 --- a/core/parentchain/light-client/src/light_validation_state.rs +++ b/core/parentchain/light-client/src/light_validation_state.rs @@ -21,7 +21,7 @@ use crate::{state::RelayState, Error, HashFor, LightClientState}; use codec::{Decode, Encode}; use sp_runtime::traits::Block as ParentchainBlockTrait; -pub use sp_finality_grandpa::SetId; +pub use sp_consensus_grandpa::SetId; #[derive(Encode, Decode, Clone, Debug, Eq, PartialEq)] pub struct LightValidationState { diff --git a/core/parentchain/light-client/src/state.rs b/core/parentchain/light-client/src/state.rs index 743e7eed63..d6ba0ede78 100644 --- a/core/parentchain/light-client/src/state.rs +++ b/core/parentchain/light-client/src/state.rs @@ -16,7 +16,7 @@ */ use codec::{Decode, Encode}; -use sp_finality_grandpa::{AuthorityList, SetId}; +use sp_consensus_grandpa::{AuthorityList, SetId}; use sp_runtime::{ traits::{Block as BlockT, Header as HeaderT}, OpaqueExtrinsic, diff --git a/enclave-runtime/Cargo.lock b/enclave-runtime/Cargo.lock index f7dc89bef2..1d53339419 100644 --- a/enclave-runtime/Cargo.lock +++ b/enclave-runtime/Cargo.lock @@ -14,24 +14,27 @@ dependencies = [ [[package]] name = "ac-compose-macros" -version = "0.4.0" -source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.42#9bfdbdec280944a6f9cabf71113b4f880fa292c4" +version = "0.2.3" +source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.42-tag-v0.10.0#686b7ef0aa8da255d3864a3fc703e32193813700" dependencies = [ "ac-primitives", "log", - "maybe-async", + "parity-scale-codec", + "sp-application-crypto", + "sp-core", + "sp-runtime", ] [[package]] name = "ac-node-api" -version = "0.4.0" -source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.42#9bfdbdec280944a6f9cabf71113b4f880fa292c4" +version = "0.2.3" +source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.42-tag-v0.10.0#686b7ef0aa8da255d3864a3fc703e32193813700" dependencies = [ "ac-primitives", "bitvec", "derive_more", "either", - "frame-metadata", + "frame-metadata 15.1.0 (git+https://github.com/paritytech/frame-metadata)", "hex", "log", "parity-scale-codec", @@ -46,20 +49,18 @@ dependencies = [ [[package]] name = "ac-primitives" -version = "0.7.0" -source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.42#9bfdbdec280944a6f9cabf71113b4f880fa292c4" +version = "0.5.0" +source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.42-tag-v0.10.0#686b7ef0aa8da255d3864a3fc703e32193813700" dependencies = [ + "hex", "impl-serde", "parity-scale-codec", "primitive-types", "scale-info", "serde 1.0.163", "serde_json 1.0.96", - "sp-application-crypto", "sp-core", - "sp-core-hashing", "sp-runtime", - "sp-runtime-interface", "sp-staking", "sp-version", "sp-weights", @@ -172,17 +173,6 @@ version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6" -[[package]] -name = "async-trait" -version = "0.1.68" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9ccdd8f2a161be9bd5c023df56f1b2a0bd1d83872ae53b71a84a12c9bf6e842" -dependencies = [ - "proc-macro2", - "quote 1.0.28", - "syn 2.0.18", -] - [[package]] name = "auto_impl" version = "1.1.0" @@ -1027,6 +1017,16 @@ name = "frame-metadata" version = "15.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "878babb0b136e731cc77ec2fd883ff02745ff21e6fb662729953d44923df009c" +dependencies = [ + "cfg-if 1.0.0", + "parity-scale-codec", + "scale-info", +] + +[[package]] +name = "frame-metadata" +version = "15.1.0" +source = "git+https://github.com/paritytech/frame-metadata#0c6400964fe600ea07f8233810415f6958fe4e20" dependencies = [ "cfg-if 1.0.0", "parity-scale-codec", @@ -1041,7 +1041,7 @@ source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.4 dependencies = [ "bitflags", "environmental 1.1.4", - "frame-metadata", + "frame-metadata 15.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "frame-support-procedural", "impl-trait-for-tuples", "k256", @@ -2178,7 +2178,7 @@ name = "itp-storage" version = "0.9.0" dependencies = [ "derive_more", - "frame-metadata", + "frame-metadata 15.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "frame-support", "hash-db 0.15.2", "itp-types", @@ -2630,17 +2630,6 @@ name = "matches" version = "0.1.8" source = "git+https://github.com/mesalock-linux/rust-std-candidates-sgx#5747bcf37f3e18687758838da0339ff0f2c83924" -[[package]] -name = "maybe-async" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f1b8c13cb1f814b634a96b2c725449fe7ed464a7b8781de8688be5ffbd3f305" -dependencies = [ - "proc-macro2", - "quote 1.0.28", - "syn 1.0.109", -] - [[package]] name = "memchr" version = "2.2.1" @@ -4221,7 +4210,7 @@ name = "sp-metadata-ir" version = "0.1.0" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ - "frame-metadata", + "frame-metadata 15.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", "scale-info", "sp-std", @@ -4450,18 +4439,16 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" [[package]] name = "substrate-api-client" -version = "0.12.0" -source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.42#9bfdbdec280944a6f9cabf71113b4f880fa292c4" +version = "0.10.0" +source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.42-tag-v0.10.0#686b7ef0aa8da255d3864a3fc703e32193813700" dependencies = [ "ac-compose-macros", "ac-node-api", "ac-primitives", - "async-trait", "derive_more", - "frame-metadata", + "frame-metadata 15.1.0 (git+https://github.com/paritytech/frame-metadata)", "hex", "log", - "maybe-async", "parity-scale-codec", "serde 1.0.163", "serde_json 1.0.96", diff --git a/service/Cargo.toml b/service/Cargo.toml index 273e832773..c563f5b275 100644 --- a/service/Cargo.toml +++ b/service/Cargo.toml @@ -63,7 +63,7 @@ its-storage = { path = "../sidechain/storage" } my-node-runtime = { package = "integritee-node-runtime", git = "https://github.com/integritee-network/integritee-node.git", branch = "szp/polkadot-v0.9.42" } sgx-verify = { git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v0.9.42" } # `default-features = false` to remove the jsonrpsee dependency. -substrate-api-client = { default-features = false, features = ["std", "ws-client", "sync-api"], git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42" } +substrate-api-client = { default-features = false, features = ["std", "ws-client"], git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42-tag-v0.10.0" } teerex-primitives = { git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v0.9.42" } # Substrate dependencies diff --git a/service/src/account_funding.rs b/service/src/account_funding.rs index 9988b9c97a..68c2585019 100644 --- a/service/src/account_funding.rs +++ b/service/src/account_funding.rs @@ -156,7 +156,8 @@ fn bootstrap_funds_from_alice( alice_signer_api.set_signer(ParentchainExtrinsicSigner::new(alice)); println!("[+] bootstrap funding Enclave from Alice's funds"); - let xt = alice_signer_api.balance_transfer(MultiAddress::Id(accountid.clone()), funding_amount); + let xt = alice_signer_api + .balance_transfer_allow_death(MultiAddress::Id(accountid.clone()), funding_amount); let xt_report = alice_signer_api.submit_and_watch_extrinsic_until(xt, XtStatus::InBlock)?; info!( "[<] Extrinsic got included in a block. Extrinsic Hash: {:?}\n", diff --git a/service/src/parentchain_handler.rs b/service/src/parentchain_handler.rs index a37e24387c..cebe19eed2 100644 --- a/service/src/parentchain_handler.rs +++ b/service/src/parentchain_handler.rs @@ -26,7 +26,7 @@ use itp_node_api::api_client::ChainApi; use itp_storage::StorageProof; use log::*; use my_node_runtime::Header; -use sp_finality_grandpa::VersionedAuthorityList; +use sp_consensus_grandpa::VersionedAuthorityList; use sp_runtime::traits::Header as HeaderTrait; use std::{cmp::min, sync::Arc}; diff --git a/service/src/tests/mocks/parentchain_api_mock.rs b/service/src/tests/mocks/parentchain_api_mock.rs index 9277b4891d..9233977d39 100644 --- a/service/src/tests/mocks/parentchain_api_mock.rs +++ b/service/src/tests/mocks/parentchain_api_mock.rs @@ -21,7 +21,7 @@ use itp_types::{ parentchain::{Hash, Header, StorageProof}, H256, }; -use sp_finality_grandpa::AuthorityList; +use sp_consensus_grandpa::AuthorityList; pub struct ParentchainApiMock { parentchain: Vec, From fece3a0be3b0d7550dc2f26f8bb79deb84648f18 Mon Sep 17 00:00:00 2001 From: Szilard Parrag Date: Fri, 2 Jun 2023 14:31:25 +0200 Subject: [PATCH 06/34] taplo fmt --- cli/Cargo.toml | 2 +- core-primitives/enclave-api/Cargo.toml | 2 +- core-primitives/node-api/api-client-extensions/Cargo.toml | 2 +- core/parentchain/light-client/Cargo.toml | 2 +- service/Cargo.toml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 88b8a3f468..fbf2ac4948 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -39,8 +39,8 @@ pallet-balances = { git = "https://github.com/paritytech/substrate.git", branch sc-keystore = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } sp-application-crypto = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } sp-core = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } -sp-keystore = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } sp-keyring = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-keystore = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } sp-runtime = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } # local dependencies diff --git a/core-primitives/enclave-api/Cargo.toml b/core-primitives/enclave-api/Cargo.toml index 915618dd18..00500004dd 100644 --- a/core-primitives/enclave-api/Cargo.toml +++ b/core-primitives/enclave-api/Cargo.toml @@ -16,8 +16,8 @@ sgx_types = { branch = "master", git = "https://github.com/apache/teaclave-sgx-s sgx_urts = { branch = "master", git = "https://github.com/apache/teaclave-sgx-sdk.git" } frame-support = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } -sp-core = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } sp-consensus-grandpa = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-core = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } sp-runtime = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } teerex-primitives = { git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v0.9.42" } diff --git a/core-primitives/node-api/api-client-extensions/Cargo.toml b/core-primitives/node-api/api-client-extensions/Cargo.toml index 1eb2c24722..94db01fdac 100644 --- a/core-primitives/node-api/api-client-extensions/Cargo.toml +++ b/core-primitives/node-api/api-client-extensions/Cargo.toml @@ -10,8 +10,8 @@ codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive thiserror = { version = "1.0" } # substrate -sp-core = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } sp-consensus-grandpa = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-core = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } sp-runtime = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } # scs diff --git a/core/parentchain/light-client/Cargo.toml b/core/parentchain/light-client/Cargo.toml index 8b74570e78..dc36585d8a 100644 --- a/core/parentchain/light-client/Cargo.toml +++ b/core/parentchain/light-client/Cargo.toml @@ -28,8 +28,8 @@ itp-types = { path = "../../../core-primitives/types", default-features = false # substrate deps frame-system = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } sp-application-crypto = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } -sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } sp-consensus-grandpa = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-core = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } sp-trie = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } diff --git a/service/Cargo.toml b/service/Cargo.toml index c563f5b275..e0bfe0a9a2 100644 --- a/service/Cargo.toml +++ b/service/Cargo.toml @@ -70,8 +70,8 @@ teerex-primitives = { git = "https://github.com/integritee-network/pallets.git", frame-support = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } frame-system = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } pallet-balances = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } -sp-core = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } sp-consensus-grandpa = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } +sp-core = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } sp-keyring = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } sp-runtime = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } From 6170c50dfa0c3658e3279ed8e3495ffe7d157161 Mon Sep 17 00:00:00 2001 From: Szilard Parrag Date: Fri, 2 Jun 2023 14:49:17 +0200 Subject: [PATCH 07/34] followup for sidechain-evm --- app-libs/sgx-runtime/src/evm.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app-libs/sgx-runtime/src/evm.rs b/app-libs/sgx-runtime/src/evm.rs index 1fcf4def8e..67cdc794d4 100644 --- a/app-libs/sgx-runtime/src/evm.rs +++ b/app-libs/sgx-runtime/src/evm.rs @@ -23,7 +23,7 @@ pub const MAXIMUM_BLOCK_WEIGHT: Weight = pub struct FixedGasPrice; impl FeeCalculator for FixedGasPrice { fn min_gas_price() -> (U256, Weight) { - (1.into(), Weight::from_ref_time(1)) + (1.into(), Weight::from_parts(1, 0u64)) } } @@ -41,7 +41,7 @@ pub struct FixedGasWeightMapping; impl GasWeightMapping for FixedGasWeightMapping { fn gas_to_weight(gas: u64, _without_base_weight: bool) -> Weight { - Weight::from_ref_time(gas.saturating_mul(WEIGHT_PER_GAS)) + Weight::from_parts(gas.saturating_mul(WEIGHT_PER_GAS), 0u64) } fn weight_to_gas(weight: Weight) -> u64 { weight.ref_time().wrapping_div(WEIGHT_PER_GAS) @@ -83,4 +83,6 @@ impl pallet_evm::Config for Runtime { type FindAuthor = (); // Currently not available. Would need some more thoughts how prioritisation fees could be handled. type WeightPerGas = (); type OnCreate = (); + type Timestamp = (); + type WeightInfo = (); } From 2dc6a86fda395bda123f73c798aa89a7c8588bd4 Mon Sep 17 00:00:00 2001 From: Szilard Parrag Date: Fri, 2 Jun 2023 15:19:55 +0200 Subject: [PATCH 08/34] cargo clippy --- cli/src/base_cli/mod.rs | 6 +----- cli/src/trusted_base_cli/mod.rs | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/cli/src/base_cli/mod.rs b/cli/src/base_cli/mod.rs index 66e82b2619..23e9c74951 100644 --- a/cli/src/base_cli/mod.rs +++ b/cli/src/base_cli/mod.rs @@ -28,11 +28,7 @@ use chrono::{DateTime, Utc}; use clap::Subcommand; use itc_rpc_client::direct_client::DirectApi; use itp_node_api::api_client::PalletTeerexApi; -use sp_application_crypto::{ed25519, sr25519}; -use sp_core::{ - crypto::{key_types::ACCOUNT, Ss58Codec}, - Pair, -}; +use sp_core::crypto::{key_types::ACCOUNT, Ss58Codec}; use sp_keystore::Keystore; use std::{ path::PathBuf, diff --git a/cli/src/trusted_base_cli/mod.rs b/cli/src/trusted_base_cli/mod.rs index d0b6a2e5d3..5bad946fd2 100644 --- a/cli/src/trusted_base_cli/mod.rs +++ b/cli/src/trusted_base_cli/mod.rs @@ -25,11 +25,7 @@ use crate::{ Cli, CliResult, CliResultOk, }; use log::*; -use sp_application_crypto::{ed25519, sr25519}; -use sp_core::{ - crypto::{key_types::ACCOUNT, Ss58Codec}, - Pair, -}; +use sp_core::crypto::{key_types::ACCOUNT, Ss58Codec}; use sp_keystore::Keystore; use substrate_client_keystore::LocalKeystore; From 9d483f07fca67095917a30817ea90b9fe6b22149 Mon Sep 17 00:00:00 2001 From: Szilard Parrag Date: Mon, 5 Jun 2023 08:53:04 +0200 Subject: [PATCH 09/34] fixup! followup for sidechain-evm --- app-libs/sgx-runtime/src/evm.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-libs/sgx-runtime/src/evm.rs b/app-libs/sgx-runtime/src/evm.rs index 67cdc794d4..d838b28115 100644 --- a/app-libs/sgx-runtime/src/evm.rs +++ b/app-libs/sgx-runtime/src/evm.rs @@ -1,7 +1,7 @@ //! Adds the `pallet-evm` support for the `sgx-runtime. // Import types from the crate root including the ones generated by the `construct_runtime!` macro. -use crate::{Balances, Runtime, RuntimeEvent, NORMAL_DISPATCH_RATIO}; +use crate::{Balances, Runtime, RuntimeEvent, Timestamp, NORMAL_DISPATCH_RATIO}; use frame_support::{ pallet_prelude::Weight, parameter_types, weights::constants::WEIGHT_REF_TIME_PER_SECOND, }; @@ -83,6 +83,6 @@ impl pallet_evm::Config for Runtime { type FindAuthor = (); // Currently not available. Would need some more thoughts how prioritisation fees could be handled. type WeightPerGas = (); type OnCreate = (); - type Timestamp = (); + type Timestamp = Timestamp; type WeightInfo = (); } From b02f96a69c644fb1fd520bb7d90d586166b0a515 Mon Sep 17 00:00:00 2001 From: Szilard Parrag Date: Thu, 8 Jun 2023 14:25:45 +0200 Subject: [PATCH 10/34] update integritee-node image --- .github/workflows/build_and_test.yml | 6 +++--- docker/docker-compose.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 9dcf87e2b4..66f0fbd959 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -248,7 +248,7 @@ jobs: echo "PROJECT=${{ matrix.flavor_id }}-${{ matrix.demo_name }}" >> $GITHUB_ENV echo "VERSION=dev.$version" >> $GITHUB_ENV echo "WORKER_IMAGE_TAG=integritee-worker:dev.$version" >> $GITHUB_ENV - echo "INTEGRITEE_NODE=integritee-node-dev-ias:1.0.35.$version" >> $GITHUB_ENV + echo "INTEGRITEE_NODE=integritee-node-dev-ias:1.0.36.$version" >> $GITHUB_ENV echo "CLIENT_IMAGE_TAG=integritee-cli:dev.$version" >> $GITHUB_ENV if [[ ${{ matrix.sgx_mode }} == 'HW' ]]; then echo "SGX_PROVISION=/dev/sgx/provision" >> $GITHUB_ENV @@ -292,8 +292,8 @@ jobs: fi docker tag integritee-worker-${{ matrix.flavor_id }}-${{ github.sha }} ${{ env.WORKER_IMAGE_TAG }} docker tag integritee-cli-client-${{ matrix.flavor_id }}-${{ github.sha }} ${{ env.CLIENT_IMAGE_TAG }} - docker pull integritee/integritee-node-dev-ias:1.0.35 - docker tag integritee/integritee-node-dev-ias:1.0.35 ${{ env.INTEGRITEE_NODE }} + docker pull integritee/integritee-node-dev-ias:1.0.36 + docker tag integritee/integritee-node-dev-ias:1.0.36 ${{ env.INTEGRITEE_NODE }} docker images --all ## diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index d8093c2388..28e65e320c 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -1,6 +1,6 @@ services: "integritee-node-${VERSION}": - image: "${INTEGRITEE_NODE:-integritee/integritee-node-dev-ias:1.0.35}" + image: "${INTEGRITEE_NODE:-integritee/integritee-node-dev-ias:1.0.36}" hostname: integritee-node devices: - "${SGX_PROVISION:-/dev/null}:/dev/sgx/provision" From 34b1320ec5709c5a7d47b6dd407bab9976a3df59 Mon Sep 17 00:00:00 2001 From: Szilard Parrag Date: Thu, 8 Jun 2023 14:54:44 +0200 Subject: [PATCH 11/34] integritee-node: update branch --- Cargo.lock | 705 +++++++++++++++++++++++++++-------------------------- 1 file changed, 353 insertions(+), 352 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4567d3e520..e7f0d37277 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9,7 +9,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3" dependencies = [ "lazy_static", - "regex 1.8.3", + "regex 1.8.4", ] [[package]] @@ -18,7 +18,7 @@ version = "0.2.3" source = "git+https://github.com/scs/substrate-api-client.git?branch=polkadot-v0.9.42-tag-v0.10.0#686b7ef0aa8da255d3864a3fc703e32193813700" dependencies = [ "ac-primitives", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "sp-application-crypto", "sp-core", @@ -36,10 +36,10 @@ dependencies = [ "either", "frame-metadata 15.1.0 (git+https://github.com/paritytech/frame-metadata)", "hex", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "serde_json 1.0.96", "sp-application-crypto", "sp-core", @@ -62,7 +62,7 @@ dependencies = [ "parity-scale-codec", "primitive-types", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "serde_json 1.0.96", "sp-core", "sp-runtime", @@ -132,8 +132,8 @@ version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" dependencies = [ - "getrandom 0.2.9", - "once_cell 1.17.2", + "getrandom 0.2.10", + "once_cell 1.18.0", "version_check", ] @@ -144,8 +144,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" dependencies = [ "cfg-if 1.0.0", - "getrandom 0.2.9", - "once_cell 1.17.2", + "getrandom 0.2.10", + "once_cell 1.18.0", "version_check", ] @@ -160,9 +160,9 @@ dependencies = [ [[package]] name = "aho-corasick" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67fc08ce920c31afb70f013dcce1bfc3a3195de6a228474e45e1f145b36f8d04" +checksum = "43f6cb1bf222025340178f382c426f13757b2960e89779dfcb319c32542a5a41" dependencies = [ "memchr 2.5.0", ] @@ -241,9 +241,9 @@ checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" [[package]] name = "arrayvec" -version = "0.7.2" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6" +checksum = "8868f09ff8cea88b079da74ae569d9b8c62a23c68c746240b704ee6f7525c89c" [[package]] name = "async-trait" @@ -305,7 +305,7 @@ dependencies = [ "cfg-if 1.0.0", "libc", "miniz_oxide 0.6.2", - "object 0.30.3", + "object 0.30.4", "rustc-demangle", ] @@ -369,7 +369,7 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3a8241f3ebb85c056b509d4327ad0358fbbba6ffb340bf388f26350aeda225b1" dependencies = [ - "serde 1.0.163", + "serde 1.0.164", ] [[package]] @@ -378,7 +378,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "hash-db 0.16.0", - "log 0.4.18", + "log 0.4.19", ] [[package]] @@ -387,7 +387,7 @@ version = "1.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" dependencies = [ - "serde 1.0.163", + "serde 1.0.164", ] [[package]] @@ -404,7 +404,7 @@ dependencies = [ "peeking_take_while", "proc-macro2", "quote", - "regex 1.8.3", + "regex 1.8.4", "rustc-hash", "shlex", ] @@ -459,8 +459,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3c2f0dc9a68c6317d884f97cc36cf5a3d20ba14ce404227df55e1af708ab04bc" dependencies = [ "arrayref", - "arrayvec 0.7.2", - "constant_time_eq 0.2.5", + "arrayvec 0.7.3", + "constant_time_eq 0.2.6", ] [[package]] @@ -514,14 +514,14 @@ dependencies = [ [[package]] name = "bounded-collections" -version = "0.1.7" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07fbd1d11282a1eb134d3c3b7cf8ce213b5161c6e5f73fb1b98618482c606b64" +checksum = "eb5b05133427c07c4776906f673ccf36c21b102c9829c641a5b56bd151d44fd6" dependencies = [ - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "scale-info", - "serde 1.0.163", + "serde 1.0.164", ] [[package]] @@ -537,7 +537,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a246e68bb43f6cd9db24bea052a53e40405417c5fb372e3d1a8a7f770a564ef5" dependencies = [ "memchr 2.5.0", - "serde 1.0.163", + "serde 1.0.164", ] [[package]] @@ -623,7 +623,7 @@ version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c530edf18f37068ac2d977409ed5cd50d53d73bc653c7647b48eb78976ac9ae2" dependencies = [ - "serde 1.0.163", + "serde 1.0.164", ] [[package]] @@ -632,7 +632,7 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cbdb825da8a5df079a43676dbe042702f1707b1109f713a01420fbb4cc71fa27" dependencies = [ - "serde 1.0.163", + "serde 1.0.164", ] [[package]] @@ -644,7 +644,7 @@ dependencies = [ "camino", "cargo-platform", "semver 1.0.17", - "serde 1.0.163", + "serde 1.0.164", "serde_json 1.0.96", "thiserror 1.0.40", ] @@ -708,7 +708,7 @@ dependencies = [ "iana-time-zone", "js-sys", "num-traits 0.2.15", - "serde 1.0.163", + "serde 1.0.164", "time", "wasm-bindgen", "winapi 0.3.9", @@ -726,12 +726,12 @@ dependencies = [ [[package]] name = "claims-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#e124aebb2d3d05a9a65f209f8e6304c6790f15d5" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#be26e6b85f14896860ef919488e6bb4cf4b7aa29" dependencies = [ "parity-scale-codec", "rustc-hex", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", "sp-std", @@ -775,7 +775,7 @@ dependencies = [ "clap_derive", "clap_lex", "indexmap 1.9.3", - "once_cell 1.17.2", + "once_cell 1.18.0", "strsim 0.10.0", "termcolor", "textwrap 0.16.0", @@ -831,7 +831,7 @@ dependencies = [ [[package]] name = "common-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#e124aebb2d3d05a9a65f209f8e6304c6790f15d5" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#be26e6b85f14896860ef919488e6bb4cf4b7aa29" dependencies = [ "sp-std", ] @@ -850,9 +850,9 @@ checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" [[package]] name = "constant_time_eq" -version = "0.2.5" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13418e745008f7349ec7e449155f419a61b92b58a99cc3616942b926825ec76b" +checksum = "21a53c0a4d288377e7415b53dcfc3c04da5cdc2cc95c8d5ac178b58f0b861ad6" [[package]] name = "convert_case" @@ -900,7 +900,7 @@ version = "0.93.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f42ea692c7b450ad18b8c9889661505d51c09ec4380cf1c2d278dbb2da22cae1" dependencies = [ - "serde 1.0.163", + "serde 1.0.164", ] [[package]] @@ -935,22 +935,22 @@ dependencies = [ [[package]] name = "crossbeam-epoch" -version = "0.9.14" +version = "0.9.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46bd5f3f85273295a9d14aedfb86f6aadbff6d8f5295c4a9edb08e819dcf5695" +checksum = "ae211234986c545741a7dc064309f67ee1e5ad243d0e48335adc0484d960bcc7" dependencies = [ "autocfg 1.1.0", "cfg-if 1.0.0", "crossbeam-utils", - "memoffset 0.8.0", + "memoffset 0.9.0", "scopeguard", ] [[package]] name = "crossbeam-utils" -version = "0.8.15" +version = "0.8.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c063cd8cc95f5c377ed0d4b49a4b21f632396ff690e8470c29b3359b346984b" +checksum = "5a22b2d63d4d1dc0b7f1b6b2747dd0088008a9be28b6ddf0b1e7d335e3037294" dependencies = [ "cfg-if 1.0.0", ] @@ -1058,7 +1058,7 @@ checksum = "daf4c6755cdf10798b97510e0e2b3edb9573032bd9379de8fffa59d68165494f" dependencies = [ "cc", "codespan-reporting", - "once_cell 1.17.2", + "once_cell 1.18.0", "proc-macro2", "quote", "scratch", @@ -1340,8 +1340,8 @@ checksum = "a12e6657c4c97ebab115a42dcee77225f7f482cdd841cf7088c657a42e9e00e7" dependencies = [ "atty", "humantime", - "log 0.4.18", - "regex 1.8.3", + "log 0.4.19", + "regex 1.8.4", "termcolor", ] @@ -1353,8 +1353,8 @@ checksum = "85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0" dependencies = [ "humantime", "is-terminal", - "log 0.4.18", - "regex 1.8.3", + "log 0.4.19", + "regex 1.8.4", "termcolor", ] @@ -1420,7 +1420,7 @@ dependencies = [ "parity-scale-codec", "rlp", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "sha3", "triehash", ] @@ -1453,12 +1453,12 @@ dependencies = [ "evm-core", "evm-gasometer", "evm-runtime", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "primitive-types", "rlp", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "sha3", ] @@ -1471,7 +1471,7 @@ dependencies = [ "parity-scale-codec", "primitive-types", "scale-info", - "serde 1.0.163", + "serde 1.0.164", ] [[package]] @@ -1586,7 +1586,7 @@ dependencies = [ "either", "futures 0.3.28", "futures-timer", - "log 0.4.18", + "log 0.4.19", "num-traits 0.2.15", "parity-scale-codec", "parking_lot 0.12.1", @@ -1669,11 +1669,11 @@ dependencies = [ [[package]] name = "form_urlencoded" -version = "1.1.0" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9c384f161156f5260c24a097c56119f9be8c798586aecc13afbcbe7b7e26bf8" +checksum = "a62bc1cf6f830c2ec14a513a9fb124d0a213a629668a4186f329db21fe045652" dependencies = [ - "percent-encoding 2.2.0", + "percent-encoding 2.3.0", ] [[package]] @@ -1684,10 +1684,10 @@ dependencies = [ "hex", "impl-serde", "libsecp256k1", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "sp-core", "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", @@ -1703,7 +1703,7 @@ dependencies = [ "frame-support", "parity-scale-codec", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "sp-core", "sp-runtime", "sp-std", @@ -1724,11 +1724,11 @@ dependencies = [ "frame-support-procedural", "frame-system", "linregress", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "paste", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "sp-api", "sp-application-crypto", "sp-core", @@ -1793,7 +1793,7 @@ dependencies = [ "cfg-if 1.0.0", "parity-scale-codec", "scale-info", - "serde 1.0.163", + "serde 1.0.164", ] [[package]] @@ -1804,7 +1804,7 @@ dependencies = [ "cfg-if 1.0.0", "parity-scale-codec", "scale-info", - "serde 1.0.163", + "serde 1.0.164", ] [[package]] @@ -1818,12 +1818,12 @@ dependencies = [ "frame-support-procedural", "impl-trait-for-tuples", "k256", - "log 0.4.18", - "once_cell 1.17.2", + "log 0.4.19", + "once_cell 1.18.0", "parity-scale-codec", "paste", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "smallvec 1.10.0", "sp-api", "sp-arithmetic", @@ -1884,10 +1884,10 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "frame-support", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "sp-core", "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", @@ -2194,9 +2194,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.9" +version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c85e1d9ab2eadba7e5040d4e09cbd6d072b76a557ad64e797c2cb9d4da21d7e4" +checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427" dependencies = [ "cfg-if 1.0.0", "libc", @@ -2234,8 +2234,8 @@ dependencies = [ "aho-corasick 0.7.20", "bstr", "fnv 1.0.7", - "log 0.4.18", - "regex 1.8.3", + "log 0.4.19", + "regex 1.8.4", ] [[package]] @@ -2483,7 +2483,7 @@ name = "http_req" version = "0.8.1" source = "git+https://github.com/integritee-network/http_req?branch=master#3723e88235f2b29bc1a31835853b072ffd0455fd" dependencies = [ - "log 0.4.18", + "log 0.4.19", "rustls 0.19.1", "unicase 2.6.0 (registry+https://github.com/rust-lang/crates.io-index)", "webpki 0.21.4 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2495,7 +2495,7 @@ name = "http_req" version = "0.8.1" source = "git+https://github.com/integritee-network/http_req#3723e88235f2b29bc1a31835853b072ffd0455fd" dependencies = [ - "log 0.4.18", + "log 0.4.19", "rustls 0.19.0 (git+https://github.com/mesalock-linux/rustls?branch=mesalock_sgx)", "sgx_tstd", "unicase 2.6.0 (git+https://github.com/mesalock-linux/unicase-sgx)", @@ -2575,7 +2575,7 @@ dependencies = [ "ct-logs", "futures-util 0.3.28", "hyper", - "log 0.4.18", + "log 0.4.19", "rustls 0.19.1", "rustls-native-certs", "tokio", @@ -2598,9 +2598,9 @@ dependencies = [ [[package]] name = "iana-time-zone" -version = "0.1.56" +version = "0.1.57" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0722cd7114b7de04316e7ea5456a0bbb20e4adb46fd27a3697adb812cff0f37c" +checksum = "2fad5b825842d2b38bd206f3e81d6957625fd7f0a361e345c30e01a0ae2dd613" dependencies = [ "android_system_properties", "core-foundation-sys", @@ -2632,9 +2632,9 @@ dependencies = [ [[package]] name = "idna" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e14ddfc70884202db2244c223200c204c2bda1bc6e0998d11b5e024d657209e6" +checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c" dependencies = [ "unicode-bidi 0.3.13", "unicode-normalization 0.1.22", @@ -2664,7 +2664,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ebc88fc67028ae3db0c853baa36269d398d5f45b6982f95549ff5def78c935cd" dependencies = [ - "serde 1.0.163", + "serde 1.0.164", ] [[package]] @@ -2696,7 +2696,7 @@ checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" dependencies = [ "autocfg 1.1.0", "hashbrown 0.12.3", - "serde 1.0.163", + "serde 1.0.164", ] [[package]] @@ -2746,7 +2746,7 @@ dependencies = [ "itp-time-utils", "itp-types", "itp-utils", - "log 0.4.18", + "log 0.4.19", "pallet-balances", "pallet-evm", "pallet-teerex", @@ -2755,7 +2755,7 @@ dependencies = [ "rand 0.8.5", "rayon", "sc-keystore", - "serde 1.0.163", + "serde 1.0.164", "serde_json 1.0.96", "sgx_crypto_helper", "sp-application-crypto", @@ -2852,7 +2852,7 @@ dependencies = [ "its-test", "jsonrpsee", "lazy_static", - "log 0.4.18", + "log 0.4.19", "mockall", "pallet-balances", "parity-scale-codec", @@ -2861,8 +2861,8 @@ dependencies = [ "primitive-types", "prometheus", "scale-info", - "serde 1.0.163", - "serde_derive 1.0.163", + "serde 1.0.164", + "serde_derive 1.0.164", "serde_json 1.0.96", "sgx-verify", "sgx_crypto_helper", @@ -2923,7 +2923,7 @@ dependencies = [ "hyper-multipart-rfc7578", "hyper-tls", "parity-multiaddr", - "serde 1.0.163", + "serde 1.0.164", "serde_json 1.0.96", "serde_urlencoded", "tokio", @@ -2941,7 +2941,7 @@ checksum = "adcf93614601c8129ddf72e2d5633df827ba6551541c6d8c59520a371475be1f" dependencies = [ "hermit-abi 0.3.1", "io-lifetimes", - "rustix 0.37.19", + "rustix 0.37.20", "windows-sys 0.48.0", ] @@ -2953,16 +2953,16 @@ dependencies = [ "itp-enclave-metrics", "itp-ocall-api", "lazy_static", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", - "serde 1.0.163", + "serde 1.0.164", "serde_json 1.0.96", "sgx_tstd", "substrate-fixed", "thiserror 1.0.40", "thiserror 1.0.9", "url 2.1.1", - "url 2.3.1", + "url 2.4.0", ] [[package]] @@ -2989,7 +2989,7 @@ dependencies = [ "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "sp-api", "sp-block-builder", "sp-consensus-aura", @@ -3022,7 +3022,7 @@ dependencies = [ "itp-storage", "itp-types", "itp-utils", - "log 0.4.18", + "log 0.4.19", "pallet-balances", "pallet-parentchain", "pallet-sudo", @@ -3047,7 +3047,7 @@ dependencies = [ "itp-utils", "jsonrpc-core 18.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "jsonrpc-core 18.0.0 (git+https://github.com/scs/jsonrpc?branch=no_std_v18)", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "serde_json 1.0.96", "sgx_tstd", @@ -3072,7 +3072,7 @@ dependencies = [ "itp-test", "itp-top-pool-author", "itp-types", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "sgx_tstd", "sgx_types", @@ -3103,7 +3103,7 @@ dependencies = [ "itc-parentchain-block-importer", "itp-import-queue", "itp-types", - "log 0.4.18", + "log 0.4.19", "sgx_tstd", "sgx_types", "sp-runtime", @@ -3122,7 +3122,7 @@ dependencies = [ "itp-settings", "itp-stf-executor", "itp-types", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "sgx_tstd", "sgx_types", @@ -3151,7 +3151,7 @@ dependencies = [ "itp-test", "itp-top-pool-author", "itp-types", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "sgx_tstd", "sgx_types", @@ -3177,7 +3177,7 @@ dependencies = [ "itp-test", "itp-types", "lazy_static", - "log 0.4.18", + "log 0.4.19", "num-traits 0.2.15", "parity-scale-codec", "sgx_tstd", @@ -3198,10 +3198,10 @@ dependencies = [ "frame-support", "frame-system", "itp-types", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "sp-core", "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", @@ -3217,15 +3217,15 @@ dependencies = [ "http 0.2.9", "http_req 0.8.1 (git+https://github.com/integritee-network/http_req?branch=master)", "http_req 0.8.1 (git+https://github.com/integritee-network/http_req)", - "log 0.4.18", - "serde 1.0.163", + "log 0.4.19", + "serde 1.0.164", "serde_json 1.0.96", "sgx_tstd", "sgx_types", "thiserror 1.0.40", "thiserror 1.0.9", "url 2.1.1", - "url 2.3.1", + "url 2.4.0", ] [[package]] @@ -3240,16 +3240,16 @@ dependencies = [ "itp-rpc", "itp-types", "itp-utils", - "log 0.4.18", + "log 0.4.19", "openssl", "parity-scale-codec", "parking_lot 0.12.1", "rustls 0.19.1", - "serde_derive 1.0.163", + "serde_derive 1.0.164", "serde_json 1.0.96", "sgx_crypto_helper", "thiserror 1.0.40", - "url 2.3.1", + "url 2.4.0", "ws", ] @@ -3268,7 +3268,7 @@ dependencies = [ "its-storage", "its-test", "jsonrpsee", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "serde_json 1.0.96", "sp-core", @@ -3282,7 +3282,7 @@ dependencies = [ "bit-vec", "chrono 0.4.26", "env_logger 0.9.3", - "log 0.4.18", + "log 0.4.19", "mio 0.6.21", "mio 0.6.23", "mio-extras 2.0.6 (git+https://github.com/integritee-network/mio-extras-sgx?rev=963234b)", @@ -3297,7 +3297,7 @@ dependencies = [ "thiserror 1.0.9", "tungstenite 0.14.0", "tungstenite 0.15.0", - "url 2.3.1", + "url 2.4.0", "webpki 0.21.4 (registry+https://github.com/rust-lang/crates.io-index)", "webpki 0.21.4 (git+https://github.com/mesalock-linux/webpki?branch=mesalock_sgx)", "yasna 0.3.1", @@ -3356,7 +3356,7 @@ dependencies = [ name = "itp-attestation-handler" version = "0.8.0" dependencies = [ - "arrayvec 0.7.2", + "arrayvec 0.7.3", "base64 0.13.0 (git+https://github.com/mesalock-linux/rust-base64-sgx?rev=sgx_1.1.3)", "base64 0.13.1", "bit-vec", @@ -3371,7 +3371,7 @@ dependencies = [ "itp-sgx-io", "itp-time-utils", "itp-types", - "log 0.4.18", + "log 0.4.19", "num-bigint 0.2.5", "parity-scale-codec", "rustls 0.19.0 (git+https://github.com/mesalock-linux/rustls?rev=sgx_1.1.3)", @@ -3413,7 +3413,7 @@ dependencies = [ "itp-settings", "itp-storage", "itp-types", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "serde_json 1.0.96", "sgx_crypto_helper", @@ -3449,7 +3449,7 @@ dependencies = [ "itp-node-api", "itp-nonce-cache", "itp-types", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "sgx_tstd", "sgx_types", @@ -3564,7 +3564,7 @@ version = "0.9.0" dependencies = [ "itp-types", "parity-scale-codec", - "serde 1.0.163", + "serde 1.0.164", "serde_json 1.0.96", "sgx_tstd", ] @@ -3582,11 +3582,11 @@ dependencies = [ "itp-settings", "itp-sgx-io", "itp-sgx-temp-dir", - "log 0.4.18", + "log 0.4.19", "ofb", "parity-scale-codec", "serde 1.0.118 (git+https://github.com/mesalock-linux/serde-sgx?tag=sgx_1.1.3)", - "serde 1.0.163", + "serde 1.0.164", "serde_json 1.0.60 (git+https://github.com/mesalock-linux/serde-json-sgx?tag=sgx_1.1.3)", "serde_json 1.0.96", "sgx_crypto_helper", @@ -3603,10 +3603,10 @@ dependencies = [ "derive_more", "environmental 1.1.3", "itp-hashing", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "postcard", - "serde 1.0.163", + "serde 1.0.164", "sgx_tstd", "sp-core", ] @@ -3656,7 +3656,7 @@ dependencies = [ "itp-time-utils", "itp-top-pool-author", "itp-types", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "sgx_crypto_helper", "sgx_tstd", @@ -3701,7 +3701,7 @@ dependencies = [ "itp-time-utils", "itp-types", "lazy_static", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "rust-base58 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)", "rust-base58 0.0.4 (git+https://github.com/mesalock-linux/rust-base58-sgx?rev=sgx_1.1.3)", @@ -3718,7 +3718,7 @@ name = "itp-stf-state-observer" version = "0.9.0" dependencies = [ "itp-types", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "sgx_tstd", "thiserror 1.0.40", @@ -3800,10 +3800,10 @@ dependencies = [ "jsonrpc-core 18.0.0 (git+https://github.com/scs/jsonrpc?branch=no_std_v18)", "linked-hash-map 0.5.2", "linked-hash-map 0.5.6", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "parity-util-mem", - "serde 1.0.163", + "serde 1.0.164", "sgx_tstd", "sgx_types", "sp-application-crypto", @@ -3831,7 +3831,7 @@ dependencies = [ "itp-utils", "jsonrpc-core 18.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "jsonrpc-core 18.0.0 (git+https://github.com/scs/jsonrpc?branch=no_std_v18)", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "sgx_crypto_helper", "sgx_tstd", @@ -3854,7 +3854,7 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "primitive-types", - "serde 1.0.163", + "serde 1.0.164", "serde_json 1.0.96", "sp-core", "sp-runtime", @@ -3890,7 +3890,7 @@ dependencies = [ "itp-types", "its-primitives", "its-state", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "sgx_tstd", "sgx_types", @@ -3910,7 +3910,7 @@ dependencies = [ "itp-utils", "its-primitives", "its-test", - "log 0.4.18", + "log 0.4.19", "sgx_tstd", "sp-consensus-slots", "sp-core", @@ -3951,7 +3951,7 @@ dependencies = [ "its-state", "its-test", "its-validateer-fetch", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "sgx_tstd", "sp-core", @@ -3980,7 +3980,7 @@ dependencies = [ "its-primitives", "its-state", "its-test", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "sgx_tstd", "sgx_types", @@ -4007,7 +4007,7 @@ dependencies = [ "its-primitives", "its-test", "lazy_static", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "sgx_tstd", "sp-consensus-slots", @@ -4030,8 +4030,8 @@ dependencies = [ "its-storage", "its-test", "jsonrpsee", - "log 0.4.18", - "serde 1.0.163", + "log 0.4.19", + "serde 1.0.164", "serde_json 1.0.96", "thiserror 1.0.40", "tokio", @@ -4043,7 +4043,7 @@ version = "0.1.0" dependencies = [ "parity-scale-codec", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "sp-core", "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", @@ -4062,7 +4062,7 @@ dependencies = [ "its-primitives", "jsonrpc-core 18.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "jsonrpc-core 18.0.0 (git+https://github.com/scs/jsonrpc?branch=no_std_v18)", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "rust-base58 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)", "rust-base58 0.0.4 (git+https://github.com/mesalock-linux/rust-base58-sgx?rev=sgx_1.1.3)", @@ -4093,9 +4093,9 @@ dependencies = [ "itp-sgx-externalities", "itp-storage", "its-primitives", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", - "serde 1.0.163", + "serde 1.0.164", "sgx_tstd", "sp-core", "sp-io 7.0.0", @@ -4114,7 +4114,7 @@ dependencies = [ "itp-types", "its-primitives", "its-test", - "log 0.4.18", + "log 0.4.19", "mockall", "parity-scale-codec", "parking_lot 0.12.1", @@ -4165,9 +4165,9 @@ dependencies = [ [[package]] name = "js-sys" -version = "0.3.63" +version = "0.3.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f37a4a5928311ac501dee68b3c7613a1037d0edb30c8e5427bd832d55d1b790" +checksum = "c5f195fe497f702db0f318b07fdd68edb16955aed830df8363d837542f8f935a" dependencies = [ "wasm-bindgen", ] @@ -4181,9 +4181,9 @@ dependencies = [ "futures 0.3.28", "futures-executor 0.3.28", "futures-util 0.3.28", - "log 0.4.18", - "serde 1.0.163", - "serde_derive 1.0.163", + "log 0.4.19", + "serde 1.0.164", + "serde_derive 1.0.164", "serde_json 1.0.96", ] @@ -4226,11 +4226,11 @@ dependencies = [ "hyper-rustls", "jsonrpsee-types", "jsonrpsee-utils", - "log 0.4.18", - "serde 1.0.163", + "log 0.4.19", + "serde 1.0.164", "serde_json 1.0.96", "thiserror 1.0.40", - "url 2.3.1", + "url 2.4.0", ] [[package]] @@ -4246,8 +4246,8 @@ dependencies = [ "jsonrpsee-types", "jsonrpsee-utils", "lazy_static", - "log 0.4.18", - "serde 1.0.163", + "log 0.4.19", + "serde 1.0.164", "serde_json 1.0.96", "socket2", "thiserror 1.0.40", @@ -4279,8 +4279,8 @@ dependencies = [ "futures-channel 0.3.28", "futures-util 0.3.28", "hyper", - "log 0.4.18", - "serde 1.0.163", + "log 0.4.19", + "serde 1.0.164", "serde_json 1.0.96", "soketto", "thiserror 1.0.40", @@ -4296,11 +4296,11 @@ dependencies = [ "futures-util 0.3.28", "hyper", "jsonrpsee-types", - "log 0.4.18", + "log 0.4.19", "parking_lot 0.11.2", "rand 0.8.5", "rustc-hash", - "serde 1.0.163", + "serde 1.0.164", "serde_json 1.0.96", "thiserror 1.0.40", ] @@ -4315,18 +4315,18 @@ dependencies = [ "fnv 1.0.7", "futures 0.3.28", "jsonrpsee-types", - "log 0.4.18", + "log 0.4.19", "pin-project", "rustls 0.19.1", "rustls-native-certs", - "serde 1.0.163", + "serde 1.0.164", "serde_json 1.0.96", "soketto", "thiserror 1.0.40", "tokio", "tokio-rustls", "tokio-util 0.6.10", - "url 2.3.1", + "url 2.4.0", ] [[package]] @@ -4339,9 +4339,9 @@ dependencies = [ "futures-util 0.3.28", "jsonrpsee-types", "jsonrpsee-utils", - "log 0.4.18", + "log 0.4.19", "rustc-hash", - "serde 1.0.163", + "serde 1.0.164", "serde_json 1.0.96", "soketto", "thiserror 1.0.40", @@ -4359,7 +4359,7 @@ dependencies = [ "cfg-if 1.0.0", "ecdsa", "elliptic-curve", - "once_cell 1.17.2", + "once_cell 1.18.0", "sha2 0.10.6", ] @@ -4399,9 +4399,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.144" +version = "0.2.146" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b00cc1c228a6782d0f076e7b232802e0c5689d41bb5df366f2a6b6621cfdfe1" +checksum = "f92be4933c13fd498862a9e02a3055f8a8d9c039ce33db97306fd5a6caa7f29b" [[package]] name = "libloading" @@ -4445,7 +4445,7 @@ dependencies = [ "libsecp256k1-gen-ecmult", "libsecp256k1-gen-genmult", "rand 0.8.5", - "serde 1.0.163", + "serde 1.0.164", "sha2 0.9.9", "typenum 1.16.0 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -4525,9 +4525,9 @@ checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" [[package]] name = "lock_api" -version = "0.4.9" +version = "0.4.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "435011366fe56583b16cf956f9df0095b405b82d76425bc8981c0e22e60ec4df" +checksum = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16" dependencies = [ "autocfg 1.1.0", "scopeguard", @@ -4553,9 +4553,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.18" +version = "0.4.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "518ef76f2f87365916b142844c16d8fefd85039bc5699050210a7778ee1cd1de" +checksum = "b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4" [[package]] name = "mach" @@ -4612,7 +4612,7 @@ version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ffc89ccdc6e10d6907450f753537ebc5c5d3460d2e4e62ea74bd571db62c0f9e" dependencies = [ - "rustix 0.37.19", + "rustix 0.37.20", ] [[package]] @@ -4626,9 +4626,9 @@ dependencies = [ [[package]] name = "memoffset" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" +checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" dependencies = [ "autocfg 1.1.0", ] @@ -4726,7 +4726,7 @@ dependencies = [ "iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", "kernel32-sys", "libc", - "log 0.4.18", + "log 0.4.19", "miow", "net2 0.2.38", "slab 0.4.8", @@ -4751,7 +4751,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "52403fe290012ce777c4626790c8951324a2b9e3316b3143779c72b029742f19" dependencies = [ "lazycell", - "log 0.4.18", + "log 0.4.19", "mio 0.6.23", "slab 0.4.8", ] @@ -4762,7 +4762,7 @@ version = "2.0.6" source = "git+https://github.com/integritee-network/mio-extras-sgx?rev=963234b#963234bf55e44f9efff921938255126c48deef3a" dependencies = [ "lazycell", - "log 0.4.18", + "log 0.4.19", "mio 0.6.21", "mio 0.6.23", "sgx_tstd", @@ -4820,7 +4820,7 @@ dependencies = [ "futures-util 0.3.28", "http 0.2.9", "httparse 1.8.0", - "log 0.4.18", + "log 0.4.19", "memchr 2.5.0", "mime", "spin 0.9.8", @@ -4887,7 +4887,7 @@ checksum = "07226173c32f2926027b63cce4bcd8076c3552846cbe7925f3aaffeac0a3b92e" dependencies = [ "lazy_static", "libc", - "log 0.4.18", + "log 0.4.19", "openssl", "openssl-probe", "openssl-sys", @@ -5066,7 +5066,7 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a652d9771a63711fd3c3deb670acfbe5c30a4072e664d7a3bf5a9e1056ac72c3" dependencies = [ - "arrayvec 0.7.2", + "arrayvec 0.7.3", "itoa 1.0.6", ] @@ -5189,9 +5189,9 @@ dependencies = [ [[package]] name = "object" -version = "0.30.3" +version = "0.30.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea86265d3d3dcb6a27fc51bd29a4bf387fae9d2986b823079d4986af253eb439" +checksum = "03b4680b86d9cfafba8fc491dc9b6df26b68cf40e9e6cd73909194759a63c385" dependencies = [ "memchr 2.5.0", ] @@ -5215,9 +5215,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.17.2" +version = "1.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9670a07f94779e00908f3e686eab508878ebb390ba6e604d3a284c00e8d0487b" +checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" [[package]] name = "opaque-debug" @@ -5241,7 +5241,7 @@ dependencies = [ "cfg-if 1.0.0", "foreign-types", "libc", - "once_cell 1.17.2", + "once_cell 1.18.0", "openssl-macros", "openssl-sys", ] @@ -5277,9 +5277,9 @@ dependencies = [ [[package]] name = "os_str_bytes" -version = "6.5.0" +version = "6.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ceedf44fb00f2d1984b0bc98102627ce622e083e49a5bacdb3e514fa4238e267" +checksum = "4d5d9eb14b174ee9aa2ef96dc2b94637a2d4b6e7cb873c7e171f0c20c6cf3eac" [[package]] name = "pallet-assets" @@ -5334,7 +5334,7 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "scale-info", "sp-runtime", @@ -5344,7 +5344,7 @@ dependencies = [ [[package]] name = "pallet-claims" version = "0.9.12" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#e124aebb2d3d05a9a65f209f8e6304c6790f15d5" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#be26e6b85f14896860ef919488e6bb4cf4b7aa29" dependencies = [ "claims-primitives", "frame-support", @@ -5352,8 +5352,8 @@ dependencies = [ "parity-scale-codec", "rustc-hex", "scale-info", - "serde 1.0.163", - "serde_derive 1.0.163", + "serde 1.0.164", + "serde_derive 1.0.164", "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", "sp-std", @@ -5370,13 +5370,13 @@ dependencies = [ "frame-support", "frame-system", "impl-trait-for-tuples", - "log 0.4.18", + "log 0.4.19", "pallet-contracts-primitives", "pallet-contracts-proc-macro", "parity-scale-codec", "rand 0.8.5", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "smallvec 1.10.0", "sp-api", "sp-core", @@ -5425,7 +5425,7 @@ dependencies = [ "frame-system", "hex", "impl-trait-for-tuples", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "rlp", "scale-info", @@ -5443,7 +5443,7 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log 0.4.18", + "log 0.4.19", "pallet-authorship", "pallet-session", "parity-scale-codec", @@ -5480,7 +5480,7 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "scale-info", "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", @@ -5491,14 +5491,14 @@ dependencies = [ [[package]] name = "pallet-parentchain" version = "0.9.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#e124aebb2d3d05a9a65f209f8e6304c6790f15d5" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#be26e6b85f14896860ef919488e6bb4cf4b7aa29" dependencies = [ "frame-support", "frame-system", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "sp-core", "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", @@ -5512,7 +5512,7 @@ source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.4 dependencies = [ "frame-support", "frame-system", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "scale-info", "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", @@ -5543,7 +5543,7 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "scale-info", "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", @@ -5560,7 +5560,7 @@ dependencies = [ "frame-support", "frame-system", "impl-trait-for-tuples", - "log 0.4.18", + "log 0.4.19", "pallet-timestamp", "parity-scale-codec", "scale-info", @@ -5576,16 +5576,16 @@ dependencies = [ [[package]] name = "pallet-sidechain" version = "0.9.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#e124aebb2d3d05a9a65f209f8e6304c6790f15d5" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#be26e6b85f14896860ef919488e6bb4cf4b7aa29" dependencies = [ "frame-support", "frame-system", - "log 0.4.18", + "log 0.4.19", "pallet-teerex", "pallet-timestamp", "parity-scale-codec", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "sidechain-primitives", "sp-core", "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", @@ -5603,12 +5603,12 @@ dependencies = [ "frame-election-provider-support", "frame-support", "frame-system", - "log 0.4.18", + "log 0.4.19", "pallet-authorship", "pallet-session", "parity-scale-codec", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "sp-application-crypto", "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", @@ -5633,11 +5633,11 @@ dependencies = [ [[package]] name = "pallet-teeracle" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#e124aebb2d3d05a9a65f209f8e6304c6790f15d5" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#be26e6b85f14896860ef919488e6bb4cf4b7aa29" dependencies = [ "frame-support", "frame-system", - "log 0.4.18", + "log 0.4.19", "pallet-teerex", "parity-scale-codec", "scale-info", @@ -5652,15 +5652,15 @@ dependencies = [ [[package]] name = "pallet-teerex" version = "0.9.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#e124aebb2d3d05a9a65f209f8e6304c6790f15d5" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#be26e6b85f14896860ef919488e6bb4cf4b7aa29" dependencies = [ "frame-support", "frame-system", - "log 0.4.18", + "log 0.4.19", "pallet-timestamp", "parity-scale-codec", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "sgx-verify", "sp-core", "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", @@ -5677,7 +5677,7 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "scale-info", "sp-inherents", @@ -5696,7 +5696,7 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "sp-core", "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", @@ -5727,7 +5727,7 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "sp-runtime", "sp-std", ] @@ -5756,7 +5756,7 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "scale-info", "sp-runtime", @@ -5774,11 +5774,11 @@ dependencies = [ "byteorder 1.4.3", "data-encoding", "multihash", - "percent-encoding 2.2.0", - "serde 1.0.163", + "percent-encoding 2.3.0", + "serde 1.0.164", "static_assertions", "unsigned-varint 0.7.1", - "url 2.3.1", + "url 2.4.0", ] [[package]] @@ -5787,13 +5787,13 @@ version = "3.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5ddb756ca205bd108aee3c62c6d3c994e1df84a59b9d6d4a5ea42ee1fd5a9a28" dependencies = [ - "arrayvec 0.7.2", + "arrayvec 0.7.3", "bitvec", "byte-slice-cast", "bytes 1.4.0", "impl-trait-for-tuples", "parity-scale-codec-derive", - "serde 1.0.163", + "serde 1.0.164", ] [[package]] @@ -5856,7 +5856,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" dependencies = [ "lock_api", - "parking_lot_core 0.9.7", + "parking_lot_core 0.9.8", ] [[package]] @@ -5875,15 +5875,15 @@ dependencies = [ [[package]] name = "parking_lot_core" -version = "0.9.7" +version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9069cbb9f99e3a5083476ccb29ceb1de18b9118cafa53e90c9551235de2b9521" +checksum = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447" dependencies = [ "cfg-if 1.0.0", "libc", - "redox_syscall 0.2.16", + "redox_syscall 0.3.5", "smallvec 1.10.0", - "windows-sys 0.45.0", + "windows-targets 0.48.0", ] [[package]] @@ -5894,7 +5894,7 @@ checksum = "7037e5e93e0172a5a96874380bf73bc6ecef022e26fa25f2be26864d6b3ba95d" dependencies = [ "lazy_static", "num 0.2.1", - "regex 1.8.3", + "regex 1.8.4", ] [[package]] @@ -5954,9 +5954,9 @@ source = "git+https://github.com/mesalock-linux/rust-url-sgx?tag=sgx_1.1.3#23832 [[package]] name = "percent-encoding" -version = "2.2.0" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e" +checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" [[package]] name = "pin-project" @@ -6013,7 +6013,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a25c0b0ae06fcffe600ad392aabfa535696c8973f2253d9ac83171924c58a858" dependencies = [ "postcard-cobs", - "serde 1.0.163", + "serde 1.0.164", ] [[package]] @@ -6044,7 +6044,7 @@ dependencies = [ "itertools", "normalize-line-endings", "predicates-core", - "regex 1.8.3", + "regex 1.8.4", ] [[package]] @@ -6083,7 +6083,7 @@ version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" dependencies = [ - "once_cell 1.17.2", + "once_cell 1.18.0", "toml_edit", ] @@ -6136,9 +6136,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.59" +version = "1.0.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6aeca18b86b413c660b781aa319e4e2648a3e6f9eadc9b47e9038e6fe9f3451b" +checksum = "dec2b086b7a862cf4de201096214fa870344cf922b2b30c167badb3af3195406" dependencies = [ "unicode-ident", ] @@ -6327,7 +6327,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.9", + "getrandom 0.2.10", ] [[package]] @@ -6416,7 +6416,7 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" dependencies = [ - "getrandom 0.2.9", + "getrandom 0.2.10", "redox_syscall 0.2.16", "thiserror 1.0.40", ] @@ -6452,11 +6452,11 @@ dependencies = [ [[package]] name = "regex" -version = "1.8.3" +version = "1.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81ca098a9821bd52d6b24fd8b10bd081f47d39c22778cafaa75a2857a62c6390" +checksum = "d0ab3ca65655bb1e41f2a8c8cd662eb4fb035e67c3f78da1d61dffe89d07300f" dependencies = [ - "aho-corasick 1.0.1", + "aho-corasick 1.0.2", "memchr 2.5.0", "regex-syntax 0.7.2", ] @@ -6519,7 +6519,7 @@ checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc" dependencies = [ "cc", "libc", - "once_cell 1.17.2", + "once_cell 1.18.0", "spin 0.5.2", "untrusted", "web-sys", @@ -6533,8 +6533,8 @@ source = "git+https://github.com/Niederb/ring-xous.git?branch=0.16.20-cleanup#8b dependencies = [ "cc", "libc", - "log 0.4.18", - "once_cell 1.17.2", + "log 0.4.19", + "once_cell 1.18.0", "rkyv", "spin 0.5.2", "untrusted", @@ -6668,9 +6668,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.37.19" +version = "0.37.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acf8729d8542766f1b2cf77eb034d52f40d375bb8b615d0b147089946e16613d" +checksum = "b96e891d04aa506a6d1f318d2771bcb1c7dfda84e126660ace067c9b474bb2c0" dependencies = [ "bitflags", "errno", @@ -6726,7 +6726,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7" dependencies = [ "base64 0.13.1", - "log 0.4.18", + "log 0.4.19", "ring 0.16.20 (registry+https://github.com/rust-lang/crates.io-index)", "sct 0.6.1", "webpki 0.21.4 (registry+https://github.com/rust-lang/crates.io-index)", @@ -6782,9 +6782,9 @@ dependencies = [ [[package]] name = "safe_arch" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "794821e4ccb0d9f979512f9c1973480123f9bd62a90d74ab0f9426fcf8f4a529" +checksum = "62a7484307bd40f8f7ccbacccac730108f2cae119a3b11c74485b48aa9ea650f" dependencies = [ "bytemuck", ] @@ -6824,7 +6824,7 @@ dependencies = [ "derive_more", "parity-scale-codec", "scale-info-derive", - "serde 1.0.163", + "serde 1.0.164", ] [[package]] @@ -7003,7 +7003,7 @@ version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bebd363326d05ec3e2f532ab7660680f3b02130d780c299bca73469d521bc0ed" dependencies = [ - "serde 1.0.163", + "serde 1.0.164", ] [[package]] @@ -7031,11 +7031,11 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.163" +version = "1.0.164" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2113ab51b87a539ae008b5c6c02dc020ffa39afd2d83cffcb3f4eb2722cebec2" +checksum = "9e8c8cf938e98f769bc164923b06dce91cea1751522f46f8466461af04c9027d" dependencies = [ - "serde_derive 1.0.163", + "serde_derive 1.0.164", ] [[package]] @@ -7044,8 +7044,8 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b926cfbabfe8011609dda0350cb24d884955d294909ac71c0db7027366c77e3e" dependencies = [ - "serde 1.0.163", - "serde_derive 1.0.163", + "serde 1.0.164", + "serde_derive 1.0.164", ] [[package]] @@ -7069,9 +7069,9 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.163" +version = "1.0.164" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c805777e3930c8883389c602315a24224bcc738b63905ef87cd1420353ea93e" +checksum = "d9735b638ccc51c28bf6914d90a2e9725b377144fc612c49a611fddd1b631d68" dependencies = [ "proc-macro2", "quote", @@ -7110,7 +7110,7 @@ dependencies = [ "indexmap 1.9.3", "itoa 1.0.6", "ryu", - "serde 1.0.163", + "serde 1.0.164", ] [[package]] @@ -7119,7 +7119,7 @@ version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "93107647184f6027e3b7dcb2e11034cf95ffa1e3a682c67951963ac69c1c007d" dependencies = [ - "serde 1.0.163", + "serde 1.0.164", ] [[package]] @@ -7131,13 +7131,13 @@ dependencies = [ "form_urlencoded", "itoa 1.0.6", "ryu", - "serde 1.0.163", + "serde 1.0.164", ] [[package]] name = "sgx-verify" version = "0.1.4" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#e124aebb2d3d05a9a65f209f8e6304c6790f15d5" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#be26e6b85f14896860ef919488e6bb4cf4b7aa29" dependencies = [ "base64 0.13.1", "chrono 0.4.26", @@ -7148,7 +7148,7 @@ dependencies = [ "parity-scale-codec", "ring 0.16.20 (git+https://github.com/Niederb/ring-xous.git?branch=0.16.20-cleanup)", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "serde_json 1.0.96", "sp-core", "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", @@ -7186,11 +7186,11 @@ dependencies = [ "itertools", "libc", "serde 1.0.118 (git+https://github.com/mesalock-linux/serde-sgx)", - "serde 1.0.163", + "serde 1.0.164", "serde-big-array 0.1.5", "serde-big-array 0.3.0", "serde_derive 1.0.118", - "serde_derive 1.0.163", + "serde_derive 1.0.164", "sgx_tcrypto", "sgx_tstd", "sgx_types", @@ -7423,11 +7423,11 @@ checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" [[package]] name = "sidechain-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#e124aebb2d3d05a9a65f209f8e6304c6790f15d5" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#be26e6b85f14896860ef919488e6bb4cf4b7aa29" dependencies = [ "parity-scale-codec", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "sp-core", "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-runtime", @@ -7523,7 +7523,7 @@ dependencies = [ "bytes 1.4.0", "futures 0.3.28", "httparse 1.8.0", - "log 0.4.18", + "log 0.4.19", "rand 0.8.5", "sha-1 0.9.8", ] @@ -7534,7 +7534,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "hash-db 0.16.0", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "scale-info", "sp-api-proc-macro", @@ -7569,7 +7569,7 @@ source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.4 dependencies = [ "parity-scale-codec", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "sp-core", "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-std", @@ -7584,7 +7584,7 @@ dependencies = [ "num-traits 0.2.15", "parity-scale-codec", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "sp-std", "static_assertions", ] @@ -7608,7 +7608,7 @@ source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.4 dependencies = [ "async-trait", "futures 0.3.28", - "log 0.4.18", + "log 0.4.19", "sp-core", "sp-inherents", "sp-runtime", @@ -7640,10 +7640,10 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "finality-grandpa", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "sp-api", "sp-application-crypto", "sp-core", @@ -7659,7 +7659,7 @@ source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.4 dependencies = [ "parity-scale-codec", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "sp-std", "sp-timestamp", ] @@ -7682,19 +7682,19 @@ dependencies = [ "impl-serde", "lazy_static", "libsecp256k1", - "log 0.4.18", + "log 0.4.19", "merlin", "parity-scale-codec", "parking_lot 0.12.1", "paste", "primitive-types", "rand 0.8.5", - "regex 1.8.3", + "regex 1.8.4", "scale-info", "schnorrkel", "secp256k1", "secrecy", - "serde 1.0.163", + "serde 1.0.164", "sp-core-hashing", "sp-debug-derive", "sp-externalities", @@ -7778,7 +7778,7 @@ dependencies = [ "hash-db 0.15.2", "itp-sgx-externalities", "libsecp256k1", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "parking_lot 0.12.1", "sgx_tstd", @@ -7802,7 +7802,7 @@ dependencies = [ "ed25519-dalek", "futures 0.3.28", "libsecp256k1", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "rustversion", "secp256k1", @@ -7837,7 +7837,7 @@ dependencies = [ "futures 0.3.28", "parity-scale-codec", "parking_lot 0.12.1", - "serde 1.0.163", + "serde 1.0.164", "sp-core", "sp-externalities", "thiserror 1.0.40", @@ -7870,7 +7870,7 @@ source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.4 dependencies = [ "parity-scale-codec", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "sp-arithmetic", "sp-core", "sp-runtime", @@ -7894,7 +7894,7 @@ source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.4 dependencies = [ "backtrace", "lazy_static", - "regex 1.8.3", + "regex 1.8.4", ] [[package]] @@ -7905,12 +7905,12 @@ dependencies = [ "either", "hash256-std-hasher", "impl-trait-for-tuples", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "paste", "rand 0.8.5", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "sp-application-crypto", "sp-arithmetic", "sp-core", @@ -7970,7 +7970,7 @@ source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.4 dependencies = [ "parity-scale-codec", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "sp-core", "sp-runtime", "sp-std", @@ -7982,7 +7982,7 @@ version = "0.13.0" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b" dependencies = [ "hash-db 0.16.0", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "parking_lot 0.12.1", "rand 0.8.5", @@ -8009,7 +8009,7 @@ dependencies = [ "impl-serde", "parity-scale-codec", "ref-cast", - "serde 1.0.163", + "serde 1.0.164", "sp-debug-derive", "sp-std", ] @@ -8021,7 +8021,7 @@ source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.4 dependencies = [ "async-trait", "futures-timer", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "sp-inherents", "sp-runtime", @@ -8082,7 +8082,7 @@ dependencies = [ "parity-scale-codec", "parity-wasm", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "sp-core-hashing-proc-macro", "sp-runtime", "sp-std", @@ -8108,7 +8108,7 @@ source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.4 dependencies = [ "anyhow", "impl-trait-for-tuples", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", "sp-std", "wasmi 0.13.2", @@ -8122,7 +8122,7 @@ source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.4 dependencies = [ "parity-scale-codec", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "smallvec 1.10.0", "sp-arithmetic", "sp-core", @@ -8172,7 +8172,7 @@ dependencies = [ "num-format", "proc-macro2", "quote", - "serde 1.0.163", + "serde 1.0.164", "serde_json 1.0.96", "unicode-xid", ] @@ -8235,14 +8235,14 @@ dependencies = [ "frame-metadata 15.1.0 (git+https://github.com/paritytech/frame-metadata)", "frame-support", "hex", - "log 0.4.18", + "log 0.4.19", "parity-scale-codec", - "serde 1.0.163", + "serde 1.0.164", "serde_json 1.0.96", "sp-core", "sp-runtime", "sp-runtime-interface", - "url 2.3.1", + "url 2.4.0", "ws", ] @@ -8282,7 +8282,7 @@ source = "git+https://github.com/encointer/substrate-fixed?tag=v0.5.9#a4fb461aae dependencies = [ "parity-scale-codec", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "typenum 1.16.0 (git+https://github.com/encointer/typenum?tag=v1.16.0)", ] @@ -8358,7 +8358,7 @@ checksum = "fd1ba337640d60c3e96bc6f0638a939b9c9a7f2c316a1598c279828b3d1dc8c5" [[package]] name = "teeracle-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#e124aebb2d3d05a9a65f209f8e6304c6790f15d5" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#be26e6b85f14896860ef919488e6bb4cf4b7aa29" dependencies = [ "common-primitives", "sp-std", @@ -8368,12 +8368,12 @@ dependencies = [ [[package]] name = "teerex-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#e124aebb2d3d05a9a65f209f8e6304c6790f15d5" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#be26e6b85f14896860ef919488e6bb4cf4b7aa29" dependencies = [ "common-primitives", "parity-scale-codec", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "sp-core", "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42)", "sp-std", @@ -8387,15 +8387,16 @@ checksum = "af547b166dd1ea4b472165569fc456cfb6818116f854690b0ff205e636523dab" [[package]] name = "tempfile" -version = "3.5.0" +version = "3.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9fbec84f381d5795b08656e4912bec604d162bff9291d6189a78f4c8ab87998" +checksum = "31c0432476357e58790aaa47a8efb0c5138f137343f3b5f23bd36a27e3b0a6d6" dependencies = [ + "autocfg 1.1.0", "cfg-if 1.0.0", "fastrand", "redox_syscall 0.3.5", - "rustix 0.37.19", - "windows-sys 0.45.0", + "rustix 0.37.20", + "windows-sys 0.48.0", ] [[package]] @@ -8474,7 +8475,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152" dependencies = [ "cfg-if 1.0.0", - "once_cell 1.17.2", + "once_cell 1.18.0", ] [[package]] @@ -8496,7 +8497,7 @@ checksum = "62cc94d358b5a1e84a5cb9109f559aa3c4d634d2b1b4de3d0fa4adc7c78e2861" dependencies = [ "anyhow", "hmac 0.12.1", - "once_cell 1.17.2", + "once_cell 1.18.0", "pbkdf2 0.11.0", "rand 0.8.5", "rustc-hash", @@ -8600,7 +8601,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "54319c93411147bced34cb5609a80e0a8e44c5999c93903a81cd866630ec0bfd" dependencies = [ "futures-util 0.3.28", - "log 0.4.18", + "log 0.4.19", "tokio", "tungstenite 0.18.0", ] @@ -8615,7 +8616,7 @@ dependencies = [ "futures-core 0.3.28", "futures-io 0.3.28", "futures-sink 0.3.28", - "log 0.4.18", + "log 0.4.19", "pin-project-lite", "tokio", ] @@ -8640,7 +8641,7 @@ version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6135d499e69981f9ff0ef2167955a5333c35e36f6937d382974566b3d5b94ec" dependencies = [ - "serde 1.0.163", + "serde 1.0.164", "serde_spanned", "toml_datetime", "toml_edit", @@ -8652,7 +8653,7 @@ version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5a76a9312f5ba4c2dec6b9161fdf25d87ad8a09256ccea5a556fef03c706a10f" dependencies = [ - "serde 1.0.163", + "serde 1.0.164", ] [[package]] @@ -8662,7 +8663,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2380d56e8670370eee6566b0bfd4265f65b3f432e8c6d85623f728d4fa31f739" dependencies = [ "indexmap 1.9.3", - "serde 1.0.163", + "serde 1.0.164", "serde_spanned", "toml_datetime", "winnow", @@ -8681,7 +8682,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" dependencies = [ "cfg-if 1.0.0", - "log 0.4.18", + "log 0.4.19", "pin-project-lite", "tracing-attributes", "tracing-core", @@ -8704,7 +8705,7 @@ version = "0.1.31" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0955b8137a1df6f1a2e9a37d8a6656291ff0297c1a97c24e0d8425fe2312f79a" dependencies = [ - "once_cell 1.17.2", + "once_cell 1.18.0", "valuable", ] @@ -8715,7 +8716,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922" dependencies = [ "lazy_static", - "log 0.4.18", + "log 0.4.19", "tracing-core", ] @@ -8725,7 +8726,7 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bc6b213177105856957181934e4920de57730fc69bf42c37ee5bb664d406d9e1" dependencies = [ - "serde 1.0.163", + "serde 1.0.164", "tracing-core", ] @@ -8739,8 +8740,8 @@ dependencies = [ "chrono 0.4.26", "lazy_static", "matchers", - "regex 1.8.3", - "serde 1.0.163", + "regex 1.8.4", + "serde 1.0.164", "serde_json 1.0.96", "sharded-slab", "smallvec 1.10.0", @@ -8759,7 +8760,7 @@ checksum = "767abe6ffed88a1889671a102c2861ae742726f52e0a5a425b92c9fbfa7e9c85" dependencies = [ "hash-db 0.16.0", "hashbrown 0.13.2", - "log 0.4.18", + "log 0.4.19", "rustc-hex", "smallvec 1.10.0", ] @@ -8828,12 +8829,12 @@ dependencies = [ "bytes 1.4.0", "http 0.2.9", "httparse 1.8.0", - "log 0.4.18", + "log 0.4.19", "rand 0.8.5", "rustls 0.19.1", "sha-1 0.9.8", "thiserror 1.0.40", - "url 2.3.1", + "url 2.4.0", "utf-8 0.7.6", "webpki 0.21.4 (registry+https://github.com/rust-lang/crates.io-index)", "webpki-roots 0.21.1", @@ -8850,11 +8851,11 @@ dependencies = [ "bytes 1.4.0", "http 0.2.9", "httparse 1.8.0", - "log 0.4.18", + "log 0.4.19", "rand 0.8.5", "sha1 0.10.5", "thiserror 1.0.40", - "url 2.3.1", + "url 2.4.0", "utf-8 0.7.6", ] @@ -9007,13 +9008,13 @@ dependencies = [ [[package]] name = "url" -version = "2.3.1" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d68c799ae75762b8c3fe375feb6600ef5602c883c5d21eb51c09f22b83c4643" +checksum = "50bff7831e19200a85b17131d085c25d7811bc4e186efdaf54bbd132994a88cb" dependencies = [ "form_urlencoded", - "idna 0.3.0", - "percent-encoding 2.2.0", + "idna 0.4.0", + "percent-encoding 2.3.0", ] [[package]] @@ -9070,7 +9071,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0" dependencies = [ - "log 0.4.18", + "log 0.4.19", "try-lock", ] @@ -9086,15 +9087,15 @@ dependencies = [ "headers", "http 0.2.9", "hyper", - "log 0.4.18", + "log 0.4.19", "mime", "mime_guess", "multer", - "percent-encoding 2.2.0", + "percent-encoding 2.3.0", "pin-project", "rustls-pemfile", "scoped-tls", - "serde 1.0.163", + "serde 1.0.164", "serde_json 1.0.96", "serde_urlencoded", "tokio", @@ -9125,9 +9126,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.86" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5bba0e8cb82ba49ff4e229459ff22a191bbe9a1cb3a341610c9c33efc27ddf73" +checksum = "7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342" dependencies = [ "cfg-if 1.0.0", "wasm-bindgen-macro", @@ -9135,13 +9136,13 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.86" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19b04bc93f9d6bdee709f6bd2118f57dd6679cf1176a1af464fca3ab0d66d8fb" +checksum = "5ef2b6d3c510e9625e5fe6f509ab07d66a760f0885d858736483c32ed7809abd" dependencies = [ "bumpalo", - "log 0.4.18", - "once_cell 1.17.2", + "log 0.4.19", + "once_cell 1.18.0", "proc-macro2", "quote", "syn 2.0.18", @@ -9150,9 +9151,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.86" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14d6b024f1a526bb0234f52840389927257beb670610081360e5a03c5df9c258" +checksum = "dee495e55982a3bd48105a7b947fd2a9b4a8ae3010041b9e0faab3f9cd028f1d" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -9160,9 +9161,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.86" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e128beba882dd1eb6200e1dc92ae6c5dbaa4311aa7bb211ca035779e5efc39f8" +checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" dependencies = [ "proc-macro2", "quote", @@ -9173,9 +9174,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.86" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed9d5b4305409d1fc9482fee2d7f9bcbf24b3972bf59817ef757e23982242a93" +checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1" [[package]] name = "wasm-instrument" @@ -9224,7 +9225,7 @@ dependencies = [ "cc", "cxx", "cxx-build", - "regex 1.8.3", + "regex 1.8.4", ] [[package]] @@ -9297,7 +9298,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "64b20236ab624147dfbb62cf12a19aaf66af0e41b8398838b66e997d07d269d4" dependencies = [ "indexmap 1.9.3", - "url 2.3.1", + "url 2.4.0", ] [[package]] @@ -9320,12 +9321,12 @@ dependencies = [ "cfg-if 1.0.0", "indexmap 1.9.3", "libc", - "log 0.4.18", + "log 0.4.19", "object 0.29.0", - "once_cell 1.17.2", + "once_cell 1.18.0", "paste", "psm", - "serde 1.0.163", + "serde 1.0.164", "target-lexicon", "wasmparser", "wasmtime-environ", @@ -9353,9 +9354,9 @@ dependencies = [ "cranelift-entity", "gimli 0.26.2", "indexmap 1.9.3", - "log 0.4.18", + "log 0.4.19", "object 0.29.0", - "serde 1.0.163", + "serde 1.0.164", "target-lexicon", "thiserror 1.0.40", "wasmparser", @@ -9374,10 +9375,10 @@ dependencies = [ "cfg-if 1.0.0", "cpp_demangle", "gimli 0.26.2", - "log 0.4.18", + "log 0.4.19", "object 0.29.0", "rustc-demangle", - "serde 1.0.163", + "serde 1.0.164", "target-lexicon", "wasmtime-environ", "wasmtime-jit-icache-coherence", @@ -9391,7 +9392,7 @@ version = "6.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eed41cbcbf74ce3ff6f1d07d1b707888166dc408d1a880f651268f4f7c9194b2" dependencies = [ - "once_cell 1.17.2", + "once_cell 1.18.0", ] [[package]] @@ -9416,7 +9417,7 @@ dependencies = [ "cfg-if 1.0.0", "indexmap 1.9.3", "libc", - "log 0.4.18", + "log 0.4.19", "mach", "memfd", "memoffset 0.6.5", @@ -9436,16 +9437,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "83e5572c5727c1ee7e8f28717aaa8400e4d22dcbd714ea5457d85b5005206568" dependencies = [ "cranelift-entity", - "serde 1.0.163", + "serde 1.0.164", "thiserror 1.0.40", "wasmparser", ] [[package]] name = "web-sys" -version = "0.3.63" +version = "0.3.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3bdd9ef4e984da1187bf8110c5cf5b845fbc87a23602cdf912386a76fcd3a7c2" +checksum = "9b85cbef8c220a6abc02aefd892dfc0fc23afb1c6a426316ec33253a3877249b" dependencies = [ "js-sys", "wasm-bindgen", @@ -9510,9 +9511,9 @@ dependencies = [ [[package]] name = "wide" -version = "0.7.9" +version = "0.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cd0496a71f3cc6bc4bf0ed91346426a5099e93d89807e663162dc5a1069ff65" +checksum = "40018623e2dba2602a9790faba8d33f2ebdebf4b86561b83928db735f8784728" dependencies = [ "bytemuck", "safe_arch", @@ -9735,14 +9736,14 @@ dependencies = [ "byteorder 1.4.3", "bytes 0.4.12", "httparse 1.8.0", - "log 0.4.18", + "log 0.4.19", "mio 0.6.23", "mio-extras 2.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "openssl", "rand 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)", "sha-1 0.8.2", "slab 0.4.8", - "url 2.3.1", + "url 2.4.0", ] [[package]] @@ -9791,7 +9792,7 @@ version = "0.1.40" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fd6b15ea09891f09b02d763422dc99733c96e62d0f8ab476c6bc663c90b17e72" dependencies = [ - "log 0.4.18", + "log 0.4.19", "num-derive", "num-traits 0.2.15", "xous", @@ -9804,7 +9805,7 @@ version = "0.9.42" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7b470fbf177d58767fa001acfcb5294a88d3938d3935865ff6b8f1db40f1004e" dependencies = [ - "log 0.4.18", + "log 0.4.19", "num-derive", "num-traits 0.2.15", "rkyv", From 8bceae9c76dff2545f0f7d43d32889e0d8f06713 Mon Sep 17 00:00:00 2001 From: Szilard Parrag Date: Thu, 8 Jun 2023 14:54:44 +0200 Subject: [PATCH 12/34] integritee-node: update branch --- Cargo.lock | 4 +- app-libs/stf/Cargo.toml | 2 +- cli/Cargo.toml | 2 +- .../node-api/api-client-types/Cargo.toml | 2 +- core-primitives/types/Cargo.toml | 2 +- enclave-runtime/Cargo.lock | 80 +++++++++---------- service/Cargo.toml | 2 +- 7 files changed, 47 insertions(+), 47 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e7f0d37277..df7c526375 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2772,8 +2772,8 @@ dependencies = [ [[package]] name = "integritee-node-runtime" -version = "1.0.32" -source = "git+https://github.com/integritee-network/integritee-node.git?branch=szp/polkadot-v0.9.42#03c799358ad096e97852d5322fc67ce0d4aced03" +version = "1.0.33" +source = "git+https://github.com/integritee-network/integritee-node.git?branch=polkadot-v0.9.42#2c13d1fd5708825b7832b6b1bc33448ca3111514" dependencies = [ "frame-executive", "frame-support", diff --git a/app-libs/stf/Cargo.toml b/app-libs/stf/Cargo.toml index 7a6f676966..865edd49c2 100644 --- a/app-libs/stf/Cargo.toml +++ b/app-libs/stf/Cargo.toml @@ -39,7 +39,7 @@ sp-core = { default-features = false, features = ["full_crypto"], git = "https:/ sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } # scs / integritee -my-node-runtime = { package = "integritee-node-runtime", optional = true, git = "https://github.com/integritee-network/integritee-node.git", branch = "szp/polkadot-v0.9.42" } +my-node-runtime = { package = "integritee-node-runtime", optional = true, git = "https://github.com/integritee-network/integritee-node.git", branch = "polkadot-v0.9.42" } pallet-parentchain = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v0.9.42" } diff --git a/cli/Cargo.toml b/cli/Cargo.toml index fbf2ac4948..d76992a480 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -25,7 +25,7 @@ thiserror = "1.0" ws = { version = "0.9.1", features = ["ssl"] } # scs / integritee -my-node-runtime = { package = "integritee-node-runtime", git = "https://github.com/integritee-network/integritee-node.git", branch = "szp/polkadot-v0.9.42" } +my-node-runtime = { package = "integritee-node-runtime", git = "https://github.com/integritee-network/integritee-node.git", branch = "polkadot-v0.9.42" } pallet-evm = { optional = true, git = "https://github.com/integritee-network/frontier.git", branch = "bar/polkadot-v0.9.42" } pallet-teerex = { git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v0.9.42" } # `default-features = false` to remove the jsonrpsee dependency. diff --git a/core-primitives/node-api/api-client-types/Cargo.toml b/core-primitives/node-api/api-client-types/Cargo.toml index 63a7f9b47e..76999c7c0a 100644 --- a/core-primitives/node-api/api-client-types/Cargo.toml +++ b/core-primitives/node-api/api-client-types/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" [dependencies] # integritee-node -my-node-runtime = { package = "integritee-node-runtime", optional = true, git = "https://github.com/integritee-network/integritee-node.git", branch = "szp/polkadot-v0.9.42" } +my-node-runtime = { package = "integritee-node-runtime", optional = true, git = "https://github.com/integritee-network/integritee-node.git", branch = "polkadot-v0.9.42" } # scs substrate-api-client = { default-features = false, features = [], git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42-tag-v0.10.0" } diff --git a/core-primitives/types/Cargo.toml b/core-primitives/types/Cargo.toml index 6015b43356..701fe14c93 100644 --- a/core-primitives/types/Cargo.toml +++ b/core-primitives/types/Cargo.toml @@ -25,7 +25,7 @@ sp-runtime = { default-features = false, git = "https://github.com/paritytech/su sp-std = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } # integritee-node -my-node-runtime = { package = "integritee-node-runtime", optional = true, git = "https://github.com/integritee-network/integritee-node.git", branch = "szp/polkadot-v0.9.42" } +my-node-runtime = { package = "integritee-node-runtime", optional = true, git = "https://github.com/integritee-network/integritee-node.git", branch = "polkadot-v0.9.42" } [features] default = ["std"] diff --git a/enclave-runtime/Cargo.lock b/enclave-runtime/Cargo.lock index 1d53339419..0c949dcd05 100644 --- a/enclave-runtime/Cargo.lock +++ b/enclave-runtime/Cargo.lock @@ -9,7 +9,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3" dependencies = [ "lazy_static", - "regex 1.8.3", + "regex 1.8.4", ] [[package]] @@ -39,7 +39,7 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "serde_json 1.0.96", "sp-application-crypto", "sp-core", @@ -57,7 +57,7 @@ dependencies = [ "parity-scale-codec", "primitive-types", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "serde_json 1.0.96", "sp-core", "sp-runtime", @@ -104,7 +104,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" dependencies = [ "getrandom 0.2.3", - "once_cell 1.17.2", + "once_cell 1.18.0", "version_check", ] @@ -115,7 +115,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" dependencies = [ "cfg-if 1.0.0", - "once_cell 1.17.2", + "once_cell 1.18.0", "version_check", ] @@ -130,9 +130,9 @@ dependencies = [ [[package]] name = "aho-corasick" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67fc08ce920c31afb70f013dcce1bfc3a3195de6a228474e45e1f145b36f8d04" +checksum = "43f6cb1bf222025340178f382c426f13757b2960e89779dfcb319c32542a5a41" dependencies = [ "memchr 2.5.0", ] @@ -1031,7 +1031,7 @@ dependencies = [ "cfg-if 1.0.0", "parity-scale-codec", "scale-info", - "serde 1.0.163", + "serde 1.0.164", ] [[package]] @@ -1498,7 +1498,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ebc88fc67028ae3db0c853baa36269d398d5f45b6982f95549ff5def78c935cd" dependencies = [ - "serde 1.0.163", + "serde 1.0.164", ] [[package]] @@ -1571,7 +1571,7 @@ dependencies = [ "lazy_static", "log", "parity-scale-codec", - "serde 1.0.163", + "serde 1.0.164", "serde_json 1.0.96", "sgx_tstd", "substrate-fixed", @@ -1806,7 +1806,7 @@ dependencies = [ "http", "http_req", "log", - "serde 1.0.163", + "serde 1.0.164", "serde_json 1.0.96", "sgx_tstd", "sgx_types", @@ -2019,7 +2019,7 @@ version = "0.9.0" dependencies = [ "itp-types", "parity-scale-codec", - "serde 1.0.163", + "serde 1.0.164", "serde_json 1.0.96", "sgx_tstd", ] @@ -2059,7 +2059,7 @@ dependencies = [ "log", "parity-scale-codec", "postcard", - "serde 1.0.163", + "serde 1.0.164", "sgx_tstd", "sp-core", ] @@ -2246,7 +2246,7 @@ dependencies = [ "linked-hash-map", "log", "parity-scale-codec", - "serde 1.0.163", + "serde 1.0.164", "sgx_tstd", "sgx_types", "sp-application-crypto", @@ -2290,7 +2290,7 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "primitive-types", - "serde 1.0.163", + "serde 1.0.164", "serde_json 1.0.96", "sp-core", "sp-runtime", @@ -2434,7 +2434,7 @@ version = "0.1.0" dependencies = [ "parity-scale-codec", "scale-info", - "serde 1.0.163", + "serde 1.0.164", "sp-core", "sp-io", "sp-runtime", @@ -2484,7 +2484,7 @@ dependencies = [ "its-primitives", "log", "parity-scale-codec", - "serde 1.0.163", + "serde 1.0.164", "sgx_tstd", "sp-core", "sp-io", @@ -2559,9 +2559,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.144" +version = "0.2.146" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b00cc1c228a6782d0f076e7b232802e0c5689d41bb5df366f2a6b6621cfdfe1" +checksum = "f92be4933c13fd498862a9e02a3055f8a8d9c039ce33db97306fd5a6caa7f29b" [[package]] name = "libsecp256k1" @@ -2576,7 +2576,7 @@ dependencies = [ "libsecp256k1-gen-ecmult", "libsecp256k1-gen-genmult", "rand 0.8.5", - "serde 1.0.163", + "serde 1.0.164", ] [[package]] @@ -2831,9 +2831,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.17.2" +version = "1.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9670a07f94779e00908f3e686eab508878ebb390ba6e604d3a284c00e8d0487b" +checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" [[package]] name = "opaque-debug" @@ -2952,7 +2952,7 @@ dependencies = [ [[package]] name = "pallet-parentchain" version = "0.9.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#e124aebb2d3d05a9a65f209f8e6304c6790f15d5" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v0.9.42#be26e6b85f14896860ef919488e6bb4cf4b7aa29" dependencies = [ "frame-support", "frame-system", @@ -3054,7 +3054,7 @@ dependencies = [ "bytes 1.4.0", "impl-trait-for-tuples", "parity-scale-codec-derive", - "serde 1.0.163", + "serde 1.0.164", ] [[package]] @@ -3110,7 +3110,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a25c0b0ae06fcffe600ad392aabfa535696c8973f2253d9ac83171924c58a858" dependencies = [ "postcard-cobs", - "serde 1.0.163", + "serde 1.0.164", ] [[package]] @@ -3144,7 +3144,7 @@ version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" dependencies = [ - "once_cell 1.17.2", + "once_cell 1.18.0", "toml_edit", ] @@ -3197,9 +3197,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.59" +version = "1.0.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6aeca18b86b413c660b781aa319e4e2648a3e6f9eadc9b47e9038e6fe9f3451b" +checksum = "dec2b086b7a862cf4de201096214fa870344cf922b2b30c167badb3af3195406" dependencies = [ "unicode-ident", ] @@ -3336,11 +3336,11 @@ dependencies = [ [[package]] name = "regex" -version = "1.8.3" +version = "1.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81ca098a9821bd52d6b24fd8b10bd081f47d39c22778cafaa75a2857a62c6390" +checksum = "d0ab3ca65655bb1e41f2a8c8cd662eb4fb035e67c3f78da1d61dffe89d07300f" dependencies = [ - "aho-corasick 1.0.1", + "aho-corasick 1.0.2", "memchr 2.5.0", "regex-syntax 0.7.2", ] @@ -3500,7 +3500,7 @@ dependencies = [ "derive_more", "parity-scale-codec", "scale-info-derive", - "serde 1.0.163", + "serde 1.0.164", ] [[package]] @@ -3621,11 +3621,11 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.163" +version = "1.0.164" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2113ab51b87a539ae008b5c6c02dc020ffa39afd2d83cffcb3f4eb2722cebec2" +checksum = "9e8c8cf938e98f769bc164923b06dce91cea1751522f46f8466461af04c9027d" dependencies = [ - "serde_derive 1.0.163", + "serde_derive 1.0.164", ] [[package]] @@ -3649,9 +3649,9 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.163" +version = "1.0.164" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c805777e3930c8883389c602315a24224bcc738b63905ef87cd1420353ea93e" +checksum = "d9735b638ccc51c28bf6914d90a2e9725b377144fc612c49a611fddd1b631d68" dependencies = [ "proc-macro2", "quote 1.0.28", @@ -3689,7 +3689,7 @@ checksum = "057d394a50403bcac12672b2b18fb387ab6d289d957dab67dd201875391e52f1" dependencies = [ "itoa 1.0.6", "ryu", - "serde 1.0.163", + "serde 1.0.164", ] [[package]] @@ -4426,7 +4426,7 @@ dependencies = [ "Inflector", "proc-macro2", "quote 1.0.28", - "serde 1.0.163", + "serde 1.0.164", "serde_json 1.0.96", "unicode-xid 0.2.4", ] @@ -4450,7 +4450,7 @@ dependencies = [ "hex", "log", "parity-scale-codec", - "serde 1.0.163", + "serde 1.0.164", "serde_json 1.0.96", "sp-core", "sp-runtime", diff --git a/service/Cargo.toml b/service/Cargo.toml index e0bfe0a9a2..98f2f21417 100644 --- a/service/Cargo.toml +++ b/service/Cargo.toml @@ -60,7 +60,7 @@ its-storage = { path = "../sidechain/storage" } # scs / integritee -my-node-runtime = { package = "integritee-node-runtime", git = "https://github.com/integritee-network/integritee-node.git", branch = "szp/polkadot-v0.9.42" } +my-node-runtime = { package = "integritee-node-runtime", git = "https://github.com/integritee-network/integritee-node.git", branch = "polkadot-v0.9.42" } sgx-verify = { git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v0.9.42" } # `default-features = false` to remove the jsonrpsee dependency. substrate-api-client = { default-features = false, features = ["std", "ws-client"], git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42-tag-v0.10.0" } From 68f6718e1bece8587fe499ed877b17daee05944f Mon Sep 17 00:00:00 2001 From: Szilard Parrag Date: Thu, 8 Jun 2023 15:49:44 +0200 Subject: [PATCH 13/34] main: AddedEnclave change followup made in pallets/pull/180 --- app-libs/sgx-runtime/src/lib.rs | 3 ++- cli/src/base_cli/commands/listen.rs | 13 +++++++------ service/src/main.rs | 8 ++++++-- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/app-libs/sgx-runtime/src/lib.rs b/app-libs/sgx-runtime/src/lib.rs index ddd66d67f1..086ed19a3d 100644 --- a/app-libs/sgx-runtime/src/lib.rs +++ b/app-libs/sgx-runtime/src/lib.rs @@ -261,6 +261,7 @@ impl pallet_sudo::Config for Runtime { impl pallet_parentchain::Config for Runtime { type WeightInfo = (); + type RuntimeEvent = RuntimeEvent; } // The plain sgx-runtime without the `evm-pallet` @@ -276,7 +277,7 @@ construct_runtime!( Balances: pallet_balances::{Pallet, Call, Storage, Config, Event}, TransactionPayment: pallet_transaction_payment::{Pallet, Storage, Event}, Sudo: pallet_sudo::{Pallet, Call, Config, Storage, Event}, - Parentchain: pallet_parentchain::{Pallet, Call, Storage}, + Parentchain: pallet_parentchain::{Pallet, Call, Storage, Event}, } ); diff --git a/cli/src/base_cli/commands/listen.rs b/cli/src/base_cli/commands/listen.rs index f50b640b78..03d43ecf31 100644 --- a/cli/src/base_cli/commands/listen.rs +++ b/cli/src/base_cli/commands/listen.rs @@ -77,14 +77,15 @@ impl ListenCommand { println!(">>>>>>>>>> integritee event: {:?}", ee); count += 1; match &ee { - my_node_runtime::pallet_teerex::Event::AddedEnclave( - accountid, - url, - ) => { + my_node_runtime::pallet_teerex::Event::AddedEnclave{ + registered_by, + worker_url, .. + } + => { println!( "AddedEnclave: {:?} at url {}", - accountid, - String::from_utf8(url.to_vec()) + registered_by, + String::from_utf8(worker_url.to_vec()) .unwrap_or_else(|_| "error".to_string()) ); }, diff --git a/service/src/main.rs b/service/src/main.rs index e92ba144e3..3b52652718 100644 --- a/service/src/main.rs +++ b/service/src/main.rs @@ -597,9 +597,13 @@ fn print_events(events: Vec) { RuntimeEvent::Teerex(re) => { debug!("{:?}", re); match &re { - my_node_runtime::pallet_teerex::Event::AddedEnclave(sender, worker_url) => { + my_node_runtime::pallet_teerex::Event::AddedEnclave { + registered_by, + worker_url, + .. + } => { println!("[+] Received AddedEnclave event"); - println!(" Sender (Worker): {:?}", sender); + println!(" Sender (Worker): {:?}", registered_by); println!(" Registered URL: {:?}", str::from_utf8(worker_url).unwrap()); }, my_node_runtime::pallet_teerex::Event::Forwarded(shard) => { From e7c29c11421bce936b3c2f5748a23a59c681ff83 Mon Sep 17 00:00:00 2001 From: Szilard Parrag Date: Thu, 8 Jun 2023 15:53:47 +0200 Subject: [PATCH 14/34] attesteer: fix warnings where DCAP was activated, but not with attesteer --- service/src/prometheus_metrics.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/service/src/prometheus_metrics.rs b/service/src/prometheus_metrics.rs index 1766be5dd2..b20e40805b 100644 --- a/service/src/prometheus_metrics.rs +++ b/service/src/prometheus_metrics.rs @@ -26,10 +26,10 @@ use crate::{ }; use async_trait::async_trait; use codec::{Decode, Encode}; -#[cfg(feature = "dcap")] +#[cfg(feature = "attesteer")] use core::time::Duration; use frame_support::scale_info::TypeInfo; -#[cfg(feature = "dcap")] +#[cfg(feature = "attesteer")] use itc_rest_client::{ http_client::{DefaultSend, HttpClient}, rest_client::{RestClient, Url as URL}, @@ -187,7 +187,7 @@ impl ReceiveEnclaveMetrics for EnclaveMetricsReceiver { #[derive(Serialize, Deserialize, Debug)] struct PrometheusMarblerunEvents(pub Vec); -#[cfg(feature = "dcap")] +#[cfg(feature = "attesteer")] impl RestPath<&str> for PrometheusMarblerunEvents { fn get_path(path: &str) -> Result { Ok(format!("{}", path)) From eea5d22e9064d59a943455e2f33e0891ed6922ad Mon Sep 17 00:00:00 2001 From: Szilard Parrag Date: Thu, 8 Jun 2023 16:13:50 +0200 Subject: [PATCH 15/34] evm: followup made in pallets/pull/180 --- app-libs/sgx-runtime/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-libs/sgx-runtime/src/lib.rs b/app-libs/sgx-runtime/src/lib.rs index 086ed19a3d..14c69db87b 100644 --- a/app-libs/sgx-runtime/src/lib.rs +++ b/app-libs/sgx-runtime/src/lib.rs @@ -297,7 +297,7 @@ construct_runtime!( Balances: pallet_balances::{Pallet, Call, Storage, Config, Event}, TransactionPayment: pallet_transaction_payment::{Pallet, Storage, Event}, Sudo: pallet_sudo::{Pallet, Call, Config, Storage, Event}, - Parentchain: pallet_parentchain::{Pallet, Call, Storage}, + Parentchain: pallet_parentchain::{Pallet, Call, Storage, Event}, Evm: pallet_evm::{Pallet, Call, Storage, Config, Event}, } From bf1aee8695a20befc94a3e80735e42d52106991e Mon Sep 17 00:00:00 2001 From: Szilard Parrag Date: Mon, 12 Jun 2023 17:35:10 +0200 Subject: [PATCH 16/34] add debug! logs --- sidechain/state/src/impls.rs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/sidechain/state/src/impls.rs b/sidechain/state/src/impls.rs index ea17b75a3d..99825f5642 100644 --- a/sidechain/state/src/impls.rs +++ b/sidechain/state/src/impls.rs @@ -17,15 +17,17 @@ //! Implement the sidechain state traits. +use core::fmt::Debug; + use crate::{Error, SidechainState, StateUpdate}; use codec::{Decode, Encode}; use frame_support::ensure; use itp_sgx_externalities::{SgxExternalitiesTrait, StateHash}; use itp_storage::keys::storage_value_key; -use log::{error, info}; +use log::{debug, error, info}; use sp_io::{storage, KillStorageResult}; -impl SidechainState for T +impl SidechainState for T where ::SgxExternalitiesType: Encode, { @@ -34,6 +36,10 @@ where fn apply_state_update(&mut self, state_payload: &Self::StateUpdate) -> Result<(), Error> { info!("Current state size: {}", self.state().encoded_size()); + debug!("Current hash: {}", self.hash()); + debug!("State_payload hash: {}", state_payload.state_hash_apriori()); + debug!("self is: {:#?}", &self); + debug!("state_payload is: {:#?}", &state_payload); ensure!(self.hash() == state_payload.state_hash_apriori(), Error::InvalidAprioriHash); self.execute_with(|| { From 47c2a9114b1733be40d5810b3a0996fc1cab103b Mon Sep 17 00:00:00 2001 From: Szilard Parrag Date: Tue, 13 Jun 2023 09:55:45 +0200 Subject: [PATCH 17/34] remove commented out code --- cli/src/base_cli/mod.rs | 1 - cli/src/benchmark/mod.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/cli/src/base_cli/mod.rs b/cli/src/base_cli/mod.rs index 23e9c74951..4dde49e307 100644 --- a/cli/src/base_cli/mod.rs +++ b/cli/src/base_cli/mod.rs @@ -92,7 +92,6 @@ impl BaseCommand { fn new_account() -> CliResult { let store = LocalKeystore::open(PathBuf::from(&KEYSTORE_PATH), None).unwrap(); let key = LocalKeystore::sr25519_generate_new(&store, ACCOUNT, None).unwrap(); - //let key: sr25519::AppPair = store.generate().unwrap(); let key_base58 = key.to_ss58check(); drop(store); println!("{}", key_base58); diff --git a/cli/src/benchmark/mod.rs b/cli/src/benchmark/mod.rs index 36b74e6ff2..f1bcba8154 100644 --- a/cli/src/benchmark/mod.rs +++ b/cli/src/benchmark/mod.rs @@ -142,7 +142,6 @@ impl BenchmarkCommand { println!("Initializing account {}", i); // Create new account to use. - //let a: sr25519::AppPair = store.generate().unwrap(); let a = LocalKeystore::sr25519_generate_new(&store, ACCOUNT, None).unwrap(); let account = get_pair_from_str(trusted_args, a.to_string().as_str()); let initial_balance = 10000000; From 5a397aeb980e3d9e261f5932076e450587ee1b3f Mon Sep 17 00:00:00 2001 From: Szilard Parrag Date: Tue, 13 Jun 2023 10:01:00 +0200 Subject: [PATCH 18/34] remove empty features --- core-primitives/extrinsics-factory/Cargo.toml | 2 +- core-primitives/node-api/api-client-types/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core-primitives/extrinsics-factory/Cargo.toml b/core-primitives/extrinsics-factory/Cargo.toml index 17ae3002d6..e36a6f6f40 100644 --- a/core-primitives/extrinsics-factory/Cargo.toml +++ b/core-primitives/extrinsics-factory/Cargo.toml @@ -8,7 +8,7 @@ edition = "2021" # sgx dependencies sgx_tstd = { branch = "master", git = "https://github.com/apache/teaclave-sgx-sdk.git", optional = true } sgx_types = { branch = "master", git = "https://github.com/apache/teaclave-sgx-sdk.git" } -substrate-api-client = { default-features = false, features = [], git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42-tag-v0.10.0" } +substrate-api-client = { default-features = false, git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42-tag-v0.10.0" } # local dependencies itp-node-api = { path = "../node-api", default-features = false } diff --git a/core-primitives/node-api/api-client-types/Cargo.toml b/core-primitives/node-api/api-client-types/Cargo.toml index 76999c7c0a..d8f8452d5f 100644 --- a/core-primitives/node-api/api-client-types/Cargo.toml +++ b/core-primitives/node-api/api-client-types/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" my-node-runtime = { package = "integritee-node-runtime", optional = true, git = "https://github.com/integritee-network/integritee-node.git", branch = "polkadot-v0.9.42" } # scs -substrate-api-client = { default-features = false, features = [], git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42-tag-v0.10.0" } +substrate-api-client = { default-features = false, git = "https://github.com/scs/substrate-api-client.git", branch = "polkadot-v0.9.42-tag-v0.10.0" } # substrate sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" } From bf0df4d7d3b388829986299db6350c49f9429a8b Mon Sep 17 00:00:00 2001 From: Szilard Parrag Date: Tue, 13 Jun 2023 10:10:31 +0200 Subject: [PATCH 19/34] ita-sgx-runtime: fixup for freezing implementation in fungible trait --- app-libs/sgx-runtime/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-libs/sgx-runtime/src/lib.rs b/app-libs/sgx-runtime/src/lib.rs index 14c69db87b..7e96a13c0d 100644 --- a/app-libs/sgx-runtime/src/lib.rs +++ b/app-libs/sgx-runtime/src/lib.rs @@ -236,8 +236,8 @@ impl pallet_balances::Config for Runtime { type WeightInfo = (); type HoldIdentifier = (); type FreezeIdentifier = (); - type MaxHolds = (); - type MaxFreezes = (); + type MaxHolds = ConstU32<0>; + type MaxFreezes = ConstU32<0>; } parameter_types! { From a8f406d98064e0e71dc3c0c3990308e50b78dc43 Mon Sep 17 00:00:00 2001 From: Szilard Parrag Date: Tue, 13 Jun 2023 10:30:23 +0200 Subject: [PATCH 20/34] fixup! ita-sgx-runtime: fixup for freezing implementation in fungible trait --- app-libs/sgx-runtime/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-libs/sgx-runtime/src/lib.rs b/app-libs/sgx-runtime/src/lib.rs index 7e96a13c0d..124ee255da 100644 --- a/app-libs/sgx-runtime/src/lib.rs +++ b/app-libs/sgx-runtime/src/lib.rs @@ -39,7 +39,7 @@ pub use evm::{ }; use core::convert::{TryFrom, TryInto}; -use frame_support::weights::ConstantMultiplier; +use frame_support::{traits::ConstU32, weights::ConstantMultiplier}; use pallet_transaction_payment::CurrencyAdapter; use sp_api::impl_runtime_apis; use sp_core::OpaqueMetadata; From 8fc770d5cc3f1f9bbd9f10b5a460435288af98bb Mon Sep 17 00:00:00 2001 From: clangenb <37865735+clangenb@users.noreply.github.com> Date: Thu, 15 Jun 2023 16:54:05 +0200 Subject: [PATCH 21/34] minor fixes and more logging (#1367) * [local-setup] fix setup with two workers: avoid using the same data dirs. (#1358) * [ita_stf/test_genesis] remove reserved balance from state, as it doesn't exist anymore * [enclave-runtime/top_pool_execution] downgrade logs to trace * [state_handler] add debug and trace logs * add additional flags for the worker setup * [its-consensus-aura/block_importer] add some more logs * local setup add some more logging --- app-libs/stf/src/test_genesis.rs | 21 +++++++------------ .../stf-state-handler/src/state_handler.rs | 8 ++++++- enclave-runtime/src/top_pool_execution.rs | 4 ++-- local-setup/config/two-workers.json | 2 +- local-setup/py/worker.py | 4 ++++ .../consensus/aura/src/block_importer.rs | 13 ++++++++++++ 6 files changed, 35 insertions(+), 17 deletions(-) diff --git a/app-libs/stf/src/test_genesis.rs b/app-libs/stf/src/test_genesis.rs index faea0a3eb6..b96af31dc3 100644 --- a/app-libs/stf/src/test_genesis.rs +++ b/app-libs/stf/src/test_genesis.rs @@ -63,14 +63,10 @@ pub fn test_genesis_setup(state: &mut impl SgxExternalitiesTrait) { set_sudo_account(state, &ALICE_ENCODED); trace!("Set new sudo account: {:?}", &ALICE_ENCODED); - let mut endowees: Vec<(AccountId32, Balance, Balance)> = vec![ - (endowed_account().public().into(), ENDOWED_ACC_FUNDS, ENDOWED_ACC_FUNDS), - ( - second_endowed_account().public().into(), - SECOND_ENDOWED_ACC_FUNDS, - SECOND_ENDOWED_ACC_FUNDS, - ), - (ALICE_ENCODED.into(), ALICE_FUNDS, ALICE_FUNDS), + let mut endowees: Vec<(AccountId32, Balance)> = vec![ + (endowed_account().public().into(), ENDOWED_ACC_FUNDS), + (second_endowed_account().public().into(), SECOND_ENDOWED_ACC_FUNDS), + (ALICE_ENCODED.into(), ALICE_FUNDS), ]; append_funded_alice_evm_account(&mut endowees); @@ -79,16 +75,15 @@ pub fn test_genesis_setup(state: &mut impl SgxExternalitiesTrait) { } #[cfg(feature = "evm")] -fn append_funded_alice_evm_account(endowees: &mut Vec<(AccountId32, Balance, Balance)>) { +fn append_funded_alice_evm_account(endowees: &mut Vec<(AccountId32, Balance)>) { let alice_evm = get_evm_account(&ALICE_ENCODED.into()); let alice_evm_substrate_version = HashedAddressMapping::into_account_id(alice_evm); - let mut other: Vec<(AccountId32, Balance, Balance)> = - vec![(alice_evm_substrate_version, ALICE_FUNDS, ALICE_FUNDS)]; + let mut other: Vec<(AccountId32, Balance)> = vec![(alice_evm_substrate_version, ALICE_FUNDS)]; endowees.append(other.as_mut()); } #[cfg(not(feature = "evm"))] -fn append_funded_alice_evm_account(_: &mut Vec<(AccountId32, Balance, Balance)>) {} +fn append_funded_alice_evm_account(_: &mut Vec<(AccountId32, Balance)>) {} fn set_sudo_account(state: &mut impl SgxExternalitiesTrait, account_encoded: &[u8]) { state.execute_with(|| { @@ -98,7 +93,7 @@ fn set_sudo_account(state: &mut impl SgxExternalitiesTrait, account_encoded: &[u pub fn endow( state: &mut impl SgxExternalitiesTrait, - endowees: impl IntoIterator, + endowees: impl IntoIterator, ) { state.execute_with(|| { for e in endowees.into_iter() { diff --git a/core-primitives/stf-state-handler/src/state_handler.rs b/core-primitives/stf-state-handler/src/state_handler.rs index 39540a5e56..0b843d77ba 100644 --- a/core-primitives/stf-state-handler/src/state_handler.rs +++ b/core-primitives/stf-state-handler/src/state_handler.rs @@ -28,10 +28,12 @@ use crate::{ state_initializer::InitializeState, state_snapshot_repository::VersionedStateAccess, }; +use core::fmt::Debug; use itp_hashing::Hash; use itp_sgx_externalities::SgxExternalitiesTrait; use itp_stf_state_observer::traits::UpdateState; use itp_types::ShardIdentifier; +use log::{debug, trace}; use std::{collections::HashMap, sync::Arc, vec::Vec}; type StatesMap = HashMap; @@ -146,7 +148,7 @@ impl HandleState for StateHandler where Repository: VersionedStateAccess, - Repository::StateType: SgxExternalitiesTrait + Hash, + Repository::StateType: SgxExternalitiesTrait + Hash + Debug, Repository::HashType: Copy, StateObserver: UpdateState, StateInitializer: InitializeState, @@ -204,6 +206,8 @@ where mut state_lock: RwLockWriteGuard<'_, Self::WriteLockPayload>, shard: &ShardIdentifier, ) -> Result { + debug!("Writing state"); + trace!("State: {:?}", state); state.prune_state_diff(); // Remove state diff before storing. let state_hash = state.hash(); // We create a state copy here, in order to serve the state observer. This does not scale @@ -218,6 +222,8 @@ where } fn reset(&self, state: Self::StateT, shard: &ShardIdentifier) -> Result { + debug!("Resetting state"); + trace!("Resetting state: {:?}", state); let state_write_lock = self.states_map_lock.write().map_err(|_| Error::LockPoisoning)?; self.write_after_mutation(state, state_write_lock, shard) } diff --git a/enclave-runtime/src/top_pool_execution.rs b/enclave-runtime/src/top_pool_execution.rs index e17428a845..cff5971ae7 100644 --- a/enclave-runtime/src/top_pool_execution.rs +++ b/enclave-runtime/src/top_pool_execution.rs @@ -112,7 +112,7 @@ fn execute_top_pool_trusted_calls_internal() -> Result<()> { let latest_parentchain_header = sidechain_block_import_queue_worker.process_queue(¤t_parentchain_header)?; - info!( + trace!( "Elapsed time to process sidechain block import queue: {} ms", start_time.elapsed().as_millis() ); @@ -283,7 +283,7 @@ fn log_remaining_slot_duration>( info!("No time remaining in slot (id: {:?}, stage: {})", slot_info.slot, stage_name); }, Some(remainder) => { - info!( + trace!( "Remaining time in slot (id: {:?}, stage {}): {} ms, {}% of slot time", slot_info.slot, stage_name, diff --git a/local-setup/config/two-workers.json b/local-setup/config/two-workers.json index 51acefce9b..6d5e2316da 100644 --- a/local-setup/config/two-workers.json +++ b/local-setup/config/two-workers.json @@ -55,7 +55,7 @@ "4546", "--ws-external", "--data-dir", - "/tmp/data-dir" + "/tmp/data-dir2" ], "subcommand_flags": [ "--skip-ra", diff --git a/local-setup/py/worker.py b/local-setup/py/worker.py index a63367cdf5..3c9697b1f3 100644 --- a/local-setup/py/worker.py +++ b/local-setup/py/worker.py @@ -159,6 +159,10 @@ def run_in_background(self, log_file: TextIO, flags: [str] = None, subcommand_fl 'jsonrpsee_ws_server=warn,' 'enclave_runtime=info,' 'integritee_service=warn,' + 'itp_stf_state_handler=debug,' + 'its_consensus_common=debug,' + 'its_consensus_aura=trace,' + 'itc_parentchain_block_importer=debug,' 'ita_stf=debug') return Popen( diff --git a/sidechain/consensus/aura/src/block_importer.rs b/sidechain/consensus/aura/src/block_importer.rs index 4d28ac02e7..15d7217fb5 100644 --- a/sidechain/consensus/aura/src/block_importer.rs +++ b/sidechain/consensus/aura/src/block_importer.rs @@ -276,6 +276,19 @@ impl< sidechain_block: &SignedSidechainBlock::Block, last_imported_parentchain_header: &ParentchainBlock::Header, ) -> Result { + let last = last_imported_parentchain_header; + debug!("Peeking parentchain header"); + debug!( + "sidechain block parentchain head: {}", + sidechain_block.block_data().layer_one_head() + ); + debug!( + "last imported head: {}, number: {:?}, parenthash: {}", + last.hash(), + last.number(), + last.parent_hash() + ); + let parentchain_header_hash_to_peek = sidechain_block.block_data().layer_one_head(); if parentchain_header_hash_to_peek == last_imported_parentchain_header.hash() { debug!("No queue peek necessary, sidechain block references latest imported parentchain block"); From ecfe65f21fb564fc9970d6fdc2bf00e9ba03648e Mon Sep 17 00:00:00 2001 From: Szilard Parrag Date: Wed, 28 Jun 2023 11:18:44 +0200 Subject: [PATCH 22/34] cli: fix keystore KeyTypeId inconsistency --- cli/src/base_cli/mod.rs | 10 +++++----- cli/src/benchmark/mod.rs | 8 ++++---- cli/src/lib.rs | 4 ++++ cli/src/trusted_base_cli/mod.rs | 10 +++++----- cli/src/trusted_command_utils.rs | 12 +++++------- 5 files changed, 23 insertions(+), 21 deletions(-) diff --git a/cli/src/base_cli/mod.rs b/cli/src/base_cli/mod.rs index 4dde49e307..117d1e317f 100644 --- a/cli/src/base_cli/mod.rs +++ b/cli/src/base_cli/mod.rs @@ -21,14 +21,14 @@ use crate::{ shield_funds::ShieldFundsCommand, transfer::TransferCommand, }, command_utils::*, - Cli, CliResult, CliResultOk, + Cli, CliResult, CliResultOk, ED25519_KEY_TYPE, SR25519_KEY_TYPE, }; use base58::ToBase58; use chrono::{DateTime, Utc}; use clap::Subcommand; use itc_rpc_client::direct_client::DirectApi; use itp_node_api::api_client::PalletTeerexApi; -use sp_core::crypto::{key_types::ACCOUNT, Ss58Codec}; +use sp_core::crypto::Ss58Codec; use sp_keystore::Keystore; use std::{ path::PathBuf, @@ -91,7 +91,7 @@ impl BaseCommand { fn new_account() -> CliResult { let store = LocalKeystore::open(PathBuf::from(&KEYSTORE_PATH), None).unwrap(); - let key = LocalKeystore::sr25519_generate_new(&store, ACCOUNT, None).unwrap(); + let key = LocalKeystore::sr25519_generate_new(&store, SR25519_KEY_TYPE, None).unwrap(); let key_base58 = key.to_ss58check(); drop(store); println!("{}", key_base58); @@ -105,14 +105,14 @@ fn list_accounts() -> CliResult { let store = LocalKeystore::open(PathBuf::from(&KEYSTORE_PATH), None).unwrap(); println!("sr25519 keys:"); let mut keys_sr25519 = vec![]; - for pubkey in store.sr25519_public_keys(ACCOUNT).into_iter() { + for pubkey in store.sr25519_public_keys(SR25519_KEY_TYPE).into_iter() { let key_ss58 = pubkey.to_ss58check(); println!("{}", key_ss58); keys_sr25519.push(key_ss58); } println!("ed25519 keys:"); let mut keys_ed25519 = vec![]; - for pubkey in store.ed25519_public_keys(ACCOUNT).into_iter() { + for pubkey in store.ed25519_public_keys(ED25519_KEY_TYPE).into_iter() { let key_ss58 = pubkey.to_ss58check(); println!("{}", key_ss58); keys_ed25519.push(key_ss58); diff --git a/cli/src/benchmark/mod.rs b/cli/src/benchmark/mod.rs index f1bcba8154..f67eaae984 100644 --- a/cli/src/benchmark/mod.rs +++ b/cli/src/benchmark/mod.rs @@ -23,7 +23,7 @@ use crate::{ decode_balance, get_identifiers, get_keystore_path, get_pair_from_str, }, trusted_operation::{get_json_request, get_state, perform_trusted_operation, wait_until}, - Cli, CliResult, CliResultOk, + Cli, CliResult, CliResultOk, SR25519_KEY_TYPE, }; use codec::Decode; use hdrhistogram::Histogram; @@ -39,7 +39,7 @@ use rand::Rng; use rayon::prelude::*; use sgx_crypto_helper::rsa3072::Rsa3072PubKey; use sp_application_crypto::sr25519; -use sp_core::{crypto::key_types::ACCOUNT, sr25519 as sr25519_core, Pair}; +use sp_core::{sr25519 as sr25519_core, Pair}; use sp_keystore::Keystore; use std::{ boxed::Box, @@ -142,7 +142,7 @@ impl BenchmarkCommand { println!("Initializing account {}", i); // Create new account to use. - let a = LocalKeystore::sr25519_generate_new(&store, ACCOUNT, None).unwrap(); + let a = LocalKeystore::sr25519_generate_new(&store, SR25519_KEY_TYPE, None).unwrap(); let account = get_pair_from_str(trusted_args, a.to_string().as_str()); let initial_balance = 10000000; @@ -191,7 +191,7 @@ impl BenchmarkCommand { } // Create new account. - let account_keys = LocalKeystore::sr25519_generate_new(&store, ACCOUNT, None).unwrap(); + let account_keys = LocalKeystore::sr25519_generate_new(&store, SR25519_KEY_TYPE, None).unwrap(); let new_account = get_pair_from_str(trusted_args, account_keys.to_string().as_str()); diff --git a/cli/src/lib.rs b/cli/src/lib.rs index dd7d783d64..7f51946c13 100644 --- a/cli/src/lib.rs +++ b/cli/src/lib.rs @@ -45,12 +45,16 @@ pub mod commands; use crate::commands::Commands; use clap::Parser; +use sp_application_crypto::KeyTypeId; use sp_core::{H160, H256}; use substrate_api_client::Metadata; use thiserror::Error; const VERSION: &str = env!("CARGO_PKG_VERSION"); +pub(crate) const SR25519_KEY_TYPE: KeyTypeId = KeyTypeId(*b"sr25"); +pub(crate) const ED25519_KEY_TYPE: KeyTypeId = KeyTypeId(*b"ed25"); + #[derive(Parser)] #[clap(name = "integritee-cli")] #[clap(version = VERSION)] diff --git a/cli/src/trusted_base_cli/mod.rs b/cli/src/trusted_base_cli/mod.rs index 5bad946fd2..313c859d00 100644 --- a/cli/src/trusted_base_cli/mod.rs +++ b/cli/src/trusted_base_cli/mod.rs @@ -22,10 +22,10 @@ use crate::{ }, trusted_cli::TrustedCli, trusted_command_utils::get_keystore_path, - Cli, CliResult, CliResultOk, + Cli, CliResult, CliResultOk, ED25519_KEY_TYPE, SR25519_KEY_TYPE, }; use log::*; -use sp_core::crypto::{key_types::ACCOUNT, Ss58Codec}; +use sp_core::crypto::Ss58Codec; use sp_keystore::Keystore; use substrate_client_keystore::LocalKeystore; @@ -72,7 +72,7 @@ impl TrustedBaseCommand { fn new_account(trusted_args: &TrustedCli) -> CliResult { let store = LocalKeystore::open(get_keystore_path(trusted_args), None).unwrap(); - let key = LocalKeystore::sr25519_generate_new(&store, ACCOUNT, None).unwrap(); + let key = LocalKeystore::sr25519_generate_new(&store, SR25519_KEY_TYPE, None).unwrap(); drop(store); info!("new account {}", key.to_ss58check()); let key_str = key.to_ss58check(); @@ -84,12 +84,12 @@ fn new_account(trusted_args: &TrustedCli) -> CliResult { fn list_accounts(trusted_args: &TrustedCli) -> CliResult { let store = LocalKeystore::open(get_keystore_path(trusted_args), None).unwrap(); info!("sr25519 keys:"); - for pubkey in store.sr25519_public_keys(ACCOUNT).into_iter() { + for pubkey in store.sr25519_public_keys(SR25519_KEY_TYPE).into_iter() { println!("{}", pubkey.to_ss58check()); } info!("ed25519 keys:"); let pubkeys: Vec = store - .ed25519_public_keys(ACCOUNT) + .ed25519_public_keys(ED25519_KEY_TYPE) .into_iter() .map(|pubkey| pubkey.to_ss58check()) .collect(); diff --git a/cli/src/trusted_command_utils.rs b/cli/src/trusted_command_utils.rs index 24a074e1df..c9b6bddd83 100644 --- a/cli/src/trusted_command_utils.rs +++ b/cli/src/trusted_command_utils.rs @@ -19,7 +19,7 @@ use crate::{ command_utils::{get_worker_api_direct, mrenclave_from_base58}, trusted_cli::TrustedCli, trusted_operation::{perform_trusted_operation, read_shard}, - Cli, + Cli, SR25519_KEY_TYPE, }; use base58::{FromBase58, ToBase58}; use codec::{Decode, Encode}; @@ -33,6 +33,7 @@ use log::*; use my_node_runtime::Balance; use sp_application_crypto::sr25519; use sp_core::{crypto::Ss58Codec, sr25519 as sr25519_core, Pair}; +use sp_keystore::Keystore; use sp_runtime::traits::IdentifyAccount; use std::{boxed::Box, path::PathBuf}; use substrate_client_keystore::LocalKeystore; @@ -122,12 +123,9 @@ pub(crate) fn get_pair_from_str(trusted_args: &TrustedCli, account: &str) -> sr2 let store = LocalKeystore::open(get_keystore_path(trusted_args), None) .expect("store should exist"); info!("store opened"); - let _pair = store - .key_pair::( - &sr25519::Public::from_ss58check(account).unwrap().into(), - ) - .unwrap() - .unwrap(); + let public_key = &sr25519::AppPublic::from_ss58check(account).unwrap(); + info!("public_key: {:#?}", &public_key); + let _pair = store.key_pair::(public_key).unwrap().unwrap(); info!("key pair fetched"); drop(store); _pair.into() From 3f8df59d2c96ec4360155ef016f8a638b95a2b06 Mon Sep 17 00:00:00 2001 From: Christian Langenbacher Date: Fri, 30 Jun 2023 08:56:09 +0200 Subject: [PATCH 23/34] fix clippy --- cli/src/trusted_command_utils.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cli/src/trusted_command_utils.rs b/cli/src/trusted_command_utils.rs index c9b6bddd83..f3573c236e 100644 --- a/cli/src/trusted_command_utils.rs +++ b/cli/src/trusted_command_utils.rs @@ -19,7 +19,7 @@ use crate::{ command_utils::{get_worker_api_direct, mrenclave_from_base58}, trusted_cli::TrustedCli, trusted_operation::{perform_trusted_operation, read_shard}, - Cli, SR25519_KEY_TYPE, + Cli, }; use base58::{FromBase58, ToBase58}; use codec::{Decode, Encode}; @@ -33,7 +33,6 @@ use log::*; use my_node_runtime::Balance; use sp_application_crypto::sr25519; use sp_core::{crypto::Ss58Codec, sr25519 as sr25519_core, Pair}; -use sp_keystore::Keystore; use sp_runtime::traits::IdentifyAccount; use std::{boxed::Box, path::PathBuf}; use substrate_client_keystore::LocalKeystore; From 8b3dd1128ad01115a2f76d92a183cb296520bbcb Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Mon, 17 Jul 2023 15:35:01 +0200 Subject: [PATCH 24/34] hopefully fixcing evm build --- enclave-runtime/src/test/evm_pallet_tests.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/enclave-runtime/src/test/evm_pallet_tests.rs b/enclave-runtime/src/test/evm_pallet_tests.rs index e863b13f37..a7b9fd882c 100644 --- a/enclave-runtime/src/test/evm_pallet_tests.rs +++ b/enclave-runtime/src/test/evm_pallet_tests.rs @@ -49,7 +49,7 @@ pub fn test_evm_call() { // Ensure the substrate version of the evm account has some money. let sender_evm_substrate_addr = ita_sgx_runtime::HashedAddressMapping::into_account_id(sender_evm_acc); - endow(&mut state, vec![(sender_evm_substrate_addr, 51_777_000_000_000, 0)]); + endow(&mut state, vec![(sender_evm_substrate_addr, 51_777_000_000_000)]); // Create the receiver account. let destination_evm_acc = H160::from_str("1000000000000000000000000000000000000001").unwrap(); @@ -102,7 +102,7 @@ pub fn test_evm_counter() { // Ensure the substrate version of the evm account has some money. let sender_evm_substrate_addr = ita_sgx_runtime::HashedAddressMapping::into_account_id(sender_evm_acc); - endow(&mut state, vec![(sender_evm_substrate_addr, 51_777_000_000_000, 0)]); + endow(&mut state, vec![(sender_evm_substrate_addr, 51_777_000_000_000)]); // Smart Contract from Counter.sol. let smart_contract = "608060405234801561001057600080fd5b50600160008190555033600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610377806100696000396000f3fe6080604052600436106100435760003560e01c80631003e2d21461004d57806333cf508014610076578063371303c0146100a157806358992216146100b857610044565b5b60056000819055005b34801561005957600080fd5b50610074600480360381019061006f9190610209565b6100e3565b005b34801561008257600080fd5b5061008b61013f565b6040516100989190610245565b60405180910390f35b3480156100ad57600080fd5b506100b6610148565b005b3480156100c457600080fd5b506100cd6101a4565b6040516100da91906102a1565b60405180910390f35b806000808282546100f491906102eb565b9250508190555033600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008054905090565b600160008082825461015a91906102eb565b9250508190555033600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080fd5b6000819050919050565b6101e6816101d3565b81146101f157600080fd5b50565b600081359050610203816101dd565b92915050565b60006020828403121561021f5761021e6101ce565b5b600061022d848285016101f4565b91505092915050565b61023f816101d3565b82525050565b600060208201905061025a6000830184610236565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061028b82610260565b9050919050565b61029b81610280565b82525050565b60006020820190506102b66000830184610292565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006102f6826101d3565b9150610301836101d3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115610336576103356102bc565b5b82820190509291505056fea2646970667358221220b37e993e133ed19c840809cc8acbbba8116dee3744ba01c81044d75146805c9364736f6c634300080f0033"; @@ -270,7 +270,7 @@ pub fn test_evm_create() { let sender_evm_acc: H160 = sender_evm_acc_slice.into(); // Ensure the substrate version of the evm account has some money. let sender_evm_substrate_addr = HashedAddressMapping::into_account_id(sender_evm_acc); - endow(&mut state, vec![(sender_evm_substrate_addr.clone(), 51_777_000_000_000, 0)]); + endow(&mut state, vec![(sender_evm_substrate_addr.clone(), 51_777_000_000_000)]); // Bytecode from Counter.sol let smart_contract = "608060405234801561001057600080fd5b50600160008190555033600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610377806100696000396000f3fe6080604052600436106100435760003560e01c80631003e2d21461004d57806333cf508014610076578063371303c0146100a157806358992216146100b857610044565b5b60056000819055005b34801561005957600080fd5b50610074600480360381019061006f9190610209565b6100e3565b005b34801561008257600080fd5b5061008b61013f565b6040516100989190610245565b60405180910390f35b3480156100ad57600080fd5b506100b6610148565b005b3480156100c457600080fd5b506100cd6101a4565b6040516100da91906102a1565b60405180910390f35b806000808282546100f491906102eb565b9250508190555033600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008054905090565b600160008082825461015a91906102eb565b9250508190555033600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080fd5b6000819050919050565b6101e6816101d3565b81146101f157600080fd5b50565b600081359050610203816101dd565b92915050565b60006020828403121561021f5761021e6101ce565b5b600061022d848285016101f4565b91505092915050565b61023f816101d3565b82525050565b600060208201905061025a6000830184610236565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061028b82610260565b9050919050565b61029b81610280565b82525050565b60006020820190506102b66000830184610292565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006102f6826101d3565b9150610301836101d3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115610336576103356102bc565b5b82820190509291505056fea2646970667358221220b37e993e133ed19c840809cc8acbbba8116dee3744ba01c81044d75146805c9364736f6c634300080f0033"; @@ -324,7 +324,7 @@ pub fn test_evm_create2() { let sender_evm_acc: H160 = sender_evm_acc_slice.into(); // Ensure the substrate version of the evm account has some money. let sender_evm_substrate_addr = HashedAddressMapping::into_account_id(sender_evm_acc); - endow(&mut state, vec![(sender_evm_substrate_addr, 51_777_000_000_000, 0)]); + endow(&mut state, vec![(sender_evm_substrate_addr, 51_777_000_000_000)]); let salt = H256::from_low_u64_be(20); // Bytecode from Counter.sol From 9751046de89f62031562dcfba6f1ae7d938a3e05 Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Tue, 18 Jul 2023 11:58:32 +0200 Subject: [PATCH 25/34] add debug log in entrypoint --- docker/entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index bceee8d4be..6595cdd008 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -4,4 +4,7 @@ set -e # run aesmd in the background /opt/intel/sgx-aesm-service/aesm/aesm_service +# for debugging: will be in the CI logs: +cat /etc/sgx_default_qcnl.conf + exec /usr/local/bin/integritee-service "${@}" From 258f489279b547063a3ce2c0cf6322266b1e1c79 Mon Sep 17 00:00:00 2001 From: Szilard Parrag Date: Tue, 18 Jul 2023 14:54:22 +0200 Subject: [PATCH 26/34] use explicit sgx_default_qcnl.conf file --- docker/entrypoint.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 6595cdd008..c7e9e2c96e 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -7,4 +7,26 @@ set -e # for debugging: will be in the CI logs: cat /etc/sgx_default_qcnl.conf +echo '{ + + "pccs_url": "https://ajuna-02.cluster.securitee.tech:8081/sgx/certification/v4/", + + "use_secure_cert": false, + + "collateral_service": "https://api.trustedservices.intel.com/sgx/certification/v4/", + + + "retry_times": 6, + + "retry_delay": 10, + + + "pck_cache_expire_hours": 168, + + "verify_collateral_cache_expire_hours": 168 + +}' > /etc/sgx_default_qcnl.conf + +cat /etc/sgx_default_qcnl.conf + exec /usr/local/bin/integritee-service "${@}" From ead3b93dea08f425d3fb793df7d112d2fb9152d9 Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Wed, 19 Jul 2023 15:48:21 +0200 Subject: [PATCH 27/34] CI: healthy params for teeracle testing --- cli/demo_teeracle_whitelist.sh | 14 +++++++------- docker/demo-teeracle.yml | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/cli/demo_teeracle_whitelist.sh b/cli/demo_teeracle_whitelist.sh index 5da2637fb5..d56b01728e 100755 --- a/cli/demo_teeracle_whitelist.sh +++ b/cli/demo_teeracle_whitelist.sh @@ -70,12 +70,12 @@ echo "Using client binary ${CLIENT_BIN}" echo "Using node uri ${NODEURL}:${NPORT}" echo "Using trusted-worker uri ${WORKER1URL}:${WORKER1PORT}" echo "Using worker market data update interval ${INTERVAL}" -echo "Count the update events for ${DURATION}" +echo "Count the update events for ${DURATION} blocks" echo "" COIN_GECKO="https://api.coingecko.com/" COIN_MARKET_CAP="https://pro-api.coinmarketcap.com/" -let "MIN_EXPECTED_NUM_OF_EVENTS=$DURATION/$INTERVAL-3" +let "MIN_EXPECTED_NUM_OF_EVENTS=$DURATION*6/$INTERVAL-3" echo "Minimum expected number of events with a single oracle source: ${MIN_EXPECTED_NUM_OF_EVENTS}" let "MIN_EXPECTED_NUM_OF_EVENTS_2 = 2*$MIN_EXPECTED_NUM_OF_EVENTS" @@ -94,7 +94,7 @@ echo "Reading MRENCLAVE from worker list: ${MRENCLAVE}" [[ -z $MRENCLAVE ]] && { echo "MRENCLAVE is empty. cannot continue" ; exit 1; } echo "" -echo "Listen to ExchangeRateUpdated events for ${DURATION} seconds. There should be no trusted oracle source!" +echo "Listen to ExchangeRateUpdated events for ${DURATION} blocks. There should be no trusted oracle source!" #${CLIENT} ${LISTEN_TO_EXCHANGE_RATE_EVENTS_CMD} ${DURATION} #echo "" @@ -107,12 +107,12 @@ ${CLIENT} ${ADD_TO_WHITELIST_CMD} //Alice ${COIN_GECKO} ${MRENCLAVE} echo "MRENCLAVE in whitelist for ${COIN_GECKO}" echo "" -echo "Listen to ExchangeRateUpdated events for ${DURATION} seconds, after a trusted oracle source has been added to the whitelist." +echo "Listen to ExchangeRateUpdated events for ${DURATION} blocks, after a trusted oracle source has been added to the whitelist." #${CLIENT} ${LISTEN_TO_EXCHANGE_RATE_EVENTS_CMD} ${DURATION} #echo "" read EVENTS_COUNT <<< $($CLIENT ${LISTEN_TO_EXCHANGE_RATE_EVENTS_CMD} ${DURATION} | awk '/ EVENTS_COUNT: / { print $2; exit }') -echo "Got ${EVENTS_COUNT} exchange rate updates from the trusted oracle source in ${DURATION} second(s)" +echo "Got ${EVENTS_COUNT} exchange rate updates from the trusted oracle source in ${DURATION} blocks(s)" echo "" echo "Add ${COIN_MARKET_CAP} for ${MRENCLAVE} as trusted oracle source" @@ -120,12 +120,12 @@ ${CLIENT} ${ADD_TO_WHITELIST_CMD} //Alice ${COIN_MARKET_CAP} ${MRENCLAVE} echo "MRENCLAVE in whitelist for ${COIN_MARKET_CAP}" echo "" -echo "Listen to ExchangeRateUpdated events for ${DURATION} seconds, after a second trusted oracle source has been added to the whitelist." +echo "Listen to ExchangeRateUpdated events for ${DURATION} blocks, after a second trusted oracle source has been added to the whitelist." #${CLIENT} ${LISTEN_TO_EXCHANGE_RATE_EVENTS_CMD} ${DURATION} #echo "" read EVENTS_COUNT_2 <<< $($CLIENT ${LISTEN_TO_EXCHANGE_RATE_EVENTS_CMD} ${DURATION} | awk '/ EVENTS_COUNT: / { print $2; exit }') -echo "Got ${EVENTS_COUNT_2} exchange rate updates from 2 trusted oracle sources in ${DURATION} second(s)" +echo "Got ${EVENTS_COUNT_2} exchange rate updates from 2 trusted oracle sources in ${DURATION} blocks(s)" echo "" echo "Results :" diff --git a/docker/demo-teeracle.yml b/docker/demo-teeracle.yml index 99dcb1c98d..e0bbd2a20f 100644 --- a/docker/demo-teeracle.yml +++ b/docker/demo-teeracle.yml @@ -63,7 +63,7 @@ services: "/usr/local/worker-cli/demo_teeracle_whitelist.sh -u ws://integritee-node -p 9912 -V wss://integritee-teeracle-worker -P 2011 - -d 21 -i ${TEERACLE_INTERVAL_SECONDS} + -d 7 -i ${TEERACLE_INTERVAL_SECONDS} -C /usr/local/bin/integritee-cli 2>&1" restart: "no" networks: From 0494ffb247e8a57fe724507e4b2ffebd1e7685e8 Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Wed, 19 Jul 2023 15:58:56 +0200 Subject: [PATCH 28/34] more verbose logging for sidechain consensus --- docker/docker-compose.yml | 4 ++-- service/src/main.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 18ec18b42a..5e707c35ed 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -35,7 +35,7 @@ services: - "${AESMD:-/dev/null}:/var/run/aesmd" - "${SGX_QCNL:-/dev/null}:/etc/sgx_default_qcnl.conf" environment: - - RUST_LOG=warn,ws=warn,sp_io=warn,substrate_api_client=warn,jsonrpsee_ws_client=warn,jsonrpsee_ws_server=warn,enclave_runtime=warn,integritee_service=warn,ita_stf=warn + - RUST_LOG=warn,ws=warn,sp_io=warn,substrate_api_client=warn,jsonrpsee_ws_client=warn,jsonrpsee_ws_server=warn,enclave_runtime=warn,integritee_service=warn,ita_stf=warn,its_consensus_common=debug networks: - integritee-test-network healthcheck: @@ -64,7 +64,7 @@ services: - "${AESMD:-/dev/null}:/var/run/aesmd" - "${SGX_QCNL:-/dev/null}:/etc/sgx_default_qcnl.conf" environment: - - RUST_LOG=warn,ws=warn,sp_io=warn,substrate_api_client=warn,jsonrpsee_ws_client=warn,jsonrpsee_ws_server=warn,enclave_runtime=warn,integritee_service=warn,ita_stf=warn + - RUST_LOG=warn,ws=warn,sp_io=warn,substrate_api_client=warn,jsonrpsee_ws_client=warn,jsonrpsee_ws_server=warn,enclave_runtime=warn,integritee_service=warn,ita_stf=warn,its_consensus_common=debug networks: - integritee-test-network healthcheck: diff --git a/service/src/main.rs b/service/src/main.rs index 9b7efa49fd..62cdff3a35 100644 --- a/service/src/main.rs +++ b/service/src/main.rs @@ -586,10 +586,10 @@ fn spawn_worker_for_shard_polling( loop { info!("Polling for worker for shard ({} seconds interval)", POLL_INTERVAL_SECS); - if let Ok(Some(_)) = node_api.worker_for_shard(&shard_for_initialized, None) { + if let Ok(Some(enclave)) = node_api.worker_for_shard(&shard_for_initialized, None) { // Set that the service is initialized. initialization_handler.worker_for_shard_registered(); - println!("[+] Found `WorkerForShard` on parentchain state"); + println!("[+] Found `WorkerForShard` on parentchain state: {:?}", enclave.pubkey); break } thread::sleep(Duration::from_secs(POLL_INTERVAL_SECS)); From de2dda2a07d74c4bd7cd9e6177d3e3170a81946f Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Wed, 19 Jul 2023 18:44:44 +0200 Subject: [PATCH 29/34] pimp logging --- cli/src/base_cli/commands/transfer.rs | 12 +++++------ .../src/attestation_handler.rs | 4 ++-- .../attestation-handler/src/cert.rs | 4 ++-- service/src/account_funding.rs | 11 +++++----- service/src/main.rs | 21 +++++++++++++------ 5 files changed, 30 insertions(+), 22 deletions(-) diff --git a/cli/src/base_cli/commands/transfer.rs b/cli/src/base_cli/commands/transfer.rs index 3ea285cb40..d5894f80c1 100644 --- a/cli/src/base_cli/commands/transfer.rs +++ b/cli/src/base_cli/commands/transfer.rs @@ -24,7 +24,7 @@ use log::*; use my_node_runtime::Balance; use sp_core::{crypto::Ss58Codec, sr25519 as sr25519_core, Pair}; use substrate_api_client::{ - extrinsic::BalancesExtrinsics, GetAccountInformation, SubmitAndWatch, XtStatus, + extrinsic::BalancesExtrinsics, GetAccountInformation, SubmitAndWatchUntilSuccess, }; #[derive(Parser)] @@ -48,11 +48,11 @@ impl TransferCommand { let mut api = get_chain_api(cli); api.set_signer(ParentchainExtrinsicSigner::new(sr25519_core::Pair::from(from_account))); let xt = api.balance_transfer_allow_death(Address::Id(to_account.clone()), self.amount); - let tx_hash = api - .submit_and_watch_extrinsic_until(xt, XtStatus::InBlock) - .unwrap() - .extrinsic_hash; - println!("[+] TrustedOperation got finalized. Hash: {:?}\n", tx_hash); + let tx_report = api.submit_and_watch_extrinsic_until_success(xt, false).unwrap(); + println!( + "[+] L1 extrinsic success. extrinsic hash: {:?} / status: {:?}", + tx_report.extrinsic_hash, tx_report.status + ); let result = api.get_account_data(&to_account).unwrap().unwrap(); let balance = result.free; println!("balance for {} is now {}", to_account, balance); diff --git a/core-primitives/attestation-handler/src/attestation_handler.rs b/core-primitives/attestation-handler/src/attestation_handler.rs index fa2058d563..91bfc77f3a 100644 --- a/core-primitives/attestation-handler/src/attestation_handler.rs +++ b/core-primitives/attestation-handler/src/attestation_handler.rs @@ -48,7 +48,7 @@ use sgx_tcrypto::{rsgx_sha256_slice, SgxEccHandle}; use sgx_tse::{rsgx_create_report, rsgx_verify_report}; use sgx_types::{ c_int, sgx_epid_group_id_t, sgx_quote_nonce_t, sgx_quote_sign_type_t, sgx_report_data_t, - sgx_spid_t, sgx_status_t, sgx_status_t::SGX_ERROR_UNEXPECTED, sgx_target_info_t, SgxResult, *, + sgx_spid_t, sgx_status_t, sgx_target_info_t, SgxResult, *, }; use sp_core::{ed25519, Pair}; use std::{ @@ -678,7 +678,7 @@ where .map_err(|e| EnclaveError::Other(e.into())) } - /// Returns Ok if the verification of the quote by the quote verification enclave (QVE) was successful + /// Returns Ok if the verification of the quote by the quote verification enclave (QVE) was successful pub fn ecdsa_quote_verification(&self, quote: Vec) -> SgxResult<()> { let mut app_enclave_target_info: sgx_target_info_t = unsafe { std::mem::zeroed() }; let quote_collateral: sgx_ql_qve_collateral_t = unsafe { std::mem::zeroed() }; diff --git a/core-primitives/attestation-handler/src/cert.rs b/core-primitives/attestation-handler/src/cert.rs index ae158f661b..99c0d8529b 100644 --- a/core-primitives/attestation-handler/src/cert.rs +++ b/core-primitives/attestation-handler/src/cert.rs @@ -283,11 +283,11 @@ where // Obtain Netscape Comment offset += 1; let mut payload = cert_der[offset..offset + len].to_vec(); - println!("payload in mra cert verifier is: {:#?}", &payload); + trace!("payload in mra cert verifier is: {:?}", &payload); if is_payload_base64_encoded { payload = base64::decode(&payload[..]).or(Err(sgx_status_t::SGX_ERROR_UNEXPECTED))?; } - println!("payload in mra cert verifier is: {:#?}", &payload); + trace!("payload in mra cert verifier is: {:?}", &payload); if !is_dcap { // Extract each field let mut iter = payload.split(|x| *x == b'|'); diff --git a/service/src/account_funding.rs b/service/src/account_funding.rs index 68c2585019..15c5038bf0 100644 --- a/service/src/account_funding.rs +++ b/service/src/account_funding.rs @@ -30,7 +30,7 @@ use sp_core::{ use sp_keyring::AccountKeyring; use sp_runtime::MultiAddress; use substrate_api_client::{ - extrinsic::BalancesExtrinsics, GetBalance, GetTransactionPayment, SubmitAndWatch, XtStatus, + extrinsic::BalancesExtrinsics, GetBalance, GetTransactionPayment, SubmitAndWatchUntilSuccess, }; /// Information about the enclave on-chain account. @@ -155,15 +155,14 @@ fn bootstrap_funds_from_alice( let mut alice_signer_api = api.clone(); alice_signer_api.set_signer(ParentchainExtrinsicSigner::new(alice)); - println!("[+] bootstrap funding Enclave from Alice's funds"); + println!("[+] send extrinsic: bootstrap funding Enclave from Alice's funds"); let xt = alice_signer_api .balance_transfer_allow_death(MultiAddress::Id(accountid.clone()), funding_amount); - let xt_report = alice_signer_api.submit_and_watch_extrinsic_until(xt, XtStatus::InBlock)?; + let xt_report = alice_signer_api.submit_and_watch_extrinsic_until_success(xt, false)?; info!( - "[<] Extrinsic got included in a block. Extrinsic Hash: {:?}\n", - xt_report.extrinsic_hash + "[<] L1 extrinsic success. extrinsic hash: {:?} / status: {:?}", + xt_report.extrinsic_hash, xt_report.status ); - // Verify funds have arrived. let free_balance = alice_signer_api.get_free_balance(accountid); info!("TEE's NEW free balance = {:?}", free_balance); diff --git a/service/src/main.rs b/service/src/main.rs index 62cdff3a35..bdda6d0b2b 100644 --- a/service/src/main.rs +++ b/service/src/main.rs @@ -480,6 +480,7 @@ fn start_worker( let register_xt = move || enclave2.generate_dcap_ra_extrinsic(&trusted_url, skip_ra).unwrap(); let send_register_xt = move || { + println!("[+] Send register enclave extrinsic"); send_extrinsic(register_xt(), &node_api2, &tee_accountid.clone(), is_development_mode) }; @@ -814,20 +815,23 @@ fn send_extrinsic( accountid: &AccountId32, is_development_mode: bool, ) -> Option { - // Account funds + // ensure account funds if let Err(x) = setup_account_funding(api, accountid, extrinsic.clone(), is_development_mode) { - error!("Starting worker failed: {:?}", x); + error!("Ensure enclave funding failed: {:?}", x); // Return without registering the enclave. This will fail and the transaction will be banned for 30min. return None } - println!("[>] send extrinsic"); + info!("[>] send extrinsic"); + trace!(" encoded extrinsic: 0x{:}", hex::encode(extrinsic.clone())); match api.submit_and_watch_opaque_extrinsic_until_success(extrinsic.into(), true) { Ok(xt_report) => { - let register_qe_block_hash = xt_report.block_hash; - println!("[<] Extrinsic got finalized. Block hash: {:?}\n", register_qe_block_hash); - register_qe_block_hash + info!( + "[+] L1 extrinsic success. extrinsic hash: {:?} / status: {:?}", + xt_report.extrinsic_hash, xt_report.status + ); + xt_report.block_hash }, Err(e) => { error!("ExtrinsicFailed {:?}", e); @@ -878,5 +882,10 @@ fn we_are_primary_validateer( ) -> Result { let enclave_count_of_previous_block = node_api.enclave_count(Some(*register_enclave_xt_header.parent_hash()))?; + println!( + "enclave count is {} for previous block 0x{:?}", + enclave_count_of_previous_block, + register_enclave_xt_header.parent_hash() + ); Ok(enclave_count_of_previous_block == 0) } From f9dac57d967a754bc9c1be2b48543aad260bce58 Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Wed, 19 Jul 2023 22:10:50 +0200 Subject: [PATCH 30/34] ensure worker panics immediately if registering enclave fails --- service/src/main.rs | 6 ++++-- service/src/parentchain_handler.rs | 7 +++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/service/src/main.rs b/service/src/main.rs index bdda6d0b2b..e6223825ad 100644 --- a/service/src/main.rs +++ b/service/src/main.rs @@ -428,6 +428,8 @@ fn start_worker( .unwrap(), ); let last_synced_header = parentchain_handler.init_parentchain_components().unwrap(); + trace!("last synched parentchain block: {}", last_synced_header.number); + let nonce = node_api.get_nonce_of(&tee_accountid).unwrap(); info!("Enclave nonce = {:?}", nonce); enclave @@ -484,10 +486,10 @@ fn start_worker( send_extrinsic(register_xt(), &node_api2, &tee_accountid.clone(), is_development_mode) }; - let register_enclave_block_hash = send_register_xt(); + let register_enclave_block_hash = send_register_xt().unwrap(); let register_enclave_xt_header = - node_api.get_header(register_enclave_block_hash).unwrap().unwrap(); + node_api.get_header(Some(register_enclave_block_hash)).unwrap().unwrap(); let we_are_primary_validateer = we_are_primary_validateer(&node_api, ®ister_enclave_xt_header).unwrap(); diff --git a/service/src/parentchain_handler.rs b/service/src/parentchain_handler.rs index cebe19eed2..b0a9c44395 100644 --- a/service/src/parentchain_handler.rs +++ b/service/src/parentchain_handler.rs @@ -176,6 +176,7 @@ where } fn trigger_parentchain_block_import(&self) -> ServiceResult<()> { + trace!("trigger parentchain block import"); Ok(self.enclave_api.trigger_parentchain_block_import()?) } @@ -184,10 +185,16 @@ where last_synced_header: &Header, until_header: &Header, ) -> ServiceResult
{ + trace!( + "last synched block number: {}. synching until {}", + last_synced_header.number, + until_header.number + ); let mut last_synced_header = last_synced_header.clone(); while last_synced_header.number() < until_header.number() { last_synced_header = self.sync_parentchain(last_synced_header)?; + trace!("synched block number: {}", last_synced_header.number); } self.trigger_parentchain_block_import()?; From af613d374c1ba2b83732236dbbe5f418d2e7b8ce Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Thu, 20 Jul 2023 19:55:32 +0200 Subject: [PATCH 31/34] bypass enclave registration success check. fix primary validateer detection --- docker/demo-sidechain.yml | 4 +++- service/src/main.rs | 12 +++++++----- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/docker/demo-sidechain.yml b/docker/demo-sidechain.yml index 235a7c6b9a..bff44248f7 100644 --- a/docker/demo-sidechain.yml +++ b/docker/demo-sidechain.yml @@ -19,6 +19,8 @@ services: condition: service_healthy integritee-worker-2-${VERSION}: condition: service_healthy + environment: + - RUST_LOG=warn,ws=warn,sp_io=warn,substrate_api_client=warn,jsonrpsee_ws_client=warn,jsonrpsee_ws_server=warn,enclave_runtime=warn,integritee_service=info,integritee_service::sidechain=debug,ita_stf=warn networks: - integritee-test-network entrypoint: @@ -27,4 +29,4 @@ services: restart: "no" networks: integritee-test-network: - driver: bridge \ No newline at end of file + driver: bridge diff --git a/service/src/main.rs b/service/src/main.rs index e6223825ad..49848cd9f7 100644 --- a/service/src/main.rs +++ b/service/src/main.rs @@ -72,7 +72,7 @@ use log::*; use my_node_runtime::{Hash, Header, RuntimeEvent}; use sgx_types::*; use substrate_api_client::{ - rpc::HandleSubscription, GetHeader, SubmitAndWatchUntilSuccess, SubscribeChain, SubscribeEvents, + rpc::HandleSubscription, GetHeader, SubmitAndWatch, SubscribeChain, SubscribeEvents, api::XtStatus }; #[cfg(feature = "dcap")] @@ -814,11 +814,11 @@ fn register_collateral( fn send_extrinsic( extrinsic: Vec, api: &ParentchainApi, - accountid: &AccountId32, + fee_payer: &AccountId32, is_development_mode: bool, ) -> Option { // ensure account funds - if let Err(x) = setup_account_funding(api, accountid, extrinsic.clone(), is_development_mode) { + if let Err(x) = setup_account_funding(api, fee_payer, extrinsic.clone(), is_development_mode) { error!("Ensure enclave funding failed: {:?}", x); // Return without registering the enclave. This will fail and the transaction will be banned for 30min. return None @@ -827,7 +827,9 @@ fn send_extrinsic( info!("[>] send extrinsic"); trace!(" encoded extrinsic: 0x{:}", hex::encode(extrinsic.clone())); - match api.submit_and_watch_opaque_extrinsic_until_success(extrinsic.into(), true) { + // fixme: wait ...until_success doesn't work due to https://github.com/scs/substrate-api-client/issues/624 + // fixme: currently, we don't verify if the extrinsic was a success here + match api.submit_and_watch_opaque_extrinsic_until(extrinsic.into(), XtStatus::Finalized) { Ok(xt_report) => { info!( "[+] L1 extrinsic success. extrinsic hash: {:?} / status: {:?}", @@ -884,7 +886,7 @@ fn we_are_primary_validateer( ) -> Result { let enclave_count_of_previous_block = node_api.enclave_count(Some(*register_enclave_xt_header.parent_hash()))?; - println!( + trace!( "enclave count is {} for previous block 0x{:?}", enclave_count_of_previous_block, register_enclave_xt_header.parent_hash() From a30ba5d4554efca3f17125c98d06fe676bbd5fa9 Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Thu, 20 Jul 2023 20:00:35 +0200 Subject: [PATCH 32/34] fmt --- service/src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/service/src/main.rs b/service/src/main.rs index 49848cd9f7..bd0ea3b5f0 100644 --- a/service/src/main.rs +++ b/service/src/main.rs @@ -72,7 +72,8 @@ use log::*; use my_node_runtime::{Hash, Header, RuntimeEvent}; use sgx_types::*; use substrate_api_client::{ - rpc::HandleSubscription, GetHeader, SubmitAndWatch, SubscribeChain, SubscribeEvents, api::XtStatus + api::XtStatus, rpc::HandleSubscription, GetHeader, SubmitAndWatch, SubscribeChain, + SubscribeEvents, }; #[cfg(feature = "dcap")] From e287fdaa68b70735ea3c39adcb7868584c176c1c Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Fri, 21 Jul 2023 09:16:31 +0200 Subject: [PATCH 33/34] pimp logging to track shard --- cli/src/trusted_operation.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/cli/src/trusted_operation.rs b/cli/src/trusted_operation.rs index 8cb8474683..7280433481 100644 --- a/cli/src/trusted_operation.rs +++ b/cli/src/trusted_operation.rs @@ -45,6 +45,7 @@ use substrate_api_client::{ }; use teerex_primitives::Request; use thiserror::Error; +use base58::ToBase58; #[derive(Debug, Error)] pub(crate) enum TrustedOperationError { @@ -60,7 +61,7 @@ pub(crate) fn perform_trusted_operation( top: &TrustedOperation, ) -> TrustedOpResult { match top { - TrustedOperation::indirect_call(_) => send_request(cli, trusted_args, top), + TrustedOperation::indirect_call(_) => send_indirect_request(cli, trusted_args, top), TrustedOperation::direct_call(_) => send_direct_request(cli, trusted_args, top), TrustedOperation::get(getter) => execute_getter_from_cli_args(cli, trusted_args, getter), } @@ -116,7 +117,7 @@ pub(crate) fn get_state( Ok(maybe_state) } -fn send_request( +fn send_indirect_request( cli: &Cli, trusted_args: &TrustedCli, trusted_operation: &TrustedOperation, @@ -126,7 +127,7 @@ fn send_request( let call_encrypted = encryption_key.encrypt(&trusted_operation.encode()).unwrap(); let shard = read_shard(trusted_args).unwrap(); - + debug!("indirect send_request: trusted operation: {:?}, shard: {}", trusted_operation, shard.encode().to_base58()); let arg_signer = &trusted_args.xt_signer; let signer = get_pair_from_str(arg_signer); chain_api.set_signer(ParentchainExtrinsicSigner::new(sr25519_core::Pair::from(signer))); @@ -142,8 +143,8 @@ fn send_request( .unwrap(); info!( - "Trusted call extrinsic sent and successfully included in parentchain block with hash {:?}.", - block_hash + "Trusted call extrinsic sent for shard {} and successfully included in parentchain block with hash {:?}.", + shard.encode().to_base58(), block_hash ); info!("Waiting for execution confirmation from enclave..."); let mut subscription = chain_api.subscribe_events().unwrap(); @@ -223,8 +224,7 @@ fn send_direct_request( let encryption_key = get_shielding_key(cli).unwrap(); let shard = read_shard(trusted_args).unwrap(); let jsonrpc_call: String = get_json_request(shard, operation_call, encryption_key); - - debug!("get direct api"); + debug!("send_direct_request: trusted operation: {:?}, shard: {}", operation_call, shard.encode().to_base58()); let direct_api = get_worker_api_direct(cli); debug!("setup sender and receiver"); From 5140a1af2c1453d07732ede0edbc14bf0c9436db Mon Sep 17 00:00:00 2001 From: Christian Langenbacher Date: Tue, 1 Aug 2023 11:31:32 +0200 Subject: [PATCH 34/34] fmt --- cli/src/trusted_operation.rs | 15 +++++++++++---- sidechain/state/src/impls.rs | 3 +-- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/cli/src/trusted_operation.rs b/cli/src/trusted_operation.rs index 7280433481..24bf9f1035 100644 --- a/cli/src/trusted_operation.rs +++ b/cli/src/trusted_operation.rs @@ -21,7 +21,7 @@ use crate::{ trusted_cli::TrustedCli, Cli, }; -use base58::FromBase58; +use base58::{FromBase58, ToBase58}; use codec::{Decode, Encode}; use ita_stf::{Getter, TrustedOperation}; use itc_rpc_client::direct_client::{DirectApi, DirectClient}; @@ -45,7 +45,6 @@ use substrate_api_client::{ }; use teerex_primitives::Request; use thiserror::Error; -use base58::ToBase58; #[derive(Debug, Error)] pub(crate) enum TrustedOperationError { @@ -127,7 +126,11 @@ fn send_indirect_request( let call_encrypted = encryption_key.encrypt(&trusted_operation.encode()).unwrap(); let shard = read_shard(trusted_args).unwrap(); - debug!("indirect send_request: trusted operation: {:?}, shard: {}", trusted_operation, shard.encode().to_base58()); + debug!( + "indirect send_request: trusted operation: {:?}, shard: {}", + trusted_operation, + shard.encode().to_base58() + ); let arg_signer = &trusted_args.xt_signer; let signer = get_pair_from_str(arg_signer); chain_api.set_signer(ParentchainExtrinsicSigner::new(sr25519_core::Pair::from(signer))); @@ -224,7 +227,11 @@ fn send_direct_request( let encryption_key = get_shielding_key(cli).unwrap(); let shard = read_shard(trusted_args).unwrap(); let jsonrpc_call: String = get_json_request(shard, operation_call, encryption_key); - debug!("send_direct_request: trusted operation: {:?}, shard: {}", operation_call, shard.encode().to_base58()); + debug!( + "send_direct_request: trusted operation: {:?}, shard: {}", + operation_call, + shard.encode().to_base58() + ); let direct_api = get_worker_api_direct(cli); debug!("setup sender and receiver"); diff --git a/sidechain/state/src/impls.rs b/sidechain/state/src/impls.rs index 99825f5642..669d4d3b2a 100644 --- a/sidechain/state/src/impls.rs +++ b/sidechain/state/src/impls.rs @@ -17,10 +17,9 @@ //! Implement the sidechain state traits. -use core::fmt::Debug; - use crate::{Error, SidechainState, StateUpdate}; use codec::{Decode, Encode}; +use core::fmt::Debug; use frame_support::ensure; use itp_sgx_externalities::{SgxExternalitiesTrait, StateHash}; use itp_storage::keys::storage_value_key;