keep-starknet-strange / blobstream-starknet

Celestia -> Starknet bridge
https://blobstream-stark.net
MIT License
46 stars 28 forks source link

[feat] Blobstream Contracts Integration Tests #85

Open b-j-roberts opened 7 months ago

b-j-roberts commented 7 months ago

Create integration tests (scripts) for the Blobstream contract(s) by doing the following :

Possibly use mock implementations where needed.

References

https://github.com/keep-starknet-strange/blobstream-starknet/blob/main/src/lib.cairo

b-j-roberts commented 7 months ago

This is currently blocked. Waiting for Katana to upgrade the supported JSON-RPC spec to 0.6.0

It was posted that this should be soon https://t.me/dojoengine/5922

b-j-roberts commented 6 months ago

The decision to switch from Katana to starknet-devnet-rs has unblocked this. Katana does now support 0.6.0, but this decision was made prior to that. I think this is still the best way to go because forking starknet-devnet-rs doesn't require forking the entire dojo engine. ( Forking will be required to unblock Groth EC pairings with new syscalls for now )

b-j-roberts commented 6 months ago

Update

We have decided to integrate with Herodotus storage proof's / API. So, instead of using a devnet for integration tests, we will need to do tests on Sepolia for the integration. This would include setting up deployment and upgrading scripts for the BlobstreamX contracts on Sepolia, script for sending a blob to Celestia, using the request data commitments from Herodotus script, updating Starknet BlobstreamX data commitments from the Herodotus Fact registry, and verifying DA for the blob on Starknet through BlobstreamX.

References

thomas192 commented 5 months ago

@b-j-roberts @drspacemn

So remaining scripts to do are :

Can I work on these ? If so, is starkli the way to go ?

drspacemn commented 5 months ago

@thomas192 yes this is a good summary of the remaining scripts. Can you take #138 and I'll take #139 ?

gogo2464 commented 4 months ago

duplicate of https://github.com/keep-starknet-strange/blobstream-starknet/issues/136 ?