tangle-network / gadget

A framework for building modular AVS and Tangle Blueprints: https://docs.tangle.tools/developers/blueprints.
https://tangle.tools
Apache License 2.0
12 stars 3 forks source link

feat: add ServicesContext Extension #321

Closed shekohex closed 2 weeks ago

shekohex commented 2 weeks ago

This pull request introduces a new ServicesContext trait and its corresponding derive macro to the context-derive crate, along with updates to existing test files to incorporate this new trait. The most important changes include adding the ServicesContext module, implementing the derive macro, generating the context implementation, and updating the test cases to use the new trait.

New ServicesContext Trait and Derive Macro:

Test Updates:

SDK Integration:

Part of #265

drewstone commented 2 weeks ago

CC @Tjemmmic here we will need an integration with the Eigenlayer service manager contract to