-
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
base: dev
Are you sure you want to change the base?
Slashing #171
Conversation
This reverts commit b8792b4.
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.
Co-authored-by: supernovahs <supernovahs@proton.me>
No description provided.