keep-starknet-strange / raito

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

[feat] draft block verification tests based on block data in tests/blocks #76

Closed Jeanmichel7 closed 2 months ago

Jeanmichel7 commented 2 months ago

Test validate_and_apply on block 0 and block 170. Added tests on generated next_chain_state Solved a few small bugs

Wait for more implementation for more tests Block 170 need txid() to generate merkle root, it currently fails because merkle root of tx is set to [0,0,...] so it reverts to non-duplication of hashes

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
raito ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 17, 2024 3:04pm
Jeanmichel7 commented 2 months ago

@m-kus

Jeanmichel7 commented 2 months ago

@m-kus I used i32, modifying the code as little as possible

Jeanmichel7 commented 2 months ago

Waiting #86 to rebase and push