Skip to content

Commit

Permalink
Scaffold combo pallet
Browse files Browse the repository at this point in the history
  • Loading branch information
maltekliemann committed Sep 23, 2024
1 parent cade442 commit fa9bf8b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ common-runtime = { path = "runtime/common", default-features = false }
zeitgeist-macros = { path = "macros", default-features = false }
zeitgeist-primitives = { path = "primitives", default-features = false }
zrml-authorized = { path = "zrml/authorized", default-features = false }
zrml-combo = { path = "zrml/combo", default-features = false }
zrml-court = { path = "zrml/court", default-features = false }
zrml-global-disputes = { path = "zrml/global-disputes", default-features = false }
zrml-hybrid-router = { path = "zrml/hybrid-router", default-features = false }
Expand Down
2 changes: 2 additions & 0 deletions runtime/battery-station/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ xcm-executor = { workspace = true, optional = true }
common-runtime = { workspace = true }
zeitgeist-primitives = { workspace = true }
zrml-authorized = { workspace = true }
zrml-combo = { workspace = true }
zrml-court = { workspace = true }
zrml-global-disputes = { workspace = true, optional = true }
zrml-hybrid-router = { workspace = true }
Expand Down Expand Up @@ -327,6 +328,7 @@ std = [

"zeitgeist-primitives/std",
"zrml-authorized/std",
"zrml-combo/std",
"zrml-court/std",
"zrml-hybrid-router/std",
"zrml-market-commons/std",
Expand Down
4 changes: 3 additions & 1 deletion runtime/common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ macro_rules! create_runtime {
Orderbook: zrml_orderbook::{Call, Event<T>, Pallet, Storage} = 61,
Parimutuel: zrml_parimutuel::{Call, Event<T>, Pallet, Storage} = 62,
HybridRouter: zrml_hybrid_router::{Call, Event<T>, Pallet, Storage} = 64,
Combo: zrml_combo::{Call, Event<T>, Pallet, Storage} = 65;
Combo: zrml_combo::{Pallet, Storage} = 65,

$($additional_pallets)*
}
Expand Down Expand Up @@ -1169,6 +1169,8 @@ macro_rules! impl_config_traits {
type WeightInfo = zrml_authorized::weights::WeightInfo<Runtime>;
}

impl zrml_combo::Config for Runtime {}

impl zrml_court::Config for Runtime {
type AppealBond = AppealBond;
type BlocksPerYear = BlocksPerYear;
Expand Down
2 changes: 2 additions & 0 deletions runtime/zeitgeist/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ xcm-executor = { workspace = true, optional = true }
common-runtime = { workspace = true }
zeitgeist-primitives = { workspace = true }
zrml-authorized = { workspace = true }
zrml-combo = { workspace = true }
zrml-court = { workspace = true }
zrml-global-disputes = { workspace = true, optional = true }
zrml-hybrid-router = { workspace = true }
Expand Down Expand Up @@ -316,6 +317,7 @@ std = [

"zeitgeist-primitives/std",
"zrml-authorized/std",
"zrml-combo/std",
"zrml-court/std",
"zrml-hybrid-router/std",
"zrml-market-commons/std",
Expand Down

0 comments on commit fa9bf8b

Please sign in to comment.