-
Notifications
You must be signed in to change notification settings - Fork 100
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
MockConsensusState
should not have commitment root
#1216
Comments
What should the constant value returned be? |
The same what we are setting at It's a bit difficult to make it I think, for now, we can just remove the pub struct MockConsensusState {
pub header: MockHeader,
- pub root: CommitmentRoot,
+ root: CommitmentRoot,
} |
Would probably be good to add a note comment about why there exists a private |
Improvement Summary
mock::ConsensusState
fromibc_proto
doesn't have any commitment root.Proposal
To avoid any unexpected assumptions, we should also remove commitment_root from
MockConsensuState
inibc-testkit
. TheConsensusState::root
implementation should return a constant value.Ref: #1052 (comment)
The text was updated successfully, but these errors were encountered: