Skip to content

Commit

Permalink
Propose every nth block as finality candidate instead of all the bloc…
Browse files Browse the repository at this point in the history
…ks (#146)

* Propose every nth block as finality candidate instead of all the blocks

* Propose every nth block as finality candidate instead of all the blocks

* upgrade pallets, downgrade again and undo upgrade and/or downgrade and downgrade again.

* lenience delete

* update pallets

* update lock

Co-authored-by: Gaudenz Kessler <[email protected]>
  • Loading branch information
gaudenzkessler and gkessler-scs authored Oct 27, 2022
1 parent a9f0288 commit df1d4e0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 20 deletions.
22 changes: 11 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ pallet-treasury = { default-features = false, git = "https://github.com/parityte
pallet-utility = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.28" }
pallet-vesting = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.28" }
# local pallets
pallet-claims = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "master" }
pallet-sidechain = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "master" }
pallet-teeracle = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "master" }
pallet-teerex = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "master" }
pallet-claims = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "develop" }
pallet-sidechain = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "develop" }
pallet-teeracle = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "develop" }
pallet-teerex = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "develop" }

sp-api = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.28" }
sp-block-builder = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.28" }
Expand Down
5 changes: 0 additions & 5 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -420,15 +420,10 @@ impl pallet_teeracle::Config for Runtime {
type MaxWhitelistedReleases = MaxWhitelistedReleases;
}

parameter_types! {
pub const EarlyBlockProposalLenience: u64 = 100;
}

/// added by Integritee
impl pallet_sidechain::Config for Runtime {
type Event = Event;
type WeightInfo = weights::pallet_sidechain::WeightInfo<Runtime>;
type EarlyBlockProposalLenience = EarlyBlockProposalLenience;
}

parameter_types! {
Expand Down

0 comments on commit df1d4e0

Please sign in to comment.