Skip to content

Commit 39f9efc

Browse files
authored
Merge branch 'development' into feat_upgrade_polkadot_1.3.0
2 parents b9b19ed + 04128c8 commit 39f9efc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

substrate-node/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ resolver = "2"
2323
# External (without extra features and with default disabled if necessary)
2424
base58 = {version = "0.2.0", default-features = false}
2525
bitflags = {version = "1.3.2", default-features = false}
26-
clap = { version = "4.4.6", features = ["derive"] }
26+
clap = { version = "4.4.4", features = ["derive"] }
2727
parity-scale-codec = { version = "3.6.1", default-features = false }
2828
env_logger = "0.10.0"
2929
futures = {version = "0.3.21", default-features = false}

substrate-node/pallets/pallet-tft-bridge/src/migrations/v2.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ impl<T: Config> OnRuntimeUpgrade for MigrateBurnTransactionsV2<T> {
1818
fn pre_upgrade() -> Result<Vec<u8>, sp_runtime::TryRuntimeError> {
1919
info!("current pallet version: {:?}", PalletVersion::<T>::get());
2020
ensure!(
21-
PalletVersion::<T>::get() == types::StorageVersion::V1,
21+
PalletVersion::<T>::get() >= types::StorageVersion::V1,
2222
DispatchError::Other("Unexpected pallet version")
2323
);
2424

@@ -36,7 +36,7 @@ impl<T: Config> OnRuntimeUpgrade for MigrateBurnTransactionsV2<T> {
3636
executed_burn_transactions_count
3737
);
3838

39-
info!("👥 TFT-BRIDGE pallet to V1 passes PRE migrate checks ✅",);
39+
info!("👥 TFT-BRIDGE pallet to V2 passes PRE migrate checks ✅",);
4040
Ok(Vec::<u8>::new())
4141
}
4242

@@ -55,7 +55,7 @@ impl<T: Config> OnRuntimeUpgrade for MigrateBurnTransactionsV2<T> {
5555
) -> Result<(), sp_runtime::TryRuntimeError> {
5656
info!("current pallet version: {:?}", PalletVersion::<T>::get());
5757
ensure!(
58-
PalletVersion::<T>::get() == types::StorageVersion::V2,
58+
PalletVersion::<T>::get() >= types::StorageVersion::V2,
5959
DispatchError::Other("Unexpected pallet version")
6060
);
6161

0 commit comments

Comments
 (0)