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

Runtime should verify read/write sets #2012

Open
kostko opened this issue Aug 16, 2019 · 1 comment
Open

Runtime should verify read/write sets #2012

kostko opened this issue Aug 16, 2019 · 1 comment
Assignees
Labels
c:runtime Category: runtime c:security Category: security sensitive s:blocked Status: blocked on other work

Comments

@kostko
Copy link
Member

kostko commented Aug 16, 2019

The runtime should verify executed transactions against the received read/write sets. In case of mismatches the transaction should be reverted.

This should also implement the following storage helpers:

  • A special ReadSyncer that intercepts storage reads and uses them to build/compare the read set.
  • A MKVS write filter that can be used to easily build/compare the write set.
@kostko kostko added c:runtime Category: runtime c:security Category: security sensitive labels Aug 16, 2019
@kostko kostko self-assigned this Aug 30, 2019
@kostko kostko added the s:blocked Status: blocked on other work label Sep 17, 2019
@kostko
Copy link
Member Author

kostko commented Sep 17, 2019

Reversion costing gas (see #2081 (comment)) requires the following things to be resolved first:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:runtime Category: runtime c:security Category: security sensitive s:blocked Status: blocked on other work
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant