refactor: Adopt TON cciplib for codec module#811
Merged
Conversation
This was referenced Jul 10, 2026
jmank88
force-pushed
the
ogt/cciplib-import-move-v045
branch
from
July 11, 2026 00:47
15964ff to
05e859b
Compare
ogtownsend
force-pushed
the
ogt/cciplib-import-move-v045
branch
from
July 13, 2026 18:34
9ec4c59 to
e21a467
Compare
|
ogtownsend
marked this pull request as ready for review
July 13, 2026 19:09
ogtownsend
requested review from
a team,
jmank88 and
patricios-space
and removed request for
ecPablo
July 13, 2026 19:09
jmank88
approved these changes
Jul 13, 2026
Contributor
There was a problem hiding this comment.
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/...togithub.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/cciplibmodule and bump related Go deps ingo.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.
Contributor
Author
|
Hey @ecPablo could you check this out when you get a chance please 🙏 |
gustavogama-cll
approved these changes
Jul 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.





Requires: