Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(runtime): Dump constants (existential deposit; min voucher duration) #3944

Merged
merged 1 commit into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
breathx marked this conversation as resolved.
Show resolved Hide resolved

/// 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 @@ -1111,7 +1111,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
Loading