docs(cronos): refresh explorer ops and verification runbooks; ignore .verify-dodo cache
Some checks failed
Verify Deployment / Verify Deployment (push) Has been cancelled
CI/CD Pipeline / Solidity Contracts (push) Has been cancelled
CI/CD Pipeline / Security Scanning (push) Has been cancelled
CI/CD Pipeline / Lint and Format (push) Has been cancelled
CI/CD Pipeline / Terraform Validation (push) Has been cancelled
CI/CD Pipeline / Kubernetes Validation (push) Has been cancelled
Deploy ChainID 138 / Deploy ChainID 138 (push) Has been cancelled
Validation / validate-genesis (push) Has been cancelled
Validation / validate-terraform (push) Has been cancelled
Validation / validate-kubernetes (push) Has been cancelled
Validation / validate-smart-contracts (push) Has been cancelled
Validation / validate-security (push) Has been cancelled
Validation / validate-documentation (push) Has been cancelled

- Tweak cronos check/export/verify scripts for current workflow
- Gitignore .verify-dodo/ alongside .cronos-verify/

Made-with: Cursor
This commit is contained in:
defiQUG
2026-03-24 18:11:08 -07:00
parent 4f7b335a4b
commit fc3a95de08
7 changed files with 10 additions and 7 deletions

1
.gitignore vendored
View File

@@ -31,6 +31,7 @@ out/
cache/ cache/
broadcast/ broadcast/
.cronos-verify/ .cronos-verify/
.verify-dodo/
# IDE # IDE
.vscode/ .vscode/

View File

@@ -65,7 +65,7 @@ Per [Contract Deployment and Verification](https://docs.cronos.org/for-dapp-deve
|----------|---------| |----------|---------|
| WETH9 | `0x99B3511A2d315A497C8112C1fdd8D508d4B1E506` | | WETH9 | `0x99B3511A2d315A497C8112C1fdd8D508d4B1E506` |
| WETH10 | `0x3304b747E565a97ec8AC220b0B6A1f6ffDB837e6` | | WETH10 | `0x3304b747E565a97ec8AC220b0B6A1f6ffDB837e6` |
| CCIPWETH9Bridge | `0x8078A09637e47Fa5Ed34F626046Ea2094a5CDE5e` | | CCIPWETH9Bridge | `0x3Cc23d086fCcbAe1e5f3FE2bA4A263E1D27d8Cab` |
| CCIPWETH10Bridge | `0x105F8A15b819948a89153505762444Ee9f324684` | | CCIPWETH10Bridge | `0x105F8A15b819948a89153505762444Ee9f324684` |
--- ---
@@ -78,7 +78,7 @@ Use `eth_getCode` to confirm contracts have bytecode:
```bash ```bash
RPC="https://evm.cronos.org" RPC="https://evm.cronos.org"
for addr in 0x99B3511A2d315A497C8112C1fdd8D508d4B1E506 0x3304b747E565a97ec8AC220b0B6A1f6ffDB837e6 0x8078A09637e47Fa5Ed34F626046Ea2094a5CDE5e 0x105F8A15b819948a89153505762444Ee9f324684; do for addr in 0x99B3511A2d315A497C8112C1fdd8D508d4B1E506 0x3304b747E565a97ec8AC220b0B6A1f6ffDB837e6 0x3Cc23d086fCcbAe1e5f3FE2bA4A263E1D27d8Cab 0x105F8A15b819948a89153505762444Ee9f324684; do
code=$(cast code $addr --rpc-url $RPC 2>/dev/null) code=$(cast code $addr --rpc-url $RPC 2>/dev/null)
echo "$addr: $([ ${#code} -gt 10 ] && echo 'OK' || echo 'MISSING')" echo "$addr: $([ ${#code} -gt 10 ] && echo 'OK' || echo 'MISSING')"
done done
@@ -96,6 +96,7 @@ done
2. Follow the step-by-step runbook: `docs/deployment/CRONOS_VERIFICATION_RUNBOOK.md` 2. Follow the step-by-step runbook: `docs/deployment/CRONOS_VERIFICATION_RUNBOOK.md`
3. Check status: `./scripts/deployment/check-cronos-verification-status.sh` 3. Check status: `./scripts/deployment/check-cronos-verification-status.sh`
4. Or: Open https://explorer.cronos.org/verifyContract, enter address, select compiler/optimization, paste flattened source 4. Or: Open https://explorer.cronos.org/verifyContract, enter address, select compiler/optimization, paste flattened source
5. If the API returns `Invalid parameter(s)` or `JSON files not found`, prefer the web UI and upload the generated `*_standard_input.json` file instead of retrying the API blindly.
--- ---

View File

@@ -18,7 +18,7 @@ Contracts were **deployed with `via_ir = true`** (Foundry default). Flattened-so
|----------|---------|-------| |----------|---------|-------|
| WETH9 | `0x99B3511A2d315A497C8112C1fdd8D508d4B1E506` | [View](https://explorer.cronos.org/address/0x99B3511A2d315A497C8112C1fdd8D508d4B1E506) | | WETH9 | `0x99B3511A2d315A497C8112C1fdd8D508d4B1E506` | [View](https://explorer.cronos.org/address/0x99B3511A2d315A497C8112C1fdd8D508d4B1E506) |
| WETH10 | `0x3304b747E565a97ec8AC220b0B6A1f6ffDB837e6` | [View](https://explorer.cronos.org/address/0x3304b747E565a97ec8AC220b0B6A1f6ffDB837e6) | | WETH10 | `0x3304b747E565a97ec8AC220b0B6A1f6ffDB837e6` | [View](https://explorer.cronos.org/address/0x3304b747E565a97ec8AC220b0B6A1f6ffDB837e6) |
| CCIPWETH9Bridge | `0x8078A09637e47Fa5Ed34F626046Ea2094a5CDE5e` | [View](https://explorer.cronos.org/address/0x8078A09637e47Fa5Ed34F626046Ea2094a5CDE5e) | | CCIPWETH9Bridge | `0x3Cc23d086fCcbAe1e5f3FE2bA4A263E1D27d8Cab` | [View](https://explorer.cronos.org/address/0x3Cc23d086fCcbAe1e5f3FE2bA4A263E1D27d8Cab) |
| CCIPWETH10Bridge | `0x105F8A15b819948a89153505762444Ee9f324684` | [View](https://explorer.cronos.org/address/0x105F8A15b819948a89153505762444Ee9f324684) | | CCIPWETH10Bridge | `0x105F8A15b819948a89153505762444Ee9f324684` | [View](https://explorer.cronos.org/address/0x105F8A15b819948a89153505762444Ee9f324684) |
--- ---
@@ -78,6 +78,7 @@ For each contract:
- **Unmatched** — Ensure you use **Standard-Json-Input**, not flattened source. Flattened source will always fail (via_ir mismatch). - **Unmatched** — Ensure you use **Standard-Json-Input**, not flattened source. Flattened source will always fail (via_ir mismatch).
- **Constructor args rejected** — Use the exact ABI-encoded values above; include or omit `0x` per the form. - **Constructor args rejected** — Use the exact ABI-encoded values above; include or omit `0x` per the form.
- **Contract name dropdown empty** — The JSON must compile cleanly; re-export with the script if needed. - **Contract name dropdown empty** — The JSON must compile cleanly; re-export with the script if needed.
- **`Invalid parameter(s)` / `JSON files not found` from the API** — Treat this as an explorer-side validation failure, not a contract failure. Use the web UI at `https://explorer.cronos.org/verifyContract`, upload the generated `*_standard_input.json` file, and enter the constructor args manually if the API rejects the multipart request.
--- ---

View File

@@ -12,7 +12,7 @@ RPC="${CRONOS_RPC_URL:-https://evm.cronos.org}"
CONTRACTS=( CONTRACTS=(
"0x99B3511A2d315A497C8112C1fdd8D508d4B1E506:WETH9" "0x99B3511A2d315A497C8112C1fdd8D508d4B1E506:WETH9"
"0x3304b747E565a97ec8AC220b0B6A1f6ffDB837e6:WETH10" "0x3304b747E565a97ec8AC220b0B6A1f6ffDB837e6:WETH10"
"0x8078A09637e47Fa5Ed34F626046Ea2094a5CDE5e:CCIPWETH9Bridge" "0x3Cc23d086fCcbAe1e5f3FE2bA4A263E1D27d8Cab:CCIPWETH9Bridge"
"0x105F8A15b819948a89153505762444Ee9f324684:CCIPWETH10Bridge" "0x105F8A15b819948a89153505762444Ee9f324684:CCIPWETH10Bridge"
) )

View File

@@ -12,7 +12,7 @@ RPC="${CRONOS_RPC_URL:-https://evm.cronos.org}"
CONTRACTS=( CONTRACTS=(
"0x99B3511A2d315A497C8112C1fdd8D508d4B1E506:WETH9" "0x99B3511A2d315A497C8112C1fdd8D508d4B1E506:WETH9"
"0x3304b747E565a97ec8AC220b0B6A1f6ffDB837e6:WETH10" "0x3304b747E565a97ec8AC220b0B6A1f6ffDB837e6:WETH10"
"0x8078A09637e47Fa5Ed34F626046Ea2094a5CDE5e:CCIPWETH9Bridge" "0x3Cc23d086fCcbAe1e5f3FE2bA4A263E1D27d8Cab:CCIPWETH9Bridge"
"0x105F8A15b819948a89153505762444Ee9f324684:CCIPWETH10Bridge" "0x105F8A15b819948a89153505762444Ee9f324684:CCIPWETH10Bridge"
) )

View File

@@ -19,7 +19,7 @@ CONTRACTS=(
ADDRESSES=( ADDRESSES=(
"0x99B3511A2d315A497C8112C1fdd8D508d4B1E506" "0x99B3511A2d315A497C8112C1fdd8D508d4B1E506"
"0x3304b747E565a97ec8AC220b0B6A1f6ffDB837e6" "0x3304b747E565a97ec8AC220b0B6A1f6ffDB837e6"
"0x8078A09637e47Fa5Ed34F626046Ea2094a5CDE5e" "0x3Cc23d086fCcbAe1e5f3FE2bA4A263E1D27d8Cab"
"0x105F8A15b819948a89153505762444Ee9f324684" "0x105F8A15b819948a89153505762444Ee9f324684"
) )

View File

@@ -52,7 +52,7 @@ verify "0x99B3511A2d315A497C8112C1fdd8D508d4B1E506" "contracts/tokens/WETH.sol:W
verify "0x3304b747E565a97ec8AC220b0B6A1f6ffDB837e6" "contracts/tokens/WETH10.sol:WETH10" || FAIL=$((FAIL+1)) verify "0x3304b747E565a97ec8AC220b0B6A1f6ffDB837e6" "contracts/tokens/WETH10.sol:WETH10" || FAIL=$((FAIL+1))
# CCIPWETH9Bridge - constructor(router, weth9, linkToken) # CCIPWETH9Bridge - constructor(router, weth9, linkToken)
verify "0x8078A09637e47Fa5Ed34F626046Ea2094a5CDE5e" "contracts/ccip/CCIPWETH9Bridge.sol:CCIPWETH9Bridge" \ verify "0x3Cc23d086fCcbAe1e5f3FE2bA4A263E1D27d8Cab" "contracts/ccip/CCIPWETH9Bridge.sol:CCIPWETH9Bridge" \
"--constructor-args $(cast abi-encode 'constructor(address,address,address)' 0xE26B0A098D861d5C7d9434aD471c0572Ca6EAa67 0x99B3511A2d315A497C8112C1fdd8D508d4B1E506 0x8c80A01F461f297Df7F9DA3A4f740D7297C8Ac85)" || FAIL=$((FAIL+1)) "--constructor-args $(cast abi-encode 'constructor(address,address,address)' 0xE26B0A098D861d5C7d9434aD471c0572Ca6EAa67 0x99B3511A2d315A497C8112C1fdd8D508d4B1E506 0x8c80A01F461f297Df7F9DA3A4f740D7297C8Ac85)" || FAIL=$((FAIL+1))
# CCIPWETH10Bridge - constructor(router, weth10, linkToken) # CCIPWETH10Bridge - constructor(router, weth10, linkToken)