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

Implement simple state witness (state transitions with proof) alongside chunk production as well as validation logic #9628

Closed
5 tasks
Tracked by #9292
walnut-the-cat opened this issue Oct 2, 2023 · 1 comment
Assignees

Comments

@walnut-the-cat
Copy link
Contributor

walnut-the-cat commented Oct 2, 2023

October roadmap

Out of scope: optimistic block production

November roadmap

TBD

@pugachAG pugachAG self-assigned this Oct 20, 2023
github-merge-queue bot pushed a commit that referenced this issue Oct 27, 2023
* updates to RuntimeAdapter API:
* group all storage-related `apply_transactions` args into
`RuntimeStorageConfig` struct
* remove `check_state_transition` and
`apply_transactions_with_optional_storage_proof` as those are redundant
* `NightshadeRuntime::apply_transactions` is updated to support
recording storage as well as using recorded nodes as a data source. This
will be needed for chunk validation using State Witness as part of
Stateless Validation.

part of #9628:
* when producing chunk: `RuntimeStorageConfig{ source:
StorageDataSource::Db, record_storage: true, .. }`
* when validating chunk: `RuntimeStorageConfig{ source:
StorageDataSource::Recorded(state_wintess.storage), .. }`
nikurt pushed a commit that referenced this issue Nov 2, 2023
* updates to RuntimeAdapter API:
* group all storage-related `apply_transactions` args into
`RuntimeStorageConfig` struct
* remove `check_state_transition` and
`apply_transactions_with_optional_storage_proof` as those are redundant
* `NightshadeRuntime::apply_transactions` is updated to support
recording storage as well as using recorded nodes as a data source. This
will be needed for chunk validation using State Witness as part of
Stateless Validation.

part of #9628:
* when producing chunk: `RuntimeStorageConfig{ source:
StorageDataSource::Db, record_storage: true, .. }`
* when validating chunk: `RuntimeStorageConfig{ source:
StorageDataSource::Recorded(state_wintess.storage), .. }`
@Longarithm
Copy link
Member

Completed

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

3 participants