Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ethereum: prevent unnecessary additional requests
Web3 has recently added features that lazily fetches missing information when signing and sending transactions. In our case, this was the chainId, and the current gasPrice. Because transactions are submitted asynchronously, these additional requests would sometimes cause transactions to be submitted out of order. Even if this probelm were mitigated, these additional requests added spurious latency spikes to some transactions, negatively impacting the test results. This partially addresses hyperledger-caliper#776 by eliminating request reordering issues for stable websocket connections. This change does not however address transaction reordering for HTTP connections, or for websocket connections that require reconnects. It also does not solve the "christmas tree light" issue w.r.t. nonce errors. Signed-off-by: Ben Burns <[email protected]>
- Loading branch information