This repository implements a generic CCIP-Read gateway for fetching state proofs of data on other EVM chains. The intended use is for contracts on L1 to be able to fetch and verify data from contracts on L2 in a read context.
The contract tests on arb-verifier is identical to the tests on op-verifier. I started Nitro Test node locally and run the test against and all passed successfully.
I also deployed cross-chain resolver pointing to the arb verifier and gateway and it successfully resolved the ETH address of arb.evmgateway.eth
Just a few notes on what I reviewed and tested.
The code mostly consists of two parts
getProvableBlock()
at arb-gateway/src/ArbProofService.ts that copies the gateway service code ofarb-resolver
getStorageValues()
at arb-verifier/contracts/ArbVerifier.sol that copies the_addrWithProof
code ofarb-resolver
arb-verifier
is identical to the tests onop-verifier
. I started Nitro Test node locally and run the test against and all passed successfully.arb.evmgateway.eth