Skip to content

Releases: smartcontractkit/chainlink-ton

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

TON Contracts Build (a297fa4e6933)

14 Jan 18:07
a297fa4

Choose a tag to compare

[NONEVM-3406] fix: code cleanup (#526)

* fix: Duplicate OffRamp_NotifyFailure In OffRamp_InMessage Type Union

* fix: SVM/SUI Error Message And Comment Mismatch

* fix: Duplicate OffRamp_NotifyFailure In OffRamp_InMessage Type Union

TON Contracts Build (d9eca6c217f6)

12 Jan 21:49
d9eca6c

Choose a tag to compare

ton-contracts-build-d9eca6c217f6

[NONEVM-3330] [M4] FeeQuoter feeValueJuels to 0 when missing LINK #479

TON Contracts Build (75ad69ee77a8)

12 Jan 20:41
75ad69e

Choose a tag to compare

Fix: Low sev and advisory/informational audit issues (#512)

* [L2|CL86-11] onUpdateSourceChainConfigs does not update all fields for existing configs

* [L5] merkle_multi_proof allows tuple growth beyond the TVM tuple size limit

* [A2] Malformed proofs fail with generic TVM errors

* [CL86-19] Type Inconsistency Between Merkle Proof Libraries

* [CL86-20] Documentation Mismatch On MAX_NUM_HASHES

* [CL86-17] Redundant Assignment In Gas Limit Handling

* [A5] Unneeded mutate modifier in OCR3 transmit

* [A14] MerkleRoot onMarkState missing state restriction

* [A7] Misleading comments

TON Contracts Build (fbf0539f68ff)

09 Jan 19:03
fbf0539

Choose a tag to compare

[NONEVM-3269] Define explicitly dummy addresses for TON and Link (#472)

* feat: define link and ton dummy addresses in go

* fix: lint

* test: compare with previous TON value

* fix: change expected hex

* feat: define link and ton dummy addresses in TS

* fix: raise MaxFeeJuelsPerMsg

* doc: TokenPrice

* ref: rename TokenPrice

* Remove uses of ZERO_ADDRESS

* mcms: Initialize oracle to owner rather than blank address

* Fix tests

* yarn fmt

* Also set feeToken to native if unset when calling getValidatedFee

* Test ccipSend with feeQuoter set to null (use default)

* Update contracts/tests/ccip/router/Router.ccipSend.spec.ts

Co-authored-by: Patricio <contact@patricios.space>

* Only rebuild ccipSend cell if necessary

* Remove pnpm file

* fix tests

---------

Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>