Skip to content

v0.7.1 — oracle asset view guard + decoded-meta discovery

Choose a tag to compare

@koolamusic koolamusic released this 11 Jul 09:57
· 47 commits to main since this release
8b3c67b

What's fixed

blend_oracle_asset view no longer errors on extended oracle-config records (8b3c67b, #24).

Since v0.6.0, blend_oracle_config also carries oracle-aggregator and price-feed records whose payload->'assets' can be absent or non-array; the view's bare jsonb_array_elements raised cannot extract elements from a scalar on the first such row, taking the whole view down. The lateral join now guards on jsonb_typeof(...) = 'array' and yields no rows for those records — ordinary oracle rows are unchanged.

DiscoverPoolsFromLedgerCloseMeta exported for consumers that already hold a decoded xdr.LedgerCloseMeta (replay pipelines that pre-decode each ledger once) — factory-event discovery without a second XDR unmarshal. The byte-input DiscoverPoolsFromMeta delegates to it; both stay pure.

Compatibility

Patch release: no LedgerState change, no storage schema change, additive API only (one exported function). Snapshots produced under v0.7.0 remain valid.

Full diff: v0.7.0...v0.7.1

What's Changed

  • ci: restrict dependabot to security updates only by @koolamusic in #23
  • fix: guard oracle asset view against non-array assets; export decoded-meta discovery by @Brymes in #24

New Contributors

Full Changelog: v0.7.0...v0.7.1