diff --git a/contracts/interfaces/IStakeManager.sol b/contracts/interfaces/IStakeManager.sol index 070d7ea..6dfdbe2 100644 --- a/contracts/interfaces/IStakeManager.sol +++ b/contracts/interfaces/IStakeManager.sol @@ -19,11 +19,11 @@ interface IStakeManager { uint256 amount ); - /// Emitted once a stake is scheduled for withdrawal + /// Emitted when stake or unstake delay are modified event StakeLocked( address indexed account, uint256 totalStaked, - uint256 withdrawTime + uint256 unstakeDelaySec ); /// Emitted once a stake is scheduled for withdrawal diff --git a/reports/gas-checker.txt b/reports/gas-checker.txt index 696f8df..09c7d71 100644 --- a/reports/gas-checker.txt +++ b/reports/gas-checker.txt @@ -12,24 +12,24 @@ ╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢ ║ simple - diff from previous │ 2 │ │ 43573 │ 12528 ║ ╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢ -║ simple │ 10 │ 470485 │ │ ║ +║ simple │ 10 │ 470461 │ │ ║ ╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢ -║ simple - diff from previous │ 11 │ │ 43768 │ 12723 ║ +║ simple - diff from previous │ 11 │ │ 43672 │ 12627 ║ ╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢ ║ simple paymaster │ 1 │ 84411 │ │ ║ ╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢ -║ simple paymaster with diff │ 2 │ │ 42586 │ 11541 ║ +║ simple paymaster with diff │ 2 │ │ 42598 │ 11553 ║ ╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢ -║ simple paymaster │ 10 │ 468014 │ │ ║ +║ simple paymaster │ 10 │ 468002 │ │ ║ ╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢ -║ simple paymaster with diff │ 11 │ │ 42770 │ 11725 ║ +║ simple paymaster with diff │ 11 │ │ 42734 │ 11689 ║ ╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢ -║ big tx 5k │ 1 │ 179846 │ │ ║ +║ big tx 5k │ 1 │ 179822 │ │ ║ ╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢ -║ big tx - diff from previous │ 2 │ │ 144922 │ 17627 ║ +║ big tx - diff from previous │ 2 │ │ 144934 │ 17639 ║ ╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢ -║ big tx 5k │ 10 │ 1489665 │ │ ║ +║ big tx 5k │ 10 │ 1489629 │ │ ║ ╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢ -║ big tx - diff from previous │ 11 │ │ 146403 │ 19108 ║ +║ big tx - diff from previous │ 11 │ │ 146439 │ 19144 ║ ╚════════════════════════════════╧═══════╧═══════════════╧════════════════╧═════════════════════╝