Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/chainlink-ton-extras/lock.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Notice: `pkgs.lib.fakeHash` can be used as a placeholder,
# but `lock-nix-tidy` will only replace actual hashes.
{pkgs}: {
chainlink-ton-extras = "sha256-MrED2i6nm0JjXesb9XofPoPn1ip17VTXggj8mxS8M24=";
chainlink-ton-extras = "sha256-r/xkHIpaV9mX6kFf1KM9LXs08GGJyMFKjO9pYHdBcz8=";
}
2 changes: 1 addition & 1 deletion cmd/chainlink-ton/lock.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Notice: `pkgs.lib.fakeHash` can be used as a placeholder,
# but `lock-nix-tidy` will only replace actual hashes.
{pkgs}: {
chainlink-ton = "sha256-MrED2i6nm0JjXesb9XofPoPn1ip17VTXggj8mxS8M24=";
chainlink-ton = "sha256-r/xkHIpaV9mX6kFf1KM9LXs08GGJyMFKjO9pYHdBcz8=";
}
2 changes: 1 addition & 1 deletion deployment/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ require (
github.com/smartcontractkit/chainlink-deployments-framework v0.116.1
github.com/smartcontractkit/chainlink-protos/job-distributor v0.20.0
github.com/smartcontractkit/chainlink-ton v1.0.5-0.20260713162202-124316cd10ff
github.com/smartcontractkit/chainlink-ton/cciplib v0.1.1-0.20260820224955-011a846f2fb8
github.com/smartcontractkit/chainlink-ton/cciplib v0.1.1-0.20260902151510-9faa280a8e1a
github.com/smartcontractkit/mcms v0.52.0
github.com/stretchr/testify v1.11.1
github.com/xssnick/tonutils-go v1.14.1
Expand Down
9 changes: 0 additions & 9 deletions deployment/testadapter/test_adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"fmt"
"math/big"
"math/rand/v2"
"os"
"strconv"
"testing"
"time"
Expand Down Expand Up @@ -493,10 +492,6 @@ func (a *TONAdapter) GetTokenBalance(ctx context.Context, tokenAddress string, o
// setup: EVM and Solana use BurnMintTokenPools that mint on release, but TON uses
// LockReleaseTokenPool which custodies real tokens and must be pre-funded.
func (a *TONAdapter) fundPoolLiquidity(ctx context.Context, tokenAddress string) error {
if os.Getenv("TON_TOKEN_TRANSFERS_ENABLED") == "" {
// Token transfers are disabled, so no pool is deployed: nothing to fund.
return nil
}
tokenAddr, err := address.ParseAddr(tokenAddress)
if err != nil {
return fmt.Errorf("failed to parse token address %q: %w", tokenAddress, err)
Expand Down Expand Up @@ -622,10 +617,6 @@ func successfullJettonTransfer(minterAuthority, jettonMinter, receiverWallet *ad
}

func (a *TONAdapter) GetTokenExpansionConfig() (*tokensapi.TokenExpansionInputPerChain, error) {
if os.Getenv("TON_TOKEN_TRANSFERS_ENABLED") == "" {
return nil, errors.ErrUnsupported
}

suffix := strconv.FormatUint(a.Selector, 10) + "-" + chain_selectors.FamilyTon
registryAddr, err := a.GetRegistryAddress()
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion devenv/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ require (
github.com/smartcontractkit/chainlink-protos/linking-service/go v0.0.0-20251002192024-d2ad9222409b // indirect
github.com/smartcontractkit/chainlink-protos/node-platform v0.0.0-20260211172625-dff40e83b3c9 // indirect
github.com/smartcontractkit/chainlink-sui v0.0.0-20260630144638-b69f16bdddd8 // indirect
github.com/smartcontractkit/chainlink-ton/cciplib v0.1.1-0.20260820224955-011a846f2fb8 // indirect
github.com/smartcontractkit/chainlink-ton/cciplib v0.1.1-0.20260902151510-9faa280a8e1a // indirect
github.com/smartcontractkit/chainlink-tron/relayer v0.0.11-0.20251014143056-a0c6328c91e9 // indirect
github.com/smartcontractkit/freeport v0.1.3-0.20250828155247-add56fa28aad // indirect
github.com/smartcontractkit/go-daml v0.0.0-20260615231356-88c6ee9b5774 // indirect
Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ module github.com/smartcontractkit/chainlink-ton

go 1.26.2

replace github.com/smartcontractkit/chainlink-ton/cciplib => ./cciplib

require (
github.com/Masterminds/semver/v3 v3.4.0
github.com/TyphonHill/go-mermaid v1.0.0
Expand Down Expand Up @@ -104,7 +102,7 @@ require (
github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260326111235-8c09d1a4491f // indirect
github.com/smartcontractkit/chainlink-protos/linking-service/go v0.0.0-20251002192024-d2ad9222409b // indirect
github.com/smartcontractkit/chainlink-protos/node-platform v0.0.0-20260211172625-dff40e83b3c9 // indirect
github.com/smartcontractkit/chainlink-ton/cciplib v0.1.1-0.20260820224955-011a846f2fb8
github.com/smartcontractkit/chainlink-ton/cciplib v0.1.1-0.20260902151510-9faa280a8e1a
github.com/smartcontractkit/freeport v0.1.3-0.20250828155247-add56fa28aad // indirect
github.com/smartcontractkit/grpc-proxy v0.0.0-20240830132753-a7e17fec5ab7 // indirect
github.com/spf13/pflag v1.0.10 // indirect
Expand Down
2 changes: 2 additions & 0 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion integration-tests/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ require (
github.com/smartcontractkit/chainlink-protos/job-distributor v0.20.1-0.20260701185448-696c075849ea
github.com/smartcontractkit/chainlink-testing-framework/lib v1.54.9
github.com/smartcontractkit/chainlink-ton v1.0.5-0.20260713162202-124316cd10ff
github.com/smartcontractkit/chainlink-ton/cciplib v0.1.1-0.20260820224955-011a846f2fb8
github.com/smartcontractkit/chainlink-ton/cciplib v0.1.1-0.20260902151510-9faa280a8e1a
github.com/smartcontractkit/chainlink-ton/deployment v0.0.0-20260520103847-15ca4de9dba9
github.com/smartcontractkit/chainlink/deployment v0.0.0-20260901155807-d65832e2f181
github.com/smartcontractkit/chainlink/v2 v2.62.0
Expand Down
2 changes: 1 addition & 1 deletion scripts/.core_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b7467523ad4ccac009ac8117ea7eddecb518fa4a
693c1212f38fe62340c0bf55f820146dcf47e23c
2 changes: 1 addition & 1 deletion scripts/oplint/lock.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{pkgs}: {
oplint = "sha256-MrED2i6nm0JjXesb9XofPoPn1ip17VTXggj8mxS8M24=";
oplint = "sha256-r/xkHIpaV9mX6kFf1KM9LXs08GGJyMFKjO9pYHdBcz8=";
}
2 changes: 1 addition & 1 deletion staging-monitor/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ require (
github.com/smartcontractkit/chainlink-common v0.11.2-0.20260506120607-7f10be016c89
github.com/smartcontractkit/chainlink-deployments-framework v0.116.1
github.com/smartcontractkit/chainlink-ton v1.0.5-0.20260713162202-124316cd10ff
github.com/smartcontractkit/chainlink-ton/cciplib v0.1.1-0.20260820224955-011a846f2fb8
github.com/smartcontractkit/chainlink-ton/cciplib v0.1.1-0.20260902151510-9faa280a8e1a
github.com/smartcontractkit/chainlink-ton/deployment v0.0.0-20260513143859-5836cab366c3
github.com/xssnick/tonutils-go v1.14.1
)
Expand Down
Loading