You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you find a smaller reproduction? This calls through simplicityhl_core and simplicityhl and it's hard to tell how anything from rust-simplicity is being invoked.
It seems that commenting out the assert on amount or current_price actually makes the bug disappear, rather than introducing distinct keys (I accidentally deleted the assert line).
Can you find a smaller reproduction? This calls through simplicityhl_core and simplicityhl and it's hard to tell how anything from rust-simplicity is being invoked.
It seems the bug depends on that complex structure. In the original code, commenting out the asserts that depend on unused witness values solves the problem. However, this case does not reproduce the bug on its own, nor does the case containing only the bugged branch.
I’m not sure if this will be helpful, but I have visualized the SimplicityHL compiled output here.
I hope so. Regardless, I think we need to close this as "can't reproduce" since the only example provided uses other crates which are larger than this one.
Activity
apoelstra commentedon Dec 31, 2025
Can you find a smaller reproduction? This calls through
simplicityhl_coreandsimplicityhland it's hard to tell how anything from rust-simplicity is being invoked.KyrylR commentedon Jan 2, 2026
I was able to reproduce the bug with distinct public keys too (all details are here: BlockstreamResearch/simplicity-contracts#39)
topologoanatom commentedon Jan 2, 2026
It seems that commenting out the assert on
amountorcurrent_priceactually makes the bug disappear, rather than introducing distinct keys (I accidentally deleted the assert line).KyrylR commentedon Jan 2, 2026
Yeah, just replicated that, here is the code: https://github.com/BlockstreamResearch/simplicity-contracts/blob/fix/sig/crates/contracts/src/sig_verification/mod.rs
Now I am more sure that it has nothing to do with https://github.com/BlockstreamResearch/rust-simplicity
But rather this is a bug in the https://github.com/BlockstreamResearch/SimplicityHL
topologoanatom commentedon Jan 7, 2026
It seems the bug depends on that complex structure. In the original code, commenting out the asserts that depend on unused witness values solves the problem. However, this case does not reproduce the bug on its own, nor does the case containing only the bugged branch.
I’m not sure if this will be helpful, but I have visualized the SimplicityHL compiled output here.
KyrylR commentedon Mar 13, 2026
Fixed in: #348
apoelstra commentedon Mar 13, 2026
I hope so. Regardless, I think we need to close this as "can't reproduce" since the only example provided uses other crates which are larger than this one.