Skip to content

Commit

Permalink
gen_localnet.py: Fix genesis time string
Browse files Browse the repository at this point in the history
  • Loading branch information
sug0 committed Jun 7, 2024
1 parent 398b315 commit 43b081c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/gen_localnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ def init_network(
die(f"Cannot find wasm directory that is not empty at {wasm_path}")

chain_prefix = "local"
genesis_time = datetime.datetime.now(datetime.timezone.utc).isoformat()
genesis_time = datetime.datetime.now(datetime.timezone.utc).strftime(
"%Y-%m-%dT%H:%M:%SZ"
)

templates = setup_templates(working_directory, args)

Expand Down

0 comments on commit 43b081c

Please sign in to comment.