diff --git a/Cargo.lock b/Cargo.lock index 8c505bdbdd..4f6fbf0408 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5411,9 +5411,9 @@ dependencies = [ [[package]] name = "mocktopus" -version = "0.7.11" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1e54a5bbecd61a064cb9c6ef396f8c896aee14e5baba8d1d555f35167dfd7c3" +checksum = "1e4f0d5a1621fea252541cf67533c4b9c32ee892d790768f4ad48f1063059537" dependencies = [ "mocktopus_macros", ] @@ -13041,9 +13041,9 @@ version = "1.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ - "cfg-if 0.1.10", + "cfg-if 1.0.0", "digest 0.10.6", - "rand 0.6.5", + "rand 0.8.5", "static_assertions", ] diff --git a/crates/annuity/Cargo.toml b/crates/annuity/Cargo.toml index 5c732a8665..c2d4464c90 100644 --- a/crates/annuity/Cargo.toml +++ b/crates/annuity/Cargo.toml @@ -25,7 +25,7 @@ frame-system = { git = "https://github.com/paritytech/substrate", branch = "polk frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false, optional = true } [dev-dependencies] -mocktopus = "0.7.0" +mocktopus = "0.8.0" rand = "0.8.3" frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false } pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false } diff --git a/crates/bitcoin/Cargo.toml b/crates/bitcoin/Cargo.toml index 0155f054f6..dae3401ad1 100644 --- a/crates/bitcoin/Cargo.toml +++ b/crates/bitcoin/Cargo.toml @@ -21,7 +21,7 @@ sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false } [dev-dependencies] -mocktopus = "0.7.0" +mocktopus = "0.8.0" secp256k1 = { package = "secp256k1", git = "https://github.com/rust-bitcoin/rust-secp256k1", rev = "8e61874", default-features = false, features = ["rand-std"] } [features] diff --git a/crates/btc-relay/Cargo.toml b/crates/btc-relay/Cargo.toml index ed33c92d54..ea4a50639d 100644 --- a/crates/btc-relay/Cargo.toml +++ b/crates/btc-relay/Cargo.toml @@ -25,7 +25,7 @@ bitcoin = { path = "../bitcoin", default-features = false } security = { path = "../security", default-features = false } [dev-dependencies] -mocktopus = "0.7.0" +mocktopus = "0.8.0" hex = "0.4.2" frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false } itertools = "0.10.0" diff --git a/crates/currency/Cargo.toml b/crates/currency/Cargo.toml index 97dbfb4088..873a8bcdba 100644 --- a/crates/currency/Cargo.toml +++ b/crates/currency/Cargo.toml @@ -26,7 +26,7 @@ orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-li orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "3fcd3cf9e63fe80fd9671912833a900ba09d1cc0", default-features = false } # for other pallets wanting to mock functions -mocktopus = {version = "0.7.0", optional = true } +mocktopus = { version = "0.8.0", optional = true } [dev-dependencies] sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false } diff --git a/crates/escrow/Cargo.toml b/crates/escrow/Cargo.toml index 5215f514f1..03b7cb8747 100644 --- a/crates/escrow/Cargo.toml +++ b/crates/escrow/Cargo.toml @@ -26,7 +26,7 @@ frame-system = { git = "https://github.com/paritytech/substrate", branch = "polk frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false, optional = true } [dev-dependencies] -mocktopus = "0.7.0" +mocktopus = "0.8.0" rand = "0.8.3" frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false } pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false } diff --git a/crates/fee/Cargo.toml b/crates/fee/Cargo.toml index b266ae8931..62b317b4fe 100644 --- a/crates/fee/Cargo.toml +++ b/crates/fee/Cargo.toml @@ -31,7 +31,7 @@ staking = { path = "../staking", default-features = false } primitives = { package = "interbtc-primitives", path = "../../primitives", default-features = false } [dev-dependencies] -mocktopus = "0.7.0" +mocktopus = "0.8.0" frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false } pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false } currency = { path = "../currency", features = ["testing-utils"] } diff --git a/crates/issue/Cargo.toml b/crates/issue/Cargo.toml index 905cfb5cc3..396a03cd36 100644 --- a/crates/issue/Cargo.toml +++ b/crates/issue/Cargo.toml @@ -40,7 +40,7 @@ orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-li orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "3fcd3cf9e63fe80fd9671912833a900ba09d1cc0", default-features = false, optional = true } [dev-dependencies] -mocktopus = "0.7.0" +mocktopus = "0.8.0" frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31" } # Parachain dependencies diff --git a/crates/loans/Cargo.toml b/crates/loans/Cargo.toml index 3cf5f72628..80f46913a4 100644 --- a/crates/loans/Cargo.toml +++ b/crates/loans/Cargo.toml @@ -39,7 +39,7 @@ orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-li orml-oracle = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "3fcd3cf9e63fe80fd9671912833a900ba09d1cc0", default-features = false } [dev-dependencies] -mocktopus = "0.7.0" +mocktopus = "0.8.0" [features] default = ["std"] diff --git a/crates/nomination/Cargo.toml b/crates/nomination/Cargo.toml index 61ef9b44d7..61dad39baa 100644 --- a/crates/nomination/Cargo.toml +++ b/crates/nomination/Cargo.toml @@ -38,7 +38,7 @@ orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-li orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "3fcd3cf9e63fe80fd9671912833a900ba09d1cc0", default-features = false, optional = true } [dev-dependencies] -mocktopus = "0.7.0" +mocktopus = "0.8.0" frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false } # Orml dependencies diff --git a/crates/oracle/Cargo.toml b/crates/oracle/Cargo.toml index 78dcf2cf2c..a5bd13e009 100644 --- a/crates/oracle/Cargo.toml +++ b/crates/oracle/Cargo.toml @@ -28,7 +28,7 @@ currency = { path = "../currency", default-features = false } traits = { path = '../traits', default-features = false } [dev-dependencies] -mocktopus = "0.7.0" +mocktopus = "0.8.0" frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false } # Orml dependencies diff --git a/crates/redeem/Cargo.toml b/crates/redeem/Cargo.toml index c312e4bf89..e74f7f22d5 100644 --- a/crates/redeem/Cargo.toml +++ b/crates/redeem/Cargo.toml @@ -37,7 +37,7 @@ orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-li orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "3fcd3cf9e63fe80fd9671912833a900ba09d1cc0", default-features = false, optional = true } [dev-dependencies] -mocktopus = "0.7.0" +mocktopus = "0.8.0" frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31" } # Parachain dependencies diff --git a/crates/replace/Cargo.toml b/crates/replace/Cargo.toml index e69fdb9131..58637c1f35 100644 --- a/crates/replace/Cargo.toml +++ b/crates/replace/Cargo.toml @@ -38,7 +38,7 @@ orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-li orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "3fcd3cf9e63fe80fd9671912833a900ba09d1cc0", default-features = false, optional = true } [dev-dependencies] -mocktopus = "0.7.0" +mocktopus = "0.8.0" frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31" } # Parachain dependencies diff --git a/crates/reward/Cargo.toml b/crates/reward/Cargo.toml index 18d7f8195e..3660cd2e3a 100644 --- a/crates/reward/Cargo.toml +++ b/crates/reward/Cargo.toml @@ -26,7 +26,7 @@ frame-system = { git = "https://github.com/paritytech/substrate", branch = "polk frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false, optional = true } [dev-dependencies] -mocktopus = "0.7.0" +mocktopus = "0.8.0" rand = "0.8.3" frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false } pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false } diff --git a/crates/security/Cargo.toml b/crates/security/Cargo.toml index 9deb029a84..ff789a0031 100644 --- a/crates/security/Cargo.toml +++ b/crates/security/Cargo.toml @@ -18,7 +18,7 @@ frame-support = { git = "https://github.com/paritytech/substrate", branch = "pol frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false } [dev-dependencies] -mocktopus = "0.7.0" +mocktopus = "0.8.0" sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false } [features] diff --git a/crates/staking/Cargo.toml b/crates/staking/Cargo.toml index c1fae0307b..c0b8dafa75 100644 --- a/crates/staking/Cargo.toml +++ b/crates/staking/Cargo.toml @@ -30,7 +30,7 @@ orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-li orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "3fcd3cf9e63fe80fd9671912833a900ba09d1cc0", default-features = false } [dev-dependencies] -mocktopus = "0.7.0" +mocktopus = "0.8.0" rand = "0.8.3" frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false } pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false } diff --git a/crates/supply/Cargo.toml b/crates/supply/Cargo.toml index da04038438..09f4a7afa5 100644 --- a/crates/supply/Cargo.toml +++ b/crates/supply/Cargo.toml @@ -25,7 +25,7 @@ frame-system = { git = "https://github.com/paritytech/substrate", branch = "polk frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false, optional = true } [dev-dependencies] -mocktopus = "0.7.0" +mocktopus = "0.8.0" rand = "0.8.3" frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false } pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false } diff --git a/crates/vault-registry/Cargo.toml b/crates/vault-registry/Cargo.toml index 8156029403..8ba6bc7974 100644 --- a/crates/vault-registry/Cargo.toml +++ b/crates/vault-registry/Cargo.toml @@ -42,7 +42,7 @@ orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-li orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "3fcd3cf9e63fe80fd9671912833a900ba09d1cc0", default-features = false } [dev-dependencies] -mocktopus = "0.7.0" +mocktopus = "0.8.0" frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false } currency = { path = "../currency", default-features = false, features = ["testing-utils"] } pretty_assertions = "0.7.2" diff --git a/parachain/runtime/interlay/Cargo.toml b/parachain/runtime/interlay/Cargo.toml index 3dfc312690..040d4752b0 100644 --- a/parachain/runtime/interlay/Cargo.toml +++ b/parachain/runtime/interlay/Cargo.toml @@ -121,7 +121,7 @@ orml-asset-registry= { git = "https://github.com/open-web3-stack/open-runtime-mo [dev-dependencies] hex = '0.4.2' -mocktopus = '0.7.0' +mocktopus = "0.8.0" serde_json = "1.0" bitcoin = { path = "../../../crates/bitcoin", default-features = false } diff --git a/parachain/runtime/kintsugi/Cargo.toml b/parachain/runtime/kintsugi/Cargo.toml index 600673d789..8dad1c3abe 100644 --- a/parachain/runtime/kintsugi/Cargo.toml +++ b/parachain/runtime/kintsugi/Cargo.toml @@ -122,7 +122,7 @@ orml-asset-registry= { git = "https://github.com/open-web3-stack/open-runtime-mo [dev-dependencies] hex = '0.4.2' -mocktopus = '0.7.0' +mocktopus = "0.8.0" serde_json = "1.0" bitcoin = { path = "../../../crates/bitcoin", default-features = false } diff --git a/parachain/runtime/runtime-tests/Cargo.toml b/parachain/runtime/runtime-tests/Cargo.toml index 68ef59fa20..42a3a2b9b7 100644 --- a/parachain/runtime/runtime-tests/Cargo.toml +++ b/parachain/runtime/runtime-tests/Cargo.toml @@ -125,7 +125,7 @@ orml-unknown-tokens = { git = "https://github.com/open-web3-stack/open-runtime-m [dev-dependencies] hex = '0.4.2' -mocktopus = '0.7.0' +mocktopus = "0.8.0" serde_json = "1.0" bitcoin = { path = "../../../crates/bitcoin", default-features = false } diff --git a/parachain/runtime/testnet-interlay/Cargo.toml b/parachain/runtime/testnet-interlay/Cargo.toml index c1fe7c9990..e293b31616 100644 --- a/parachain/runtime/testnet-interlay/Cargo.toml +++ b/parachain/runtime/testnet-interlay/Cargo.toml @@ -123,7 +123,7 @@ orml-asset-registry= { git = "https://github.com/open-web3-stack/open-runtime-mo [dev-dependencies] hex = '0.4.2' -mocktopus = '0.7.0' +mocktopus = "0.8.0" serde_json = "1.0" bitcoin = { path = "../../../crates/bitcoin", default-features = false } diff --git a/parachain/runtime/testnet-kintsugi/Cargo.toml b/parachain/runtime/testnet-kintsugi/Cargo.toml index b9e5ad98a9..d0b339239d 100644 --- a/parachain/runtime/testnet-kintsugi/Cargo.toml +++ b/parachain/runtime/testnet-kintsugi/Cargo.toml @@ -131,7 +131,7 @@ zenlink-swap-router = { git = "https://github.com/interlay/Zenlink-DEX-Module", [dev-dependencies] hex = '0.4.2' -mocktopus = '0.7.0' +mocktopus = "0.8.0" serde_json = "1.0" bitcoin = { path = "../../../crates/bitcoin", default-features = false } diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 0dba4b87e5..f80936cb0f 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,4 +1,4 @@ [toolchain] -channel = "nightly-2022-06-20" +channel = "nightly-2022-12-15" components = [ "rustfmt", "rls" ] targets = [ "wasm32-unknown-unknown" ] diff --git a/standalone/runtime/Cargo.toml b/standalone/runtime/Cargo.toml index e1cfe27485..66e72723ec 100644 --- a/standalone/runtime/Cargo.toml +++ b/standalone/runtime/Cargo.toml @@ -102,7 +102,7 @@ xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "releas [dev-dependencies] hex = "0.4.2" -mocktopus = "0.7.0" +mocktopus = "0.8.0" serde_json = "1.0" pretty_assertions = "0.7.2" flate2= "1.0"