set_block_tip_latency
Documentation for eth_defi.provider.broken_provider.set_block_tip_latency function.
- set_block_tip_latency(web3, block_count)
Override the default block tip latency settings.
Useful for unit testing, because unit testing assumes stuff has happened in the latest block you want to read.
- Parameters
web3 (web3.main.Web3) –
block_count (int) –