Skip to content

refactor: Adopt TON cciplib for codec module#811

Merged
ogtownsend merged 1 commit into
mainfrom
ogt/cciplib-import-move-v045
Jul 13, 2026
Merged

refactor: Adopt TON cciplib for codec module#811
ogtownsend merged 1 commit into
mainfrom
ogt/cciplib-import-move-v045

Conversation

@ogtownsend

@ogtownsend ogtownsend commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

@ogtownsend ogtownsend changed the title shim Adopt TON cciplib for codec module Jul 7, 2026
@jmank88 jmank88 changed the title Adopt TON cciplib for codec module refactory: Adopt TON cciplib for codec module Jul 10, 2026
@jmank88 jmank88 changed the title refactory: Adopt TON cciplib for codec module refactor: Adopt TON cciplib for codec module Jul 10, 2026
@jmank88
jmank88 force-pushed the ogt/cciplib-import-move-v045 branch from 15964ff to 05e859b Compare July 11, 2026 00:47
@ogtownsend
ogtownsend force-pushed the ogt/cciplib-import-move-v045 branch from 9ec4c59 to e21a467 Compare July 13, 2026 18:34
@cl-sonarqube-production

Copy link
Copy Markdown

@ogtownsend
ogtownsend marked this pull request as ready for review July 13, 2026 19:09
Copilot AI review requested due to automatic review settings July 13, 2026 19:09
@ogtownsend
ogtownsend requested a review from a team as a code owner July 13, 2026 19:09
@ogtownsend
ogtownsend requested review from a team, jmank88 and patricios-space and removed request for ecPablo July 13, 2026 19:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the TON MCMS SDK and TON e2e test suite to use the new chainlink-ton/cciplib packages (notably tvm, tlbe, hash, and CCIP bindings), and bumps Go module dependencies accordingly.

Changes:

  • Switch TON helper imports from github.com/smartcontractkit/chainlink-ton/pkg/... to github.com/smartcontractkit/chainlink-ton/cciplib/... across SDK and e2e tests.
  • Update unit tests to mock WaitForBlock(...) where the new call paths require it.
  • Add the github.com/smartcontractkit/chainlink-ton/cciplib module and bump related Go deps in go.mod/go.sum.

Reviewed changes

Copilot reviewed 28 out of 29 changed files in this pull request and generated no comments.

Show a summary per file
File Description
sdk/ton/transaction.go Switch tvm import to cciplib.
sdk/ton/timelock_inspector.go Switch tvm import to cciplib.
sdk/ton/timelock_inspector_test.go Switch tvm import; add WaitForBlock mock expectations.
sdk/ton/timelock_executor.go Switch tlbe/tvm imports to cciplib.
sdk/ton/timelock_executor_test.go Switch tvm import; add WaitForBlock mock expectations.
sdk/ton/timelock_converter.go Switch tlbe import to cciplib.
sdk/ton/timelock_configurer.go Switch tvm import to cciplib.
sdk/ton/timelock_configurer_test.go Switch tvm import to cciplib.
sdk/ton/inspector.go Switch tvm import to cciplib.
sdk/ton/inspector_test.go Switch tlbe import to cciplib; add WaitForBlock mock expectations.
sdk/ton/executor.go Switch tlbe/tvm imports to cciplib.
sdk/ton/executor_test.go Switch tvm import; add WaitForBlock mock expectation.
sdk/ton/encoder.go Switch tlbe/tvm imports to cciplib.
sdk/ton/decoder.go Switch tvm import to cciplib.
sdk/ton/decoder_test.go Switch tlbe/tvm imports to cciplib.
sdk/ton/decoded_operation.go Switch tvm import to cciplib.
sdk/ton/decoded_operation_test.go Switch tvm import to cciplib.
sdk/ton/configurer.go Switch tlbe/tvm imports to cciplib.
sdk/ton/configurer_test.go Switch tvm import to cciplib.
sdk/ton/config_transformer.go Switch tlbe/tvm imports to cciplib.
sdk/ton/config_transformer_test.go Switch tlbe import to cciplib.
sdk/ton/common_test.go Switch tlbe import to cciplib.
e2e/tests/ton/timelock_inspection.go Switch CCIP bindings + TON helpers (hash/tlbe/tvm) to cciplib.
e2e/tests/ton/set_root.go Switch hash/tvm imports to cciplib.
e2e/tests/ton/set_config.go Switch hash/tvm imports to cciplib.
e2e/tests/ton/inspection.go Switch hash/tvm imports to cciplib.
e2e/tests/ton/executable.go Switch CCIP bindings + TON helpers (hash/tlbe/tvm) to cciplib.
go.mod Bump chainlink-ton; add chainlink-ton/cciplib; bump select golang.org/x deps.
go.sum Update sums for bumped/added modules.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ogtownsend
ogtownsend requested a review from ecPablo July 13, 2026 19:13
@ogtownsend

Copy link
Copy Markdown
Contributor Author

Hey @ecPablo could you check this out when you get a chance please 🙏

@ogtownsend
ogtownsend merged commit eda5417 into main Jul 13, 2026
27 of 28 checks passed
@ogtownsend
ogtownsend deleted the ogt/cciplib-import-move-v045 branch July 13, 2026 20:27
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.

4 participants