Skip to content

Commit

Permalink
fix: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
functor-flow committed Dec 7, 2024
1 parent f34f2c6 commit 9e07b0e
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,13 +241,12 @@ impl pallet_sudo::Config for Runtime {

parameter_types! {
// Base: 1 token + (88 bytes * 0.01 token)
pub const DepositBase: Balance = (1 * 10u128.saturating_pow(TOKEN_DECIMALS)) // 1 token
pub const DepositBase: Balance = 10u128.saturating_pow(TOKEN_DECIMALS) // 1 token
+ (88 * 10u128.saturating_pow(TOKEN_DECIMALS - 2)); // 0.01 token per byte

// Factor: 0 token + (32 bytes * 0.01 token)
pub const DepositFactor: Balance = (0 * 10u128.saturating_pow(TOKEN_DECIMALS)) // 0 token
+ (32 * 10u128.saturating_pow(TOKEN_DECIMALS - 2)); // 0.01 token per byte

// Factor: (32 bytes * 0.01 token)
pub const DepositFactor: Balance =
32 * 10u128.saturating_pow(TOKEN_DECIMALS - 2); // 0.01 token per byte
// Maximum number of participans in a multisignature
pub const MaxSignatories: u32 = 100;
}

Expand Down

0 comments on commit 9e07b0e

Please sign in to comment.