-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] [bitcoin-core test] Script sig push only with NOP #215
Comments
@b-j-roberts please can i work on this |
Hey @Kaminar-i! |
Hey @ShantelPeters! |
Hey @b-j-roberts I want to work on this |
Hey @PavitraAgarwal21! |
This bug is happening due to the way PUSHONLY OPCODE was implemented A quick log along the execution path should show what is happening @b-j-roberts kindly assigned |
@Kaminar-i Yes, I can assign you. Welcome to the project. |
@Kaminar-i Any luck debugging this script yet? Did you have any questions? |
Hi @Kaminar-i @b-j-roberts I think that the problem of this issue might be in the pull_data function, you could check it after #221 it is integrated |
<!-- enter the gh issue after hash --> - [✅] issue #213 - [✅] follows contribution [guide](https://github.com/keep-starknet-strange/shinigami/blob/main/CONTRIBUTING.md) - [✅] code change includes tests <!-- PR description below --> Refactor the implementation of the **is_push_only** function. Closes #213 Closes #216 For the #214 && #215 I think that the problem might be in the <img width="702" alt="Screenshot 2024-09-16 at 10 58 59 PM" src="https://github.com/user-attachments/assets/73ef5d77-5965-478c-9543-3826c22d41b0"> --------- Co-authored-by: [email protected] <jsandinoDevjsandinoDevjsandinoDev> Co-authored-by: Brandon Roberts <[email protected]>
This was resolved as part of this PR, thank you for looking into it. |
) <!-- enter the gh issue after hash --> - [✅] issue keep-starknet-strange#213 - [✅] follows contribution [guide](https://github.com/keep-starknet-strange/shinigami/blob/main/CONTRIBUTING.md) - [✅] code change includes tests <!-- PR description below --> Refactor the implementation of the **is_push_only** function. Closes keep-starknet-strange#213 Closes keep-starknet-strange#216 For the keep-starknet-strange#214 && keep-starknet-strange#215 I think that the problem might be in the <img width="702" alt="Screenshot 2024-09-16 at 10 58 59 PM" src="https://github.com/user-attachments/assets/73ef5d77-5965-478c-9543-3826c22d41b0"> --------- Co-authored-by: [email protected] <jsandinoDevjsandinoDevjsandinoDev> Co-authored-by: Brandon Roberts <[email protected]>
Issue
The following bitcoin-core test is failing to give the correct result :
This code should be failing with a
p2sh not pushonly
error within the engine, but is passing. This is most likely due to the NOP8 opcode execution in the Script sig not giving thep2sh not pushonly
error like it should.Replicate
To replicate the issue you can use the latest
main
branch with the following command:This comment might help some with how to debug : #192 (comment)
The text was updated successfully, but these errors were encountered: