Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cardano-api: Add limit for tx input index as 2^32
Making transaction body: add index bound checking. Test: do not generate input indices more than 2^32. Rationale: 2^32 is enough for tx input indices as a transaction can't have 2^32 inputs. Tx body roundtrip tests found indices overflow when they are more than 2^32.
- Loading branch information
Showing
2 changed files
with
15 additions
and
5 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
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