Skip to content
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

feat: Slashing UAM #248

Merged
merged 97 commits into from
Feb 6, 2025
Merged

feat: Slashing UAM #248

merged 97 commits into from
Feb 6, 2025

Conversation

supernovahs
Copy link
Collaborator

@supernovahs supernovahs commented Jan 23, 2025

Fixes #

What Changed?

Slashing UAM

  • Adds RegistrationType in data encoding in register operator
  • Uses 2 different container , one for m2 quorum using rewardsv2 state, second for operator set using testnet slashing
  • modified el writer and reader to know if the case if m2 supported or not.
  • fixed a bug in is_operator_registered_with_operator_set in elreader where if operator set id is 0 , it assumes its m2 state
  • RewardsV2 bindings and Slashing dev bindings support in separate folders

Reviewer Checklist

  • New features are tested and documented
  • PR updates the changelog with a description of changes
  • PR has one of the changelog-X labels (if applies)
  • Code deprecates any old functionality before removing it

@supernovahs supernovahs changed the title optimizer = true, update rev for middleware feat:Slashing UAM Jan 23, 2025
@@ -0,0 +1,205 @@
# #!/usr/bin/env sh

# # Exit if any command fails
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can remove this commented code

scripts/bindings.patch Show resolved Hide resolved
@MegaRedHand MegaRedHand changed the title feat:Slashing UAM feat: Slashing UAM Feb 6, 2025
@supernovahs
Copy link
Collaborator Author

@MegaRedHand added a one liner changelog. We'll add detailed later in another PR? since other PRs are more priority?

@MegaRedHand
Copy link
Contributor

Yes! Let's leave the changelog details for another PR

Copy link
Contributor

@MegaRedHand MegaRedHand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment on lines +59 to +60
.PHONY: copy-env
copy-env:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea!

@supernovahs supernovahs merged commit 25979de into dev Feb 6, 2025
11 checks passed
@MegaRedHand MegaRedHand deleted the nova/slashing_uam branch February 6, 2025 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-breaking [changelog] PR changes existing functionality changelog-fixed [changelog] PR fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants