Skip to content

@odatano/nightgate v0.27.0

Choose a tag to compare

@maxalexweber1 maxalexweber1 released this 27 Sep 12:21
· 71 commits to main since this release
dfa4aa4

@odatano/nightgate 0.27.0

Contract state is stored as a hash per action; the newest state per contract is in its own table.

  • Breaking: ContractActions.state / zswapState empty by default; stateHash / stateSize on every action.
  • crawler.contractStateHistory none / watched / all (NIGHTGATE_CRAWLER_CONTRACT_STATE_HISTORY, _WATCH).
  • ContractStates: newest state per contract; rollback drops rows at or above the fork height.
  • ContractStates/stateAt(address, height): stored or indexer state, source, verified.
  • stateAt indexer reads capped at 2 per second (429 + Retry-After).
  • nightgate-compact-contract-state (--dry-run, --batch): moves stored states to the new layout.
  • Payload decoder marks SYSTEM transactions absent.
  • Schema: new ContractActions columns, new ContractStates; additive.

Full Changelog: v0.26.0...v0.27.0