Skip to content

Commit

Permalink
fix scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
alistair-singh committed Dec 2, 2024
1 parent 7234264 commit 698f556
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions control/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ NOTE: To test an upgrade that has not executed yet on the relevant environment,

To update the runtime code binding, run the following commands:

```shell
./update-runtimes.sh
```

You can update runtimes manually with the following commands:

```shell
subxt metadata --url wss://polkadot-rpc.dwellir.com -f bytes -o runtimes/polkadot/polkadot-metadata.bin
subxt metadata --url wss://bridge-hub-polkadot-rpc.dwellir.com -f bytes -o runtimes/bridge-hub-polkadot/bridge-hub-metadata.bin
Expand Down
Binary file not shown.
Binary file modified control/runtimes/bridge-hub-paseo/bridge-hub-metadata.bin
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified control/runtimes/bridge-hub-westend/bridge-hub-metadata.bin
Binary file not shown.
2 changes: 1 addition & 1 deletion control/update-runtimes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ for network in ${networks[@]}; do
subxt metadata --url wss://$network-rpc.dwellir.com -f bytes -o runtimes/$network/polkadot-metadata.bin
subxt metadata --url wss://asset-hub-$network-rpc.dwellir.com -f bytes -o runtimes/asset-hub-$network/asset-hub-metadata.bin

bh_metadata=runtimes/bridge-hub-$network/asset-hub-metadata.bin
bh_metadata=runtimes/bridge-hub-$network/bridge-hub-metadata.bin
bh_url=wss://bridge-hub-$network-rpc.dwellir.com
if [ "$network" = "paseo" ]; then
bh_url=wss://bridge-hub-paseo.dotters.network
Expand Down

0 comments on commit 698f556

Please sign in to comment.