Commit d93dc41
fix(evm-wallet-experiment): unblock docker e2e stack (#945)
## Summary
Three independent pre-existing fixes that unblock the docker e2e stack.
Found while verifying #943 locally; scoped separately.
- **`ca-certificates` in the evm image** — Foundry nightly 2026-04-22
needs a CA bundle even for `http://localhost`; `node:22-slim` ships
without one, so `cast bn` hangs forever and the `evm` container never
goes healthy.
- **`ALLOWED_HOSTS` hostnames only** — `network-caveat.ts` (added in
#942) matches `URL.hostname`, which never has a port. `'evm:8545'` never
matched `'evm'`, so every provider-vat fetch was rejected.
- **Surface twin error causes** — `away-coordinator` wraps per-twin
failures as `Error('All delegation twins failed', { cause })`; kernel
RPC only serializes `.message`, so the `'Insufficient budget'` reason
was invisible to callers. Concat the cause messages into the outer
message.
## Verification
- 39/39 docker e2e tests pass locally across all three modes
(`bundler-7702`, `bundler-hybrid`, `peer-relay`).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent b17aead commit d93dc41
3 files changed
Lines changed: 28 additions & 3 deletions
File tree
- packages/evm-wallet-experiment
- docker
- src/vats
- test/e2e/docker/helpers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
5 | 13 | | |
6 | 14 | | |
7 | 15 | | |
| |||
Lines changed: 16 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1811 | 1811 | | |
1812 | 1812 | | |
1813 | 1813 | | |
1814 | | - | |
| 1814 | + | |
| 1815 | + | |
| 1816 | + | |
| 1817 | + | |
| 1818 | + | |
| 1819 | + | |
| 1820 | + | |
| 1821 | + | |
1815 | 1822 | | |
1816 | 1823 | | |
1817 | 1824 | | |
| |||
1852 | 1859 | | |
1853 | 1860 | | |
1854 | 1861 | | |
1855 | | - | |
| 1862 | + | |
| 1863 | + | |
| 1864 | + | |
| 1865 | + | |
| 1866 | + | |
| 1867 | + | |
| 1868 | + | |
| 1869 | + | |
1856 | 1870 | | |
1857 | 1871 | | |
1858 | 1872 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
| |||
0 commit comments