-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Labels
F1-securitypossible vulnerabilitypossible vulnerability
Milestone
Description
Currently the state of the enclave is updated and then the sidechainblock, which contains the state diff, is sent to the worker which then stores the block whitin is db and broadcasts it.
Problem: when en error occurs (e.g. blackout) after the enclave state update and before the worker db storage, the block containing the state diff will be lost.
Solution proposal: update the enclave state with the state diff of its own produced block from the previous interval.
Careful: do not mix up states - the first thing that needs to be done before processing any trusted calls, the state must be updated.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
F1-securitypossible vulnerabilitypossible vulnerability