From 2922ef368b70545aa2692d4a72d38e4781785542 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Walter?= Date: Wed, 9 Oct 2024 11:08:54 +0200 Subject: [PATCH] dev: enforce kakarot chain id log to use 7 bytes' (#1481) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This change is [Reviewable](https://reviewable.io/reviews/kkrt-labs/kakarot/1481) --- kakarot_scripts/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kakarot_scripts/constants.py b/kakarot_scripts/constants.py index 8f9408c6e..d75aa4b09 100644 --- a/kakarot_scripts/constants.py +++ b/kakarot_scripts/constants.py @@ -351,5 +351,5 @@ def __next__(self) -> Account: logger.info( f"ℹ️ Connected to Starknet chain id {bytes.fromhex(f'{ChainId.starknet_chain_id.value:x}')} " - f"and Kakarot chain id {bytes.fromhex(f'{ChainId.chain_id.value:x}')}" + f"and Kakarot chain id {bytes.fromhex(f'{ChainId.chain_id.value:014x}')}" )