Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use the genesis/genesis_txs.jsonl for the portal loop #3475

Merged
merged 1 commit into from
Jan 9, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions misc/loop/scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ GENESIS_BALANCES_FILE=${GENESIS_BALANCES_FILE:-""}

SEEDS=${SEEDS:-""}
PERSISTENT_PEERS=${PERSISTENT_PEERS:-""}
FINAL_GENESIS_TXS_SHEET="/gnoroot/gno.land/genesis/genesis_txs.jsonl"

echo "" >> /gnoroot/gno.land/genesis/genesis_txs.jsonl
echo "" >> $FINAL_GENESIS_TXS_SHEET
echo "" >> /gnoroot/gno.land/genesis/genesis_balances.jsonl
cat "${GENESIS_BACKUP_FILE}" >> /gnoroot/gno.land/genesis/genesis_txs.jsonl
cat "${GENESIS_BACKUP_FILE}" >> $FINAL_GENESIS_TXS_SHEET
cat "${GENESIS_BALANCES_FILE}" >> /gnoroot/gno.land/genesis/genesis_balances.jsonl

# Initialize the secrets
Expand All @@ -35,6 +36,7 @@ gnoland config set p2p.persistent_peers "${PERSISTENT_PEERS}"
# reading and piping to the gnoland genesis commands
exec gnoland start \
--chainid="${CHAIN_ID}" \
--genesis-txs-file="${FINAL_GENESIS_TXS_SHEET}" \
--lazy \
--skip-failing-genesis-txs \
--skip-genesis-sig-verification
Loading