-
Notifications
You must be signed in to change notification settings - Fork 16
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
Slashing #171
Slashing #171
Conversation
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.
LGTM, but some functions from the Go SDK are missing:
GetOperatorAVSSplit
GetOperatorPISplit
SetOperatorAVSSplit
SetOperatorPISplit
ProcessClaims
ForceDeregisterFromOperatorSets
NewRemovePermissionTx
NewSetPermissionTx
NewAcceptAdminTx
NewAddPendingAdminTx
NewRemoveAdminTx
NewRemovePendingAdminTx
Also, some reader functions were implemented on the writer:
GetDistributionRootsLength
CurrRewardsCalculationEndTimestamp
GetCurrentClaimableDistributionRoot
GetRootIndexFromHash
GetCumulativeClaimed
CheckClaim
I will work on this on different PRs to avoid muddying this PR.
…#191) This PR moves from the EL writer to the reader, these functions: - [x] GetDistributionRootsLength - [x] CurrRewardsCalculationEndTimestamp - [x] GetCurrentClaimableDistributionRoot - [x] GetRootIndexFromHash - [x] GetCumulativeClaimed - [x] CheckClaim
@supernovahs I made some changes to this PR before branching. Here's the diff so you can review those: |
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.
left a comment regarding remapping
This PR adds functions: - `GetOperatorAVSSplit` - `GetOperatorPISplit` - `SetOperatorAVSSplit` - `SetOperatorPISplit`
Regarding the missing functions, we found that We also skipped the |
This PR adds the missing `process_claims` function to the writer and tests for both claim functions.
This PR merges changes from `dev` to `slashing`, and regenerates the bindings with `make bindings` (after removing the old ones). --------- Co-authored-by: Tomas <[email protected]> Co-authored-by: Pablo Deymonnaz <[email protected]> Co-authored-by: supernovahs <[email protected]> Co-authored-by: supernovahs <[email protected]>
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.
couple small nits
we can merge this for now i think . and make a new PR for more upcoming changes in eigenlayer-middleware/contracts |
Closes #182