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

test: slashing release #374

Open
wants to merge 13 commits into
base: dev
Choose a base branch
from
Open

test: slashing release #374

wants to merge 13 commits into from

Conversation

0xClandestine
Copy link
Member

No description provided.

0xClandestine and others added 10 commits February 6, 2025 13:46
* test: add utils for testing

* chore: fix remappings

* chore: formatting

* test: add back deployment lib and use operator keys libs

* fix: core deployment lib for tests

* test: clean up config structs for helper lib

* chore: forge fmt

* chore: refactor to avoid stack too deep
…stry coordinator (#384)

* update references from old registryCoordinator to new slashingRegistryCoordinator in SocketRegistry

* update references from old registryCoordinator to new slashingRegistryCoordinator in EjectionManager

* fix: forge fmt

* fix: update IEjectionManager to use new SlashingRegistryCoordinator

* fix: update error string in SocketRegistry unit test
* chore: start refactor

* fix: quorum creation

* fix: bug in registration

* feat: refactor avs sync

* chore: respond to review

* Update src/SlashingRegistryCoordinator.sol

Co-authored-by: Michael Sun <[email protected]>

* fix: m2 registration validity

* feat: lazy migration

* test: fixes and refactor of weightOfOperators

* feat: add updateOperators

* fix: tests and `_afterDeregisterOperator` hook

* refactor: remove operatorSetEnabled as require

* chore: fmt

* chore: fmt test files

* fix: failing ci test

* chore: test fmt

---------

Co-authored-by: Michael Sun <[email protected]>
Co-authored-by: Michael Sun <[email protected]>
* fix: remappings

* fix: remove unused OnlySlasher error (#376)

* refactor: VetoableSlasher (#377)

* chore: use inheritdoc for SlashingRegCoord (#378)

* test: slasher contracts and add some natspec

* chore: unneeded comment

* chore: redundant comments

* test: more extensive setup for slashOperator

* test: integrate core deployment lib

* test: unit test slashing

* test: vetoable slasher

* chore: forge fmt

* chore: format and solve interfaces with inheritdoc

---------

Co-authored-by: clandestine.eth <[email protected]>
Co-authored-by: Noel <[email protected]>
Co-authored-by: Yash Patil <[email protected]>
* test: improve signature checker coverage

* test: improve operator state retriever coverage

* test: improve service manager base coverage

* test: improve service manager base coverage

* chore: forge fmt

* test: improve service manager base coverage

* fix: ci

* test: improve service manager base coverage

* chore: forge fmt
* test: add coverage

* test: add coverage

* chore: forge fmt
nadir-akhtar and others added 3 commits February 7, 2025 12:20
* fix: SocketRegistry-related fixes

* chore: forge fmt + tweak docstrings

* chore(test): remove unnecessary socket registry mock
* chore: refactor middleware deployment for tests

* chore: remove extra vm command

* chore: refactor and cleanup naming

* chore: retrigger ci
* refactor: move forge intense workflow into separate file

* refactor: remove and modify some small details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants