Skip to content

Move Tron deploy script to typescript/ and refresh deployments#33

Open
mirooon wants to merge 1 commit into
ts-libraryfrom
move-tron-deploy-script-to-typescript
Open

Move Tron deploy script to typescript/ and refresh deployments#33
mirooon wants to merge 1 commit into
ts-libraryfrom
move-tron-deploy-script-to-typescript

Conversation

@mirooon
Copy link
Copy Markdown

@mirooon mirooon commented May 28, 2026

Summary

  • Relocates deploy-catapultar.ts from solidity/script/tron/ to typescript/scripts/tron/ so the deploy tooling lives next to the TypeScript library; artifact and deployments paths are repointed back into solidity/.
  • Simplifies the --step selector to use the canonical *Tron contract names directly (drops the TRON_CONTRACT mapping; source file is derived as <name without 'Tron'>.tron.sol).
  • Records freshly deployed mainnet addresses in solidity/deployments/tron.json (keys now match the *Tron contract names).

New mainnet addresses:

  • CatapultarFactoryTron: TFpA8oi5UYE7mMagAfK2BM6r78aE4jA2L8
  • CATValidatorTron: TYjEq9DdArEAtsdRY9S65Y2GbqmM4myuzw
  • IntentExecutorTron: TH5ysvD4VbUzKRQoFPXbMZpcetGcdHo2Q9

Test plan

  • cd catapultar/solidity && forge build succeeds — built with only pre-existing unchecked-call lint warnings; no errors.
  • cd catapultar/typescript && bun run scripts/tron/deploy-catapultar.ts --dry-run deploys all 3 default contracts — script iterates CatapultarFactoryTron → CATValidatorTron → IntentExecutorTron from the relocated ../../../solidity/out artifacts 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-run deploys a single step — only CATValidatorTron is selected and processed; summary line confirms Selected contract(s) deployed successfully!.
  • Verify solidity/deployments/tron.json is written with the *Tron keys after a real deploy — file on disk contains the new CatapultarFactoryTron / CATValidatorTron / IntentExecutorTron keys mapped to the addresses above, written by the real deploys at 41e5d62b..., c69f32a0..., 0040a6a8....

🤖 Generated with Claude Code

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>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 28, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 2c02417d-79c5-4557-ab6a-f84306578d7e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch move-tron-deploy-script-to-typescript

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (ts-library@b6182b4). Learn more about missing BASE report.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

3 participants