Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Signed-off-by: Xavier Lau <[email protected]>
  • Loading branch information
AurevoirXavier committed Sep 3, 2024
1 parent 6a757cc commit 0c28d36
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion precompile/deposit/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ fn selectors() {
assert!(PCall::lock_selectors().contains(&0x998e4242));
assert!(PCall::claim_selectors().contains(&0x4e71d92d));
assert!(PCall::claim_with_penalty_selectors().contains(&0xfa04a9bf));
assert!(PCall::migrate_selectors().contains(&0x8fd3ab80));
assert!(PCall::migrate_selectors().contains(&0xce5494bb));
}

#[test]
Expand Down
2 changes: 1 addition & 1 deletion runtime/crab/src/migration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ fn migrate() -> frame_support::weights::Weight {
}
}
if let Ok(who) =
aray_bytes::hex_n_into::<_, AccountId, 20>("0xDeC9cD45e921F2AedE72f694743265af37d47Fa7")
array_bytes::hex_n_into::<_, AccountId, 20>("0xDeC9cD45e921F2AedE72f694743265af37d47Fa7")
{
<darwinia_deposit::DepositContract<Runtime>>::put(who);
}
Expand Down
2 changes: 1 addition & 1 deletion runtime/darwinia/src/migration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ fn migrate() -> frame_support::weights::Weight {
}
}
if let Ok(who) =
aray_bytes::hex_n_into::<_, AccountId, 20>("0xDeC9cD45e921F2AedE72f694743265af37d47Fa7")
array_bytes::hex_n_into::<_, AccountId, 20>("0xDeC9cD45e921F2AedE72f694743265af37d47Fa7")
{
<darwinia_deposit::DepositContract<Runtime>>::put(who);
}
Expand Down

0 comments on commit 0c28d36

Please sign in to comment.