Skip to content

feat: add BaseScan verification step to deploy script#35

Merged
mikhaildobs merged 1 commit intodevfrom
fix/deploy-via-ir-prebuilt
Feb 24, 2026
Merged

feat: add BaseScan verification step to deploy script#35
mikhaildobs merged 1 commit intodevfrom
fix/deploy-via-ir-prebuilt

Conversation

@mikhaildobs
Copy link
Member

Summary

  • Adds Step 6 to deploy.sh that automatically verifies all deployed contracts (CredentialRegistry, DefaultScorer, ScorerFactory) on BaseScan using forge verify-contract
  • Requires BASESCAN_API_KEY in .env; skipped gracefully if not set
  • Each verification handles failures with a warning instead of aborting the script
  • Skipped in --dry-run mode

Test plan

  • Full deploy + verification tested on Base Sepolia — all 3 contracts verified successfully
  • Dry-run mode skips verification step as expected
  • Missing BASESCAN_API_KEY gracefully skips with message

🤖 Generated with Claude Code

Adds Step 6 after deployment that automatically verifies all contracts
(CredentialRegistry, DefaultScorer, ScorerFactory) on BaseScan using
forge verify-contract. Requires BASESCAN_API_KEY in .env. Each
verification gracefully handles failures with a warning instead of
aborting the script. Skipped in dry-run mode.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mikhaildobs mikhaildobs merged commit d958c63 into dev Feb 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants