cartesi / rollups-node

Reference implementation of the Cartesi Rollups Node
Apache License 2.0
23 stars 64 forks source link

[EVM-Reader] Add Epoch Handling #545

Closed fmoura closed 2 months ago

fmoura commented 3 months ago

📚 Context

Node needs to keep track of the Epoch lifecycle correctly. EVM Reader is the main component to retrieve information from the blockchain and the component responsible for reading inputs, and so, making the node move forward

✔️ Solution

EVM Reader needs to materialize Epochs entities and keep track of inputs in each epoch