Files
Jules b501af3781 feat(e2e): add reusable Anvil wallet harness
* chore(e2e): remove dead pre-deposit deposit tests

Deposits are sunsetted; the Hub pre-deposits page is now withdrawal-only.
Drop the network-switch and validation specs, the deposit modal page
object, and the now-unused TEST_AMOUNTS and clickDepositForVault helpers.

* fix(e2e): repair pre-deposits display smoke test

- sidebar: match the renamed "Pre-deposit vaults" link
- vaultHeadings: anchor to "<token> vault" so FAQ headings aren't counted
- assert exact vault names to avoid FAQ strict-mode collisions

* chore: add changeset

* ci(e2e): align workflow triggers with CI

Run on push to main, pull_request, and workflow_call.
Drop deployment_status, path filters, and manual dispatch.

* feat(e2e): expand MetaMask harness for transaction flows

Add tx, token-spend and signature approval to the notification page
object, expose a reusable launchMetaMaskContext, and split VIEWPORT into
its own constants module. Drop the unused home page object.

* feat(e2e): add Anvil fork wallet harness

Local mainnet + Linea Anvil forks (docker compose + eRPC) with an
AnvilRpcHelper for funding and snapshot/revert, MetaMask RPC redirection
(service-worker patch + Smart Transactions disabler), and a Hub-connected
anvil fixture decoupled from any feature. Adds anvil:up/down + test:anvil
scripts and an `anvil` Playwright project; reads metamaskVersion from
package.json.

* chore(e2e): add changelog
2026-06-17 01:51:21 +09:00

47 lines
1.1 KiB
YAML

logLevel: warn
server:
httpHostV4: 0.0.0.0
httpPortV4: 4000
database:
evmJsonRpcCache:
connectors:
- id: memory-cache
driver: memory
memory:
maxItems: 1000000
policies:
# Cache immutable data permanently
- network: "evm:1|evm:59144"
method: "eth_getCode|eth_getBlockByNumber|eth_getBlockByHash|eth_getTransactionReceipt|eth_chainId"
finality: finalized
connector: memory-cache
ttl: 0
# Cache state queries with short TTL
- network: "evm:1|evm:59144"
method: "eth_getStorageAt|eth_getBalance|eth_getTransactionCount"
connector: memory-cache
ttl: 60s
projects:
- id: main
networks:
- architecture: evm
evm:
chainId: 1
- architecture: evm
evm:
chainId: 59144
upstreams:
- id: mainnet-primary
type: evm
endpoint: ${MAINNET_FORK_URL}
evm:
chainId: 1
- id: linea-primary
type: evm
endpoint: ${LINEA_FORK_URL}
evm:
chainId: 59144