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

Limit disk storage state update only to execute_block calls. #575

Open
Tracked by #576
Zurcusa opened this issue Oct 23, 2024 · 0 comments
Open
Tracked by #576

Limit disk storage state update only to execute_block calls. #575

Zurcusa opened this issue Oct 23, 2024 · 0 comments
Assignees

Comments

@Zurcusa
Copy link
Collaborator

Zurcusa commented Oct 23, 2024

As per spec Fruzhin must not update the disk state storage when validating a transaction. When validating a transaction the runtime calls a bunch of host api functions related to updating the storage. That is only for it to check if the transaction is valid or not. The changes made should not be persisted in the disk storage. Disk updates are reserved only for Core_execute_block

@Zurcusa Zurcusa self-assigned this Oct 23, 2024
@Zurcusa Zurcusa added this to the Fruzhin Phase 3 - M1. BABE milestone Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant