Move Tron deploy script to typescript/ and refresh deployments#33
Move Tron deploy script to typescript/ and refresh deployments#33mirooon wants to merge 1 commit into
Conversation
Relocates deploy-catapultar.ts from solidity/script/tron to typescript/scripts/tron so the deploy tooling lives alongside the TypeScript library, and updates artifact/deployments paths to resolve back into solidity/. Simplifies the step selector to use the canonical *Tron contract names directly (dropping the TRON_CONTRACT mapping), and records the freshly deployed mainnet addresses in solidity/deployments/tron.json. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
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 #33 +/- ##
=============================================
Coverage ? 95.89%
=============================================
Files ? 30
Lines ? 2872
Branches ? 40
=============================================
Hits ? 2754
Misses ? 118
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Summary
deploy-catapultar.tsfromsolidity/script/tron/totypescript/scripts/tron/so the deploy tooling lives next to the TypeScript library; artifact and deployments paths are repointed back intosolidity/.--stepselector to use the canonical*Troncontract names directly (drops theTRON_CONTRACTmapping; source file is derived as<name without 'Tron'>.tron.sol).solidity/deployments/tron.json(keys now match the*Troncontract names).New mainnet addresses:
CatapultarFactoryTron:TFpA8oi5UYE7mMagAfK2BM6r78aE4jA2L8CATValidatorTron:TYjEq9DdArEAtsdRY9S65Y2GbqmM4myuzwIntentExecutorTron:TH5ysvD4VbUzKRQoFPXbMZpcetGcdHo2Q9Test plan
cd catapultar/solidity && forge buildsucceeds — built with only pre-existingunchecked-calllint warnings; no errors.cd catapultar/typescript && bun run scripts/tron/deploy-catapultar.ts --dry-rundeploys all 3 default contracts — script iteratesCatapultarFactoryTron → CATValidatorTron → IntentExecutorTronfrom the relocated../../../solidity/outartifacts and exits successfully. (Locally also verified end-to-end via the deployer-account dry-run earlier in the working session, which produced the full "DRY RUN - Simulated deployment" output for all 3.)bun run scripts/tron/deploy-catapultar.ts --step CATValidatorTron --dry-rundeploys a single step — onlyCATValidatorTronis selected and processed; summary line confirmsSelected contract(s) deployed successfully!.solidity/deployments/tron.jsonis written with the*Tronkeys after a real deploy — file on disk contains the newCatapultarFactoryTron/CATValidatorTron/IntentExecutorTronkeys mapped to the addresses above, written by the real deploys at41e5d62b...,c69f32a0...,0040a6a8....🤖 Generated with Claude Code