penumbra-zone / web

Apache License 2.0
12 stars 15 forks source link

IDB contains block processing logic #1719

Open turbocrime opened 3 weeks ago

turbocrime commented 3 weeks ago

Describe the bug IDB contains block processing logic such as epoch genesis.

To Reproduce Steps to reproduce the behavior:

  1. Initialize indexed-db. Do not initialize a block processor.
  2. See that idb already contains a 0th epoch

Expected behavior IDB should not arbitrarily create chain state without external input

TalDerei commented 3 weeks ago

not sure how broad you're intending the scope to be, but we should also check for other instances of divergence where IDB may be performing tasks that should be handled by the block processor.