Add tron deployment script and deploy logs#18
Conversation
|
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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## ts-library #18 +/- ##
===========================================
Coverage 95.82% 95.82%
===========================================
Files 14 14
Lines 2446 2446
===========================================
Hits 2344 2344
Misses 102 102 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Linear ticket: https://linear.app/lifi-linear/issue/V2-148/deploy-tron-contracts-for-catapultar
Deployment steps
Validate first - simulates the full deploy without broadcasting
bun run solidity/script/tron/deploy-catapultar.ts --dry-run --private-key {private key without 0x}
Deploy
bun run solidity/script/tron/deploy-catapultar.ts --private-key {private key without 0x}
Deployed addresses are written automatically to solidity/deployments/tron.json. Commit that file after a successful deploy.
Re-deploying a single contract
Pass --step by name or index (1 = CatapultarFactory, 2 = CATValidator, 3 = IntentExecutor). Canonical order is always preserved:
bun run solidity/script/tron/deploy-catapultar.ts --step CATValidator
bun run solidity/script/tron/deploy-catapultar.ts --step 1 --step 3