Test report · · 4 min read
MeshProof on forks of Base, OP and Arbitrum
Our 12-step browser check passed on all four forks, and real USDC deposits and withdrawals worked. This is fork-level only: nothing ran on a testnet or mainnet.
1. What we ran
MeshProof is a peer-to-peer marketplace for AI inference on Base. Buyers pay each job in USDC, payments settle in batches, and providers prove which model they run. Until now it ran only on a local test chain. This week we ran it on local copies (forks) of four real chains.
- Forks of Base, Base Sepolia, OP Mainnet and Arbitrum One, all local. The chain id stays 31337 and only test keys were used. Nothing was spent and nothing was deployed live.
- The 12-step browser check clicks through the whole buyer and provider flow. It used a mock USDC, with the code on the test accounts cleared.
- A separate test,
ForkUSDC, uses the real chain id and real USDC. It makes a deposit, redeems 3 vouchers, lets the provider withdraw, and lets the buyer withdraw after 2 days.
2. Results by chain
| Chain | 12-step check | Real-USDC check |
|---|---|---|
| Base | Pass, 12 of 12, 0 console errors | Pass |
| Base Sepolia | Pass, 12 of 12, 0 console errors | Pass |
| OP Mainnet | Pass, 12 of 12, 0 console errors | Pass |
| Arbitrum One | Pass, 3 of 3 runs | Pass |
Arbitrum failed its first run, and a rerun, with Server start timeout
. The fork's block number stopped moving, so the test's wait for confirmed transactions never finished. The fix, for forks only, is to start the local chain with --block-time 1 --mixed-mining. We then reran all four chains on the final code.
3. The full contract suite
We also ran the whole contract test suite (115 tests) against each fork. It was written for a fresh chain, so some failures are expected.
The failures fall into four groups:
- Some well-known test keys already carry EIP-7702 smart-wallet code on these chains. Signers with code fail, and buyers with code revert on the ERC-1271 check.
- Four tests sign vouchers with an expiry that is already past on a long-running chain, so nothing is redeemed. They fail on every chain.
- The invariant tests stop at setup on Base, Base Sepolia and OP with a "lack of funds" error. Zero gas price does not fix it, so we have not found the cause.
- One test expects the P256 precompile to be missing, but these chains have it.
4. One product finding
A receipt signer must have no code. A buyer whose account has been upgraded with EIP-7702 can pay only if the account it points to supports ERC-1271 signature checks. We added this to the design notes.
Sources and credits
- Test report of 5 Dec 2026 and its logs. The code is in a private repository.
- Tools: Foundry's anvil for the forks.
Tests run by Claude (Anthropic) and reviewed by Codex (gpt-6.1-sol). This page was drafted and edited by Claude.