Skip to content

script: refactor push_int_unchecked and test push_int overflow#3411

Merged
apoelstra merged 2 commits intorust-bitcoin:masterfrom
ChrisCho-H:refactor/cleaner-push-int
Sep 26, 2024
Merged

script: refactor push_int_unchecked and test push_int overflow#3411
apoelstra merged 2 commits intorust-bitcoin:masterfrom
ChrisCho-H:refactor/cleaner-push-int

Conversation

@ChrisCho-H
Copy link
Copy Markdown
Contributor

@ChrisCho-H ChrisCho-H commented Sep 26, 2024

Follow up #3392

c9988ba

a33bcd3

  • ensure newly introduced safe push_int function as expected, testing if returns Error::NumericOverflow when n is i32::MIN

@github-actions github-actions bot added the C-bitcoin PRs modifying the bitcoin crate label Sep 26, 2024
@ChrisCho-H ChrisCho-H changed the title refactor push_int_unchecked and test push_int overflow script: refactor push_int_unchecked and test push_int overflow Sep 26, 2024
@coveralls
Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 11043704970

Details

  • 9 of 9 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 82.85%

Totals Coverage Status
Change from base Build 11042783497: 0.02%
Covered Lines: 19005
Relevant Lines: 22939

💛 - Coveralls

Copy link
Copy Markdown
Member

@tcharding tcharding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK a33bcd3

@tcharding
Copy link
Copy Markdown
Member

Thanks man! You're killing it these days. FYI we use a script to merge and it causes a load of notifications if there is a mention in the PR description. I removed the @ from my username.

Copy link
Copy Markdown
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK a33bcd3 successfully ran local tests

@apoelstra apoelstra merged commit be4dffb into rust-bitcoin:master Sep 26, 2024
tcharding added a commit to tcharding/rust-bitcoin that referenced this pull request Oct 15, 2024
Copy the `rust.yml` file from `master` at commit:

be4dffb Merge rust-bitcoin#3411: script: refactor
push_int_unchecked and test push_int overflow

Requires also copying:

- `contrib/crates.sh`
- `hashes/contrib/wasm.sh`
- `hashes/contrib/sanitizer.sh`
tcharding added a commit to tcharding/rust-bitcoin that referenced this pull request Oct 21, 2024
Copy the `rust.yml` file from `master` at commit:

be4dffb Merge rust-bitcoin#3411: script: refactor
push_int_unchecked and test push_int overflow

Requires also copying:

- `contrib/crates.sh`
- `hashes/contrib/wasm.sh`
- `hashes/contrib/sanitizer.sh`
yancyribbens pushed a commit to yancyribbens/rust-bitcoin that referenced this pull request Dec 3, 2025
Copy the `rust.yml` file from `master` at commit:

be4dffb Merge rust-bitcoin#3411: script: refactor
push_int_unchecked and test push_int overflow

Requires also copying:

- `contrib/crates.sh`
- `hashes/contrib/wasm.sh`
- `hashes/contrib/sanitizer.sh`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-bitcoin PRs modifying the bitcoin crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants