diff --git a/dev/generate-network-files.sh b/dev/generate-network-files.sh
index f3fa438..b6d5663 100755
--- a/dev/generate-network-files.sh
+++ b/dev/generate-network-files.sh
@@ -19,6 +19,7 @@ for deployment in "$repo_root_dir/broadcast/"*"/"*"/"*".json"; do
 done \
   | # Then, all these single-contract single-chain-id networks.jsons are merged. Note: in case the same contract is
     # deployed twice in the same script run, the last deployed contract takes priority.
-    jq --sort-keys --null-input 'reduce inputs as $item ({}; . *= $item)'
-
-# Todo: handle case where the same contract is deployed on multiple chains.
\ No newline at end of file
+    # If the same contract is deployed twice in different runs, the address in the file path that comes latest in
+    # alphabetical order takes priority. For example, a contract in `broadcast/Deployment10/*` is overwritten by
+    # one with the same name from `broadcast/Deployment2/*`.
+    jq --sort-keys --null-input 'reduce inputs as $item ({}; . *= $item)'
\ No newline at end of file