Harden deployment env flows and surface external blockers
Some checks failed
Deploy to Phoenix / validate (push) Failing after 10s
Deploy to Phoenix / deploy (push) Has been skipped
Deploy to Phoenix / deploy-atomic-swap-dapp (push) Has been skipped
Deploy to Phoenix / cloudflare (push) Has been skipped

This commit is contained in:
defiQUG
2026-04-22 14:47:52 -07:00
parent dc123ff647
commit d9a3053a58
19 changed files with 318 additions and 51 deletions

View File

@@ -1,9 +1,10 @@
# Deployment Data Sources Index — Dotenv and Config Files
**Last Updated:** 2026-02-27
**Last Updated:** 2026-04-22
**Purpose:** Index of files that contain or reference smart contract deployment addresses, RPC endpoints, or deployment configuration.
**Deployer:** `0x4A666F96fC8764181194447A7dFdb7d471b301C8`
**Primary deployer (smom / core scripts):** `0x4A666F96fC8764181194447A7dFdb7d471b301C8`
**Thirdweb / CREATE2 deploys:** `0xB2dEA0e264ddfFf91057A3415112e57A1a5Eac14` — contract txs submitted to **RPC VMID 2103** (`http://192.168.11.217:8545`); on-chain path is **CREATE2** via the singleton at `0x4e59b44847b379578588920ca78fbf26c0b4956c` (see [RPC_ENDPOINTS_MASTER.md](../04-configuration/RPC_ENDPOINTS_MASTER.md) § Active RPC nodes).
**Canonical contract list:** [DEPLOYER_CONTRACTS_INVENTORY_AND_VERIFICATION_STATUS.md](DEPLOYER_CONTRACTS_INVENTORY_AND_VERIFICATION_STATUS.md) | [CONTRACT_ADDRESSES_REFERENCE.md](CONTRACT_ADDRESSES_REFERENCE.md)
---
@@ -13,7 +14,7 @@
| File | Contains addresses? | Notes |
|------|--------------------|--------|
| **smom-dbis-138/.env** | Yes | Canonical for Chain 138: PRIVATE_KEY, RPC_URL_138, cUSDT/cUSDC/…, CCIP, DODO PMM, pools, TRANSACTION_MIRROR, vaults. Do not commit. |
| **.env** (repo root) | Partial | RPC_URL_138, PRIVATE_KEY, ETHEREUM_MAINNET_RPC, CHAIN_651940_RPC_URL, API keys. |
| **.env** (repo root) | Partial | RPC_URL_138, optional PRIVATE_KEY / DEPLOYER_ADDRESS, ETHEREUM_MAINNET_RPC, ALL_MAINNET_RPC, CHAIN_651940_RPC_URL, API keys. |
---
@@ -44,7 +45,8 @@
## 4. Script load order
- **scripts/lib/load-project-env.sh** — loads root .env, ip-addresses.conf, smom-dbis-138/.env.
- **scripts/lib/load-project-env.sh** — loads root `.env`, `ip-addresses.conf`, `smom-dbis-138/.env`, derives `DEPLOYER_ADDRESS` from `PRIVATE_KEY`, and aliases `CHAIN_651940_RPC_URL <- ALL_MAINNET_RPC` when needed.
- **smom-dbis-138/scripts/lib/deployment/dotenv.sh** — now mirrors the same deployer/all-mainnet fallbacks when `ENV_FILE` is not overriding the default load path.
- **scripts/lib/load-contract-addresses.sh** — reads config/smart-contracts-master.json and contract-addresses.conf; .env overrides.
---

View File

@@ -136,8 +136,8 @@ The following items have been **brought within scope** and are implemented.
### 6.3 AUSDT and ALL Mainnet (651940) — **Implemented (env validation only)**
- **All-chains script:** Chain **651940** is in the chain list. The script does **not** deploy tokens on 651940; it only runs **env validation**: if `CHAIN_651940_RPC` is set, it checks/reminds to set `AUSDT_ADDRESS_651940` (ecosystem token; not deployed by this repo).
- **Env:** `CHAIN_651940_RPC` (or `ALL_MAINNET_RPC`), `AUSDT_ADDRESS_651940`.
- **All-chains script:** Chain **651940** is in the chain list. The script does **not** deploy tokens on 651940; it only runs **env validation**: if `CHAIN_651940_RPC` or `CHAIN_651940_RPC_URL` is set, it checks/reminds to set `AUSDT_ADDRESS_651940` (ecosystem token; not deployed by this repo).
- **Env:** `CHAIN_651940_RPC`, `CHAIN_651940_RPC_URL`, or `ALL_MAINNET_RPC`, plus `AUSDT_ADDRESS_651940`.
---