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

Basic consensus layer state accessors for Rust #3564

Closed
Tracked by #3431
kostko opened this issue Dec 11, 2020 · 0 comments · Fixed by #3823
Closed
Tracked by #3431

Basic consensus layer state accessors for Rust #3564

kostko opened this issue Dec 11, 2020 · 0 comments · Fixed by #3823
Assignees
Labels
c:runtime Category: runtime

Comments

@kostko
Copy link
Member

kostko commented Dec 11, 2020

As of #3511 the runtimes are able to access consensus layer state. The missing part are the data structures required to access state from Rust, specifically:

  • consensus.LightBlock
  • staking.state.ImmutableState (partial)

This also requires the consensus layer version to be checked on runtime initialization and rejected in case it is incompatible. Later on we can consider adding additional Rust state representations as required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:runtime Category: runtime
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants