• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

shinghim / rust-bitcoin / 11819516981
84%

Build:
DEFAULT BRANCH: master
Ran 13 Nov 2024 02:39PM UTC
Jobs 1
Files 114
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Nov 2024 02:11PM UTC coverage: 82.469% (+0.03%) from 82.438%
11819516981

push

github

apoelstra
Merge rust-bitcoin/rust-bitcoin#3601: Fix bug in witness stack getters

<a class=hub.com/shinghim/rust-bitcoin/commit/<a class="double-link" href="https://git"><a class=hub.com/shinghim/rust-bitcoin/commit/1ed3fc9270c6e46f42f447bf1c63cfa64dafa5e8">1ed3fc927<a href="https://github.com/shinghim/rust-bitcoin/commit/38701213717045642abdd3b2f004be81f33887e4"> Add unit test for tapscript function (Tobin C. Harding)
<a class="double-link" href="https://github.com/shinghim/rust-bitcoin/commit/195615c14d2ee3632af54859bb403d6c622c95b7">195615c14</a> Fix bug in witness stack getters (Tobin C. Harding)

Pull request description:

  In #2646 we introduced a bug in the taproot witness stack getter functions, of which we have three:

  - `tapscript`
  - `taproot_control_block`
  - `taproot_annex`

  Each returns `Some` if a possible bytes slice is found (with no other guarantees).

  Use `taproot_annex` combined with getters from `primitives` to implement the other two getters. This simplifies the code and fixes the bug.

  Add an additional getter to `primitives` `Witness::third_from_last`.

  Fix: #3598

ACKs for top commit:
  sanket1729:
    ACK 1ed3fc9270c6e46f42f447bf1c63cfa64dafa5e8
  apoelstra:
    ACK 1ed3fc9270c6e46f42f447bf1c63cfa64dafa5e8; successfully ran local tests

Tree-SHA512: fdaa254a00fa486015427677332e62b9ec5

35 of 37 new or added lines in 2 files covered. (94.59%)

165 existing lines in 7 files now uncovered.

19753 of 23952 relevant lines covered (82.47%)

18156.28 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11819516981.1 13 Nov 2024 02:39PM UTC 0
82.47
GitHub Action Run
Source Files on build 11819516981
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #11819516981
  • 38701213 on github
  • Prev Build on master (#11800138732)
  • Next Build on master (#12022962139)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc