Open clowestab opened 10 months ago
The tests should pass using bun run test
. This uses a script to run the tests via ganache, which is necessary because hardhat-network does not support eth_getProof.
The OffchainData error is handled internally by Ethers, which implements eip 3668.
I'm just having a play with the gateway code.
The
l1-verifier
repo has a test scripttestL1Verifier.ts
.Running the tests with
npx hardhat test
results in failures across the board.Looking at the code it seems obvious why - the tests are expecting primitive type values whereas the fetch method of
EVMFetcher
reverts with the 3668OffchainLookup
error.These tests seem to be testing the wrong thing..?
These repos are not well documented at this point. Could clarity please be provided.