keep-starknet-strange / shinigami

Bitcoin Script VM in Cairo
https://shinigamibtc.dev
MIT License
53 stars 55 forks source link

[bug] [bitcoin-core test] ''' DUP HASH256 SWAP SHA256 SHA256 EQUAL' #130

Closed b-j-roberts closed 1 month ago

b-j-roberts commented 1 month ago

Issue

The following bitcoin-core test is failing to give the correct result :

'' DUP HASH256 SWAP SHA256 SHA256 EQUAL

This is possibly due to some kind of overflow with i64 while hashing

We expect this test to pass and execute successfully.

Replicate

To replicate the issue you can use the latest main branch with the following command:

scarb cairo-run '[[],10023,2,[120734409039858093552956132617158781462505867478866172029331723693562607136],297717285196,5]'
adrianvrj commented 1 month ago

hey can I work on this?

onlydustapp[bot] commented 1 month ago

Hey @adrianvrj! Thanks for showing interest. We've created an application for you to contribute to shinigami. Go check it out on OnlyDust!

b-j-roberts commented 1 month ago

For sure @adrianvrj , thank you!

b-j-roberts commented 1 month ago

Duplicate bug from this issue: https://github.com/keep-starknet-strange/shinigami/issues/145