Skip to content

Oasis Indexer 0.0.15

Compare
Choose a tag to compare
@mitjat mitjat released this 12 Apr 18:11
· 1336 commits to main since this release
239a8fa

What's Changed

Notice - Breaking changes

There are breaking changes to the DB types, still not encoded as proper migrations. Either wipe the DB, or manually apply the following migrations:

alter table chain.blocks alter column metadata type jsonb;
alter table chain.events alter column body type jsonb;
alter table chain.entities alter column meta type jsonb;
alter table chain.commissions alter column schedule type jsonb;
alter table chain.runtime_transactions alter column body type jsonb;
alter table chain.runtime_events drop column evm_log_signature;
alter table chain.runtime_events alter column body type jsonb;
alter table chain.runtime_events add column evm_log_signature TEXT GENERATED ALWAYS AS (body->'topics'->>0) STORED;
CREATE INDEX ix_runtime_events_evm_log_signature ON chain.runtime_events(evm_log_signature);

There is also a breaking change to the config structure; consult #352

Features

  • Support for specifying multiple versions of archive nodes in the config: config: archive node configuration by @pro-wh in #352
  • Support for non-ERC20 EVM events: runtime: store unrecognized evm log events by @pro-wh in #378
  • Support for Cobalt blocks beyond a certain height: Cobalt: Support 2 versions of escrow events. Disable non-negativity check for escrow values. by @mitjat in #370

Fixes

  • typo fix by @mitjat in #376
  • We no longer show non-EVM preimages as fake eth addresses: storage client: get entire address preimage by @pro-wh in #367
  • Do not crash on malformed error messages in txs: bugfix: analyzer: Normalize error messages by @mitjat in #373
  • openapi: window_step_size: fix typo by @mitjat in #377

Internal

  • db: Prefer JSONB column type over JSON by @mitjat in #379

Full Changelog: v0.0.14...v0.0.15