Skip to content

Commit

Permalink
chore: emit WithdrawalDelayBlocksSet
Browse files Browse the repository at this point in the history
  • Loading branch information
8sunyuan committed Dec 4, 2023
1 parent 9bbc4bb commit 810b2a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/contracts/core/DelegationManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -758,6 +758,7 @@ contract DelegationManager is Initializable, OwnableUpgradeable, Pausable, Deleg
_withdrawalDelayBlocks <= MAX_WITHDRAWAL_DELAY_BLOCKS,
"DelegationManager._initializeWithdrawalDelayBlocks: _withdrawalDelayBlocks cannot be > MAX_WITHDRAWAL_DELAY_BLOCKS"
);
emit WithdrawalDelayBlocksSet(withdrawalDelayBlocks, _withdrawalDelayBlocks);
withdrawalDelayBlocks = _withdrawalDelayBlocks;
}

Expand Down
2 changes: 1 addition & 1 deletion src/test/unit/DelegationUnit.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ contract DelegationManagerUnitTests is EigenLayerUnitTestSetup, IDelegationManag
address defaultStaker = cheats.addr(uint256(123_456_789));
address defaultOperator = address(this);

uint256 initializedWithdrawalDelayBlocks = 0;
uint256 initializedWithdrawalDelayBlocks = 50400;

IStrategy public constant beaconChainETHStrategy = IStrategy(0xbeaC0eeEeeeeEEeEeEEEEeeEEeEeeeEeeEEBEaC0);

Expand Down

0 comments on commit 810b2a1

Please sign in to comment.