forked from rust-bitcoin/rust-bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge rust-bitcoin#3782: A couple of kani fixes
f4617e7 kani: Verify no out of bounds for ArrayVec (Tobin C. Harding) e378cdd kani: Don't bother checking signed to unsigned conversion (Tobin C. Harding) 50224ee kani: Don't overflow the tests (Tobin C. Harding) Pull request description: PR does two things because a recent upgrade of `kani` broke our setup. I'm not sure why it just showed up. We fix the verification for `amount` types which recently broke because of `MAX_MONEY` changes and then we add a verification function to `internals` because build fails and one fix is to just add something. - Patch 1: units: Assumes correct values - Patch 2: units: Removes a stale check now that MAX_MONEY is being used for MAX - Patch 3: Add verification to `internals::ArrayVec`. ACKs for top commit: apoelstra: ACK f4617e7; successfully ran local tests Tree-SHA512: dfef05a7bbb5372415efa8acab7f79801aa7326ac298c007b173786f00bcccd0b1b81d327113723c359fb2797895414a586cc3fb86e495476a03fcac02a96899
- Loading branch information
Showing
3 changed files
with
57 additions
and
57 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
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