Commit cd4065c
fix(evm-wallet-experiment): docker e2e ALLOWED_HOSTS must be hostnames only
After PR #942 (Snaps network endowment factory) introduced the
`network-caveat.ts` matcher with strict "hostname-only, no port" semantics
(see packages/ocap-kernel/src/vats/network-caveat.ts:17-20), the e2e
allowlist entries `['evm:8545', 'bundler:4337']` never match
`URL.hostname` (which is just `'evm'` / `'bundler'`). Every fetch out of
the provider vat was rejected with "Invalid host: evm", causing every
docker e2e test to fail at `createSmartAccount`.
Drop the ports to match the caveat's contract.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent eef0379 commit cd4065c
1 file changed
Lines changed: 4 additions & 1 deletion
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