Skip to content

Commit

Permalink
Fix compilation and toml
Browse files Browse the repository at this point in the history
  • Loading branch information
tmpolaczyk committed Nov 6, 2024
1 parent d4907e3 commit d52fc32
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
14 changes: 8 additions & 6 deletions solo-chains/runtime/dancelight/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,11 @@ std = [
"serde_derive",
"serde_json/std",
"snowbridge-beacon-primitives/std",
"snowbridge-core/std",
"snowbridge-pallet-ethereum-client/fuzzing",
"snowbridge-pallet-ethereum-client/std",
"snowbridge-pallet-outbound-queue/std",
"snowbridge-pallet-system/std",
"sp-api/std",
"sp-application-crypto/std",
"sp-arithmetic/std",
Expand Down Expand Up @@ -291,8 +294,6 @@ std = [
"xcm-executor/std",
"xcm-runtime-apis/std",
"xcm/std",
"snowbridge-pallet-outbound-queue/std",
"snowbridge-pallet-system/std"
]
no_std = []

Expand Down Expand Up @@ -351,16 +352,17 @@ runtime-benchmarks = [
"primitives/runtime-benchmarks",
"runtime-common/runtime-benchmarks",
"runtime-parachains/runtime-benchmarks",
"snowbridge-core/runtime-benchmarks",
"snowbridge-pallet-ethereum-client/runtime-benchmarks",
"snowbridge-pallet-outbound-queue/runtime-benchmarks",
"snowbridge-pallet-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks",
"tanssi-runtime-common/runtime-benchmarks",
"tp-traits/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
"xcm-runtime-apis/runtime-benchmarks",
"snowbridge-pallet-outbound-queue/runtime-benchmarks",
"snowbridge-pallet-system/runtime-benchmarks"
]
try-runtime = [
"cumulus-pallet-parachain-system/try-runtime",
Expand Down Expand Up @@ -423,10 +425,10 @@ try-runtime = [
"runtime-common/try-runtime",
"runtime-parachains/try-runtime",
"snowbridge-pallet-ethereum-client/try-runtime",
"snowbridge-pallet-outbound-queue/try-runtime",
"snowbridge-pallet-system/try-runtime",
"sp-runtime/try-runtime",
"tanssi-runtime-common/try-runtime",
"snowbridge-pallet-outbound-queue/try-runtime",
"snowbridge-pallet-system/try-runtime"
]

# Set timing constants (e.g. session period) to faster versions to speed up testing.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,10 @@ impl snowbridge_pallet_system::Config for Runtime {
//type InboundDeliveryCost = EthereumInboundQueue;
}

#[cfg(feature = "runtime-benchmarks")]
pub struct EthSystemBenchHelper;

#[cfg(feature = "runtime-benchmarks")]
impl snowbridge_pallet_system::BenchmarkHelper<RuntimeOrigin> for EthSystemBenchHelper {
fn make_xcm_origin(location: Location) -> RuntimeOrigin {
RuntimeOrigin::from(pallet_xcm::Origin::Xcm(location))
Expand Down

0 comments on commit d52fc32

Please sign in to comment.