enable_big_blocks
Documentation for eth_defi.hyperliquid.block.enable_big_blocks function.
- enable_big_blocks(web3, private_key)
Enable large blocks if needed for contract deployment on HyperEVM.
Checks the chain ID and current block gas limit. If the chain is HyperEVM and the block gas limit is below 10M (small block), enables large blocks for the deployer.
Does nothing on non-HyperEVM chains or Anvil forks (which override the gas limit).