Skip to content

Commit

Permalink
Add bootstrap mode modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
kanewallmann committed Apr 22, 2024
1 parent 07e4881 commit 84ac198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/contract/dao/protocol/RocketDAOProtocol.sol
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ contract RocketDAOProtocol is RocketBase, RocketDAOProtocolInterface {
}

/// @notice Bootstrap mode - Enables on-chain governance proposals
function bootstrapEnableGovernance() override external onlyGuardian onlyLatestContract("rocketDAOProtocol", address(this)) {
function bootstrapEnableGovernance() override external onlyGuardian onlyBootstrapMode onlyLatestContract("rocketDAOProtocol", address(this)) {
setUint(keccak256(abi.encodePacked("protocol.dao.enabled.block")), block.number);
emit BootstrapProtocolDAOEnabled(block.number, block.timestamp);
}
Expand Down

0 comments on commit 84ac198

Please sign in to comment.