diff --git a/scripts/gen_localnet.py b/scripts/gen_localnet.py index 29baa5a4088..c264c725ec6 100755 --- a/scripts/gen_localnet.py +++ b/scripts/gen_localnet.py @@ -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)