Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
/kind feature
Adds the following undocumented flags:
-mocknet
- Enables mocked mainnet for testing. Useless without further patch.-mocknet-blocktime=<secs>
- Block time option when mocknet is enabled-mocknet-key=<pubkey>
- Adds an optional foundation key into mocknet for testing.Has the patch file:
contrib/devtools/mocknet.patch
.Procedure for mock testing mainnet:
git apply contrib/devtools/mocknet.patch
This allows easier testing, and further automated mocked testing of mainnet. It is possible to fully bake in a MN into mocknet as well, but requires further work. For now, MNs need to carried over.