Skip to content

Commit

Permalink
Update Kusama chain spec and add a script to grab chain specs (parity…
Browse files Browse the repository at this point in the history
…tech#1029)

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
tomaka and mergify[bot] authored Jul 21, 2021
1 parent 6c97274 commit 3921304
Show file tree
Hide file tree
Showing 2 changed files with 3,372 additions and 3,363 deletions.
7 changes: 7 additions & 0 deletions bin/generate_chain_spec.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh

# Small script to grab the chain specification of a running node.

echo '{"id":53,"jsonrpc":"2.0","method":"sync_state_genSyncSpec","params":[true]}' |
websocat -n1 -B 99999999 wss://node-address-here |
jq .result > chain_spec.json
Loading

0 comments on commit 3921304

Please sign in to comment.