Open mieubrisse opened 3 years ago
This would also mean that AvalancheNetwork.CreateNode
wouldn't need to take in the builder, so that a Test.Run
method could call AddNode
(right now it can't due to needing the builder)
Would this mean that the builder now would create the Nodes ?
What would a test look like ?
This would eliminate the need for the following code in the
Setup
method ofAvalancheTestRunner
:This would also make Avalanche network-building standalone, so users could write their own tests without needing to use AvalancheTestRunner like so: