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: allocation delay #740

Closed
wants to merge 77 commits into from

Conversation

0xClandestine
Copy link
Member

No description provided.

ypatil12 and others added 30 commits August 15, 2024 14:34
* feat: operator set scaffold

* fix: impl/storage compile errors; pending updating of tests

* chore: `forge fmt`

* fix: `OperatorSet` struct misuse

* fix: comment

* chore: verbose use of `OperatorSet`

* test: `registerOperatorToOperatorSet`

* feat: `registerOperatorToOperatorSets`

Enables registering multiple operator sets in a single call.

* chore: `forge fmt`

* feat: interface changes

* fix: operator set digest

* fix: `OPERATOR_SET_REGISTRATION_TYPEHASH`

* chore: `forge fmt`

* test: wrong avs using signature

* fix: optimize for SSTOREs

* test: `deregisterOperatorFromOperatorSets`

* chore: rename `operatorSetStrategies`

* test: `addStrategiesToOperatorSet`

* test: `removeStrategiesFromOperatorSet`

* test: more coverage

* chore: improve natspec

* WIP: simp mode

* WIP: simp mode

* WIP: simp mode

- includes interface change, specifically the `StandbyParams` structure. `id` isn't needed for storage.

* test: simp mode

* test: simp mode

* test: simp mode

* refactor: simp mode storage

* Revert "refactor: simp mode storage"

This reverts commit 3b0450e.

* Reapply "refactor: simp mode storage"

This reverts commit 5f90d78.

* feat: simp mode

* fix(optimize): salt cancellation

- remove check

* test: improvements

* test: improvements

* fix: move `isOperatorSetAVS` update out of loop

ooops

* fix: standby update typehash

* test: cleanup

* fix: move mutation out of loop

* nit: cleanup

* fix: remove unused events

---------

Co-authored-by: clandestine.eth <96172957+0xClandestine@users.noreply.github.com>
#636)

* feat: bring back full storage; segregate events

* feat: make operator set creation w/arrays; update interface

* fix: update natspec

* feat: update force dereg func

* chore: fmt

* feat: operator set migration (#637)

* feat: add migration

* test: add unit tests for migration

* chore: format

* fix: check operator set avs in parent func

* fix: compilation

* chore: format

* feat: bring back opertor set struct (#639)
* feat: operator commission bips

configured with a delay

* build: bindings

* fix: interfaces and comments

* fix: storage gap and comments

* chore: tests cleanup

* build: bindings

* chore: `forge fmt src/contracts`

* feat: `operatorCommissionUpdates` length getter

* fix: remove unused imports

* fix: optimizations

* chore: uncheckeds and remove dup view

* build: bindings

* chore: format

---------

Co-authored-by: clandestine.eth <96172957+0xClandestine@users.noreply.github.com>
also pushed updated bindings
* feat: track total members and sets

* test: track total members and sets

* fix: review changes

* refactor: review changes

* test: register multiple sets

* test: deregister multiple sets

* test: fuzz set creation
* feat: operator set rewards

* chore: forge fmt

* feat: add operator set retroactive length & genesis timestamp

* docs: add deprecation note and fix typo

* build: bindings

* feat: add tests

* chore: bindings

---------

Co-authored-by: clandestine.eth <96172957+0xClandestine@users.noreply.github.com>
Co-authored-by: Michael Sun <michaelsun97@gmail.com>
8sunyuan and others added 4 commits September 9, 2024 09:46
* feat: split to AllocationManager

* chore: forge fmt src/contracts

* fix: remove unused imports

* fix: storage gap

* fix: storage gap

* fix: unused import
* wip: strings -> custom errors

* chore: upgrade solc -> 0.8.27

* fix: compile warnings

* refactor: alphabetical order errors

* wip: strings -> custom errors

* refactor: alphabetical order errors

* wip: strings -> custom errors

* wip: strings -> custom errors

* chore: bump pragma -> ^0.8.27

* feat: review reconciliations

* feat: review reconciliations

* chore: forge fmt src/contracts

* feat: review reconciliations

* feat: review reconciliations
@8sunyuan
Copy link
Collaborator

Need to remove the allocation delay logic as well in the DelegationManager

* feat: legacy withdrawals support

* feat: remove thirdpartytransfersforbidden

* chore: fmt core and cleanup
@8sunyuan 8sunyuan mentioned this pull request Sep 11, 2024
3 tasks
@8sunyuan 8sunyuan force-pushed the slashing-magnitudes branch 4 times, most recently from 33c32ac to 835a62f Compare September 12, 2024 22:01
@gpsanant gpsanant mentioned this pull request Sep 13, 2024
@0xClandestine 0xClandestine deleted the feat/allocation-delay branch January 9, 2025 16:25
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.

5 participants