diff --git a/docker/templates/bridge-history-config.json b/docker/templates/bridge-history-config.json index de8f0a6..5ae1a9e 100644 --- a/docker/templates/bridge-history-config.json +++ b/docker/templates/bridge-history-config.json @@ -2,7 +2,7 @@ "L1": { "confirmation": 0, "endpoint": null, - "startHeight": 0, + "startHeight": null, "blockTime": 12, "fetchLimit": 16, "MessageQueueAddr": null, diff --git a/scripts/deterministic/GenerateConfigs.s.sol b/scripts/deterministic/GenerateConfigs.s.sol index 3cb921c..c7aa4a1 100644 --- a/scripts/deterministic/GenerateConfigs.s.sol +++ b/scripts/deterministic/GenerateConfigs.s.sol @@ -203,6 +203,7 @@ contract GenerateBridgeHistoryConfig is DeployScroll { // others vm.writeJson(BRIDGE_HISTORY_DB_CONNECTION_STRING, BRIDGE_HISTORY_CONFIG_PATH, ".db.dsn"); + vm.writeJson(vm.toString(L1_CONTRACT_DEPLOYMENT_BLOCK), BRIDGE_HISTORY_CONFIG_PATH, ".L1.startHeight"); } }