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

chore: staking period length for rococo #654

Closed
wants to merge 7 commits into from
Closed
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
4 changes: 2 additions & 2 deletions runtime/hydradx/src/assets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ use pallet_currencies::BasicCurrencyAdapter;
use pallet_omnipool::traits::EnsurePriceWithin;
use pallet_otc::NamedReserveIdentifier;
use pallet_transaction_multi_payment::{AddTxAssetOnAccount, RemoveTxAssetOnKilled};
use primitives::constants::time::DAYS;
use primitives::constants::{
chain::OMNIPOOL_SOURCE,
currency::{NATIVE_EXISTENTIAL_DEPOSIT, UNITS},
Expand Down Expand Up @@ -518,7 +517,8 @@ impl pallet_bonds::Config for Runtime {
parameter_types! {
pub const StakingPalletId: PalletId = PalletId(*b"staking#");
pub const MinStake: Balance = 1_000 * UNITS;
pub const PeriodLength: BlockNumber = DAYS;
//This value is only for rococo, it should be 1 day in prod
pub const PeriodLength: BlockNumber = 1;
pub const TimePointsW:Permill = Permill::from_percent(100);
pub const ActionPointsW: Perbill = Perbill::from_percent(20);
pub const TimePointsPerPeriod: u8 = 1;
Expand Down
Loading