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: slashing release #311

Draft
wants to merge 24 commits into
base: dev
Choose a base branch
from
Draft

Commits on Jul 25, 2024

  1. Configuration menu
    Copy the full SHA
    163f4c3 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2024

  1. Configuration menu
    Copy the full SHA
    ad64a45 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2024

  1. chore: update mock contracts with latest interfaces (#293)

    * chore: update mock contracts with latest interfaces
    shrimalmadhur authored Aug 5, 2024
    Configuration menu
    Copy the full SHA
    b7f4903 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2024

  1. Configuration menu
    Copy the full SHA
    d991827 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4966813 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2024

  1. 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
    stevennevins authored Aug 12, 2024
    Configuration menu
    Copy the full SHA
    4fabf80 View commit details
    Browse the repository at this point in the history
  2. 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
    stevennevins authored Aug 12, 2024
    Configuration menu
    Copy the full SHA
    fe93ac6 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2024

  1. Configuration menu
    Copy the full SHA
    e5b2688 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ec2fdf3 View commit details
    Browse the repository at this point in the history
  3. feat: add natspec

    stevennevins committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    12eda5d View commit details
    Browse the repository at this point in the history
  4. docs: add natspec

    stevennevins committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    788cd09 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d64f4af View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a92d51a View commit details
    Browse the repository at this point in the history
  7. chore: update to latest core (#299)

    * chore: update to latest eigenlayer-contracts feat/operator-set-release
    
    * chore: add method to mock
    shrimalmadhur authored Aug 15, 2024
    Configuration menu
    Copy the full SHA
    32148de View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. 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
    stevennevins authored Aug 21, 2024
    Configuration menu
    Copy the full SHA
    86f0928 View commit details
    Browse the repository at this point in the history
  2. merge dev

    stevennevins committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    3e4cb2b View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2024

  1. 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
    stevennevins authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    f6ad20e View commit details
    Browse the repository at this point in the history
  2. feat(op sets): upgrade and migrate script (#303)

    * feat: upgrade and test pre prod upgrade and migration
    
    * fix: add param introduced in merge
    stevennevins authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    e0a79f1 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2024

  1. 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
    stevennevins authored Oct 17, 2024
    Configuration menu
    Copy the full SHA
    eb0d6ad View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2024

  1. 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
    stevennevins authored Nov 1, 2024
    Configuration menu
    Copy the full SHA
    cb4df12 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2024

  1. chore: remove unused test util contracts (#319)

    * feat: remove both option
    
    * chore: remove unused test util contracts
    
    * chore: remove diff
    stevennevins authored Nov 18, 2024
    Configuration menu
    Copy the full SHA
    145bdaf View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2024

  1. feat: remove both option

    stevennevins committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    9a975df View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2024

  1. Configuration menu
    Copy the full SHA
    fa04f06 View commit details
    Browse the repository at this point in the history
  2. 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
    stevennevins authored Nov 20, 2024
    Configuration menu
    Copy the full SHA
    388e9f9 View commit details
    Browse the repository at this point in the history