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

Blueprint testing #206

Closed tbraun96 closed 2 months ago

tbraun96 commented 2 months ago

This PR will allow us to test from the top down (from the blueprint-manager to the individual gadgets receiving and executing jobs). It does so by setting up a locally-running node, then, for each test, run N validators by executing a future that represents the execution of the blueprint-manager (not in a separate process, since that would be unneeded. Each blueprint-manager will be responsible for spawning gadgets, which will be handled using child processes, thus, there is no need for a deeper process tree).

From the notes in the blueprint-manager, it will:

The PR will allow a similar approach to the testing-externalities approach in a single integration test.

This PR closes #207 , #208 , #209 , #210 , #211 , #212

drewstone commented 2 months ago

CI failing