Never inline ABI or bytecode in test files. Use the generated typed exports instead.
Artifacts live in contracts/local-deployments-artifacts/:
static-artifacts/- non-upgradeable contractsdynamic-artifacts/- upgradeable contracts
To add a new contract to E2E tests:
- Add the contract name to
INCLUDE_FILESine2e/scripts/generateAbi.ts. The generator runs automatically viapostinstallduringpnpm i, producinge2e/src/generated/<ContractName>Abi.ts. - Import in your test:
import { MyContractAbi, MyContractAbiBytecode } from "./generated";