Skip to content

Commit 51f9917

Browse files
authored
fix: generate startHeight for bridge-history config (#18)
1 parent 45bcd6c commit 51f9917

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docker/templates/bridge-history-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"L1": {
33
"confirmation": 0,
44
"endpoint": null,
5-
"startHeight": 0,
5+
"startHeight": null,
66
"blockTime": 12,
77
"fetchLimit": 16,
88
"MessageQueueAddr": null,

scripts/deterministic/GenerateConfigs.s.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ contract GenerateBridgeHistoryConfig is DeployScroll {
203203

204204
// others
205205
vm.writeJson(BRIDGE_HISTORY_DB_CONNECTION_STRING, BRIDGE_HISTORY_CONFIG_PATH, ".db.dsn");
206+
vm.writeJson(vm.toString(L1_CONTRACT_DEPLOYMENT_BLOCK), BRIDGE_HISTORY_CONFIG_PATH, ".L1.startHeight");
206207
}
207208
}
208209

0 commit comments

Comments
 (0)