Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
claravanstaden committed Jun 28, 2024
1 parent 1233c47 commit 3887d0a
Show file tree
Hide file tree
Showing 8 changed files with 327 additions and 338 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -139,17 +139,9 @@ parameter_types! {
};
}

parameter_types! {
// On Ethereum, a sync committee period spans 8192 slots, approximately 27 hours (or 256 epochs).
// We retain headers for 20 sync committee periods, equating to about 3 weeks. Headers older
// than this period are pruned.
pub const MaxExecutionHeadersToKeep: u32 = 8192 * 20;
}

impl snowbridge_pallet_ethereum_client::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type ForkVersions = ChainForkVersions;
type MaxExecutionHeadersToKeep = MaxExecutionHeadersToKeep;
type WeightInfo = crate::weights::snowbridge_pallet_ethereum_client::WeightInfo<Runtime>;
}

Expand Down

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

Original file line number Diff line number Diff line change
Expand Up @@ -139,17 +139,9 @@ parameter_types! {
};
}

parameter_types! {
// On Ethereum, a sync committee period spans 8192 slots, approximately 27 hours (or 256 epochs).
// We retain headers for 20 sync committee periods, equating to about 3 weeks. Headers older
// than this period are pruned.
pub const MaxExecutionHeadersToKeep: u32 = 8192 * 20;
}

impl snowbridge_pallet_ethereum_client::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type ForkVersions = ChainForkVersions;
type MaxExecutionHeadersToKeep = MaxExecutionHeadersToKeep;
type WeightInfo = crate::weights::snowbridge_pallet_ethereum_client::WeightInfo<Runtime>;
}

Expand Down

This file was deleted.

2 changes: 0 additions & 2 deletions system-parachains/bridge-hubs/bridge-hub-polkadot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs"));

pub mod bridge_to_ethereum_config;
mod bridge_to_ethereum_unstuck;
pub mod bridge_to_kusama_config;
mod bridge_to_kusama_unstuck;
mod weights;
Expand Down Expand Up @@ -152,7 +151,6 @@ pub type Migrations = (
ConstU32<ASSET_HUB_ID>,
>,
bridge_to_kusama_unstuck::BridgeToKusamaUnstuck,
bridge_to_ethereum_unstuck::UnstuckSnowbridge,
pallet_collator_selection::migration::v2::MigrationToV2<Runtime>,
// permanent
pallet_xcm::migration::MigrateToLatestXcmVersion<Runtime>,
Expand Down

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

0 comments on commit 3887d0a

Please sign in to comment.