Investigate BlobstreamX contracts refactoring
Opened this issue · 2 comments
rach-id commented
We should investigate if it is possible to simplify the BlobstreamX smart contracts architecture so that they're easy to deploy for new chains.
evan-forbes commented
@rach-id when you get the chance, do mind adding / updating the acceptance criteria here to be more specific? Do we know what else is needed here before making a decision? do we know what we need from any refactors to make this worth it? Will switching to sp1 help this?
rach-id commented
Before SP1, we had the following contracts:
- Circuit Verifier: verifies the proofs
- SuccinctGateway: which is a registry for circuit verifiers and used to access control the verifiers
- BlobstreamX contract
With SP1, we will have:
- SP1 universal verifier: which verifies SP1 proofs. So we no longer need to deploy a verifier per circuit
- BlobstreamX: where the logic in SuccinctGateway got moved to BlobstreamX
I don't think we can simplify the contracts anymore after moving to SP1. So I think we can close this.
Let me know if you agree so that I close.