test: unit tests for legacy registry coordinator#392
Closed
stevennevins wants to merge 16 commits intodevfrom
Closed
test: unit tests for legacy registry coordinator#392stevennevins wants to merge 16 commits intodevfrom
stevennevins wants to merge 16 commits intodevfrom
Conversation
* 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
* 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.