Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run contract user procedures in contract processor with rollback of all changes in case of timeout (e.g. to handle endless loop) #112

Open
philippwerner opened this issue May 19, 2024 · 0 comments

Comments

@philippwerner
Copy link
Contributor

philippwerner commented May 19, 2024

A contract can go into endless loop, contract exec thread has a timeout. So it's possible that contract fails, there is only one state that possible to come to consensus on in such case - pre-execution state

If there was rollback during contract execution there would be rollback of everything it had changed

Difficult: issues with hash map reorg functions running very long (e.g. collection, anti-dust)

@philippwerner philippwerner moved this to 📋 Backlog in qubic May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant