mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-26 00:05:18 +00:00
10 lines
236 B
Bash
10 lines
236 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
if [ -z "$1" ]
|
||
|
then
|
||
|
echo "Usage: ./generate-test-incentive-data.sh genesis.json"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
jq < "$1" -c '{"incentive": .app_state.incentive, "cdp": .app_state.cdp }' > testdata/kava-7-test-incentive-state.json
|