cartesi / dave

Cartesi fraud-proof system
Apache License 2.0
13 stars 11 forks source link

Refactor state-manager #45

Closed GCdePaula closed 1 month ago

GCdePaula commented 1 month ago

Create dedicated input, input id, and epoch types. Make latest_block, inputs and epochs atomic writes. Use thiserror instead of anyhow.