hirosystems/stacks-e2e-testing

Fix old tests

obycode opened this issue · 3 comments

The changes made recently to test 2.2 made the old tests fail. Once things slow down, it would be nice to get those working again. The main culprit is buildDevnetNetworkOrchestrator, which needs to know which node to pass into the config.

Can we just use 2.2.0.0.1 for all tests?

Yes, I guess we could. During transitions, it is nice to be able to easily invoke different versions of the node. I'm thinking that perhaps the clean solution is to add support in stacks-devnet-js for this. It could default to the latest, but could also accept a custom node image and flag indicating the version (epoch), so that it know how to generate the config files.

buildDevnetNetworkOrchestrator now knows the stacks node version.