Skip to content

Commit 1b89166

Browse files
fix: use the genesis/genesis_txs.jsonl for the portal loop (#3475)
## Description This PR specifies the base file for the Portal Loop genesis transactions, as it is empty by default.
1 parent a57311b commit 1b89166

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

misc/loop/scripts/start.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@ GENESIS_BALANCES_FILE=${GENESIS_BALANCES_FILE:-""}
1111

1212
SEEDS=${SEEDS:-""}
1313
PERSISTENT_PEERS=${PERSISTENT_PEERS:-""}
14+
FINAL_GENESIS_TXS_SHEET="/gnoroot/gno.land/genesis/genesis_txs.jsonl"
1415

15-
echo "" >> /gnoroot/gno.land/genesis/genesis_txs.jsonl
16+
echo "" >> $FINAL_GENESIS_TXS_SHEET
1617
echo "" >> /gnoroot/gno.land/genesis/genesis_balances.jsonl
17-
cat "${GENESIS_BACKUP_FILE}" >> /gnoroot/gno.land/genesis/genesis_txs.jsonl
18+
cat "${GENESIS_BACKUP_FILE}" >> $FINAL_GENESIS_TXS_SHEET
1819
cat "${GENESIS_BALANCES_FILE}" >> /gnoroot/gno.land/genesis/genesis_balances.jsonl
1920

2021
# Initialize the secrets
@@ -35,6 +36,7 @@ gnoland config set p2p.persistent_peers "${PERSISTENT_PEERS}"
3536
# reading and piping to the gnoland genesis commands
3637
exec gnoland start \
3738
--chainid="${CHAIN_ID}" \
39+
--genesis-txs-file="${FINAL_GENESIS_TXS_SHEET}" \
3840
--lazy \
3941
--skip-failing-genesis-txs \
4042
--skip-genesis-sig-verification

0 commit comments

Comments
 (0)