Skip to content

Handle unhandled exceptions in parse_bytecode_pattern_redeem#70

Open
mainnet-pat wants to merge 1 commit into
bitauth:masterfrom
mainnet-pat:parse_bytecode_pattern_redeem_fix
Open

Handle unhandled exceptions in parse_bytecode_pattern_redeem#70
mainnet-pat wants to merge 1 commit into
bitauth:masterfrom
mainnet-pat:parse_bytecode_pattern_redeem_fix

Conversation

@mainnet-pat
Copy link
Copy Markdown

Fixes #55

parse_bytecode_pattern_redeem_fix tries to parse coinbase unlocking bytecodes which (are non-scripts) and fails pushdata interpretations. Added unhandled exception handler to fix this.

@rnbrady
Copy link
Copy Markdown

rnbrady commented Apr 13, 2026

Nice fix. This should go in a new migration rather than editing a historical one, which will allow existing deployments to benefit too.

@rnbrady
Copy link
Copy Markdown

rnbrady commented May 13, 2026

Update: this actually just hides the error. PR #76 contains a fix to the underlying issue courtesy of GPT 5.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Query failing with "negative substring length not allowed"

2 participants