force_next_gains_epoch

Documentation for eth_defi.erc_4626.vault_protocol.gains.testing.force_next_gains_epoch function.

force_next_gains_epoch(vault, any_account, padding_seconds=1, gas_limit=3000000)

Advance Gains vault to a next epoch by using Anvil hacks.

Parameters
Returns

Transaction hash of the forceNewEpoch() call.

Raises

UnsupportedVaultSimulation – If vault is not connected to an Anvil provider.

Return type

hexbytes.main.HexBytes