Commit c3d3df1
docs: rewards v2 audit report (#1021)
feat: slashing release
fix(slashing): upgrade script part 4 (#953)
fix: patch (#956)
feat: bindings (#960)
fix: remove numtocomplete interface (#966)
feat: add share helpers (#964)
* feat: add share helpers
* fix: add deposit scaling factor
* fix: rebase
fix: slashable window boundaries (#965)
* fix: slashable window boundaries
* test: regression for alm
* test: update withdrawal delay not passed reversion
* test: burning indices
* refactor: switch conditionals
* fix: added unit tests
* test: assert slashable shares in queue
* fix: typos
---------
Co-authored-by: Yash Patil <[email protected]>
refactor: small cleanup (#959)
refactor small cleanup
chore: `forge fmt`
fix: `getQueuedWithdrawals` + test
fix: add constructor back
test: `totalQueued` > `withdrawal.strategies.length`
test(wip): `completeQueuedWithdrawals`
currently failing
fix: effectBlock
test(wip): @8sunyuan patch
fix: one flaky test
fix: second flaky test
refactor: remove max strats list (#968)
feat: slashing patch upgrade script (#967)
* feat: initial deploy
* feat: slashing patch
fix non-present upgrade.json
chore: bindings (#969)
fix: try catch out of gas edge case (#971)
chore: slashing consolidated script (#972)
test: more slashing integration todos (#961)
* test(wip): todos
* fix: dealloc issue
* fix: remaining
* fix: forktest upgrade issue
* test: add `check_Withdrawal_AsShares_State_AfterSlash`
* refactor: cleanup
* fix: ci
* refactor: review changes
docs: wip slashing docs (#925)
* docs: add slashing docs
* chore: bindings
* docs: fixed commenting and updated queue withdrawal docs
* docs: minor cleanup
---------
Co-authored-by: Nadir Akhtar <[email protected]>
refactor: scaled shares accounting (#975)
* fix: correct expected share calc
* chore: bindings
* fix: rounding on failing unit test
refactor: final slashing cleanup (#982)
* chore: clean comments and naming in dm
* refactor: simplify undelegate method
* feat: removed 0 address check because 0 stakers cant be delegated
* feat: condensed non-staker caller logic
* refactor: remove unnecessary check
* feat: use checks-effects-interactions when completing withdrawals
* feat: remove implicit public method for queuedWithdrawals and impl dedicated getter
* feat: deprecate withdrawer field
* chore: make bindings and clean compile errors
* refactor: redelegate reuses delegateTo and undelegate
* fix: broken integration test
* docs: update to reflect deprecated field
* feat: add getter for stakers withdrawal roots
chore: remove unused avsd events (#984)
fix: integration test initialization params (#978)
* fix: initialization params
* fix: roll blocks usage
fix: `SignatureUtils` construction (#990)
* fix: integration test initialization params (#978)
* fix: initialization params
* fix: roll blocks usage
* fix: `SignatureUtils` construction
---------
Co-authored-by: Yash Patil <[email protected]>
Co-authored-by: davidironblocks <[email protected]>
fix: readd manual checks (#996)
* fix: readd manual checks
* chore: forge fmt
feat: slashing 1.0.3 upgrade script (#995)
* feat: add step 1
* feat: step 1 & 2 complete; pending step 3 sanity
* test: add `_validateProxyDomainSeparators`
* feat: add rc validation
---------
Co-authored-by: clandestine.eth <[email protected]>
fix: update alloc config delay bound (#985)
* fix: update alloc delay bound
* test: remove unnecessary roll
chore: storage report (#1000)
docs: shares accounting (#997)
* docs: shares accounting
* docs: fix gh markdown view
* docs: try fix gh again
* docs: cleanup
* docs: edit share accounting
* docs: wrap up share accounting doc
* docs: edit edge cases
---------
Co-authored-by: wadealexc <[email protected]>
refactor: async burning (#1001)
* refactor: burning
* chore: fmt
* chore: update storage report
* chore: update readme
* refactor: add burnableShares for epm storage
* chore: update storage report
test: `Snapshots` lib (#1002)
docs: finish delegation manager docs (#1004)
* docs: finish delegation manager docs
* docs: update docs readme
* docs: permission controller
* fix: small typos
* docs: address feedback
* docs: nit
---------
Co-authored-by: Michael Sun <[email protected]>
docs: Strategy Manager slashing updates (#999)
* docs: update StrategyManager docs with slashing delta
* docs: remove references to thirdPartyTransfersForbidden
* docs: update strategy docs to latest
* also various edits to docs and natspec
* chore: fmt and make bindings
---------
Co-authored-by: wadealexc <[email protected]>
docs: EigenPod Manager slashing updates (#1005)
* docs: complete EigenPodManager for slashing
* docs: add in _beaconChainSlashingFactor state variable note
* docs: finish epm docs
* chore: make bindings
---------
Co-authored-by: wadealexc <[email protected]>
chore: remove rewardsV2 upgrade script
chore: use stable foundry version
Slashing integration tests (#1003)
* Validate that users who are slashed fully can redeposit once undelegated
* removing arraylib use
* test for updating eigenpod state -> slash/undelegate
* removing unnecessary logging function
* fixing strategy set
* beacon chain tests in progress
---------
Co-authored-by: Michael <[email protected]>1 parent bb09862 commit c3d3df1
File tree
366 files changed
+68224
-24742
lines changed- .github/workflows
- audits
- certora
- harnesses
- scripts
- core
- permissions
- pods
- strategies
- specs/core
- docs
- core
- accounting
- proofs
- images
- Staker Flow Diagrams
- permissions
- storage-report
- lib
- pkg/bindings
- AVSDirectoryStorage
- AVSDirectory
- AllocationManagerStorage
- AllocationManager
- BackingEigen
- BeaconChainProofs
- BytesLib
- DelegationManagerStorage
- DelegationManager
- EIP1271SignatureUtils
- EigenPodManagerStorage
- EigenPodManager
- EigenPodStorage
- EigenPod
- EigenStrategy
- Eigen
- Endian
- IAVSDirectory
- IAVSRegistrar
- IAllocationManager
- IDelegationFaucet
- IDelegationManager
- IEigenPodManager
- IEigenPod
- IEigen
- IPausable
- IPauserRegistry
- IPermissionController
- IRewardsCoordinator
- ISignatureUtils
- ISlasher
- ISocketUpdater
- IStrategyFactory
- IStrategyManager
- IStrategy
- IWhitelister
- Merkle
- OperatorSetLib
- Pausable
- PauserRegistry
- PermissionControllerMixin
- PermissionControllerStorage
- PermissionController
- RewardsCoordinatorStorage
- RewardsCoordinator
- SignatureUtils
- SlashingLib
- Snapshots
- StrategyBaseTVLLimits
- StrategyBase
- StrategyFactoryStorage
- StrategyFactory
- StrategyManagerStorage
- StrategyManager
- StructuredLinkedList
- UpgradeableSignatureCheckingUtils
- script
- configs
- devnet
- local
- deploy
- devnet
- local
- output/devnet
- releases
- v0.5.1-rewardsv2
- v0.5.2-rewardsv2
- v0.5.3-rewardsv2
- v0.5.4-rewardsv2
- v1.0.0-slashing
- cleanup
- v1.0.1-slashing
- v1.0.2-slashing-consolidated
- cleanup
- v1.0.2-slashing
- v1.0.3-slashing
- tasks
- utils
- src
- contracts
- core
- interfaces
- libraries
- mixins
- permissions
- pods
- strategies
- token
- utils
- test
- events
- harnesses
- integration
- deprecatedInterfaces/mainnet
- mocks
- tests
- eigenpod
- users
- utils
- mocks
- token
- tree
- unit
- libraries
- mixins
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
366 files changed
+68224
-24742
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
32 | 39 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
52 | | - | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
55 | 59 | | |
56 | 60 | | |
57 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | 1 | | |
5 | 2 | | |
6 | 3 | | |
7 | 4 | | |
8 | 5 | | |
9 | 6 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | 7 | | |
14 | 8 | | |
15 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
0 commit comments