Skip to content

Commit

Permalink
Make the override compatible with latest format for the chainspec
Browse files Browse the repository at this point in the history
That was introduced in
paritytech/polkadot-sdk#1256.

Without this fix updating the chain_spec pod in versi fails with:
```
+ BOOTNODES='"bootNodes": ["/dns/versi-tick-501-alice-node-0/tcp/30334/p2p/12D3KooWBsK6fux5wY2QqmNhE5HwfRVZiWFTL1T51XeBuE8op49t","/dns/versi-tick-501-bob-node-0/tcp/30334/p2p/12D3KooWMD4MDy2Vks4ErjTDaN6xb1P1Q5i5XTv5S3p1sj81tKzd"],'+ sed 's;"bootNodes.*;"bootNodes": ["/dns/versi-tick-501-alice-node-0/tcp/30334/p2p/12D3KooWBsK6fux5wY2QqmNhE5HwfRVZiWFTL1T51XeBuE8op49t","/dns/versi-tick-501-bob-node-0/tcp/30334/p2p/12D3KooWMD4MDy2Vks4ErjTDaN6xb1P1Q5i5XTv5S3p1sj81tKzd"],;' -i /dir/tick-dev-plain-01.json+ /usr/local/bin/polkadot-parachain build-spec --chain /dir/tick-dev-plain-01.json --rawError: Service(Other("Error parsing spec file: expected value at line 40 column 5"))
```

Signed-off-by: Alexandru Gheorghe <[email protected]>
  • Loading branch information
alexggh committed Jan 31, 2024
1 parent 007a2d3 commit 037d44f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion versi/parachain/overrides/stps-funded-accounts.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"genesis": {
"runtime": {
"runtimeGenesis": {
"balances": {
"balances": [
[
Expand Down

0 comments on commit 037d44f

Please sign in to comment.