Skip to content

chore(deps): bump tonutils-go to v1.18.0 - #865

Open
duck-types wants to merge 6 commits into
mainfrom
chore/bump-tonutils-go-v1.18.0
Open

duck-types wants to merge 6 commits into
mainfrom
chore/bump-tonutils-go-v1.18.0

Conversation

@duck-types

Copy link
Copy Markdown
Contributor
  • bump github.com/xssnick/tonutils-go v1.14.1 -> v1.18.0
  • sdk/ton/timelock_converter.go: handle BeginParse now returning (*cell.Slice, error)
  • sdk/ton tests: use MustBeginParse where single-value context is needed
  • sdk/ton/encoder_test.go: update expected error text (upstream now includes the offending address)
  • regenerate sdk/ton mocks (tlb.BlockInfo was removed upstream; interface grew new methods)
  • e2e/tests/stellar: MCMSDeploySalt was replaced by TimelockDeploySalt upstream
  • transitively bump chainlink-canton (authentication pkg moved), chainlink-stellar (+ new deployment submodule), chainlink-ton/cciplib to tonutils-v1.18-compatible commits

- bump github.com/xssnick/tonutils-go v1.14.1 -> v1.18.0
- sdk/ton/timelock_converter.go: handle BeginParse now returning (*cell.Slice, error)
- sdk/ton tests: use MustBeginParse where single-value context is needed
- sdk/ton/encoder_test.go: update expected error text (upstream now includes the offending address)
- regenerate sdk/ton mocks (tlb.BlockInfo was removed upstream; interface grew new methods)
- e2e/tests/stellar: MCMSDeploySalt was replaced by TimelockDeploySalt upstream
- transitively bump chainlink-canton (authentication pkg moved), chainlink-stellar (+ new deployment submodule), chainlink-ton/cciplib to tonutils-v1.18-compatible commits

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.

Copilot review overview

🟡 Changes recommended

Unresolved e2e build failure and incorrect MCMS deployment salt remain; the encoder test also needs gofmt formatting.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 High severity · 1 Low severity

Open (2)
What changed in this PR

Updates tonutils-go to v1.18.0 and adapts TON integrations, mocks, tests, and related Stellar dependencies.

Changes:

  • Handle updated BeginParse behavior and refresh TON tests.
  • Regenerate mocks for upstream interface changes.
  • Update dependency versions, checksums, and Stellar deployment helpers.
File Summary
sdk/​ton/​timelock_converter.go Handles BeginParse errors.
sdk/​ton/​timelock_configurer_test.go Updates cell parsing tests.
sdk/​ton/​mocks/​wallet.go Updates regenerated wallet mocks.
sdk/​ton/​mocks/​api.go Updates regenerated API mocks.
sdk/​ton/​encoder_test.go Updates expected error text; nit (2 votes): formatting is not gofmt-compliant.
sdk/​ton/​configurer_test.go Updates cell parsing tests.
go.sum Refreshes dependency checksums.
go.mod Updates TON and related dependencies.
e2e/​tests/​stellar/​deploy.go Critical (3 votes): an existing MCMSDeploySalt reference causes e2e builds to fail. Moderate (1 vote): TimelockDeploySalt changes the deterministic MCMS address; use an MCMS-specific salt.
Files not reviewed (2)
  • sdk/ton/mocks/api.go: Generated file
  • sdk/ton/mocks/wallet.go: Generated file

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread e2e/tests/stellar/deploy.go Outdated
Comment thread sdk/ton/encoder_test.go Outdated
@duck-types
duck-types force-pushed the chore/bump-tonutils-go-v1.18.0 branch 3 times, most recently from a006c03 to 0fbaddd Compare September 22, 2026 16:33
@duck-types
duck-types marked this pull request as ready for review September 22, 2026 16:34
@duck-types
duck-types requested a review from a team as a code owner September 22, 2026 16:34
Copilot AI review requested due to automatic review settings September 22, 2026 16:34

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.

Copilot review overview

🔵 Needs a closer look

Address the dependency-module gap and stale test expectation before approval.

Review effort: Lite
Findings: None

Resolved since last review (2)
Files not reviewed (2)
  • sdk/ton/mocks/api.go: Generated file
  • sdk/ton/mocks/wallet.go: Generated file

The stellar bump was only needed to work around a mockery v2.53.5 type-check bug (fixed in v2.53.7, which this branch now uses). Reverting stellar restores MCMSDeploySalt, so the e2e salt call sites return to the original API. Canton stays bumped: new cldf (required for tonutils v1.18) removed the cldf authentication package that old canton's testhelpers import.
With chainlink-stellar reverted, the e2e salt call sites work with the original API again - no test changes needed at all.
go mod tidy had bumped it to fa1a268dac47 which is 3 commits behind ccip main, failing the go-mod-validator check. Re-pinned to 517a12a4220e (current main).
@duck-types
duck-types force-pushed the chore/bump-tonutils-go-v1.18.0 branch from 0fbaddd to cffc4fd Compare September 22, 2026 16:53
Copilot AI review requested due to automatic review settings September 22, 2026 16:53
@duck-types
duck-types removed the request for review from Copilot September 22, 2026 16:55
Copilot AI review requested due to automatic review settings September 22, 2026 23:11

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.

Copilot review overview

🟡 Changes recommended

A critical dependency issue leaves the Stellar deployment module and related API updates incomplete.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 High severity

Open (1)
Files not reviewed (2)
  • sdk/ton/mocks/api.go: Generated file
  • sdk/ton/mocks/wallet.go: Generated file

Comment thread go.mod
@cl-sonarqube-production

Copy link
Copy Markdown

This branch has not been deployed

No deployments
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.

2 participants