File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
pallets/pallet-tft-bridge/src/migrations Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ resolver = "2"
23
23
# External (without extra features and with default disabled if necessary)
24
24
base58 = {version = " 0.2.0" , default-features = false }
25
25
bitflags = {version = " 1.3.2" , default-features = false }
26
- clap = { version = " 4.4.6 " , features = [" derive" ] }
26
+ clap = { version = " 4.4.4 " , features = [" derive" ] }
27
27
parity-scale-codec = { version = " 3.6.1" , default-features = false }
28
28
env_logger = " 0.10.0"
29
29
futures = {version = " 0.3.21" , default-features = false }
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ impl<T: Config> OnRuntimeUpgrade for MigrateBurnTransactionsV2<T> {
18
18
fn pre_upgrade ( ) -> Result < Vec < u8 > , sp_runtime:: TryRuntimeError > {
19
19
info ! ( "current pallet version: {:?}" , PalletVersion :: <T >:: get( ) ) ;
20
20
ensure ! (
21
- PalletVersion :: <T >:: get( ) = = types:: StorageVersion :: V1 ,
21
+ PalletVersion :: <T >:: get( ) > = types:: StorageVersion :: V1 ,
22
22
DispatchError :: Other ( "Unexpected pallet version" )
23
23
) ;
24
24
@@ -36,7 +36,7 @@ impl<T: Config> OnRuntimeUpgrade for MigrateBurnTransactionsV2<T> {
36
36
executed_burn_transactions_count
37
37
) ;
38
38
39
- info ! ( "👥 TFT-BRIDGE pallet to V1 passes PRE migrate checks ✅" , ) ;
39
+ info ! ( "👥 TFT-BRIDGE pallet to V2 passes PRE migrate checks ✅" , ) ;
40
40
Ok ( Vec :: < u8 > :: new ( ) )
41
41
}
42
42
@@ -55,7 +55,7 @@ impl<T: Config> OnRuntimeUpgrade for MigrateBurnTransactionsV2<T> {
55
55
) -> Result < ( ) , sp_runtime:: TryRuntimeError > {
56
56
info ! ( "current pallet version: {:?}" , PalletVersion :: <T >:: get( ) ) ;
57
57
ensure ! (
58
- PalletVersion :: <T >:: get( ) = = types:: StorageVersion :: V2 ,
58
+ PalletVersion :: <T >:: get( ) > = types:: StorageVersion :: V2 ,
59
59
DispatchError :: Other ( "Unexpected pallet version" )
60
60
) ;
61
61
You can’t perform that action at this time.
0 commit comments