You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The l1-verifier repo has a test script testL1Verifier.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 3668 OffchainLookup error.
These tests seem to be testing the wrong thing..?
These repos are not well documented at this point. Could clarity please be provided.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: