Skip to content

Commit

Permalink
Some initial fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bredamatt committed Jun 7, 2023
1 parent 8c77ae1 commit f5328fb
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 6 deletions.
4 changes: 2 additions & 2 deletions tests/kubernetes/para-single.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
"collator": {
"name": "collator01",
"ws_port": "9944",
"image": "parity/polkadot-collator",
"command": "polkadot-collator",
"image": "docker.io/parity/polkadot-parachain",
"command": "polkadot-parachain",
"args": [
"-lparachain=debug"
]
Expand Down
6 changes: 2 additions & 4 deletions tests/kubernetes/relay-single-node.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@
"default_command": "polkadot",
"genesis": {
"runtime": {
"runtime_genesis_config": {
"balances": {
"balances": {% include "../funded-accounts.json" %}
}
"balances": {
"balances": {% include "../funded-accounts.json" %}
}
}
},
Expand Down
1 change: 1 addition & 0 deletions utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ log = "0.4.18"

[features]
rococo = []
polkadot-parachain = []
tick = []
versi-tick = []
versi-relay = []
Binary file added utils/metadata/polkadot-parachain.scale
Binary file not shown.
1 change: 1 addition & 0 deletions utils/sender/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ name = "sender"

[features]
tick = ["utils/tick"]
polkadot-parachain = ["utils/polkadot-parachain"]
rococo = ["utils/rococo"]
versi-tick = ["utils/versi-tick"]
versi-relay = ["utils/versi-relay"]
4 changes: 4 additions & 0 deletions utils/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ use log::{error, info, warn};
use std::time::Duration;
use subxt::{OnlineClient, PolkadotConfig};

#[cfg(feature = "polkadot-parachain")]
#[subxt::subxt(runtime_metadata_path = "metadata/polkadot-parachain.scale")]
pub mod runtime {}

#[cfg(feature = "tick")]
#[subxt::subxt(runtime_metadata_path = "metadata/tick-meta.scale")]
pub mod runtime {}
Expand Down
1 change: 1 addition & 0 deletions utils/tps/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ name = "tps"

[features]
tick = ["utils/tick"]
polkadot-parachain = ["utils/polkadot-parachain"]
rococo = ["utils/rococo"]
versi-tick = ["utils/versi-tick"]
versi-relay = ["utils/versi-relay"]

0 comments on commit f5328fb

Please sign in to comment.