Skip to content

Fix broken build and add useful scripts#7

Merged
yvonnezhangc merged 2 commits intocirclefin:masterfrom
yvonnezhangc:fix-build
Aug 4, 2025
Merged

Fix broken build and add useful scripts#7
yvonnezhangc merged 2 commits intocirclefin:masterfrom
yvonnezhangc:fix-build

Conversation

@yvonnezhangc
Copy link
Contributor

@yvonnezhangc yvonnezhangc commented Aug 4, 2025

Summary

This PR unblocks CI, modernises the tool-chain, and adds first-class developer utilities for package deployment and transaction debugging.

Detail

Build & CI

  • scripts/shell/setup.sh
    • Upgrades Aptos CLI to v7.5.0 and installs binaries in $HOME/.aptos/bin (works on CI Ubuntu and local macOS).
    • Fails fast (set -e) and exposes $APTOS_BIN for downstream scripts.

Move tool-chain

  • Makefile – bumps compiler_version and language_version from 1 → 2.
  • AptosFramework dependency is now pinned to commit 1381c93f… for deterministic builds.

Packages & Deps

  • @aptos-labs/ts-sdk upgraded to 1.33.0; adds "packageManager" field for parity with Renovate.

New TypeScript CLI commands

  • decode-transaction – BCS → human JSON (supports argument decoding for upgradePackage).
  • deploy – one-shot package builder / publisher with optional source verification.
  • execute-transaction – offline-sign, dry-run or submit (supports multi-sig).
    • Supporting utils: address normalisation fixes, deploy helpers, etc.

Testing

  • New mocha test suites cover:
    • Transaction decode logic (incl. fee-payer and no-decoder paths).
    • End-to-end deploy flow (with / without source verification).
    • Single-sig and multi-sig transaction execution (dry-run & submit).
  • CI passes on Node 20.14 / Yarn 1.x.
  • Manual smoke-test: make start-network && yarn scripts deploy ….

@yvonnezhangc yvonnezhangc merged commit a787d13 into circlefin:master Aug 4, 2025
3 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.

3 participants