Skip to content

Commit f19aee3

Browse files
committed
feat: address suggestions from @bkontur
1 parent 32e5753 commit f19aee3

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

relay/kusama/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ impl pallet_mmr::Config for Runtime {
386386
type LeafData = pallet_beefy_mmr::Pallet<Runtime>;
387387
type BlockHashProvider = pallet_mmr::DefaultBlockHashProvider<Runtime>;
388388
#[cfg(feature = "runtime-benchmarks")]
389-
type BenchmarkHelper = ();
389+
type BenchmarkHelper = parachains_paras::benchmarking::mmr_setup::MmrSetup<Runtime>;
390390
}
391391

392392
/// MMR helper types.

relay/polkadot/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ impl pallet_mmr::Config for Runtime {
373373
type LeafData = pallet_beefy_mmr::Pallet<Runtime>;
374374
type BlockHashProvider = pallet_mmr::DefaultBlockHashProvider<Runtime>;
375375
#[cfg(feature = "runtime-benchmarks")]
376-
type BenchmarkHelper = ();
376+
type BenchmarkHelper = parachains_paras::benchmarking::mmr_setup::MmrSetup<Runtime>;
377377
}
378378

379379
/// MMR helper types.

system-parachains/asset-hubs/asset-hub-kusama/src/xcm_config.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -513,19 +513,16 @@ pub mod bridging {
513513
]
514514
);
515515

516-
// TODO: @bkontur or @acatangiu, please confirm if this chain will be used at all.
517516
pub const PolkadotNetwork: NetworkId = NetworkId::Polkadot;
518517
pub const EthereumNetwork: NetworkId = NetworkId::Ethereum { chain_id: 1 };
519-
// TODO: @bkontur or @acatangiu, please confirm if this should be in the configuration, or if
520-
// this `chain_id` is just for testing purposes.
521518
pub EthereumEcosystem: Location = Location::new(2, [GlobalConsensus(EthereumNetwork::get())]);
522519
pub DotLocation: Location = Location::new(2, [GlobalConsensus(PolkadotNetwork::get())]);
523520
pub AssetHubPolkadot: Location = Location::new(
524521
2,
525522
[
526523
GlobalConsensus(PolkadotNetwork::get()),
527524
Parachain(polkadot_runtime_constants::system_parachain::ASSET_HUB_ID),
528-
],
525+
],
529526
);
530527

531528
/// Set up exporters configuration.

0 commit comments

Comments
 (0)