-
Notifications
You must be signed in to change notification settings - Fork 330
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
stake root #723
base: slashing-magnitudes
Are you sure you want to change the base?
stake root #723
Commits on Sep 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c430691 - Browse repository at this point
Copy the full SHA c430691View commit details -
Configuration menu - View commit details
-
Copy full SHA for 090d955 - Browse repository at this point
Copy the full SHA 090d955View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed2ad0a - Browse repository at this point
Copy the full SHA ed2ad0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e6bbf91 - Browse repository at this point
Copy the full SHA e6bbf91View commit details -
feat: operatorSets in AVSDirectory
* feat: functionality * test: add tests * chore: address comments * chore: bindigns and fmt fix: block m2 deregistrations for opset AVSs (#688) * fix: prevent opSet AVS from m2 dereg * fix: naming build: bindings chore: compilation & bindings Feat: enumerating sets operators are in (#662) * feat: track sets operators in * feat: add natspec * refactor: reorganize * fix: tests passing * fix: compile warnings * fix: test passing * feat: add `operatorSetsMemberOf` pagination * test: add coverage * chore: bindings --------- fix: fix operator commission tests (#673) * fix: flakey tests * build: bindings * fix: out of gas error fix: deploy config fix: deployers chore: bindings chore: update gap chore: address comments feat: remove storage (#667) feat: operator set rewards (#663) * 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 --------- feat: track total members and sets (#649) * 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 fix: compiling from conflict fix also pushed updated bindings feat: operator commission bips (#627) * 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 --------- feat: operator set migration; completely separate legacy and opset reg (#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) test: operator set initialization feat: operator set initialization feat: add missing interface fns feat: add missing interface fns refactor: remove OperatorSet struct test: forced opset dereg chore: forge fmt src/contracts feat: forced opset dereg chore: forge fmt refactor: rename isOperatorInOperatorSet -> isMember feat: remove simp mode chore: improve comments + naming fix: variable name consistency nit: move updateStandbyParams fn refactor: storage optimization/overhaul refactor: remove unused beaconChainETHStrategy constant refactor: remove isOperatorSetAVS mapping nit: improve comments chore: run `forge fmt src/contracts` chore: run fix: remove unused immutable Feat/operator sets (#579) * 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: Yash Patil <[email protected]> Co-Authored-By: clandestine.eth <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0b5790b - Browse repository at this point
Copy the full SHA 0b5790bView commit details -
feat: operator commission bips (#627)
* 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 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4163212 - Browse repository at this point
Copy the full SHA 4163212View commit details -
feat: slashing and magnitude allocations
feat: encoded operatorSet mapping keys and duplicate check (#704) * feat: operatorSet encoded mapping keys * chore: natspec * refactor: add allocationDelay require chore: add back legacy functions chore: update interfaces and nits feat: update to max 1 alloc/dealloc (#703) * feat: update to max 1 alloc/dealloc * fix: naming * fix: compile build: bindings feat: getAllocatableMagnitude feat: set allocations (#691) * feat: set allocations * cleanup * fixes * fix perms on modifyAllocations * fix initialization issues * feat: operatorSignature and remove allocator * build: bindings * fix: max allocation updates check --------- feat: allocator signatures allocate/deallocate (#690) * feat: operator commission bips (#627) * 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 --------- * feat: refactor to free all opsets on allo/deallo * refactor: pendingFreeMagnitude and index pointers * feat: numToComplete and rebase cleanup * feat: allocator signature * feat: allocator function in DM fixed checkpoints typo as well * build: bindings --------- Co-authored-by: clandestine.eth <[email protected]> feat: refactor to free all opsets on allo/deallo (#680) * feat: operator commission bips (#627) * 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 --------- * feat: refactor to free all opsets on allo/deallo * refactor: pendingFreeMagnitude and index pointers * chore: nits * chore: reorder storage * feat: numToComplete and rebase cleanup --------- Co-authored-by: clandestine.eth <[email protected]> chore: add check for pending deallocations build: bindings chore: rename back to checkpoints Co-Authored-By: gpsanant <[email protected]> Co-Authored-By: clandestine.eth <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 04e1a47 - Browse repository at this point
Copy the full SHA 04e1a47View commit details -
* feat: set allocations * cleanup * fixes * fix perms on modifyAllocations * fix initialization issues * start on scaledShares * feat: scale shares on deposits into SM * chore: cleanup and comment out tests * feat: withdraws and using timestamps * chore: delete and comment test files * fix: descale timestamp fix descaledShares timestamp and added back deleted test files but commented out * chore: add back test files * fix: _delegate with scaledshares also removed scaling from strategymanager and added some additional view functions Note _delegate still has a pending todo * fix: _delegate scaled shares * feat: eigenpodManager scaled shares (#706) * feat: draft for scaled shares epm * chore: fix compile * chore: fmt * nit: comment * fix: add comment suggestion Co-authored-by: Gautham Anant <[email protected]> --------- Co-authored-by: Gautham Anant <[email protected]> * feat: move allocationDelay to delegationManager * fix: incorrect inequality check * chore: rename epm internal function to scaled * fix: external interface nits * chore: cleanup sharescaling lib * chore: fix variable naming nit --------- Co-authored-by: Michael Sun <[email protected]> Co-authored-by: Michael Sun <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 275694f - Browse repository at this point
Copy the full SHA 275694fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f2cd18d - Browse repository at this point
Copy the full SHA f2cd18dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8fc5105 - Browse repository at this point
Copy the full SHA 8fc5105View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88d7ae6 - Browse repository at this point
Copy the full SHA 88d7ae6View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1c5356 - Browse repository at this point
Copy the full SHA c1c5356View commit details -
chore: some changes for making deployments (#716)
* chore: some changes for making deployments * fix: addressed comments * fix: addressed comments
Configuration menu - View commit details
-
Copy full SHA for 95c19c0 - Browse repository at this point
Copy the full SHA 95c19c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f53ebc9 - Browse repository at this point
Copy the full SHA f53ebc9View commit details -
fix(optimize): condense storage
also avoids sload in a few cases
Configuration menu - View commit details
-
Copy full SHA for 4d393c3 - Browse repository at this point
Copy the full SHA 4d393c3View commit details -
chore: add missing deploy script (#725)
* chore: add missing deploy script * chore: delete src files
Configuration menu - View commit details
-
Copy full SHA for 4b56eaf - Browse repository at this point
Copy the full SHA 4b56eafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8af9d89 - Browse repository at this point
Copy the full SHA 8af9d89View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2e26c6 - Browse repository at this point
Copy the full SHA a2e26c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90c6630 - Browse repository at this point
Copy the full SHA 90c6630View commit details -
feat: split allocation logic to
AllocationManager
(#730)* feat: split to AllocationManager * chore: forge fmt src/contracts * fix: remove unused imports * fix: storage gap * fix: storage gap * fix: unused import
Configuration menu - View commit details
-
Copy full SHA for 7d1ce72 - Browse repository at this point
Copy the full SHA 7d1ce72View commit details -
feat: slashing magnitudes custom errors (#733)
* 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
Configuration menu - View commit details
-
Copy full SHA for 9d967b7 - Browse repository at this point
Copy the full SHA 9d967b7View commit details -
feat: legacy withdrawals and cleanup for DelegationManager (#738)
* feat: legacy withdrawals support * feat: remove thirdpartytransfersforbidden * chore: fmt core and cleanup
Configuration menu - View commit details
-
Copy full SHA for a82b083 - Browse repository at this point
Copy the full SHA a82b083View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e10f7d - Browse repository at this point
Copy the full SHA 2e10f7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8223b44 - Browse repository at this point
Copy the full SHA 8223b44View commit details -
Configuration menu - View commit details
-
Copy full SHA for c29e9e8 - Browse repository at this point
Copy the full SHA c29e9e8View commit details -
fix: immutables and slashinglib
also fixed scaledStakerShares calculation in calculateSharesToQueueWithdraw
Configuration menu - View commit details
-
Copy full SHA for 38109d6 - Browse repository at this point
Copy the full SHA 38109d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e5895a - Browse repository at this point
Copy the full SHA 5e5895aView commit details -
feat: add pending allocations methods (#744)
* feat: add view functions for allocations * fix: local build pipeline
Configuration menu - View commit details
-
Copy full SHA for 1ec813a - Browse repository at this point
Copy the full SHA 1ec813aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8950c4c - Browse repository at this point
Copy the full SHA 8950c4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d94cd80 - Browse repository at this point
Copy the full SHA d94cd80View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4543960 - Browse repository at this point
Copy the full SHA 4543960View commit details -
refactor: receive as shares callback (#746)
* refactor: add shares * chore: comment out block to be refactored * combine complete withdrawal funcs --------- Co-authored-by: gpsanant <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 73fae80 - Browse repository at this point
Copy the full SHA 73fae80View commit details -
* rebase * make ALLOCATION_DELAY_CONFIGURATION_DELAY immutable * fmt
Configuration menu - View commit details
-
Copy full SHA for fe6a5aa - Browse repository at this point
Copy the full SHA fe6a5aaView commit details -
feat: add
registerAsOperator
delay config back (#752)* feat: add `registerAsOperator` delay config back * chore: forge fmt src/contracts * Update DelegationManager.sol
Configuration menu - View commit details
-
Copy full SHA for b871886 - Browse repository at this point
Copy the full SHA b871886View commit details -
Configuration menu - View commit details
-
Copy full SHA for f82bc02 - Browse repository at this point
Copy the full SHA f82bc02View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd892cf - Browse repository at this point
Copy the full SHA cd892cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for caf1814 - Browse repository at this point
Copy the full SHA caf1814View commit details
Commits on Sep 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 69f7012 - Browse repository at this point
Copy the full SHA 69f7012View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf3bed9 - Browse repository at this point
Copy the full SHA bf3bed9View commit details
Commits on Sep 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9def3e5 - Browse repository at this point
Copy the full SHA 9def3e5View commit details -
* fix: remove sort check * fix: remove sort check
Configuration menu - View commit details
-
Copy full SHA for 0e0a423 - Browse repository at this point
Copy the full SHA 0e0a423View commit details -
fix: patch getallocatable mag (#772)
* fix: remove numToComplete and hardcode with max * fix: make it cleaner
Configuration menu - View commit details
-
Copy full SHA for 13bd4c4 - Browse repository at this point
Copy the full SHA 13bd4c4View commit details
Commits on Sep 20, 2024
-
* abstract with ShareManager * start on totalMagnitude cleanup * fix magnitude sourcing * conversion logic and definitions * abstract completability * fix getDelegatableShares * rename deposit scaling factors and bring depositScalingFactor updates in the DM
Configuration menu - View commit details
-
Copy full SHA for 44c260e - Browse repository at this point
Copy the full SHA 44c260eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 85a3840 - Browse repository at this point
Copy the full SHA 85a3840View commit details -
* add share lib * feat: share lib cleanup (#778) * refactor: review changes * chore: forge fmt src/contracts * refactor: more explicit share names * rename share * fmt --------- Co-authored-by: gpsanant <[email protected]> * remove unused * remove unused --------- Co-authored-by: clandestine.eth <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 55ae3e3 - Browse repository at this point
Copy the full SHA 55ae3e3View commit details
Commits on Sep 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c7b8d63 - Browse repository at this point
Copy the full SHA c7b8d63View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc51d3c - Browse repository at this point
Copy the full SHA bc51d3cView commit details
Commits on Sep 23, 2024
-
* cleanup am * timestmaps and inequalities * remove unused view funcs
Configuration menu - View commit details
-
Copy full SHA for c267d9c - Browse repository at this point
Copy the full SHA c267d9cView commit details
Commits on Sep 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 202b84f - Browse repository at this point
Copy the full SHA 202b84fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 04edd63 - Browse repository at this point
Copy the full SHA 04edd63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9808b44 - Browse repository at this point
Copy the full SHA 9808b44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40e762d - Browse repository at this point
Copy the full SHA 40e762dView commit details -
feat: stakeroot cleanup (#766)
* chore: forge fmt src/contracts * nit: organize imports * fix: bump pragma -> ^0.8.27 * refactor(optimization): significantly reduce sloads/sstores * refactor: custom errors * refactor(optimization): significantly reduce sloads/sstores missed some stuff * refactor: rename compendium -> manager * refactor: more storage optmizations * feat: safe eth transfer helper * refactor: manager -> compendium * refactor: variable renaming * refactor: rename compendium -> manager * feat: add `proofIntervalSeconds` getter * feat: fixed accounting bug and refactoring (#767) * refactor: review reconciliations * refactor: review reconciliations * fix: rename colluding param * fix: types and naming * fix: revert stakeroot calculation changes * fix: revert stakeRoot calc views --------- Co-authored-by: shotaro <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4b56b8c - Browse repository at this point
Copy the full SHA 4b56b8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b401a2 - Browse repository at this point
Copy the full SHA 4b401a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20370a0 - Browse repository at this point
Copy the full SHA 20370a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9be27cc - Browse repository at this point
Copy the full SHA 9be27ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c1120e - Browse repository at this point
Copy the full SHA 5c1120eView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe917de - Browse repository at this point
Copy the full SHA fe917deView commit details -
Configuration menu - View commit details
-
Copy full SHA for d8a5ff8 - Browse repository at this point
Copy the full SHA d8a5ff8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 126b9cd - Browse repository at this point
Copy the full SHA 126b9cdView commit details