-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge-ready protocol service pack π¦ #401
Conversation
The new event logs account addr, amount and shares amount.
Sometimes we should user shares transfers instead of token transfers to avoid rounding issues. Introduce function and new `TransferShares` event. Note: also emits conventional `Transfer` event for the compatibility with existing indexing off-chain solutions subscribed to transfers.
Add tests on transfer itself and on the logging `Transfer` and `TransferShares` events.
to make less difficult to track used keys
`transfer` and `transferShares` methods should emit same events sequence: - Transfer - TransferShares.
Interface file should contain all events definitions.
It is a controversary decision. Friday devteam sync planned for the resolution.
Fix COMMENTS from MixBytes audit of DepositSecurityModule
refactor: rename withdrawal limit points to withdrawal limit for consistency
Folks, thank you all for the reviews and fixes! I really appreciate your help and suggestions! |
Add more meaningful API for staking limits Rename STAKING_PAUSE_ROLE to STAKING_CONTROL_ROLE [skip ci] Tests needs to be updated
update stake limit tests
Fix: review/mev lips round2
Here we are, just have merged all the changes from the previous review round π |
* @notice Allows the contract to receive ETH | ||
* @dev execution layer rewards may be sent as plain ETH transfers | ||
*/ | ||
receive() external payable { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NB: gas cost of receive
with the event is 22111 (see tx on goerli). The cost w/o event was 21055
Rename STAKE_LIMIT_POSITION to STAKING_STATE_POSITION. Remove extra comma. Better comments for the `distributeFee` func.
Feat: Add changes for the 3rd review round
Let's move on π |
Merge-ready protocol service pack π¦
π¦ Merge-ready protocol service pack
There is an implementation for the following Lido improvement proposals:
Context