Skip to content

Releases: smartcontractkit/chainlink-ton

TON Contracts Build (2614795d1bf3)

03 Feb 18:47
2614795

Choose a tag to compare

License updates (#550)

* Add SPDX-License-Identifier to contracts

* Add contracts/LICENSE (BUSL-1.1)

* Update license

* Nix add allow unfree (BUSL) for chainlink-contracts-ton

TON Contracts Build (8ebf4f73b668)

30 Jan 13:48
8ebf4f7

Choose a tag to compare

Fix MCMS OpPendingInfo Go getter (#557)

* Fix MCMS OpPendingInfo Go getter

* Fix lint

* Tighten RBACTimelock test values

TON Contracts Build (3430b5c9dad8)

30 Jan 14:19
3430b5c

Choose a tag to compare

feat: random id for the sendExecutor instead of sequential (#556)

* use a random id for the sendExecutor instead of sequential

* fix tests that were relying on sequential ID

* fmt

* use shift instead of parsing from a cell to get a uint224

* remove comment

TON Contracts Build (09d00702f6f8)

28 Jan 10:02
09d0070

Choose a tag to compare

[MCMS] Fixes (#519)

* [NONEVM-3333] MCMS<T>.execute lacks value sufficiency checks

* [NONEVM-3368] Root expiry boundary differs between TON and EVM implementations

* [NONEVM-3371] MCMS execute bounced messages will be ignored under certain conditions

* [NONEVM-3373] Timelock function selector update functions refund fix

* NONEVM-3369 - Fix opPendingReceiver null check

* NONEVM-3384 - MCMS add reserve post execute

* NONEVM-3398 - use uint256 instead of int for role args

* NONEVM-3397 - Use uint64 for timestamps

  + remove local replaces

* NONEVM-3497 - no getter state  mutations

* Fix contract version

* NONEVM-3333 - improve value/fee checks

* NONEVM-3381 - move validUntil forward

* NONEVM-3383 - Fix updateOpFinalizationTimeout opPendingInfo.validAfter calc

* NONEVM-3366 - Improve MCMS/Timelock bounce handling

* NONEVM-3372 - Timelock track batch pending calls, validate on bounce

* NONEVM-3515 - don't clear opPendingInfo on bypass

* Fix contract version, typos, add docs

* Replace local deployments mod

* Pin e2e setup to a specific chainlink-ton commit

* Set Chainlink TON version

* Fixup 'Set Chainlink TON version' step

* Add timelock opPendingCalls map val meaning

* Bump github.com/smartcontractkit/chainlink-ton

---------

Co-authored-by: Patricio Tourne Passarino <dev@patricios.space>
Co-authored-by: Kristijan <kristijan.rebernisak@gmail.com>

TON Contracts Build (4f7b7be09c30)

22 Jan 17:40
4f7b7be

Choose a tag to compare

refactor snakeData for on-chain consistency (#539)

* refactor snakeRef

* polish

* fix lint and refactor name

* Update pkg/ccip/bindings/common/common.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update pkg/ccip/bindings/common/common.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update pkg/ccip/bindings/common/common.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* rename

* rename

* update toke data to cell

* rename ts asSnakeData, add test for timelock call boc hash

* fix lint

* clearup

* refactor

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

TON Contracts Build (74edaa830fa4)

19 Jan 16:25
74edaa8

Choose a tag to compare

ton-contracts-build-74edaa830fa4

add bounced message handling for some messages of the OffRamp flow (#…

TON Contracts Build (bf49ef1617d8)

16 Jan 05:44
bf49ef1

Choose a tag to compare

ton-contracts-build-bf49ef1617d8

fix receiver (#529)

TON Contracts Build (3df36975ad30)

16 Jan 17:59
3df3697

Choose a tag to compare

Add in missing RMN related getters, implement CurseInfo (#517)

* Add in missing RMN related getters, implement CurseInfo

* finish impl of getCurseInfo, update some TODO comments

* lints

* update more comments

* Add contract tests for get cursedSubjects

* use tvm.Getter

---------

Co-authored-by: Oliver Townsend <oliver.townsend@smartcontract.com>

TON Contracts Build (b16e9683d4d5)

15 Jan 17:09
b16e968

Choose a tag to compare

Serializable messages and generic operations (#467)

* JSON encoder/decoder (wip)

* Refactor MessageEnvelope[T], add Dict[K, V], add NewMessageOp builder fn + types

* Remove cellJSON wrapper

* Use tble.Dict[K,V], add to generator, add tlbe.ToCell/LoadFromCell, cleanup keys

* Extract makeExecuteOp test helper

* Add lib.MessageRegistry, add MessageEnvelope[T].ToCell/LoadFromCell + JSON

* Tmp fix circural dep, add Fuzz test

* Add SendMessageOp and AnySequence

* Test AnySequence with SendMessage op

* Remove jsoncodec experiment

* Move MessageRegistry to pkg/ton/tvm

* Revert pkg/ton/debug/lib/lib.go changes

* Fix refactor

* Extract pkg/ton/codec

* mv pkg/ton/debug pgk/ton/codec/debug

* Remove generated files

* Fix binding and nix build

* Add checks to ExtractMagic fn

* rm pkg/ton/codec/jsoncodec

* Simplify Dict[K, V].ToCell

* PR review fixes

* Fix lint

* Support sending batch of messages

* Move ops_test to ops_test pkg

* Simplify deploy MCMS/Timelock init data

* Add Dict[K,V] helper functions

* Fix Dict tlb tags, add test

* Add a generic changesets.OpsAnySequence (wip)

* Add seq 'ton/sequences/mcms/timelock/any'

* Add types.OperationMetadata to input/batch

* Add withdrawable Go bindings - NONEVM-3144

* Add ownable TLBs to index

* Restructure pkg, add ops registry

* Revert maybe addr

* Add Upgradeable trait Go bindings

* Fix few lint errors

* Improve StateInit handling for 'ton/ops/send-messages'

* Add 'ton/ops/lib/versioning/upgradeable/upgrade' op

* Refactor ops handlers

* Add (new) deploy op

* Rename files

* Add Resover/ResolverRegistry types (wip)

* Add more resolvers (msg-envelope-to-cell, contract-meta-to-cell)

* Removing keys from resolvers not designed by key but by type

* Simplify MessageEnvelope loading, init SendMsg op input resolver test

* Fix CanResolve hook, improve test

* Fix post rebase

* Rename/polish, add TLBMap.MustWithStorageType, add storage data resolver shell

* Add codec.resolvers.contract-data-to-cell

* rm generated

* Use timelock.Init directly

* Fix timelock.Init usage

* Refactor fastcurse adapter, remove thin ops, add helpers

* Fix test, serialize Dict as k/v pairs slice, sort slice

* Create out.BatchOps only if required

* Fix addr cmp + some polish

* Add WaitForTrace to SendMessages op

* Post rebase fix

* Add tlbe.Cell[T] generic, type *helpers.Transactions as []*tlbe.Cell[*tlb.InternalMessage]

* Update MessagePlanRaw, improve and add Cell[T] tests, unify ops output

* Debug fastcurse err

* SendMsgs op  clear plans on send

* Structure (encode) ops Tx output

* go mod tidy

* Fix lint errors

* Revert fastcurse DEBUG statements

* Remove thin UpdateFeeQuoterDestChainConfigsOp

* Remove thin AddPriceUpdaterOp, RemovePriceUpdaterOp ops

* Polish existing ops

* Polish and simplify send op

* Remove thin UpdateOnRampDestChainConfigsOp

* Fix StateInit addr resolution

* Remove adhoc helpers.ExecuteTransactions

* Simplify SnakeData[] type usage

* Fix test expected error

* Add 'ton/ops/mcms/send-or-plan' op and work on connecting chains

* Add MCMS support to more CCIP sequences

* Add TimelockProposal support to cs SetOCR3Config

* Fix test expected error

* Add MCMS support to cs_update_ton_lanes

* Fix lint errors

* Fix lint errors

* Decouple from github.com/smartcontractkit/mcms/pull/486 to be able to merge

* Fix lint errors

* nix develop -c ./modgraph > go.md

* Add dep.DependencyProvider, improve DI

* Fix lint err, move generator to test pkg

* Fix lint errors

* Move TestMessage def to test pkg

* Fix lint errors

* Fix lint errors

* Refactor existing DI

* Fix lint errors

* Fix DI state updates

* Remove panic from ownable getter

* Improve codec resolution error handling

* Fix lint errors

* Extract opcode on send

* Polish

* Polish

TON Contracts Build (997158c394da)

15 Jan 16:16
997158c

Choose a tag to compare

[NONEVM-2924] [Receiver] Create receiver lib (#466)

* feat: extract receiver lib

* ref: splitting and renaming + updating opcodes

* fix: missing value check

* ref: rename error

* ref: replace builder import

* fix: gas reporting opcodes

* fix: missing rent factor in onramp test