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.
1) Crosschain Resolver
should test ETH Address:
Error: execution reverted: "MerkleTrie: provided proof is invalid" (action="call", data="0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000254d65726b6c65547269653a2070726f76696465642070726f6f6620697320696e76616c6964000000000000000000000000000000000000000000000000000000", reason="MerkleTrie: provided proof is invalid", transaction={ "data": "0x3b3b57de80ee077a908dffcf32972ba13c2df16b42688e1de21bcf17d3469a8507895eae", "to": "0x5095E8F2f0Af84c8D49122aa4488AdA7422211F1" }, invocation=null, revert={ "args": [ "MerkleTrie: provided proof is invalid" ], "name": "Error", "signature": "Error(string)" }, code=CALL_EXCEPTION, version=6.8.0)
at makeError (/Users/makoto/work/ens/tmp/evmgateway/node_modules/ethers/src.ts/utils/errors.ts:694:21)
at getBuiltinCallException (/Users/makoto/work/ens/tmp/evmgateway/node_modules/ethers/src.ts/abi/abi-coder.ts:118:21)
at Function.getBuiltinCallException (/Users/makoto/work/ens/tmp/evmgateway/node_modules/ethers/src.ts/abi/abi-coder.ts:230:16)
at Interface.makeError (/Users/makoto/work/ens/tmp/evmgateway/node_modules/ethers/src.ts/abi/interface.ts:925:32)
at staticCallResult (/Users/makoto/work/ens/tmp/evmgateway/node_modules/ethers/src.ts/contract/contract.ts:340:42)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at async staticCall (/Users/makoto/work/ens/tmp/evmgateway/node_modules/ethers/src.ts/contract/contract.ts:303:24)
at async Proxy.addr (/Users/makoto/work/ens/tmp/evmgateway/node_modules/ethers/src.ts/contract/contract.ts:351:41)
at async Context.<anonymous> (test/testResolver.ts:109:21)
This change now causes proof error