keep-starknet-strange / raito

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

[chore]: reorganize Tests crate #59

Closed TAdev0 closed 2 months ago

TAdev0 commented 2 months ago

This PR reorganizes Tests crate because all files inside it except tests.cairo where not compiled when running scarb test.

Now everything compiles, but the scripts to generate will still need improvements

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 12, 2024 2:28pm
TAdev0 commented 2 months ago

@maciejka its all good.

I tested it locally, it returns blocks with valid syntax/organization that compile without modification.

Is just missing the comment which will be deleted each time we regenerate the blocks. Might need a bit of help on that, dont know how to do that..

TAdev0 commented 2 months ago
tristan@Tristans-MacBook-Pro raito % ./scripts/data/get_blocks.sh

Getting block: 000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f
Getting block: 00000000d1145790a8694403d4063f323d499e655c83426834d4ce2f8dd4a2ee
All blocks retrieved successfully.
maciejka commented 2 months ago

@maciejka its all good.

I tested it locally, it returns blocks with valid syntax/organization that compile without modification.

Is just missing the comment which will be deleted each time we regenerate the blocks. Might need a bit of help on that, dont know how to do that..

Just add comments to the get_blocks.sh for now.

TAdev0 commented 2 months ago

@maciejka done

maciejka commented 2 months ago

@maciejka its all good. I tested it locally, it returns blocks with valid syntax/organization that compile without modification. Is just missing the comment which will be deleted each time we regenerate the blocks. Might need a bit of help on that, dont know how to do that..

Just add comments to the get_blocks.sh for now.

It is already there. Nice.