-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
go/consensus/api/transaction/testvectors: Add ValidTx to TestVector
Update MakeTestVector() and MakeTestVectorWithSigner() functions to take the validTx argument indicating whether the transaction is (statically) 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.
- Loading branch information
Showing
6 changed files
with
135 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
go/consensus/api/transaction/testvectors: Add `ValidTx` field to `TestVector` | ||
|
||
Update `MakeTestVector()` and `MakeTestVectorWithSigner()` functions to take | ||
the `validTx` argument indicating whether the transaction is (statically) | ||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.