mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 21:41:12 +00:00
Make Substrate compile with latest nightly (#7381)
* Try to get it compiling * One more * Make stable happy * Make stable even more happy ;) * Update shell.nix
This commit is contained in:
@@ -139,17 +139,17 @@ benchmarks! {
|
||||
suicide {
|
||||
let caller: T::AccountId = whitelisted_caller();
|
||||
let account_info = AccountInfo::<T::Index, T::AccountData> {
|
||||
nonce: 1337.into(),
|
||||
nonce: 1337u32.into(),
|
||||
refcount: 0,
|
||||
data: T::AccountData::default()
|
||||
};
|
||||
frame_system::Account::<T>::insert(&caller, account_info);
|
||||
let new_account_info = System::<T>::account(caller.clone());
|
||||
assert_eq!(new_account_info.nonce, 1337.into());
|
||||
assert_eq!(new_account_info.nonce, 1337u32.into());
|
||||
}: _(RawOrigin::Signed(caller.clone()))
|
||||
verify {
|
||||
let account_info = System::<T>::account(&caller);
|
||||
assert_eq!(account_info.nonce, 0.into());
|
||||
assert_eq!(account_info.nonce, 0u32.into());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user