diff --git a/Cargo.lock b/Cargo.lock index 415fe174e3..588b8e58b9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14,7 +14,7 @@ dependencies = [ [[package]] name = "acala" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-cli", "acala-service", @@ -24,7 +24,7 @@ dependencies = [ [[package]] name = "acala-cli" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-inspect", "acala-service", @@ -51,7 +51,7 @@ dependencies = [ [[package]] name = "acala-inspect" -version = "2.9.2" +version = "2.9.3" dependencies = [ "clap 3.2.14", "derive_more", @@ -67,7 +67,7 @@ dependencies = [ [[package]] name = "acala-primitives" -version = "2.9.2" +version = "2.9.3" dependencies = [ "bstringify", "enumflags2 0.6.4", @@ -93,7 +93,7 @@ dependencies = [ [[package]] name = "acala-rpc" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "evm-rpc", @@ -118,7 +118,7 @@ dependencies = [ [[package]] name = "acala-runtime" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "cumulus-pallet-aura-ext", @@ -233,7 +233,7 @@ dependencies = [ [[package]] name = "acala-service" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "acala-rpc", @@ -2505,7 +2505,7 @@ checksum = "9d07a982d1fb29db01e5a59b1918e03da4df7297eaeee7686ac45542fd4e59c8" [[package]] name = "e2e-tests" -version = "2.9.2" +version = "2.9.3" dependencies = [ "test-service", ] @@ -2524,7 +2524,7 @@ dependencies = [ [[package]] name = "ecosystem-compound-cash" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "frame-support", @@ -2541,7 +2541,7 @@ dependencies = [ [[package]] name = "ecosystem-renvm-bridge" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "frame-support", @@ -2563,7 +2563,7 @@ dependencies = [ [[package]] name = "ecosystem-starport" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "frame-support", @@ -2845,7 +2845,7 @@ dependencies = [ [[package]] name = "evm-rpc" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "frame-support", @@ -4184,7 +4184,7 @@ dependencies = [ [[package]] name = "karura-runtime" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "cumulus-pallet-aura-ext", @@ -5207,7 +5207,7 @@ dependencies = [ [[package]] name = "mandala-runtime" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "acala-service", @@ -5490,7 +5490,7 @@ dependencies = [ [[package]] name = "module-aggregated-dex" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "frame-support", @@ -5512,7 +5512,7 @@ dependencies = [ [[package]] name = "module-asset-registry" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "frame-support", @@ -5538,7 +5538,7 @@ dependencies = [ [[package]] name = "module-auction-manager" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "frame-support", @@ -5562,7 +5562,7 @@ dependencies = [ [[package]] name = "module-cdp-engine" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "frame-support", @@ -5592,7 +5592,7 @@ dependencies = [ [[package]] name = "module-cdp-treasury" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "frame-support", @@ -5616,7 +5616,7 @@ dependencies = [ [[package]] name = "module-collator-selection" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "frame-benchmarking", @@ -5642,7 +5642,7 @@ dependencies = [ [[package]] name = "module-currencies" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "frame-support", @@ -5669,7 +5669,7 @@ dependencies = [ [[package]] name = "module-dex" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "frame-support", @@ -5689,7 +5689,7 @@ dependencies = [ [[package]] name = "module-dex-oracle" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "frame-benchmarking", @@ -5709,7 +5709,7 @@ dependencies = [ [[package]] name = "module-earning" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "frame-support", @@ -5729,7 +5729,7 @@ dependencies = [ [[package]] name = "module-emergency-shutdown" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "frame-support", @@ -5752,7 +5752,7 @@ dependencies = [ [[package]] name = "module-evm" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "env_logger", @@ -5792,7 +5792,7 @@ dependencies = [ [[package]] name = "module-evm-accounts" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "frame-support", @@ -5815,7 +5815,7 @@ dependencies = [ [[package]] name = "module-evm-bridge" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "ethereum-types", @@ -5842,7 +5842,7 @@ dependencies = [ [[package]] name = "module-evm-rpc-runtime-api" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "sp-api", @@ -5853,7 +5853,7 @@ dependencies = [ [[package]] name = "module-evm-utility" -version = "2.9.2" +version = "2.9.3" dependencies = [ "ethereum", "evm", @@ -5865,7 +5865,7 @@ dependencies = [ [[package]] name = "module-evm-utility-macro" -version = "2.9.2" +version = "2.9.3" dependencies = [ "module-evm-utility", "proc-macro2", @@ -5875,7 +5875,7 @@ dependencies = [ [[package]] name = "module-example" -version = "2.9.2" +version = "2.9.3" dependencies = [ "frame-support", "frame-system", @@ -5889,7 +5889,7 @@ dependencies = [ [[package]] name = "module-homa" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "frame-benchmarking", @@ -5912,7 +5912,7 @@ dependencies = [ [[package]] name = "module-homa-lite" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "cumulus-primitives-core", @@ -5939,7 +5939,7 @@ dependencies = [ [[package]] name = "module-homa-validator-list" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "frame-support", @@ -5961,7 +5961,7 @@ dependencies = [ [[package]] name = "module-honzon" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "frame-support", @@ -5987,7 +5987,7 @@ dependencies = [ [[package]] name = "module-honzon-bridge" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "frame-support", @@ -6014,7 +6014,7 @@ dependencies = [ [[package]] name = "module-idle-scheduler" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "frame-support", @@ -6031,7 +6031,7 @@ dependencies = [ [[package]] name = "module-incentives" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "frame-support", @@ -6052,7 +6052,7 @@ dependencies = [ [[package]] name = "module-loans" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "frame-support", @@ -6074,7 +6074,7 @@ dependencies = [ [[package]] name = "module-nft" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "frame-benchmarking", @@ -6099,7 +6099,7 @@ dependencies = [ [[package]] name = "module-nominees-election" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "frame-support", @@ -6120,7 +6120,7 @@ dependencies = [ [[package]] name = "module-prices" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "frame-support", @@ -6139,7 +6139,7 @@ dependencies = [ [[package]] name = "module-relaychain" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "cumulus-primitives-core", @@ -6157,7 +6157,7 @@ dependencies = [ [[package]] name = "module-session-manager" -version = "2.9.2" +version = "2.9.3" dependencies = [ "frame-support", "frame-system", @@ -6174,7 +6174,7 @@ dependencies = [ [[package]] name = "module-support" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "frame-support", @@ -6193,7 +6193,7 @@ dependencies = [ [[package]] name = "module-transaction-pause" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "frame-support", @@ -6212,7 +6212,7 @@ dependencies = [ [[package]] name = "module-transaction-payment" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "frame-support", @@ -6239,7 +6239,7 @@ dependencies = [ [[package]] name = "module-xcm-interface" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "cumulus-primitives-core", @@ -10398,7 +10398,7 @@ dependencies = [ [[package]] name = "runtime-common" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "cumulus-pallet-parachain-system", @@ -10458,7 +10458,7 @@ dependencies = [ [[package]] name = "runtime-integration-tests" -version = "2.9.2" +version = "2.9.3" dependencies = [ "acala-primitives", "acala-runtime", diff --git a/ecosystem-modules/compound-cash/Cargo.toml b/ecosystem-modules/compound-cash/Cargo.toml index 313b73d030..7b9f5d34d7 100644 --- a/ecosystem-modules/compound-cash/Cargo.toml +++ b/ecosystem-modules/compound-cash/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ecosystem-compound-cash" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/ecosystem-modules/ren/renvm-bridge/Cargo.toml b/ecosystem-modules/ren/renvm-bridge/Cargo.toml index b78872aa8e..8ab4517c0a 100644 --- a/ecosystem-modules/ren/renvm-bridge/Cargo.toml +++ b/ecosystem-modules/ren/renvm-bridge/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ecosystem-renvm-bridge" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/ecosystem-modules/starport/Cargo.toml b/ecosystem-modules/starport/Cargo.toml index 93acc8fb85..e9d1b4e351 100644 --- a/ecosystem-modules/starport/Cargo.toml +++ b/ecosystem-modules/starport/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ecosystem-starport" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/inspect/Cargo.toml b/inspect/Cargo.toml index 8a0fc0efdd..c4e6ca4f92 100644 --- a/inspect/Cargo.toml +++ b/inspect/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "acala-inspect" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/aggregated-dex/Cargo.toml b/modules/aggregated-dex/Cargo.toml index 29b6553f0e..4f5cc65b08 100644 --- a/modules/aggregated-dex/Cargo.toml +++ b/modules/aggregated-dex/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-aggregated-dex" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/asset-registry/Cargo.toml b/modules/asset-registry/Cargo.toml index 0fbe059757..1a36af55a8 100644 --- a/modules/asset-registry/Cargo.toml +++ b/modules/asset-registry/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-asset-registry" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/auction-manager/Cargo.toml b/modules/auction-manager/Cargo.toml index e151aa185d..a30bbfe6de 100644 --- a/modules/auction-manager/Cargo.toml +++ b/modules/auction-manager/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-auction-manager" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/cdp-engine/Cargo.toml b/modules/cdp-engine/Cargo.toml index 0e43ab70f6..1a3957f621 100644 --- a/modules/cdp-engine/Cargo.toml +++ b/modules/cdp-engine/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-cdp-engine" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/cdp-treasury/Cargo.toml b/modules/cdp-treasury/Cargo.toml index e3607bede7..63c89afc0f 100644 --- a/modules/cdp-treasury/Cargo.toml +++ b/modules/cdp-treasury/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-cdp-treasury" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/collator-selection/Cargo.toml b/modules/collator-selection/Cargo.toml index 6e21a8707b..e1fa21845f 100644 --- a/modules/collator-selection/Cargo.toml +++ b/modules/collator-selection/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'module-collator-selection' -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/currencies/Cargo.toml b/modules/currencies/Cargo.toml index 834cf2bb0a..9d9f31ccd7 100644 --- a/modules/currencies/Cargo.toml +++ b/modules/currencies/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-currencies" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/currencies/src/lib.rs b/modules/currencies/src/lib.rs index ca76e19e1b..c90393eacf 100644 --- a/modules/currencies/src/lib.rs +++ b/modules/currencies/src/lib.rs @@ -243,6 +243,37 @@ pub mod module { } Ok(()) } + + /// Set lock by lock_id + /// + /// The dispatch origin of this call must be _Root_. + #[pallet::weight(T::WeightInfo::update_balance_non_native_currency())] + pub fn force_set_lock( + origin: OriginFor, + who: ::Source, + currency_id: CurrencyId, + #[pallet::compact] amount: BalanceOf, + lock_id: LockIdentifier, + ) -> DispatchResult { + ensure_root(origin)?; + let who = T::Lookup::lookup(who)?; + >::set_lock(lock_id, currency_id, &who, amount) + } + + /// Remove lock by lock_id + /// + /// The dispatch origin of this call must be _Root_. + #[pallet::weight(T::WeightInfo::update_balance_non_native_currency())] + pub fn force_remove_lock( + origin: OriginFor, + who: ::Source, + currency_id: CurrencyId, + lock_id: LockIdentifier, + ) -> DispatchResult { + ensure_root(origin)?; + let who = T::Lookup::lookup(who)?; + >::remove_lock(lock_id, currency_id, &who) + } } } diff --git a/modules/currencies/src/tests.rs b/modules/currencies/src/tests.rs index b4e9858510..a8779cd998 100644 --- a/modules/currencies/src/tests.rs +++ b/modules/currencies/src/tests.rs @@ -22,7 +22,7 @@ use super::*; use crate::mock::Erc20HoldingAccount; -use frame_support::{assert_noop, assert_ok, weights::GetDispatchInfo}; +use frame_support::{assert_noop, assert_ok, traits::WithdrawReasons, weights::GetDispatchInfo}; use mock::{ alice, bob, deploy_contracts, erc20_address, eva, AccountId, AdaptedBasicCurrency, CouncilAccount, Currencies, DustAccount, Event, ExtBuilder, NativeCurrency, Origin, PalletBalances, Runtime, System, Tokens, ALICE_BALANCE, @@ -36,6 +36,103 @@ use sp_runtime::{ use support::mocks::MockAddressMapping; use support::EVM as EVMTrait; +#[test] +fn force_set_lock_and_force_remove_lock_should_work() { + ExtBuilder::default() + .one_hundred_for_alice_n_bob() + .build() + .execute_with(|| { + assert_noop!( + Currencies::force_set_lock(Some(bob()).into(), alice(), DOT, 100, ID_1,), + BadOrigin + ); + + assert_eq!(Tokens::locks(&alice(), DOT).len(), 0); + assert_eq!(PalletBalances::locks(&alice()).len(), 0); + + assert_ok!(Currencies::force_set_lock(Origin::root(), alice(), DOT, 100, ID_1,)); + assert_ok!(Currencies::force_set_lock( + Origin::root(), + alice(), + NATIVE_CURRENCY_ID, + 1000, + ID_1, + )); + + assert_eq!( + Tokens::locks(&alice(), DOT)[0], + tokens::BalanceLock { id: ID_1, amount: 100 } + ); + assert_eq!( + PalletBalances::locks(&alice())[0], + pallet_balances::BalanceLock { + id: ID_1, + amount: 1000, + reasons: WithdrawReasons::all().into(), + } + ); + + assert_ok!(Currencies::force_set_lock(Origin::root(), alice(), DOT, 10, ID_1,)); + assert_ok!(Currencies::force_set_lock( + Origin::root(), + alice(), + NATIVE_CURRENCY_ID, + 100, + ID_1, + )); + assert_eq!( + Tokens::locks(&alice(), DOT)[0], + tokens::BalanceLock { id: ID_1, amount: 10 } + ); + assert_eq!( + PalletBalances::locks(&alice())[0], + pallet_balances::BalanceLock { + id: ID_1, + amount: 100, + reasons: WithdrawReasons::all().into(), + } + ); + + // do nothing + assert_ok!(Currencies::force_set_lock(Origin::root(), alice(), DOT, 0, ID_1,)); + assert_ok!(Currencies::force_set_lock( + Origin::root(), + alice(), + NATIVE_CURRENCY_ID, + 0, + ID_1, + )); + assert_eq!( + Tokens::locks(&alice(), DOT)[0], + tokens::BalanceLock { id: ID_1, amount: 10 } + ); + assert_eq!( + PalletBalances::locks(&alice())[0], + pallet_balances::BalanceLock { + id: ID_1, + amount: 100, + reasons: WithdrawReasons::all().into(), + } + ); + + // remove lock + assert_noop!( + Currencies::force_remove_lock(Some(bob()).into(), alice(), DOT, ID_1,), + BadOrigin + ); + + assert_ok!(Currencies::force_remove_lock(Origin::root(), alice(), DOT, ID_1,)); + assert_ok!(Currencies::force_remove_lock( + Origin::root(), + alice(), + NATIVE_CURRENCY_ID, + ID_1, + )); + assert_eq!(Tokens::locks(&alice(), DOT).len(), 0); + assert_eq!(PalletBalances::locks(&alice()).len(), 0); + }); +} + #[test] fn multi_lockable_currency_should_work() { ExtBuilder::default() diff --git a/modules/dex-oracle/Cargo.toml b/modules/dex-oracle/Cargo.toml index 37c47bbaee..1c5879f76e 100644 --- a/modules/dex-oracle/Cargo.toml +++ b/modules/dex-oracle/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-dex-oracle" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/dex/Cargo.toml b/modules/dex/Cargo.toml index a2ac36d836..f16000ab58 100644 --- a/modules/dex/Cargo.toml +++ b/modules/dex/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-dex" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/earning/Cargo.toml b/modules/earning/Cargo.toml index 43caff87c2..2e92f98273 100644 --- a/modules/earning/Cargo.toml +++ b/modules/earning/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-earning" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/emergency-shutdown/Cargo.toml b/modules/emergency-shutdown/Cargo.toml index 00ed43f3cc..ab9b35ed04 100644 --- a/modules/emergency-shutdown/Cargo.toml +++ b/modules/emergency-shutdown/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-emergency-shutdown" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/evm-accounts/Cargo.toml b/modules/evm-accounts/Cargo.toml index 9d7298b49e..d8e3c7a882 100644 --- a/modules/evm-accounts/Cargo.toml +++ b/modules/evm-accounts/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-evm-accounts" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/evm-bridge/Cargo.toml b/modules/evm-bridge/Cargo.toml index 0dedbd7384..ed0c7b5f6b 100644 --- a/modules/evm-bridge/Cargo.toml +++ b/modules/evm-bridge/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-evm-bridge" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/evm-utility/Cargo.toml b/modules/evm-utility/Cargo.toml index ebf68bba24..0911b6f5cf 100644 --- a/modules/evm-utility/Cargo.toml +++ b/modules/evm-utility/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-evm-utility" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/evm-utility/macro/Cargo.toml b/modules/evm-utility/macro/Cargo.toml index ee194f8b7d..f2187ac681 100644 --- a/modules/evm-utility/macro/Cargo.toml +++ b/modules/evm-utility/macro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-evm-utility-macro" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/evm/Cargo.toml b/modules/evm/Cargo.toml index b8f067b79a..7bb72821ee 100644 --- a/modules/evm/Cargo.toml +++ b/modules/evm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-evm" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/evm/rpc/Cargo.toml b/modules/evm/rpc/Cargo.toml index e70de74330..9cdf7bbb5d 100644 --- a/modules/evm/rpc/Cargo.toml +++ b/modules/evm/rpc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "evm-rpc" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/evm/rpc/runtime_api/Cargo.toml b/modules/evm/rpc/runtime_api/Cargo.toml index d02adcfaa8..03f81facac 100644 --- a/modules/evm/rpc/runtime_api/Cargo.toml +++ b/modules/evm/rpc/runtime_api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-evm-rpc-runtime-api" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/example/Cargo.toml b/modules/example/Cargo.toml index 0a70e84ba2..9af9a98096 100644 --- a/modules/example/Cargo.toml +++ b/modules/example/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-example" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/homa-lite/Cargo.toml b/modules/homa-lite/Cargo.toml index d85b6985b2..5c76290e08 100644 --- a/modules/homa-lite/Cargo.toml +++ b/modules/homa-lite/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-homa-lite" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/homa-validator-list/Cargo.toml b/modules/homa-validator-list/Cargo.toml index 0a3464931a..b56d856af8 100644 --- a/modules/homa-validator-list/Cargo.toml +++ b/modules/homa-validator-list/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-homa-validator-list" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/homa/Cargo.toml b/modules/homa/Cargo.toml index f8cb1a0bff..4c1eb6c2be 100644 --- a/modules/homa/Cargo.toml +++ b/modules/homa/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-homa" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/honzon-bridge/Cargo.toml b/modules/honzon-bridge/Cargo.toml index 09bab771d1..18cd63c394 100644 --- a/modules/honzon-bridge/Cargo.toml +++ b/modules/honzon-bridge/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-honzon-bridge" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/honzon/Cargo.toml b/modules/honzon/Cargo.toml index bf78fd4317..7dda535fa4 100644 --- a/modules/honzon/Cargo.toml +++ b/modules/honzon/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-honzon" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/idle-scheduler/Cargo.toml b/modules/idle-scheduler/Cargo.toml index 3f244b79a4..c54af5c0b5 100644 --- a/modules/idle-scheduler/Cargo.toml +++ b/modules/idle-scheduler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-idle-scheduler" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/incentives/Cargo.toml b/modules/incentives/Cargo.toml index 057ca4ffc1..0dc0eeb26d 100644 --- a/modules/incentives/Cargo.toml +++ b/modules/incentives/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-incentives" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/loans/Cargo.toml b/modules/loans/Cargo.toml index a4f84ae6f1..fe11397b5f 100644 --- a/modules/loans/Cargo.toml +++ b/modules/loans/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-loans" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/nft/Cargo.toml b/modules/nft/Cargo.toml index 91d0ca9bf7..7b6c9700ce 100644 --- a/modules/nft/Cargo.toml +++ b/modules/nft/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-nft" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/nominees-election/Cargo.toml b/modules/nominees-election/Cargo.toml index 68a91ca78a..880e49a23f 100644 --- a/modules/nominees-election/Cargo.toml +++ b/modules/nominees-election/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-nominees-election" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/prices/Cargo.toml b/modules/prices/Cargo.toml index 2f28a1ded0..1d5adf0ec1 100644 --- a/modules/prices/Cargo.toml +++ b/modules/prices/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-prices" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/relaychain/Cargo.toml b/modules/relaychain/Cargo.toml index 5329493d05..2ba7f9a66d 100644 --- a/modules/relaychain/Cargo.toml +++ b/modules/relaychain/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-relaychain" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/session-manager/Cargo.toml b/modules/session-manager/Cargo.toml index f7baa1ca3d..ff139bd04e 100644 --- a/modules/session-manager/Cargo.toml +++ b/modules/session-manager/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-session-manager" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/support/Cargo.toml b/modules/support/Cargo.toml index cd49bb2a63..d6c3c31e15 100644 --- a/modules/support/Cargo.toml +++ b/modules/support/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-support" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/transaction-pause/Cargo.toml b/modules/transaction-pause/Cargo.toml index fbaf50bb28..b401b007de 100644 --- a/modules/transaction-pause/Cargo.toml +++ b/modules/transaction-pause/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-transaction-pause" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/transaction-payment/Cargo.toml b/modules/transaction-payment/Cargo.toml index 60b30c6c5d..9beb63c0bd 100644 --- a/modules/transaction-payment/Cargo.toml +++ b/modules/transaction-payment/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-transaction-payment" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/modules/xcm-interface/Cargo.toml b/modules/xcm-interface/Cargo.toml index 303750b9f4..063e3c3de4 100644 --- a/modules/xcm-interface/Cargo.toml +++ b/modules/xcm-interface/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-xcm-interface" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/node/Cargo.toml b/node/Cargo.toml index 8c6d498790..57b9d611b8 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "acala" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" default-run = "acala" diff --git a/node/cli/Cargo.toml b/node/cli/Cargo.toml index f264794b65..b5222da388 100644 --- a/node/cli/Cargo.toml +++ b/node/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "acala-cli" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/node/e2e-tests/Cargo.toml b/node/e2e-tests/Cargo.toml index 81d978c235..6458026b57 100644 --- a/node/e2e-tests/Cargo.toml +++ b/node/e2e-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "e2e-tests" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index 331c0c182a..b041d2c05e 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "acala-service" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index b042b324d4..4fd560ee6a 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "acala-primitives" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/rpc/Cargo.toml b/rpc/Cargo.toml index 13c9233529..cb3299f046 100644 --- a/rpc/Cargo.toml +++ b/rpc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "acala-rpc" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/runtime/acala/Cargo.toml b/runtime/acala/Cargo.toml index bcaed12c5c..c33aa509e7 100644 --- a/runtime/acala/Cargo.toml +++ b/runtime/acala/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "acala-runtime" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" build = "build.rs" diff --git a/runtime/acala/src/lib.rs b/runtime/acala/src/lib.rs index 7cf127f996..e04064622b 100644 --- a/runtime/acala/src/lib.rs +++ b/runtime/acala/src/lib.rs @@ -124,7 +124,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("acala"), impl_name: create_runtime_str!("acala"), authoring_version: 1, - spec_version: 2092, + spec_version: 2093, impl_version: 0, #[cfg(not(feature = "disable-runtime-api"))] apis: RUNTIME_API_VERSIONS, diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index 9becebd003..aa55da0507 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "runtime-common" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/runtime/integration-tests/Cargo.toml b/runtime/integration-tests/Cargo.toml index b224a2b188..4704325a7f 100644 --- a/runtime/integration-tests/Cargo.toml +++ b/runtime/integration-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "runtime-integration-tests" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" diff --git a/runtime/karura/Cargo.toml b/runtime/karura/Cargo.toml index 3f45ce00fb..ac2f86965e 100644 --- a/runtime/karura/Cargo.toml +++ b/runtime/karura/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "karura-runtime" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" build = "build.rs" diff --git a/runtime/karura/src/lib.rs b/runtime/karura/src/lib.rs index a973271518..0d3438e80d 100644 --- a/runtime/karura/src/lib.rs +++ b/runtime/karura/src/lib.rs @@ -127,7 +127,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("karura"), impl_name: create_runtime_str!("karura"), authoring_version: 1, - spec_version: 2092, + spec_version: 2093, impl_version: 0, #[cfg(not(feature = "disable-runtime-api"))] apis: RUNTIME_API_VERSIONS, diff --git a/runtime/mandala/Cargo.toml b/runtime/mandala/Cargo.toml index 56f1ec3918..04b375d05f 100644 --- a/runtime/mandala/Cargo.toml +++ b/runtime/mandala/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mandala-runtime" -version = "2.9.2" +version = "2.9.3" authors = ["Acala Developers"] edition = "2021" build = "build.rs" diff --git a/runtime/mandala/src/lib.rs b/runtime/mandala/src/lib.rs index 10d64e66c7..326ce58fcf 100644 --- a/runtime/mandala/src/lib.rs +++ b/runtime/mandala/src/lib.rs @@ -132,7 +132,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("mandala"), impl_name: create_runtime_str!("mandala"), authoring_version: 1, - spec_version: 2092, + spec_version: 2093, impl_version: 0, #[cfg(not(feature = "disable-runtime-api"))] apis: RUNTIME_API_VERSIONS,