You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(funder): source dedicated funder seed from env secret
The dedicated testnet funder seed was hardcoded in funder.ts, shipping in every
published binary. Read it from the MASTER_FUNDER_SEED environment variable
instead (CI injects it from the repository secret of the same name); when
unset, the funder chain degrades to Alice-only. The chain is exercised only by
the E2E suite and operator tooling, so no end-user command is affected.
Also reorder the chain so the dedicated funder is primary and public Alice is
the fallback — draw down our own controlled account first rather than the
shared dev account others drain unpredictably.
- funder.ts: derive dedicated funder from MASTER_FUNDER_SEED?.trim() at //0;
drop the literal mnemonic; dedicated entry leads FUNDER_CHAIN
- check-funder-balance.ts: exit 2 with a clear message when the seed is unset
- CI: inject MASTER_FUNDER_SEED from the secret in the e2e + balance-check workflows
- docs/e2e-bootstrap.md: MASTER_FUNDER_SEED is now actually consumed (was documented but unwired)
- add funder.test.ts; update funding.test.ts for the new order
0 commit comments