[NONEVM-5967] Bump Tolk to 1.4.2 ton->gram - #869
Merged
Merged
Conversation
krebernisak
previously approved these changes
Sep 7, 2026
duck-types
force-pushed
the
chore/bump-tolk-1.4.2
branch
from
September 7, 2026 15:22
bd06078 to
bf1ca63
Compare
vicentevieytes
approved these changes
Sep 18, 2026
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Replace the deprecated reserve call in JettonWithdrawable.onWithdraw and update its related documentation.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
Updates the Tolk toolchain to 1.4.2 and applies required GRAM terminology, language compatibility, and generated-wrapper changes.
Changes:
- Bumps Tolk.js and Acton dependencies.
- Updates contract APIs and Tolk compatibility.
- Regenerates Receiver bindings.
- Review note:
jetton_withdrawable.tolkstill uses deprecatedreserveToncoinsOnBalance.
File summaries
| File | Summary |
|---|---|
yarn.lock |
Locks Tolk.js 1.4.2. |
contracts/wrappers/gen/index.ts |
Registers the renamed Receiver wrapper. |
contracts/wrappers/gen/ccip/Receiver.ts |
Regenerates Receiver bindings. |
contracts/package.json |
Bumps the Tolk.js dependency. |
contracts/lock.nix |
Refreshes the Nix dependency hash. |
contracts/contracts/wgram/JettonWallet.tolk |
Updates Tolk and reserve helpers. |
contracts/contracts/wgram/JettonMinter.tolk |
Updates Tolk and reserve helpers. |
contracts/contracts/mcms/rbac_timelock.tolk |
Updates currency helpers and Tolk. |
contracts/contracts/mcms/mcms.tolk |
Updates currency helpers and Tolk. |
contracts/contracts/lib/secp256k1.tolk |
Removes the invalid ASM inline annotation. |
contracts/contracts/lib/receiver/CCIPReceiver.tolk |
Updates the Tolk version. |
contracts/contracts/lib/funding/withdrawable.tolk |
Updates the reserve helper. |
contracts/contracts/lib/funding/jetton_withdrawable.tolk |
Updates Tolk and reserve handling. |
contracts/contracts/lib/crypto/merkle_proof.tolk |
Updates the Tolk version. |
contracts/contracts/lib/access/access_control.tolk |
Updates the currency helper. |
contracts/contracts/firedrill/firedrill_onramp.tolk |
Updates the currency helper and Tolk. |
contracts/contracts/firedrill/firedrill_offramp.tolk |
Updates the Tolk version. |
contracts/contracts/firedrill/firedrill_entrypoint.tolk |
Updates currency helpers and Tolk. |
contracts/contracts/examples/jetton/simple_receiver.tolk |
Updates the Tolk version. |
contracts/contracts/examples/jetton/sender.tolk |
Updates the Tolk version. |
contracts/contracts/examples/jetton/onramp_mock.tolk |
Updates the Tolk version. |
contracts/contracts/examples/counter.tolk |
Updates the Tolk version. |
contracts/contracts/ccip/token_admin_registry/contract.tolk |
Updates Tolk and GRAM values. |
contracts/contracts/ccip/token_admin_registry_entry/messages.tolk |
Updates GRAM cost values. |
contracts/contracts/ccip/token_admin_registry_entry/contract.tolk |
Updates Tolk and currency helpers. |
contracts/contracts/ccip/test/receiver/contract.tolk |
Updates Tolk, GRAM values, and reserve API. |
contracts/contracts/ccip/router/messages.tolk |
Updates GRAM cost values. |
contracts/contracts/ccip/router/contract.tolk |
Updates Tolk, GRAM values, and reserve terminology. |
contracts/contracts/ccip/receive_executor/messages.tolk |
Updates GRAM cost values. |
contracts/contracts/ccip/receive_executor/contract.tolk |
Updates the Tolk version. |
contracts/contracts/ccip/pools/lockbox/JettonLockBox.tolk |
Updates Tolk, GRAM values, and reserve API. |
contracts/contracts/ccip/pools/lock_release/types.tolk |
Updates GRAM constants. |
contracts/contracts/ccip/pools/lock_release/contract.tolk |
Updates Tolk and GRAM values. |
contracts/contracts/ccip/pools/lock_release_lockbox/contract.tolk |
Updates Tolk and GRAM values. |
contracts/contracts/ccip/pools/lib/token_pool/entrypoint.tolk |
Updates GRAM values and reserve API. |
contracts/contracts/ccip/pools/burn_mint/types.tolk |
Updates GRAM constants. |
contracts/contracts/ccip/pools/burn_mint/contract.tolk |
Updates Tolk and GRAM values. |
contracts/contracts/ccip/onramp/messages.tolk |
Updates GRAM cost values. |
contracts/contracts/ccip/onramp/contract.tolk |
Updates struct construction, Tolk, and reserve APIs. |
contracts/contracts/ccip/offramp/types.tolk |
Updates GRAM constants. |
contracts/contracts/ccip/offramp/messages.tolk |
Updates GRAM cost values. |
contracts/contracts/ccip/offramp/contract.tolk |
Updates Tolk, GRAM values, and reserve APIs. |
contracts/contracts/ccip/merkle_root/messages.tolk |
Updates GRAM cost values. |
contracts/contracts/ccip/merkle_root/contract.tolk |
Updates the Tolk version. |
contracts/contracts/ccip/fee_quoter/messages.tolk |
Updates GRAM cost values. |
contracts/contracts/ccip/fee_quoter/contract.tolk |
Updates Tolk, GRAM values, and reserve API. |
contracts/contracts/ccip/common/cross_chain_address_validation.tolk |
Updates the Tolk version. |
contracts/contracts/ccip/cct/JettonWallet.tolk |
Updates the reserve API. |
contracts/contracts/ccip/cct/JettonMinter.tolk |
Updates currency and reserve APIs. |
contracts/contracts/ccip/ccipsend_executor/messages.tolk |
Updates GRAM cost values. |
contracts/contracts/ccip/ccipsend_executor/contract.tolk |
Updates Tolk and GRAM values. |
contracts/contracts/ccip/accounts/on_ramp_account/contract.tolk |
Updates the Tolk version. |
contracts/contracts/ccip/accounts/deposit/types.tolk |
Updates the GRAM literal. |
contracts/contracts/ccip/accounts/deposit/contract.tolk |
Updates the Tolk version. |
contracts/acton.nix |
Updates Acton binaries and platform hashes. |
Review details
- Files reviewed: 54/55 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
|
||
| // Rent cushion reserved on withdraw | ||
| const JettonWithdrawable_MIN_RESERVE = ton("0.01"); | ||
| const JettonWithdrawable_MIN_RESERVE = grams("0.01"); |
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.
NONEVM-5967
See complete changelog: ton-blockchain/ton#2441