Skip to content

Comments

test: unit tests for legacy registry coordinator#392

Closed
stevennevins wants to merge 16 commits intodevfrom
test/registry-coordinator-unit-tests
Closed

test: unit tests for legacy registry coordinator#392
stevennevins wants to merge 16 commits intodevfrom
test/registry-coordinator-unit-tests

Conversation

@stevennevins
Copy link
Contributor

No description provided.

0xClandestine and others added 14 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 <35479365+8sunyuan@users.noreply.github.com>

* 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 <35479365+8sunyuan@users.noreply.github.com>
Co-authored-by: Michael Sun <michaelsun97@gmail.com>
* 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 <96172957+0xClandestine@users.noreply.github.com>
Co-authored-by: Noel <103109678+neutiyoo@users.noreply.github.com>
Co-authored-by: Yash Patil <40046473+ypatil12@users.noreply.github.com>
* 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
* 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
@stevennevins stevennevins changed the base branch from mainnet to test/slashing-release February 10, 2025 17:16
8sunyuan and others added 2 commits February 12, 2025 14:19
* test: integration with slashingRegistryCoordinator

* fix: forcederegistration try catch edge cases

* feat: abstract internally

* fix: forcederegister

* test: integration and unit test fixes

* fix: registryCoordinator and forcederegistration

* refactor: _updateStakesAndDeregisterLoiterers

* chore: fmt

* feat: configurable veto delay (#394)

* feat: configurable veto delay

* chore: move things internal and fix tests

* chore: fmt

* chore: move calldata to memory

* feat: move addresses to constructor (#397)

* feat: add nextRequestId to interface

* fix: comments

* fix: tests

* chore: forge fmt

---------

Co-authored-by: gpsanant <gpsanant@gmail.com>
Co-authored-by: Gautham Anant <32277907+gpsanant@users.noreply.github.com>
Co-authored-by: steven <steven.nevins.js@gmail.com>
Base automatically changed from test/slashing-release to dev February 21, 2025 21:54
@stevennevins stevennevins deleted the test/registry-coordinator-unit-tests branch March 31, 2025 12:28
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.

8 participants