This fixes flaky test failure introduced in #155 - deploying the app fails, when non-validator RPC is used for the deployment.
This is flaky, because the test succeed when DialRandomRpc() have chosen a validator RPC.
--- FAIL: TestLocalNetwork_CanPerformNetworkShutdown (75.89s)
local_test.go:132: failed to create app: failed to initialize on-chain app; failed to wait until the Counter contract is deployed; nonce not achieved before timeout (awaited 2, current 0)
local_test.go:132: failed to create app: failed to initialize on-chain app; failed to wait until the Counter contract is deployed; nonce not achieved before timeout (awaited 4, current 0)
The deploy fails on timeout, because the non-validator rpc starts later and is not synced (with deployed contract) in time.
This fixes flaky test failure introduced in #155 - deploying the app fails, when non-validator RPC is used for the deployment. This is flaky, because the test succeed when DialRandomRpc() have chosen a validator RPC.
The deploy fails on timeout, because the non-validator rpc starts later and is not synced (with deployed contract) in time.