Skip to content

Commit

Permalink
resolve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ukint-vs committed Dec 27, 2023
1 parent 7d045f0 commit b971495
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pallets/gear/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ pub mod pallet {
pub fn set_block_number(bn: BlockNumberFor<T>) {
use sp_runtime::SaturatedConversion;

<BlockNumber<T>>::put(bn.saturated_into::<BlockNumberFor<T>>());
<BlockNumber<T>>::put(bn);
}

/// Upload program to the chain without stack limit injection and
Expand Down
2 changes: 1 addition & 1 deletion pallets/payment/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ use sp_std::{

type Block = frame_system::mocking::MockBlock<Test>;
type AccountId = u64;
type BlockNumber = u32;
type BlockNumber = u64;
type Balance = u128;

pub const ALICE: AccountId = 1;
Expand Down

0 comments on commit b971495

Please sign in to comment.