You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Context and scope AppRequestNetwork is a wrapper around the AvalancheGo TestNetwork construct, which facilitates non-node peer-to-peer connections with validators. The wrapper has gotten more complex, as we've added support for earlier peer validation and manual peer connection. We should add unit tests to support this type.
Discussion and alternatives
In order to write unit tests, we'll need mocks for:
Context and scope
AppRequestNetwork
is a wrapper around the AvalancheGoTestNetwork
construct, which facilitates non-node peer-to-peer connections with validators. The wrapper has gotten more complex, as we've added support for earlier peer validation and manual peer connection. We should add unit tests to support this type.Discussion and alternatives
In order to write unit tests, we'll need mocks for:
Open questions
What's the best way to mock interfaces from external packages? An AvalancheGo PR may be necessary.
The text was updated successfully, but these errors were encountered: