Files
Vaclav PavlinandClaude Opus 5 748dd74d29 fix(ci): patch the wallet config schema LEZ v0.2.1+ actually reads (#260)
The e2e scripts point the wallet at a non-default sequencer port by writing
a top-level `sequencer_addr` into wallet_config.json. LEZ v0.2.1 moved that
field into a `sequencers` array (lez/wallet/src/config.rs: `sequencers:
Vec<SequencerConnectionData>`), and the config is parsed with plain serde
without deny_unknown_fields — so the old key is silently ignored and the
wallet keeps talking to the default port 3040.

That is why init-e2e and ffi-call-test fail with "Failed to find leader"
against LEZ v0.2.4 while smoke-test-privacy passes: privacy runs on the
default port 3040 and never patches the config at all.

Patch whichever schema the config presents, so the scripts keep working on
both old and new LEZ revisions. Existing entry fields (e.g. basic_auth) are
preserved.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-24 15:19:23 +02:00
..