-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
discussionSomething that needs to be discussedSomething that needs to be discussedenhancementNew feature or requestNew feature or request
Description
Rationale
After #147 we have system messages that perform direct Governance contract state modification vie onPersist call and are being executed in the start of every block. Given our future plans to add ZK proving for state changes, we need to:
- Investigate how these free system messages prevent us from honest ZK proving.
- If it's not possible to integrate ZKP with the current way of
ProcessOnPersistexecution, we need to replace it with some other way of system transactions execution. The following directions may be considered:
- BSC-like system transactions. This approach seems to include system transactions to the block, but they executed in a special way with some special context.
- Honest transactions automatically added to block by CNs. For this transactions, sender should be some standard account, and thus sender should have GAS to pay for this transaction. It inevitably leads to the fact that balance of this sender should be maintained by system.
- Fall back to the dynamic-length dBFT epochs in the Governance contract and remove OnPersist system message execution. The worst way, but if nothing helps, then it may be considered.
Related conversations: #146 (comment), #146 (comment).
txhsl
Metadata
Metadata
Assignees
Labels
discussionSomething that needs to be discussedSomething that needs to be discussedenhancementNew feature or requestNew feature or request