-
Notifications
You must be signed in to change notification settings - Fork 72
Config rm #775
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Config rm #775
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| rm -rf ./deployFile.json && | ||
| yarn hardhat deploy --storagepath ./deployFile.json --network local && | ||
| yarn hardhat initialize --storagepath ./deployFile.json --network local && | ||
| yarn hardhat fund --network local && | ||
| yarn hardhat register --storagepath ./deployFile.json --network local | ||
| yarn hardhat deploy --storagepath ./deployFile.json --network l1 && | ||
| yarn hardhat initialize --storagepath ./deployFile.json --network l1 && | ||
| yarn hardhat fund --network l1 && | ||
| yarn hardhat register --storagepath ./deployFile.json --network l1 |
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -222,10 +222,9 @@ task("rollup-import-genesis-batch") | |
| // import genesis batch | ||
| const batchHeader: string = config.batchHeader | ||
|
|
||
| // submitter and challenger | ||
| const submitter: string = config.rollupProposer | ||
| //challenger | ||
| const challenger: string = config.rollupChallenger | ||
| if (!ethers.utils.isAddress(submitter) || !ethers.utils.isAddress(challenger)) { | ||
| if (!ethers.utils.isAddress(challenger)) { | ||
|
Comment on lines
+225
to
+227
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Verification agent 🧩 Analysis chainRepo-wide sweep for removed submitter config. Confirm there are no lingering references to 🏁 Script executed: #!/bin/bash
# From repo root
set -euo pipefail
echo "Searching for deprecated submitter config/variables..."
rg -nP -C2 '\brollupProposer\b|\bsubmitter\b'
echo "Where is rollupChallenger used?"
rg -nP -C3 '\brollupChallenger\b' contractsLength of output: 70406 Remove deprecated rollupProposer config from deploy files 🤖 Prompt for AI Agents |
||
| console.error("please check your address") | ||
| return "" | ||
| } | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
Same validation hardening for challenger.
Mirror the checksum and zero-address guard here.
📝 Committable suggestion
🤖 Prompt for AI Agents