Skip to content

Commit

Permalink
fix: generate startHeight for bridge-history config
Browse files Browse the repository at this point in the history
  • Loading branch information
yiweichi committed Jul 29, 2024
1 parent ffa830b commit 6cde1a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docker/templates/bridge-history-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"L1": {
"confirmation": 0,
"endpoint": null,
"startHeight": 0,
"startHeight": null,
"blockTime": 12,
"fetchLimit": 16,
"MessageQueueAddr": null,
Expand Down
1 change: 1 addition & 0 deletions scripts/deterministic/GenerateConfigs.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
}

Expand Down

0 comments on commit 6cde1a7

Please sign in to comment.