mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 18:15:19 +00:00
10 lines
267 B
Bash
10 lines
267 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
if [ -z "$1" ]
|
||
|
then
|
||
|
echo "Usage: ./generate-test-auth-data.sh genesis.json"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
jq < "$1" -c '.app_state.auth | { params: .params, accounts: [.accounts[] | select((.value.coins | length) > 0)] }' > testdata/kava-7-test-auth-state.json
|