force_lagoon_settle
Documentation for eth_defi.lagoon.testing.force_lagoon_settle function.
- force_lagoon_settle(vault, asset_manager, settlement_manager=None, raw_nav=None, gas_limit=15000000)
Force settling of the Lagoon vault.
Used in the testing to move the vault to the next epoch
- Parameters
asset_manager (eth_typing.evm.HexAddress) – Valuation-manager account, spoofed in Anvil.
settlement_manager (Optional[eth_typing.evm.HexAddress]) – Safe account that submits the settlement. Defaults to
asset_managerfor legacy test callers where both roles coincide.vault (eth_defi.erc_4626.vault_protocol.lagoon.vault.LagoonVault) –
gas_limit (int) –
- Return type
tuple[hexbytes.main.HexBytes, hexbytes.main.HexBytes]