Conversation
…trator
Collapse the monolithic cross-chain-e2e deploy logic into per-chain
packages under contracts/<chain>/deploy/ and a top-level orchestrator
scripts/deploy/deploy-contracts.sh. Adding a new chain now just means
dropping a contracts/<name>/deploy/ package exposing the standard CLI
(deploy / deploy-test-tokens / link) — no orchestrator or caller edits.
Core changes
- New @proofbridge/deployment-manifest package (zod schema + IO) as the
single source of truth for chain deployment manifests. CJS build so
both tsx/ESM and ts-node/CJS consumers work.
- scripts/deploy/deploy-contracts.sh
--chains <csv> default evm,stellar; N-chain full-mesh link
--fresh wipe stale ephemeral manifests before deploy
--no-fetch reuse bind-mounted artifacts (docker-local)
--seed-config-out emit a seed.config.yaml for the relayer seeder
--admin-email/--admin-password (env-driven, CI secret overrides)
- scripts/deploy/fetch-contracts-bundle.sh: shared bundle fetcher
(pulled out of docker-local/up.sh) used by both docker-local and CI.
Relayer seed
- Moved from scripts/relayer-e2e/lib/seed.ts into
apps/backend-relayer/src/seed/ as a Nest SeedModule + tsx-driven CLI
(pnpm seed:dev --config <yaml>). Reads manifest references (local
path or https URL), upserts Admin/Chain/Token/Route.
- Removed dead dist-based `seed` script and the legacy DeployedContracts
snapshot adapter.
E2E harnesses
- docker-local, backend-relayer-e2e, cross-chain-e2e all delegate deploy
to deploy-contracts.sh and seed to the relayer CLI.
- cross-chain-e2e/run.ts now loads emitted manifests instead of
redeploying inline; its lib/{evm,stellar,deploy}.ts collapse to thin
compat re-exports of the new per-chain packages.
- relayer-e2e/cli.ts narrowed to fund + flows.
Security hygiene
- ADMIN_PASSWORD env-driven (secret in CI, dev default fallback), seed
config shredded after seed runs, never uploaded as artifact.
- scripts/docker-local/docker-compose.yaml dev secrets now ${VAR:-default}
so operators override by env.
- .chains.env chmod 600; comment on emit() forbidding long-lived keys.
- .gitignore excludes ephemeral deployment manifests + bundle extract
dirs; prod manifests tracked via `git add -f`.
Docs + memory
- scripts/deploy/README.md documents the orchestrator + flags.
- Per-chain deploy READMEs under contracts/<chain>/deploy/.
- Memory: project_deploy_model + project_evm_deploy_driver codify
Signed-off-by: JoE11-y <Josephedoh77@gmail.com>
…rations refactor(deploy): split pipeline into per-chain rails + shared orchestrator
…rations chore: cleanups
…rations Feat: add auto-merchant app
…rations chore: debug evm faucet
…rations chore: cleanup auto merchant
…rations chore: add cokploy network
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
No description provided.