Layr-Labs / incredible-squaring-avs

Basic repo demoing a simple AVS middleware with full eigenlayer integration
Other
159 stars 101 forks source link

wip: update eigenlayer-middleware #47

Closed haardikk21 closed 2 months ago

haardikk21 commented 2 months ago

Solves #43

Updates EL Middleware dependency with the following:

  1. Updates IncredibleSquaringDeployer.s.sol to read avsDirectory address and pass it to the ServiceManager as required
  2. Instantiates the ERC-20 strategy with values set for thirdPartyTransfersForbiddenValues
  3. Updates the deploy-eigenlayer-save-anvil-state.sh script to point to the updated paths for the Deployer

I set this PR as draft since I have been unable to fully test my changes due to an issue in Foundry already reported by @samlaf here - https://github.com/foundry-rs/foundry/issues/7502

samlaf commented 2 months ago

@haardikk21 thanks for giving this a try! I pretty much ended up doing same thing as you, except had to change to using dockerized anvil to be able to pin it at an older version to solve the problem you're facing. Also needed to update eigensdk to get latest contract changes when registering operators. Check #46

haardikk21 commented 2 months ago

@haardikk21 thanks for giving this a try!

I pretty much ended up doing same thing as you, except had to change to using dockerized anvil to be able to pin it at an older version to solve the problem you're facing.

Also needed to update eigensdk to get latest contract changes when registering operators.

Check #46

Thanks for #46 - it was fun, gives me a chance to explore deeper as we recently started work on our AVS

I'll close this PR in the morning (doesn't let me do it on GitHub mobile) - or you can just close it