Repository navigation
fix(contracts): require BOOTSTRAP_MULTISIG on mainnet deploys - #3007
Merged
alpergundogdu merged 1 commit intoNov 26, 2026
Merged
Conversation
Without a bootstrap multisig, DeployProtocol seats DecdnGovernor as the Timelock's proposer at genesis, when proposalThreshold and quorum are zero. On Ethereum mainnet `_deployTargets` now reverts `BootstrapMultisigRequired` unless BOOTSTRAP_MULTISIG is set, next to the existing emergency-multisig guard. Testnets keep it optional. Closes #2773 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Gas snapshotNo gas changes vs base. |
alpergundogdu
deleted the
claude/2773-require-bootstrap-multisig-2dd57b
branch
November 26, 2026 17:49
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
§3 of #2773. Without
BOOTSTRAP_MULTISIG,DeployProtocolseatsDecdnGovernoras the Timelock's proposer at genesis, whenproposalThresholdandquorumare both zero (empty served-bytes window). The first operator with any vote weight could pass a proposal alone._deployTargetsrevertsBootstrapMultisigRequired()on Ethereum mainnet (chain id 1) whenbootstrapMultisigis unset. It sits in the sameETHEREUM_MAINNET_CHAIN_IDblock as the emergency-multisig guard and fires before any target deploys. Testnets (Arbitrum Sepolia, Ethereum Sepolia, anvil) keep the optional default.DeployProtocol.s.sol/BaseProtocolDeploy.s.sol, ADR 009 § Bootstrap-multisig phase andcontracts/README.mdstate the mainnet requirement..gas-snapshotregenerated (test-contract dispatch shifts only).The other sections: §1 was fixed by #2833; §2 (burner pauser) no longer applies, since
ActivateBuyback.s.soland the burner are gone fromcontracts/script/.Closes #2773
Test plan
forge fmt --check && FOUNDRY_PROFILE=ci forge build --sizes --deny warnings && forge test(645 passed)slither . --config-file slither.config.json(exit 0)FOUNDRY_PROFILE=ci forge snapshot --snap .gas-snapshotanvil-e2ecompile check was not run.🤖 Generated with Claude Code