-
Notifications
You must be signed in to change notification settings - Fork 115
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 consensus state interoperability tests #3833
Conversation
7b276d5
to
8f42e9d
Compare
8f42e9d
to
f41399e
Compare
58aca68
to
e44a5df
Compare
f41399e
to
318353b
Compare
e44a5df
to
9e5018f
Compare
ec843e3
to
7ede3a1
Compare
9e5018f
to
f60f796
Compare
7ede3a1
to
b5d0dc9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
return fmt.Errorf("consensus-mock: failed to finalize test root: %w", err) | ||
} | ||
|
||
fmt.Println("Consensus state root hash:", testRoot.Hash) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks slightly hackish, maybe the Populate
method should return the root and you can handle this in the caller for all fixtures?
} | ||
|
||
ndb.Close() | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove empty line.
7181148
to
f2912f8
Compare
d95f6e9
to
5dbdb13
Compare
90951c1
to
09863d4
Compare
09863d4
to
42d73ea
Compare
Codecov Report
@@ Coverage Diff @@
## master #3833 +/- ##
==========================================
+ Coverage 67.03% 67.13% +0.09%
==========================================
Files 404 404
Lines 41467 41467
==========================================
+ Hits 27799 27840 +41
+ Misses 9724 9683 -41
Partials 3944 3944
Continue to review full report at Codecov.
|
Implements interoperability tests for the rust consensus state wrappers.