Skip to content

refactor: remove production SVM utils, import from SDK (ACP-56)#1380

Draft
fusmanii wants to merge 1 commit intomasterfrom
faisal/acp-74-clean-up-contracts-svm-utils
Draft

refactor: remove production SVM utils, import from SDK (ACP-56)#1380
fusmanii wants to merge 1 commit intomasterfrom
faisal/acp-74-clean-up-contracts-svm-utils

Conversation

@fusmanii
Copy link
Copy Markdown
Contributor

Delete hand-written SVM TypeScript utils (web3-v1/, web3-v2/, types/svm.ts) that have been migrated to @across-protocol/sdk/svm. Keep auto-generated assets/ and clients/ for the Codama generation pipeline.

  • Delete src/svm/web3-v1/, src/svm/web3-v2/, src/types/svm.ts
  • Remove SVM export from index.ts (no longer part of public API)
  • Update all test/svm/ imports to use @across-protocol/sdk
  • Update all scripts/svm/ imports to use @across-protocol/sdk
  • Move Solana deps to devDependencies (only needed for tests/scripts)
  • Add @across-protocol/sdk as devDependency
  • Remove buffer-layout peer dependency
  • Exclude scripts/ from tsconfig (avoids cross-package type mismatches)

Delete hand-written SVM TypeScript utils (web3-v1/, web3-v2/, types/svm.ts)
that have been migrated to @across-protocol/sdk/svm. Keep auto-generated
assets/ and clients/ for the Codama generation pipeline.

- Delete src/svm/web3-v1/, src/svm/web3-v2/, src/types/svm.ts
- Remove SVM export from index.ts (no longer part of public API)
- Update all test/svm/ imports to use @across-protocol/sdk
- Update all scripts/svm/ imports to use @across-protocol/sdk
- Move Solana deps to devDependencies (only needed for tests/scripts)
- Add @across-protocol/sdk as devDependency
- Remove buffer-layout peer dependency
- Exclude scripts/ from tsconfig (avoids cross-package type mismatches)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@linear
Copy link
Copy Markdown

linear bot commented Mar 23, 2026

@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​across-protocol/​sdk@​4.3.134831001009970

View full report

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.

1 participant