Commit 11b0061
feat: slashing release (#311)
* Update LICENSE (#285)
* chore: upgrade core to target operator set release
* chore: update mock contracts with latest interfaces (#293)
* chore: update mock contracts with latest interfaces
* chore: bump to latest operator set release commits
* chore: fixes for depedency bump
* feat: operator set migration-1-migration (#286)
* chore: checkout migration branch
* feat: implement migration function
* chore: update to release branch
* feat: operator set creation for each quorum number
* feat: migration with merge sorted array of operators and their quorums
* feat: operator set migration working
* chore: revert change from testing
* chore: revert change from testing
* chore: remove extra logging and commented out asserts
* chore: remove unused file
* fix: remove console logs
* refactor: to view functions
* chore: nit and remove unneeded function
* fix: remove duplication of looping for all the operators
* chore: remove comment
* feat: allow migrating in two transactions
* feat: finalization of migration
* chore: use string errors and fix migration issues
* chore: rename
* feat: use library for merge sort
* test: fuzz view function
* feat: operator set migration-2-create quorum (#287)
* chore: checkout migration branch
* feat: implement migration function
* chore: update to release branch
* feat: operator set creation for each quorum number
* feat: migration with merge sorted array of operators and their quorums
* feat: operator set migration working
* chore: revert change from testing
* chore: revert change from testing
* chore: remove extra logging and commented out asserts
* chore: remove unused file
* fix: remove console logs
* feat: create quorum post operator set migration
* test(wip): create quorum test adds new operator set
* test: migration create quorum
* refactor: to view functions
* chore: nit and remove unneeded function
* fix: remove duplication of looping for all the operators
* chore: remove comment
* feat: allow migrating in two transactions
* feat: finalization of migration
* chore: use string errors and fix migration issues
* chore: rename
* feat: use library for merge sort
* test: fuzz view function
* fix: updates from merge
* chore: use interface
* chore: bump operator set release dependency in core
* chore: updates from dependency bump
* feat: add natspec
* docs: add natspec
* feat: add checks operator was registered for quorums when migrating
* fix: resolve code size issue in RegistryCoordinator
* chore: update to latest core (#299)
* chore: update to latest eigenlayer-contracts feat/operator-set-release
* chore: add method to mock
* feat(op sets): update stakes when forceUnregister (#300)
* feat: update stakes handle direct deregistration on AVSDirectory
* test: update stake for quorum if operator directly unregistered from the AVSDirectory
* chore: simplify setup
* chore: simplify setup
* chore: make service manager immutable on stakeRegistry
* feat(op sets): register and deregister (#301)
* feat: register and deregister to operator sets
* fix: bytecode wrangling
* chore: shorter errors to reduce bytecode
* test: register after migration
* chore: remove stale todos
* chore: add back commented line
* chore: remain consistent with m2 events
* fix: side effect of merge from _deregister function
* fix: bytecode massaging
* chore: rename for clarity
* chore: remove comments and whitespace
* docs: add natspec to the library
* feat(op sets): upgrade and migrate script (#303)
* feat: upgrade and test pre prod upgrade and migration
* fix: add param introduced in merge
* chore: bump slashing core dependency (#312)
* chore: bump to slashing branch
* chore: bump compiler version
* fix: dep interface changes
* fix: compiler errors from interface changes and type changes
* fix: compiler errors
* chore: bump dependencies
* chore: bump core dependency and resolve issues
* chore: bump core dependency and fix compiler errors
* feat: integrate AllocationManager
* feat: add a slashing permission to the service manager
* chore: remove unneeded casting
* feat: implement a slasher permission and forward call to AllocationManager
* feat: add simiple slasher starting point
* chore: bump slashing magnitudes
* chore: bump core slashing-magnitudes branch
* feat: slasher templates / examples (#310)
* chore: bump to slashing branch
* chore: bump compiler version
* fix: dep interface changes
* fix: compiler errors from interface changes and type changes
* fix: compiler errors
* chore: bump dependencies
* chore: bump core dependency and resolve issues
* chore: bump core dependency and fix compiler errors
* feat: integrate AllocationManager
* feat: add a slashing permission to the service manager
* chore: remove unneeded casting
* feat: implement a slasher permission and forward call to AllocationManager
* feat: add simiple slasher starting point
* feat: slashers
* chore: change around slashed event
* fix: call dm
* feat: add proposal mechanism for updating slasher
* fix: set to completed instead of delete
* chore: use struct instead of params directly
* chore: clean up params more
* chore: simplify and organize files
* chore: cleanup logic and couple event with internal func
* fix: pass correct params
* chore: organize and add interface
* chore: nits
* chore: cleanup more nits
* fix: storage gap
* chore: nits refactor
* chore: go back to fulfill being onlySlasher
* test: fixes from core updates
* fix: use delegated stake per operator set instead of per AVS
* fix: update to 14 days
* feat: configurable lookahead and stake type
* chore: remove unused test util contracts (#319)
* feat: remove both option
* chore: remove unused test util contracts
* chore: remove diff
* feat: remove both option
* fix: storage gap remove one slot (#320)
* feat: track total slashable stake and total delegated stake per quorum (#317)
* feat: remove both option
* feat: total delegated stake and total slashable stake per quorum config
* test: resolve some breaking changes to tests
* chore: move stake type to file level definition
* chore: refactor loop
* test: add unit test for slashble stake quorum init
* test: assert on state and event
* test: delegated stake quorum and assertions
* fix: use libraries with only internal vis (#324)
* fix: revert making library function vis external
* fix: signature checker internal
* feat: avs registrar registration flow changes (#318)
* feat: remove both option
* feat: total delegated stake and total slashable stake per quorum config
* test: resolve some breaking changes to tests
* chore: bump core dependency
* chore: bump dependency
* chore: bump to latest slashing mags
* fix: creation of registry coordinator
* test: wip
* feat: integrate registrar interfaces
* test: add function to delegation mock to set operator status
* test: additional test case
* chore: bumping core dep and adding UAM (#325)
* test: use permission controller mock
* chore: label fuzz tests
* test: various fixes from config changes
* chore: remove comment
* test: fix permission controlled functions
* test: fix config issue in integration tests
* test: fix avs directory initialize
* feat: wip prevent m2 registration flows after migration
* feat: registration changes part 2
* chore: add note
* fix: remove handling of forceDeregistration
* fix: fix total delegated stake usage
* fix: integration tests
* test: fix remaining integration tests
* test: add back log check
* test: add additional tests for transition to operator sets
* test: add more test cases
* feat: record m2 quorums on migration
* chore: add note about churn support
* fix: prevent operator set registration changes for m2 quorums
* feat: require strings
* chore: add dev note and add require string
* chore: bump dependency for slashing mags updates (#329)
* fix: internal slashing security review (#332)
* docs: match file and library name, and add docstrings
* docs: update error strings to match function
* style: forge fmt + moving variables around + fixing error strings
* fix: enforce max quorum count for EjectionManager
* style: more error string fixes + formatting
* fix: correctly set StakeRegistryStorage gap
* style: more error string corrections + typos
* fix: revert cases
* chore: bump core dependency to pull in latest updates
* fix: slashing review fixes (#333)
* fix: withdrawal delay check
* fix: add operator set strategies (#334)
* fix: remove registerOperatorToOperatorSet interface function
* fix: update interface functions with alm interface
* fix: operator set strategies in ALM
* chore: remove todo
* fix: add strategies by stake registry
* fix: params for deregister
* chore: remove old migration functions
* chore: check quorum exists before setting params
* fix: deregister flow for operator set quorums
* test: fix test for DM withdrawal delay blocks
* chore: update all pragmas to 0.8.27 (#336)
* feat: custom require errors for registry coordinator (#337)
* feat: custom require errors for registry coordinator
* ci: update the ci to use the correct compiler settings
* chore: bump core dependency
* chore: bump forge-std
* docs: update readme with note on slashing (#341)
* chore: bump core fix iface changes (#352)
* chore: bump dep
* fix: iface changes and param names
* feat: ci storage reports (#347)
* feat: storage reports
* fix: storage report
* fix: storage report
* fix: ci
* fix: ci
* fix: ci
* fix: ci
* fix: ci
* fix: prevent calling enable operator sets twice and use internal function for checkALM
* chore: address review comments
* refactor: custom errors in middleware (#355)
* refactor: custom errors
* fix: unit tests
* chore: review remove setStakeType
* fix: wire up stake registry to call add and rm strategies for op set
* refactor: slashing UAM (#357)
* refactor: uam
* feat: add uam interfaces
* fix: lookahead period to blocks
* fix: tests
* chore: storage report
* feat: ci forge coverage (#349)
* feat: ci forge coverage
* fix: ci
* feat: add forge fmt to ci (#363)
* feat: ci forge fmt
* chore: forge fmt
* feat: add register with churn type (#360)
* feat: add register with churn type
* fix: tests for encoded registration type
* feat: add ejector support for operator sets
* refactor: handle operator set dereg
* fix: dereg on churn from ALM if needed
* refactor: slashing registry coordinator (#361)
* refactor: slashing registry coordinator
refactor: registry coordinator
refactor: remove sm calls
fix: tests wip
* fix: integration tests
* refactor: internal functions
* fix: remove unused block
* fix: comment out test for now
* build: fmt check run only on src contracts
* fix: call SM only based on m2 quorums (#369)
* feat: update enableOperatorSets flow (#367)
* feat: update enableOperatorSets flow
* fix: dereg op check
* chore: renamed m2 quorums
* fix: msg.sender -> operator
* chore: forge fmt
* fix: tests
---------
Co-authored-by: Yash Patil <[email protected]>
* fix: commented out view (#373)
* refactor: natspec + interface changes (#364)
* refactor: natspec + interfaces
refactor: natspec + interfaces
refactor: natspec + interfaces
docs: `RegistryCoordinator` natspec
chore: forge fmt
refactor: named mapping params
docs: natspec `BLSApkRegistry`
docs: natspec `BLSApkRegistry`
docs: natspec `BLSApkRegistry`
refactor: interface structure
refactor: separate `BLSSignatureChecker` storage
refactor: rename -> `IECDSAStakeRegistry`
docs: natspec
docs: natspec `ECDSAStakeRegistry`
docs: natspec `EjectionManager` + separate storage
docs: natspec
docs: natspec `IndexRegistry`
refactor: remove `IRegistry`
chore: forge fmt
chore: make storage-report
docs: natspec
refactor: remove `ISocketUpdater`
refactor: use
refactor: remove todo
refactor: `///` -> `/**`
refactor: improve comment
refactor: rename var
refactor: improve comment
* fix: compiling - tests failing
* refactor: test passing **mostly**
* refactor: add missing gap
* refactor: natspec
* fix: test - state changes moved out of internal
* chore: forge fmt
* refactor: reorganize errors
* refactor: remove override
* refactor: note avsd
* Yash/natspec - address comments (#372)
* feat: natpsec with inheritance
* feat: storage
* chore: format
* chore: fmt
* chore: format
* fix: test
* fix: test
---------
Co-authored-by: Michael Sun <[email protected]>
Co-authored-by: Yash Patil <[email protected]>
* chore: forge fmt
* feat: storage gap on socket registry
* chore: remove unused storage; update bindings
* chore: nuke storage report script for now on ci
---------
Co-authored-by: Gautham Anant <[email protected]>
Co-authored-by: Madhur Shrimal <[email protected]>
Co-authored-by: Nadir Akhtar <[email protected]>
Co-authored-by: clandestine.eth <[email protected]>
Co-authored-by: Michael Sun <[email protected]>
Co-authored-by: Yash Patil <[email protected]>
Co-authored-by: Michael Sun <[email protected]>1 parent 2475ab8 commit 11b0061
File tree
165 files changed
+15997
-7873
lines changed- .github/workflows
- bin
- docs
- storage-report
- lib
- script
- utils
- testdata/17000
- src
- interfaces
- libraries
- slashers
- base
- unaudited
- examples
- test
- events
- ffi
- util
- harnesses
- integration
- mocks
- tests
- utils
- mocks
- unit
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
165 files changed
+15997
-7873
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 16 | | |
20 | 17 | | |
21 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
39 | 56 | | |
40 | 57 | | |
41 | 58 | | |
| |||
80 | 97 | | |
81 | 98 | | |
82 | 99 | | |
83 | | - | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
| 259 | + | |
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
Whitespace-only changes.
Whitespace-only changes.
0 commit comments