Skip to content

test(e2e): local Docker harness (machine-fetch stack 2/6) - #275

Closed
brendanjryan wants to merge 2 commits into
brendan/machine-fetch-1-vendorfrom
brendan/machine-fetch-2-e2e
Closed

brendanjryan wants to merge 2 commits into
brendan/machine-fetch-1-vendorfrom
brendan/machine-fetch-2-e2e

Conversation

@brendanjryan

@brendanjryan brendanjryan commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

2/6. Adds pnpm test:e2e: the CLI bundles against local Docker chains (anvil --network tempo on chain 42431, so the CLI's testnet network works through TEMPO_RPC_URL, and a plain anvil standing in for Base), local OUSD/USDC with DEX books and fee AMM pools, EIP-3009 USDC, a wallet store with an unpublished access key, local MPP/x402 servers, and a stand-in Relay (/quote/v2, /intents/status/v3) that can tamper with quotes or hold deliveries. Opt-in; pnpm test never runs it. Anvil is pinned to 1.8.4 (1.8.1 hangs on access-key limit failures).

Paired PRs

wallet-cli vendors machine-fetch main @ d168943 (0.3.0) and mppx brendan/wallet-cli-needs @ 8295134 (mppx@0.12.0 + the commits merged upstream as 82810df and 0acc2bc), pinned by commit until we choose to upgrade.

Runs the CLI bundles against anvil --network tempo (on testnet's chain ID, so
the CLI's testnet network works through TEMPO_RPC_URL) and a plain anvil
standing in for Base, adapted from machine-fetch's test/e2e. It deploys local
OUSD and USDC with DEX books and fee AMM pools, EIP-3009 USDC on the EVM node,
a wallet store with an unpublished access key, local MPP and x402 servers, and
a stand-in relay that serves Relay's quote and status endpoints, settles
deposits on Tempo, and releases USDC from inventory.

The first scenarios pay an MPP charge in a held token through the access key,
bridge through the stand-in relay, and settle an x402 authorization.
@brendanjryan
brendanjryan force-pushed the brendan/machine-fetch-1-vendor branch from 80ac6c3 to 98cd8ab Compare October 19, 2026 21:48
@brendanjryan
brendanjryan force-pushed the brendan/machine-fetch-2-e2e branch from 833bb27 to f7296ca Compare October 19, 2026 21:48
@brendanjryan

Copy link
Copy Markdown
Contributor Author

Superseded by #290, which consolidates the whole machine-fetch stack (#274–#279, #284, #285, #287) into one PR against main, with the same commits in order. Branches are kept.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant