Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Add interface to get current root and version #57

Closed
Tracked by #26
shuse2 opened this issue Sep 25, 2022 · 0 comments · Fixed by #60
Closed
Tracked by #26

Add interface to get current root and version #57

shuse2 opened this issue Sep 25, 2022 · 0 comments · Fixed by #60
Assignees
Milestone

Comments

@shuse2
Copy link
Collaborator

shuse2 commented Sep 25, 2022

Description

Add interface to return root and version (rename from height) to StateDB.
Both values should be save atomically with commit and revert

Motivation

  • root / version can be used for checking the current state of the stateDB

Acceptance Criteria

  • root and height should be stored consistently
  • Add tests to check root and height saved with commit
@shuse2 shuse2 added this to the Sprint 9 milestone Sep 26, 2022
@hrmhatef hrmhatef self-assigned this Sep 27, 2022
shuse2 added a commit that referenced this issue Sep 29, 2022
Add interface to get current root and version - Closes #57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants