Skip to content

Commit

Permalink
refactor(runtime): Dump constants (existential deposit; min voucher d…
Browse files Browse the repository at this point in the history
…uration) (#3944)
  • Loading branch information
breathx committed May 7, 2024
1 parent 2bb8597 commit dc77ae6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runtime/vara/src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub mod currency {
pub const ECONOMIC_CENTIUNITS: Balance = ECONOMIC_UNITS / 100;

/// The existential deposit.
pub const EXISTENTIAL_DEPOSIT: Balance = 10 * UNITS; // 10 Vara
pub const EXISTENTIAL_DEPOSIT: Balance = UNITS; // 1 Vara

/// The program rent cost per block.
pub const RENT_COST_PER_BLOCK: Balance = 125_000_000;
Expand Down
2 changes: 1 addition & 1 deletion runtime/vara/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,7 @@ impl pallet_gear_payment::Config for Runtime {

parameter_types! {
pub const VoucherPalletId: PalletId = PalletId(*b"py/vouch");
pub const MinVoucherDuration: BlockNumber = 30 * MINUTES;
pub const MinVoucherDuration: BlockNumber = MINUTES;
pub const MaxVoucherDuration: BlockNumber = 3 * MONTHS;
}

Expand Down

0 comments on commit dc77ae6

Please sign in to comment.