keep-starknet-strange / raito

Bitcoin ZK client written in Cairo.
https://raito.wtf
MIT License
40 stars 34 forks source link

[dev] Add tests for invalid input sequence (relative locktime) #178

Closed m-kus closed 1 month ago

m-kus commented 1 month ago

Currently there are unit tests that cover happy path when relative locktime regulated by input sequence is respected.
We need to also include tests for unhappy paths.

Extend locktime.cairo with several tests that cover scenarios both for time & height based locktimes.

Reading: https://learnmeabitcoin.com/technical/transaction/input/sequence/ (see Relative Locktime section)

m-kus commented 1 month ago

@mubarak23 want to follow up?

ShantelPeters commented 1 month ago

Hi @m-kus please can I work on this?

onlydustapp[bot] commented 1 month ago

Hey @ShantelPeters! Thanks for showing interest. We've created an application for you to contribute to Raito - Bitcoin ZK Client. Go check it out on OnlyDust!

mubarak23 commented 1 month ago

@mubarak23 want to follow up?

Yes Kindly assign @m-kus