All Developer News

v4.3.0

SDK/CLI

v4.3 adds Polygon to the chains the vault tooling supports. It applies to anyone on 4.2 who uses the Python SDK, the CLI or the MCP server.

New

1. Polygon support

Now: Polygon (chain ID 137) is a supported chain. Vault info, validation, role accounts, oracle mapping, preflight, the Fuse Whitelist and address lookups all work there.

Usage: the existing commands and functions accept chain ID 137. The Polygon factory is listed in the factory table of the quickstart guide.

2. Morpho Blue on Polygon

Now: market reads and vault lending health cover Morpho Blue on Polygon.

Usage: a Polygon vault’s Morpho positions show up in the lending_health field of fusion vault info and of the validate_vault result.

Fixes

1. HyperCore pending state with an unknown value (preview)

Before: when the pending state held an action class or effect kind the SDK did not know, the decoder raised. read_hypercore_vault_state raised with it, and vault info lost the whole HyperCore block, including NAV and perp markets.

Now: an unknown value decodes to an UNKNOWN_<n> member of its enum. The pending state keeps its pending and settled flags. In that case the vault info document shows pending as null.

Impact: vault info still shows HyperCore NAV and perp markets after a contracts release adds a new value.

2. HyperCore pending payload of another length (preview)

Before: a pending-reader payload that was not 23 words long made read_hypercore_vault_state raise UnsupportedContractVersionError. Vault info lost the whole HyperCore state.

Now: the batch read returns a null pending state. Calling pending_state() directly still raises the named error.

Impact: vault info still shows HyperCore NAV and perp markets when the payload has another length.

3. Fuse Whitelist read at an early block

Before: reading the Fuse Whitelist at a block from before its deployment failed with the generic “eth_call … returned no data” error.

Now: the error says that the Fuse Whitelist was not deployed yet at that block.

Impact: None for existing code.

4. Provider URLs in debug logs

Before: role scans, lending reads and revert decoding logged provider errors at DEBUG. With debug logging on, an application wrote the provider URL to its logs, API key included.

Now: those debug messages no longer contain provider URLs.

Impact: debug logs contain no provider keys.


Upgrade with pip install -U ipor-fusion. Full changelog: v4.3.0 on GitHub.

These notes describe changes to the IPOR Fusion SDK. They are not operational or financial advice. Operators are responsible for testing changes against their own vaults and configuration before use.