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: two queues for allocation/deallocation #825

Closed
wants to merge 66 commits into from

Commits on Sep 17, 2024

  1. chore: move custom errors to sep branch

    8sunyuan authored and gpsanant committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    3644661 View commit details
    Browse the repository at this point in the history
  2. chore: forge fmt src/contracts

    8sunyuan authored and gpsanant committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    8372390 View commit details
    Browse the repository at this point in the history
  3. fix: ci and bindings

    8sunyuan authored and gpsanant committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    47f3fd8 View commit details
    Browse the repository at this point in the history
  4. chore: dmgr error tweaks

    wadealexc authored and gpsanant committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    d120e1c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8e37cb0 View commit details
    Browse the repository at this point in the history
  6. feat: bump oz version (#755)

    * feat: bump oz version -> 0.4.9
    
    - also moved remappings -> foundry.toml
    - removes remappings.txt
    
    * bindings
    
    ---------
    
    Co-authored-by: gpsanant <gpsanant@gmail.com>
    0xClandestine and gpsanant authored Sep 17, 2024
    Configuration menu
    Copy the full SHA
    13f06b9 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. test: custom errors passing (#783)

    * test: custom errors AVSDir
    
    * test: custom errors IPausable
    
    * test: custom errors Delegation
    
    * test: custom errors EigenPodManager
    
    * test: custom errors EigenPod
    
    * test: custom errors Pausable
    
    * test: custom errors RewardsCoordinator
    
    * test: custom errors IStrategy
    
    * test: custom errors StrategyManager
    
    * test: custom errors DelegationManager
    
    * test: custom errors
    0xClandestine authored Sep 27, 2024
    Configuration menu
    Copy the full SHA
    8c8df19 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    177ad8b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    17331fe View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    acd1831 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cc96e9f View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2024

  1. feat: slashing

    * chore: pending delay calc cleanup
    
    * chore: storage pointer cleanup
    
    * eigenpods slashing updates (#745)
    
    * squash yet again
    
    * change again
    
    * update checkpoint struct
    
    * feat: AllocationManager Storage Simplification  (#787)
    
    * feat: cleanup
    
    * feat: add helper func
    
    * fix: simplification
    
    * chore: clean up magnitude info usage and type conversions
    
    * refactor: review changes
    
    * fix: order struct params by size
    
    * fix: correct and simplify calc for slashed pending magnitude
    
    * fix: storage gap
    
    * feat: cleanup
    
    * chore: remove some type conversion bs and minor formatting
    
    * chore: clean up free magnitude logic
    
    * chore: rename pending deallocations and fix stack too deep
    
    * feat: slashing magnitudes cleanup (#786)
    
    * refactor: slashing magnitudes cleanup
    * refactor: assert `bipToSlash` is bounded
    * assert `bipsToSlash` is lte 100% and gt 0%.
    
    * refactor: move `isOperatorSlashable` -> AVSD
    
    * refactor: batch validate opsets on allocations
    
    - adds `AVSD.isOperatorSetBatch(operatorSets)`
    
    * feat: add pausing to ALM
    
    * refactor: remove single use helper
    
    - removes `_getLatestTotalMagnitude(operator, strategy)`
    
    * refactor: rename `ALLOCATION_DELAY_CONFIGURATION_DELAY`
    
    * refactor: remove `Slasher`
    
    * refactor: move constants + immutables to storage contracts
    
    * refactor: custom errors `RewardsCoordinatorStorage`
    
    * chore: dependency cleanup
    
    * fix: remove unused internal getter
    
    * chore: batch validate operator sets and minor cleanup
    
    * fix: fix stack too deep and compiler errors
    
    ---------
    
    Co-authored-by: wadealexc <pragma-services@proton.me>
    gpsanant and wadealexc committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    069c669 View commit details
    Browse the repository at this point in the history
  2. feat: dm cleanup (#788)

    Co-authored-by: wadealexc <pragma-services@proton.me>
    ypatil12 and wadealexc authored Oct 4, 2024
    Configuration menu
    Copy the full SHA
    c27004e View commit details
    Browse the repository at this point in the history
  3. Revert "feat: dm cleanup (#788)" (#799)

    This reverts commit c27004e.
    gpsanant authored Oct 4, 2024
    Configuration menu
    Copy the full SHA
    bafea9d View commit details
    Browse the repository at this point in the history
  4. fix: compiles (#800)

    gpsanant authored Oct 4, 2024
    Configuration menu
    Copy the full SHA
    365a776 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. fix: refactor (#801)

    * fix: refactor
    
    * default was history
    
    * reline
    
    * rename
    gpsanant authored Oct 7, 2024
    Configuration menu
    Copy the full SHA
    e6c3193 View commit details
    Browse the repository at this point in the history
  2. rename

    gpsanant committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    e40c660 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3c25b07 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f666d45 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2024

  1. add events, fix bugs, abstract better (#806)

    * fix bugs, add events, cleanup
    
    * wrap conditional
    
    * fmt
    
    * only one slash per timestamp
    gpsanant authored Oct 8, 2024
    Configuration menu
    Copy the full SHA
    6f60bb7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b785873 View commit details
    Browse the repository at this point in the history
  3. update docs (#804)

    gpsanant authored Oct 8, 2024
    Configuration menu
    Copy the full SHA
    7cbf106 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    54a1a3b View commit details
    Browse the repository at this point in the history
  5. feat: am refactor

    wadealexc committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    71e6d41 View commit details
    Browse the repository at this point in the history
  6. add to wads to slash

    gpsanant committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    7e167f7 View commit details
    Browse the repository at this point in the history
  7. cleanup

    gpsanant committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    5212e5e View commit details
    Browse the repository at this point in the history
  8. refactor: change totalMagnitude to maxMagnitude

    * condense slashOperator params
    * some struct field renaming
    wadealexc committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    0174de5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    2011e0c View commit details
    Browse the repository at this point in the history
  10. chore: storage report (#809)

    * chore: storage report
    
    * patch eigenpod
    
    ---------
    
    Co-authored-by: gpsanant <gpsanant@gmail.com>
    0xClandestine and gpsanant authored Oct 8, 2024
    Configuration menu
    Copy the full SHA
    0d22a4f View commit details
    Browse the repository at this point in the history
  11. feat: eip712 fixes (#808)

    * feat: use OZ SignatureChecker
    
    * feat: add `SignatureUtils` mixin
    
    * refactor: cleanup
    
    * feat: make storage report
    
    * storage report
    
    ---------
    
    Co-authored-by: gpsanant <gpsanant@gmail.com>
    0xClandestine and gpsanant authored Oct 8, 2024
    Configuration menu
    Copy the full SHA
    4247734 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

  1. Configuration menu
    Copy the full SHA
    369775f View commit details
    Browse the repository at this point in the history
  2. fix: merge issues

    0xClandestine committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    a5f07a4 View commit details
    Browse the repository at this point in the history
  3. update events

    gpsanant committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    21168eb View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2024

  1. refactor: rename total magnitudes to max magnitudes

    * various formatting and cleanup
    * standardize allocation manager getter functions
    * update and improve commenting
    wadealexc committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    be94cd6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    04b52ef View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ae1f20a View commit details
    Browse the repository at this point in the history
  4. chore: forge fmt

    wadealexc committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    fb41258 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a9429b1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1f6c66e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8f090f4 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    cfdf90e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5c6ca60 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2024

  1. Configuration menu
    Copy the full SHA
    b88286e View commit details
    Browse the repository at this point in the history
  2. feat: change event names

    gpsanant committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    890b933 View commit details
    Browse the repository at this point in the history
  3. feat: update doc

    gpsanant committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    64f3914 View commit details
    Browse the repository at this point in the history
  4. fix: compile

    0xClandestine committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    dec2ac0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cbb79a9 View commit details
    Browse the repository at this point in the history
  6. fix: tests progress

    0xClandestine committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    47a4ff5 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2024

  1. add Strategy <> OperatorSet mapping in storage, and APIs and events (#…

    …814)
    
    * feat: add strategy to operator set mapping with corresponding functions and events
    
    * fix: update
    
    * fix: remove pagination of getStrategiesInOperatorSet
    
    * fix: update
    
    * fix: compiles
    
    * fix: add checks
    
    * fix: address -> IStrategy
    
    * fix: storage gap
    
    ---------
    
    Co-authored-by: gpsanant <gpsanant@gmail.com>
    bowenli86 and gpsanant authored Oct 12, 2024
    Configuration menu
    Copy the full SHA
    5b4d415 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2024

  1. Slashing: DM Happy Path Test Cases (#815)

    * test: basic dm tests
    
    * test: start on share increase/decrease delegated shares tests
    
    * test: add DM unit tests passing except queue/complete
    
    * test: undelegate tests
    
    * test: queue withdrawals
    
    * test: completed DM happy path test cases
    
    * fix: compilation, rebase errors
    
    * chore: format
    ypatil12 authored Oct 13, 2024
    Configuration menu
    Copy the full SHA
    4e6b659 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2024

  1. Add view funcs (#816)

    * fix: add new view funcs
    
    * fix: update docs
    gpsanant authored Oct 14, 2024
    Configuration menu
    Copy the full SHA
    3f27481 View commit details
    Browse the repository at this point in the history
  2. test: fix avsD tests (#817)

    ypatil12 authored Oct 14, 2024
    Configuration menu
    Copy the full SHA
    c2ea4a8 View commit details
    Browse the repository at this point in the history
  3. chore: format

    ypatil12 committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    6e3405f View commit details
    Browse the repository at this point in the history
  4. fix: from scratch deploy

    ypatil12 committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    f8bfa8c View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2024

  1. Configuration menu
    Copy the full SHA
    c3ab52f View commit details
    Browse the repository at this point in the history
  2. Slashing: Modify Allocations Happy Path Tests (#821)

    * refactor: add test contract per func
    
    * test: modify allocations
    
    * chore: format
    ypatil12 authored Oct 15, 2024
    Configuration menu
    Copy the full SHA
    e45a6ad View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    06e852f View commit details
    Browse the repository at this point in the history
  4. feat: wadSlashed (#820)

    gpsanant authored Oct 15, 2024
    Configuration menu
    Copy the full SHA
    157b84a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d33b1ac View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1ac0c6d View commit details
    Browse the repository at this point in the history
  7. feat: inheritdoc

    0xClandestine committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    e914b6c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ebb8d97 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c3c2a74 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    75e3bb1 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    0513931 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    4e9fbf6 View commit details
    Browse the repository at this point in the history