Skip to content

Commit

Permalink
Merge pull request #2462 from anoma/tiago/localnet-genesis-time
Browse files Browse the repository at this point in the history
Set genesis time in localnets to current time
  • Loading branch information
tzemanovic authored Jan 30, 2024
2 parents 7c0c2fe + fdf2f0c commit a055747
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/gen_localnet.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import argparse
import datetime
import sys
import os
import subprocess
Expand Down Expand Up @@ -120,7 +121,7 @@ def edit_parameters(params_toml, **kwargs):
# Run namadac utils init_network with the correct arguments
print('Running namadac utils init_network')
CHAIN_PREFIX='local'
GENESIS_TIME='2021-12-31T00:00:00Z'
GENESIS_TIME = datetime.datetime.now(datetime.timezone.utc).isoformat()
TEMPLATES_PATH=localnet_dir
WASM_CHECKSUMS_PATH=namada_dir + '/wasm/checksums.json'
WASM_PATH=namada_dir + '/wasm/'
Expand Down

0 comments on commit a055747

Please sign in to comment.