Skip to content

Commit ce750a2

Browse files
authored
Merge pull request #506 from bane-labs/remove-contract-upgrade-setter
contracts: remove unused initializers after Mainnet upgrade
2 parents a674ed2 + 2212396 commit ce750a2

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

contracts/solidity/Governance.sol

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,6 @@ contract Governance is IGovernance, ReentrancyGuard, GovProxyUpgradeable {
9696
}
9797
}
9898

99-
// Only for Governance upgrading for the new KeyManagement contract
100-
function setInitialSharePeriodDuration(uint _sharePeriodDuration) external onlyAdmin {
101-
sharePeriodDuration = _sharePeriodDuration;
102-
}
103-
10499
receive() external payable nonReentrant {
105100
if (msg.sender != GOV_REWARD) revert Errors.SideCallNotAllowed();
106101
address[] memory validators = currentConsensus;

contracts/solidity/Policy.sol

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,6 @@ contract Policy is IPolicy, GovernanceVote, GovProxyUpgradeable {
4141
}
4242
}
4343

44-
// Only for Policy upgrading for the new Envelope transactions
45-
function setInitialEnvelopeLimits(
46-
uint256 _maxEnvelopesPerBlock,
47-
uint256 _maxEnvelopeGasLimit
48-
) external onlyAdmin {
49-
maxEnvelopesPerBlock = _maxEnvelopesPerBlock;
50-
maxEnvelopeGasLimit = _maxEnvelopeGasLimit;
51-
}
52-
5344
function addBlackList(
5445
address _addr
5546
)

0 commit comments

Comments
 (0)