Skip to content

Commit 3234491

Browse files
Apply Taplo
1 parent dc3172c commit 3234491

File tree

4 files changed

+44
-42
lines changed

4 files changed

+44
-42
lines changed

Cargo.toml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ edition = "2021"
44
repository = "https://github.com/zdave-parity/polkadot-bulletin-chain.git"
55

66
[workspace.dependencies]
7+
array-bytes = { version = "6.1" }
8+
bp-test-utils = { git = "https://github.com/paritytech/polkadot-sdk.git", rev = "41bc46f27067c243d1c0fb7f83260d61c1f97c75" }
9+
cfg-if = { version = "1.0" }
10+
clap = { version = "4.2.5" }
11+
codec = { package = "parity-scale-codec", version = "3.7.5", default-features = false }
712
cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/polkadot-sdk.git", rev = "41bc46f27067c243d1c0fb7f83260d61c1f97c75", default-features = false }
813
cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/polkadot-sdk.git", rev = "41bc46f27067c243d1c0fb7f83260d61c1f97c75", default-features = false }
914
cumulus-pallet-session-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk.git", rev = "41bc46f27067c243d1c0fb7f83260d61c1f97c75", default-features = false }
@@ -13,33 +18,28 @@ cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/polkadot-sdk.
1318
cumulus-primitives-aura = { git = "https://github.com/paritytech/polkadot-sdk.git", rev = "41bc46f27067c243d1c0fb7f83260d61c1f97c75", default-features = false }
1419
cumulus-primitives-core = { git = "https://github.com/paritytech/polkadot-sdk.git", rev = "41bc46f27067c243d1c0fb7f83260d61c1f97c75", default-features = false }
1520
cumulus-primitives-utility = { git = "https://github.com/paritytech/polkadot-sdk.git", rev = "41bc46f27067c243d1c0fb7f83260d61c1f97c75", default-features = false }
16-
parachain-info = { git = "https://github.com/paritytech/polkadot-sdk.git", package = "staging-parachain-info", rev = "41bc46f27067c243d1c0fb7f83260d61c1f97c75", default-features = false }
17-
polkadot-parachain-primitives = { git = "https://github.com/paritytech/polkadot-sdk.git", rev = "41bc46f27067c243d1c0fb7f83260d61c1f97c75", default-features = false }
18-
testnet-parachains-constants = { git = "https://github.com/paritytech/polkadot-sdk.git", package = "testnet-parachains-constants", rev = "41bc46f27067c243d1c0fb7f83260d61c1f97c75", default-features = false }
19-
westend-runtime-constants = { git = "https://github.com/paritytech/polkadot-sdk.git", package = "westend-runtime-constants", rev = "41bc46f27067c243d1c0fb7f83260d61c1f97c75", default-features = false }
20-
array-bytes = { version = "6.1" }
21-
bp-test-utils = { git = "https://github.com/paritytech/polkadot-sdk.git", rev = "41bc46f27067c243d1c0fb7f83260d61c1f97c75" }
22-
cfg-if = { version = "1.0" }
23-
clap = { version = "4.2.5" }
24-
codec = { package = "parity-scale-codec", version = "3.7.5", default-features = false }
2521
futures = { version = "0.3.21" }
2622
hex = { version = "0.4" }
2723
jsonrpsee = { version = "0.24.3" }
2824
log = { version = "0.4.17", default-features = false }
25+
parachain-info = { git = "https://github.com/paritytech/polkadot-sdk.git", package = "staging-parachain-info", rev = "41bc46f27067c243d1c0fb7f83260d61c1f97c75", default-features = false }
26+
polkadot-parachain-primitives = { git = "https://github.com/paritytech/polkadot-sdk.git", rev = "41bc46f27067c243d1c0fb7f83260d61c1f97c75", default-features = false }
2927
scale-info = { version = "2.11.6", default-features = false }
3028
serde = { version = "1.0.126" }
3129
serde_json = { version = "1.0.132", default-features = false }
3230
static_assertions = { version = "1.1" }
31+
testnet-parachains-constants = { git = "https://github.com/paritytech/polkadot-sdk.git", package = "testnet-parachains-constants", rev = "41bc46f27067c243d1c0fb7f83260d61c1f97c75", default-features = false }
3332
tracing = { version = "0.1.41", default-features = false }
33+
westend-runtime-constants = { git = "https://github.com/paritytech/polkadot-sdk.git", package = "westend-runtime-constants", rev = "41bc46f27067c243d1c0fb7f83260d61c1f97c75", default-features = false }
3434

3535
# Local workspace members
3636
bulletin-polkadot-runtime = { path = "runtimes/bulletin-polkadot" }
37+
bulletin-westend-runtime = { path = "runtimes/bulletin-westend" }
3738
pallet-relayer-set = { path = "pallets/relayer-set", default-features = false }
3839
pallet-transaction-storage = { path = "pallets/transaction-storage", default-features = false }
3940
pallet-validator-set = { path = "pallets/validator-set", default-features = false }
4041
pallets-common = { path = "pallets/common", default-features = false }
4142
polkadot-bulletin-chain-runtime = { path = "runtime" }
42-
bulletin-westend-runtime = { path = "runtimes/bulletin-westend" }
4343

4444
# Polkadot SDK crates (shared git revision)
4545
frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk.git", rev = "41bc46f27067c243d1c0fb7f83260d61c1f97c75", default-features = false }
@@ -140,19 +140,19 @@ parachains-common = { git = "https://github.com/paritytech/polkadot-sdk.git", re
140140
frame-metadata-hash-extension = { git = "https://github.com/paritytech/polkadot-sdk.git", rev = "41bc46f27067c243d1c0fb7f83260d61c1f97c75", default-features = false }
141141

142142
# Polkadot runtime common utilities
143+
parachains-runtimes-test-utils = { git = "https://github.com/paritytech/polkadot-sdk.git", rev = "41bc46f27067c243d1c0fb7f83260d61c1f97c75", default-features = true }
143144
polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot-sdk.git", rev = "41bc46f27067c243d1c0fb7f83260d61c1f97c75", default-features = false }
144145
sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk.git", rev = "41bc46f27067c243d1c0fb7f83260d61c1f97c75", default-features = false }
145146
xcm-runtime-apis = { git = "https://github.com/paritytech/polkadot-sdk.git", rev = "41bc46f27067c243d1c0fb7f83260d61c1f97c75", default-features = false }
146-
parachains-runtimes-test-utils = { git = "https://github.com/paritytech/polkadot-sdk.git", rev = "41bc46f27067c243d1c0fb7f83260d61c1f97c75", default-features = true }
147147

148148
# Additional FRAME pallets used by westend runtime
149149
pallet-aura = { git = "https://github.com/paritytech/polkadot-sdk.git", rev = "41bc46f27067c243d1c0fb7f83260d61c1f97c75", default-features = false }
150150
pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", rev = "41bc46f27067c243d1c0fb7f83260d61c1f97c75", default-features = false }
151+
pallet-collator-selection = { git = "https://github.com/paritytech/polkadot-sdk.git", rev = "41bc46f27067c243d1c0fb7f83260d61c1f97c75", default-features = false }
151152
pallet-message-queue = { git = "https://github.com/paritytech/polkadot-sdk.git", rev = "41bc46f27067c243d1c0fb7f83260d61c1f97c75", default-features = false }
152153
pallet-multisig = { git = "https://github.com/paritytech/polkadot-sdk.git", rev = "41bc46f27067c243d1c0fb7f83260d61c1f97c75", default-features = false }
153154
pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk.git", rev = "41bc46f27067c243d1c0fb7f83260d61c1f97c75", default-features = false }
154155
pallet-xcm-benchmarks = { git = "https://github.com/paritytech/polkadot-sdk.git", rev = "41bc46f27067c243d1c0fb7f83260d61c1f97c75", default-features = false }
155-
pallet-collator-selection = { git = "https://github.com/paritytech/polkadot-sdk.git", rev = "41bc46f27067c243d1c0fb7f83260d61c1f97c75", default-features = false }
156156

157157
# Substrate tooling
158158
substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk.git", rev = "41bc46f27067c243d1c0fb7f83260d61c1f97c75" }

runtimes/bulletin-westend/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@ std = [
137137
"sp-offchain/std",
138138
"sp-runtime/std",
139139
"sp-session/std",
140-
"sp-transaction-storage-proof/std",
141140
"sp-storage/std",
142141
"sp-transaction-pool/std",
142+
"sp-transaction-storage-proof/std",
143143
"sp-version/std",
144144
"substrate-wasm-builder",
145145
"testnet-parachains-constants/std",

zombienet/bulletin-polkadot-local.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ name = "alice"
1111
p2p_port = 10001
1212
rpc_port = 10000
1313
validator = true
14-
args = [ "--ipfs-server", "-lruntime=trace,bitswap=trace,sub-libp2p::bitswap=trace,litep2p=trace,litep2p::crypto::noise=debug"]
14+
args = ["--ipfs-server", "-lruntime=trace,bitswap=trace,sub-libp2p::bitswap=trace,litep2p=trace,litep2p::crypto::noise=debug"]
1515

1616
[[relaychain.nodes]]
1717
name = "bob"

zombienet/bulletin-westend-local.toml

Lines changed: 30 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -12,39 +12,41 @@ default_command = "{{POLKADOT_BINARY_PATH}}"
1212
default_args = ["-lruntime=debug,xcm=trace"]
1313
chain = "westend-local"
1414

15-
[[relaychain.nodes]]
16-
name = "alice"
17-
validator = true
18-
rpc_port = 9942
19-
balance = 2000000000000
15+
[[relaychain.nodes]]
16+
name = "alice"
17+
validator = true
18+
rpc_port = 9942
19+
balance = 2000000000000
2020

21-
[[relaychain.nodes]]
22-
name = "bob"
23-
validator = true
24-
rpc_port = 9943
25-
balance = 2000000000000
21+
[[relaychain.nodes]]
22+
name = "bob"
23+
validator = true
24+
rpc_port = 9943
25+
balance = 2000000000000
2626

2727
[[parachains]]
2828
id = 1006
2929
chain_spec_path = "./zombienet/bulletin-westend-spec.json"
3030
cumulus_based = true
3131

32-
[[parachains.collators]]
33-
name = "bulletin-westend-collator-1"
34-
command = "{{POLKADOT_PARACHAIN_BINARY_PATH}}"
35-
validator = true
36-
p2p_port = 10001
37-
rpc_port = 10000
38-
args = [
39-
"--ipfs-server", "-lparachain=debug,runtime=trace,xcm=trace,bitswap=trace,sub-libp2p::bitswap=trace"
40-
]
32+
[[parachains.collators]]
33+
name = "bulletin-westend-collator-1"
34+
command = "{{POLKADOT_PARACHAIN_BINARY_PATH}}"
35+
validator = true
36+
p2p_port = 10001
37+
rpc_port = 10000
38+
args = [
39+
"--ipfs-server",
40+
"-lparachain=debug,runtime=trace,xcm=trace,bitswap=trace,sub-libp2p::bitswap=trace",
41+
]
4142

42-
[[parachains.collators]]
43-
name = "bulletin-westend-collator-2"
44-
command = "{{POLKADOT_PARACHAIN_BINARY_PATH}}"
45-
validator = true
46-
p2p_port = 12347
47-
rpc_port = 12346
48-
args = [
49-
"--ipfs-server", "-lparachain=debug,runtime=trace,xcm=trace,bitswap=trace,sub-libp2p::bitswap=trace"
50-
]
43+
[[parachains.collators]]
44+
name = "bulletin-westend-collator-2"
45+
command = "{{POLKADOT_PARACHAIN_BINARY_PATH}}"
46+
validator = true
47+
p2p_port = 12347
48+
rpc_port = 12346
49+
args = [
50+
"--ipfs-server",
51+
"-lparachain=debug,runtime=trace,xcm=trace,bitswap=trace,sub-libp2p::bitswap=trace",
52+
]

0 commit comments

Comments
 (0)