Layr-Labs / eigenlayer-middleware

Other
87 stars 78 forks source link

Middleware contracts should publish an image containing smart contracts for integration testing #44

Open shrimalmadhur opened 11 months ago

shrimalmadhur commented 11 months ago

Currently how we do integration testing is using foundry docker image and deploy all the contracts (eigenlayer contracts and middleware contracts) https://github.com/Layr-Labs/eigensdk-go/blob/67be9ea97fb92a3ee090ab12b56e34e97010a76d/cmd/egnaddrs/main_test.go#L50

But it would be great if middleware repo can publish a docker image of deployed contracts state which any repository (incredible squaring, eigenlayer-cli) can use as a base image to test onchain interaction

AC

samlaf commented 11 months ago

+1 we really need this. This way also the contracts are published with consistent versioning, and a team can decide which versions of the contracts to test against, in a consistent manner (say if they decide to publish their contracts with older version of the middleware contracts)

samlaf commented 11 months ago

Wrote the design doc. Requesting reviews from @shrimalmadhur @stevennevins @NimaVaziri