-
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
go/consensus/api/transaction/testvector: Extend TestVector to suport the notion of a (statically) valid transaction #3845
Conversation
717f602
to
9485e2b
Compare
47a5aa3
to
09415eb
Compare
This makes it consistent with how we usually order protocol versions in output and when initializing the ProtocolVersions struct.
09415eb
to
a194c3c
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.
Update the governance workload as it is generating too long names now 😄
a194c3c
to
a4631f5
Compare
He he, I didn't see that one comming 😄. I think it should be fixed now. |
Still failing due to invalid proposal. |
Also drop entity from {min,max}EntityDescriptorVersion constants. The entity part was redundant.
a4631f5
to
1dc7054
Compare
Extend meaning of TestVector's Valid field to also indicate that the given test vector's transaction passes basic static validation (besides having a valid signature and being correctly serialized). Update MakeTestVector() and MakeTestVectorWithSigner() functions to take the valid argument indicating whether the transaction is valid or not. Update go/registry/gen_vectors, go/staking/gen_vectors and go/governance/gen_vectors packages. Expand go/governance/gen_vectors package to cover more (invalid) transaction cases.
1dc7054
to
3313495
Compare
Codecov Report
@@ Coverage Diff @@
## master #3845 +/- ##
==========================================
- Coverage 67.14% 66.96% -0.19%
==========================================
Files 404 404
Lines 41428 41448 +20
==========================================
- Hits 27816 27754 -62
- Misses 9678 9744 +66
- Partials 3934 3950 +16
Continue to review full report at Codecov.
|
No description provided.