Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(mocknet): Only have up to 4 rpc nodes on mocknet (#2973)
* Originally mocknet was 50% non-validating nodes (this configuration was inherited from devnet) * We want mostly validating nodes since non-validating nodes are less interesting for testing (contribute less to failure modes, e.g. block production) * We need at least some non-validating nodes to test code paths when the node is not a block producer * We settled on 4 as a reasonable number. * The number of nodes in the mocknet needed to be increased to 54 as a result because the current validator "seat" model did not allow 46 genesis validators, but does allow 50. Note this problem will no longer exist when near/NEPs#83 is implemented. * The timeouts on transactions are also increased to be less sensitive to missing blocks due to offline validators (this is important for the outage test in particular, where we want a test failure to really mean that the network stalled, not just that several blocks in a row were skipped since that is an expected outcome from losing 25% of validators)
- Loading branch information