Skip to content

Commit

Permalink
Merge pull request #683 from gregdhill/chore/spend-period+runtime-1.18.1
Browse files Browse the repository at this point in the history
chore: set SpendPeriod to 1h and set spec_version for 1.18.1
  • Loading branch information
gregdhill authored Jul 28, 2022
2 parents 2019a64 + b57860e commit 01d54c1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions parachain/runtime/interlay/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("interlay-parachain"),
impl_name: create_runtime_str!("interlay-parachain"),
authoring_version: 1,
spec_version: 1018000,
spec_version: 1018001,
impl_version: 1,
transaction_version: 2, // added preimage
apis: RUNTIME_API_VERSIONS,
Expand Down Expand Up @@ -529,7 +529,7 @@ parameter_types! {
pub const ProposalBond: Permill = Permill::from_percent(5);
pub ProposalBondMinimum: Balance = 5;
pub ProposalBondMaximum: Option<Balance> = None;
pub const SpendPeriod: BlockNumber = 7 * DAYS;
pub const SpendPeriod: BlockNumber = 1 * HOURS;
pub const Burn: Permill = Permill::from_percent(0);
pub const MaxApprovals: u32 = 100;
}
Expand Down
4 changes: 2 additions & 2 deletions parachain/runtime/kintsugi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("kintsugi-parachain"),
impl_name: create_runtime_str!("kintsugi-parachain"),
authoring_version: 1,
spec_version: 1018000,
spec_version: 1018001,
impl_version: 1,
transaction_version: 3, // added preimage
apis: RUNTIME_API_VERSIONS,
Expand Down Expand Up @@ -628,7 +628,7 @@ parameter_types! {
pub const ProposalBond: Permill = Permill::from_percent(5);
pub ProposalBondMinimum: Balance = 5;
pub ProposalBondMaximum: Option<Balance> = None;
pub const SpendPeriod: BlockNumber = 7 * DAYS;
pub const SpendPeriod: BlockNumber = 1 * HOURS;
pub const Burn: Permill = Permill::from_percent(0);
pub const MaxApprovals: u32 = 100;
}
Expand Down
4 changes: 2 additions & 2 deletions parachain/runtime/testnet-interlay/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("testnet-interlay"),
impl_name: create_runtime_str!("testnet-interlay"),
authoring_version: 1,
spec_version: 1018000,
spec_version: 1018001,
impl_version: 1,
transaction_version: 1, // added preimage
apis: RUNTIME_API_VERSIONS,
Expand Down Expand Up @@ -501,7 +501,7 @@ parameter_types! {
pub const ProposalBond: Permill = Permill::from_percent(5);
pub ProposalBondMinimum: Balance = 5;
pub ProposalBondMaximum: Option<Balance> = None;
pub const SpendPeriod: BlockNumber = 7 * DAYS;
pub const SpendPeriod: BlockNumber = 1 * HOURS;
pub const Burn: Permill = Permill::from_percent(0);
pub const MaxApprovals: u32 = 100;
}
Expand Down
4 changes: 2 additions & 2 deletions parachain/runtime/testnet-kintsugi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("testnet-kintsugi"),
impl_name: create_runtime_str!("testnet-kintsugi"),
authoring_version: 1,
spec_version: 1018000,
spec_version: 1018001,
impl_version: 1,
transaction_version: 1, // added preimage
apis: RUNTIME_API_VERSIONS,
Expand Down Expand Up @@ -501,7 +501,7 @@ parameter_types! {
pub const ProposalBond: Permill = Permill::from_percent(5);
pub ProposalBondMinimum: Balance = 5;
pub ProposalBondMaximum: Option<Balance> = None;
pub const SpendPeriod: BlockNumber = 7 * DAYS;
pub const SpendPeriod: BlockNumber = 1 * HOURS;
pub const Burn: Permill = Permill::from_percent(0);
pub const MaxApprovals: u32 = 100;
}
Expand Down

0 comments on commit 01d54c1

Please sign in to comment.