Skip to content

Commit

Permalink
chore: set SpendPeriod to 1h and set spec_version for 1.18.1
Browse files Browse the repository at this point in the history
Signed-off-by: Gregory Hill <[email protected]>
  • Loading branch information
gregdhill committed Jul 28, 2022
1 parent 2019a64 commit b57860e
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 b57860e

Please sign in to comment.