Skip to content

chore(CombinedDatabase): handle errors on rolling back auxiliary dbs appropriately #2239

@rymnc

Description

@rymnc

On b2aa337#diff-c9ec92d6a50c589b6cf389155213049e62dffd865cb2aaf85ebf35a1c74298eaR319-R321

we attempt to sync auxiliary databases with the OnchainDb however, we do not handle errors while doing so.

Definition of Done

  • Rolling back errors are propagated and if on_chain_height / gas_price_height / off_chain_height is unset, swallow the errors

Metadata

Metadata

Assignees

Labels

tech-debtThe issue is to improve the current code and make it more clear/generic/reusable/pretty/avoidable.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions