Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
43529ee
feat: methods
patricios-space Feb 27, 2026
80aab48
feat: docs and qa
patricios-space Mar 11, 2026
1a69eb5
Merge branch 'main' into devenv-qa-tests
patricios-space Mar 11, 2026
ec66440
fix: point to PR branch
patricios-space Mar 11, 2026
7f3211e
fix: revert go.mod change
patricios-space Mar 11, 2026
198c262
fix: typos and small fixes
patricios-space Mar 12, 2026
7c4648e
fix: duplicated line
patricios-space Mar 12, 2026
d51fdfc
tmp: import changes from PR
patricios-space Mar 12, 2026
d25495d
fix: gomods tidy
patricios-space Mar 12, 2026
88ca530
fix: lint
patricios-space Mar 12, 2026
b57fc4a
fix: implement latest changes
patricios-space Mar 16, 2026
0c2560c
feat: script get wallet info from mnemonic
patricios-space Mar 16, 2026
dab372b
fix: error detection on execution
patricios-space Mar 18, 2026
1dc7ed6
fix: scripts
patricios-space Mar 18, 2026
35ba6fc
fix: bump import to PR branch
patricios-space Mar 18, 2026
6c207f7
Merge branch 'main' into devenv-qa-tests
patricios-space Mar 18, 2026
b09a2e1
fix: package.json fmt
patricios-space Mar 18, 2026
08a6308
wip: bump imports
patricios-space Mar 19, 2026
478a3a4
bump to branch
patricios-space Mar 20, 2026
0c38b20
Merge branch 'main' into devenv-qa-tests
patricios-space Mar 20, 2026
b7eb877
fix: bump
patricios-space Mar 20, 2026
ffb95ad
fix: missing interface issue
patricios-space Mar 20, 2026
1c70e26
fix: dissable CGO_ENABLED=1 in golint
patricios-space Mar 20, 2026
351ee49
fix: bump imports
patricios-space Mar 25, 2026
519a961
fix: point all chainlink-ccip/deployment imports to latest pr commit,…
patricios-space Mar 25, 2026
801aafb
Merge branch 'main' into devenv-qa-tests
patricios-space Mar 30, 2026
ddd57c7
fix: exec with expect
patricios-space Mar 31, 2026
0a33d64
fix: bump import
patricios-space Mar 31, 2026
c21ac62
feat: GetTokenExpansionConfig change
patricios-space Mar 31, 2026
0f933ea
wip: bump imports
patricios-space Mar 31, 2026
f18c4de
chore(deps): bump core/deployment to latest, chainlink-ccip (#684)
jadepark-dev Mar 31, 2026
0a99c7b
Merge branch 'main' into devenv-qa-tests
jadepark-dev Mar 31, 2026
f168c3e
fix: missing bump
jadepark-dev Apr 1, 2026
853405a
chore: nix hash
jadepark-dev Apr 1, 2026
2322a2b
chore(deps): bump grpc
jadepark-dev Apr 1, 2026
908c13e
chore: core ref
jadepark-dev Apr 1, 2026
d3324fe
fix: apply suggestions
patricios-space Apr 1, 2026
aad694b
fix: package.json fmt
patricios-space Apr 1, 2026
08fd50e
nodes config and testadapter update
huangzhen1997 Apr 2, 2026
23dbf5b
chore: trigger ci
jadepark-dev Apr 2, 2026
c000ddd
chore: tidy
jadepark-dev Apr 2, 2026
0070c49
chore: trigger ci
jadepark-dev Apr 2, 2026
a751f2a
fix ton extra data codec to use lower camel case
huangzhen1997 Apr 2, 2026
0d7bf00
chore: trigger ci
jadepark-dev Apr 2, 2026
566f900
Bump .core_version
krebernisak Apr 3, 2026
a20727e
Merge branch 'main' into devenv-qa-tests
jadepark-dev Apr 7, 2026
c5269c2
chore: testing latest
jadepark-dev Apr 7, 2026
0367c5f
Revert "chore: testing latest"
jadepark-dev Apr 7, 2026
4f51f7a
chore: trigger CI
jadepark-dev Apr 7, 2026
fe8e16e
Merge branch 'main' into devenv-qa-tests
jadepark-dev Apr 7, 2026
d826f6a
chore: bump core
jadepark-dev Apr 7, 2026
a74892e
Merge branch 'devenv-qa-tests' of github.com:smartcontractkit/chainli…
jadepark-dev Apr 7, 2026
f1a4eb8
chore: trigger ci
jadepark-dev Apr 7, 2026
2e21499
chore: trigger ci
jadepark-dev Apr 7, 2026
8f470bb
chore: trigger ci
jadepark-dev Apr 7, 2026
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 .github/workflows/test-smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
# Deployment configuration
WORKFLOW_FILE: .github/workflows/test_smoke.yml
TARGET_REPO: smartcontractkit/chainlink-ccip
TARGET_BRANCH: main
TARGET_BRANCH: ton-qa-tests # TODO change back to main after merging https://github.com/smartcontractkit/chainlink-ccip/pull/1756
TON_REF: ${{steps.set-version-chainlink-ton.outputs.chainlink-ton_version}}
CHAINLINK_VERSION: ${{steps.set-version-chainlink.outputs.chainlink_version}}
# relative to chainlink-ccip/devenv. Assumes chainlink-ton is checked out to top level
Expand Down
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-R04fqH8gerrTZyfXUHa1qrtYQdyTA5d1ZO+fbF1TbGs=";
chainlink-ton-extras = "sha256-Okv2MG/oMd0JdDyNwa2d8fV2dBP649QJqtiKB42rjVo=";
}
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-R04fqH8gerrTZyfXUHa1qrtYQdyTA5d1ZO+fbF1TbGs=";
chainlink-ton = "sha256-Okv2MG/oMd0JdDyNwa2d8fV2dBP649QJqtiKB42rjVo=";
}
3 changes: 2 additions & 1 deletion contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"fmt-contracts": "tact-fmt --write contracts",
"fmt-typescript:check": "prettier --check .",
"fmt-typescript": "prettier --write .",
"ccip-gas-report": "blueprint test --gas-report -- --config ccip-gas-report.config.ts"
"ccip-gas-report": "blueprint test --gas-report -- --config ccip-gas-report.config.ts",
"get-key-pair": "ts-node scripts/getKeyPair.ts"
},
"dependencies": {
"@ethersproject/keccak256": "^5.8.0",
Expand Down
46 changes: 46 additions & 0 deletions contracts/scripts/getKeyPair.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
import { mnemonicToPrivateKey, mnemonicToWalletKey } from '@ton/crypto'
import { WalletContractV5R1 } from '@ton/ton'

const args = process.argv.slice(2)
run(args)
.then(() => {
process.exit(0)
})
.catch((err) => {
console.error(err)
process.exit(1)
})

export async function run(args: string[]) {
if (args.length < 1) {
throw new Error('Usage: yarn run getKeyPair --testnet|--mainnet <mnemonic>')
}
const chain = args[0]
if (chain !== '--testnet' && chain !== '--mainnet') {
throw new Error('Usage: yarn run getKeyPair --testnet|--mainnet <mnemonic>')
}
const mnemonic = args.slice(1)
if (mnemonic.length != 1 && mnemonic.length != 12 && mnemonic.length != 24) {
throw new Error('Usage: yarn run getKeyPair --testnet|--mainnet <mnemonic>')
}

const mnemonicArray = mnemonic.length == 1 ? mnemonic[0].split(' ') : mnemonic

// derive private and public keys from the mnemonic
const keyPair = await mnemonicToPrivateKey(mnemonicArray)
const walletKey = await mnemonicToWalletKey(mnemonicArray)
const wallet = WalletContractV5R1.create({
workchain: 0,
publicKey: walletKey.publicKey,
walletId: {
// -239 is mainnet, -3 is testnet
networkGlobalId: chain === '--mainnet' ? -239 : -3,
context: 0,
},
})

console.log('Public Key: ' + keyPair.publicKey.toString('hex'))
console.log('Private Key: ' + keyPair.secretKey.toString('hex'))
console.log('Wallet Version: V5R1')
console.log('Wallet Address: ' + wallet.address.toString())
}
4 changes: 3 additions & 1 deletion contracts/wrappers/examples/Receiver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ export const builder = {

const updateBehavior: CellCodec<UpdateBehavior> = {
encode: (opts: UpdateBehavior): Builder => {
return beginCell().storeUint(opcodes.in.updateBehavior, 32).storeUint(opts.behavior, 8)
return beginCell()
.storeUint(opcodes.in.updateBehavior, 32)
.storeUint(Number(opts.behavior), 8)
},
load: function (src: Slice): UpdateBehavior {
// TODO We can check that the opcode matches
Expand Down
6 changes: 3 additions & 3 deletions deployment/ccip/1_6_0/sequences/connect_chains.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import (
"math/big"

"github.com/Masterminds/semver/v3"
"github.com/smartcontractkit/chainlink-deployments-framework/datastore"
"github.com/xssnick/tonutils-go/tlb"

"github.com/smartcontractkit/chainlink-ton/deployment/state"

cldfChain "github.com/smartcontractkit/chainlink-deployments-framework/chain"
"github.com/smartcontractkit/chainlink-deployments-framework/datastore"
cldf_ops "github.com/smartcontractkit/chainlink-deployments-framework/operations"

"github.com/smartcontractkit/mcms/types"
Expand All @@ -36,6 +36,8 @@ import (
// TonLaneAdapter implements the lanes.LaneAdapter interface for TON chains.
type TonLaneAdapter struct{}

var _ lanes.LaneAdapter = &TonLaneAdapter{}

func (a *TonLaneAdapter) GetOnRampAddress(ds datastore.DataStore, chainSelector uint64) ([]byte, error) {
return getOnRampAddress(ds, chainSelector)
}
Expand Down Expand Up @@ -483,5 +485,3 @@ func intoUpdateRouterOfframpsConfig(input lanes.UpdateLanesInput) (operation.App
OffRampRemoves: nil,
}, nil
}

var _ lanes.LaneAdapter = &TonLaneAdapter{}
4 changes: 2 additions & 2 deletions deployment/ccip/1_6_0/sequences/deploy_chain_contracts.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ const defaultReserveAmount = "0.5"
// TonDeployAdapter implements the deploy.Deployer interface for TON chains.
type TonDeployAdapter struct{}

var _ deploy.Deployer = &TonDeployAdapter{}

func (a *TonDeployAdapter) DeployChainContracts() *cldf_ops.Sequence[deploy.ContractDeploymentConfigPerChainWithAddress, sequences.OnChainOutput, cldf_chain.BlockChains] {
return DeployChainContracts
}
Expand Down Expand Up @@ -261,5 +263,3 @@ func intoDeployCCIPSeqInput(cfg deploy.ContractDeploymentConfigPerChainWithAddre
ChainSelector: cfg.ChainSelector,
}, nil
}

var _ deploy.Deployer = &TonDeployAdapter{}
2 changes: 1 addition & 1 deletion deployment/ccip/sequence/deploy_ccip.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ func deployCCIPSequence(b operations.Bundle, dp *dep.DependencyProvider, in Depl
PendingOwner: address.NewAddressNone(),
},
AuthorizedCaller: &routerAddress,
Behavior: receiver.Accept,
Behavior: receiver.BehaviorAccept,
}

outputAddr, err = operation.InvokeDeployContractOperation(b, dp, in.ChainSelector, tonCompiledContracts[state.TonReceiver], receiverStorage, nil, in.CCIPConfig.ReceiverParams.Coin, in.CCIPConfig.ReceiverParams.ContractsSemver)
Expand Down
7 changes: 4 additions & 3 deletions deployment/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ require (
github.com/rs/zerolog v1.34.0
github.com/samber/lo v1.52.0
github.com/smartcontractkit/chain-selectors v1.0.97
github.com/smartcontractkit/chainlink-ccip v0.1.1-solana.0.20260317175207-e9ff89561326
github.com/smartcontractkit/chainlink-ccip/deployment v0.0.0-20260317175207-e9ff89561326
github.com/smartcontractkit/chainlink-ccip v0.1.1-solana.0.20260331203127-b8dc0a6b85c5
github.com/smartcontractkit/chainlink-ccip/deployment v0.0.0-20260331203127-b8dc0a6b85c5
github.com/smartcontractkit/chainlink-common v0.10.1-0.20260310151336-c98a9c147ac0
github.com/smartcontractkit/chainlink-deployments-framework v0.80.2
github.com/smartcontractkit/chainlink-protos/job-distributor v0.17.0
Expand All @@ -22,6 +22,8 @@ require (
google.golang.org/grpc v1.78.0
)

require github.com/gagliardetto/binary v0.8.0

require (
dario.cat/mergo v1.0.2 // indirect
filippo.io/edwards25519 v1.1.1 // indirect
Expand Down Expand Up @@ -91,7 +93,6 @@ require (
github.com/fsnotify/fsnotify v1.9.0 // indirect
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
github.com/gabriel-vasile/mimetype v1.4.10 // indirect
github.com/gagliardetto/binary v0.8.0 // indirect
github.com/gagliardetto/solana-go v1.13.0 // indirect
github.com/gagliardetto/treeout v0.1.4 // indirect
github.com/getsentry/sentry-go v0.27.0 // indirect
Expand Down
8 changes: 4 additions & 4 deletions deployment/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -711,14 +711,14 @@ github.com/smartcontractkit/chain-selectors v1.0.97 h1:ECOin+SkJv2MUrfqTUu28J0ku
github.com/smartcontractkit/chain-selectors v1.0.97/go.mod h1:qy7whtgG5g+7z0jt0nRyii9bLND9m15NZTzuQPkMZ5w=
github.com/smartcontractkit/chainlink-aptos v0.0.0-20251024142440-51f2ad2652a2 h1:vGdeMwHO3ow88HvxfhA4DDPYNY0X9jmdux7L83UF/W8=
github.com/smartcontractkit/chainlink-aptos v0.0.0-20251024142440-51f2ad2652a2/go.mod h1:iteU0WORHkArACVh/HoY/1bipV4TcNcJdTmom9uIT0E=
github.com/smartcontractkit/chainlink-ccip v0.1.1-solana.0.20260317175207-e9ff89561326 h1:T0G+u37fSZ9nUOo9l1MQNlfR3CY3Thlbte4zvvJnt9I=
github.com/smartcontractkit/chainlink-ccip v0.1.1-solana.0.20260317175207-e9ff89561326/go.mod h1:iZTLsjnvzUR4QODACgkvJ2Xd1z1YYJJvEnLZ61K/sfw=
github.com/smartcontractkit/chainlink-ccip v0.1.1-solana.0.20260331203127-b8dc0a6b85c5 h1:FgGNdAR/ABzC6o6jetL0Ikw2VOw/LR4NU7KG3U0ZG/c=
github.com/smartcontractkit/chainlink-ccip v0.1.1-solana.0.20260331203127-b8dc0a6b85c5/go.mod h1:iZTLsjnvzUR4QODACgkvJ2Xd1z1YYJJvEnLZ61K/sfw=
github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20260121163256-85accaf3d28d h1:xdFpzbApEMz4Rojg2Y2OjFlrh0wu7eB10V2tSZGW5y8=
github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20260121163256-85accaf3d28d/go.mod h1:bgmqE7x9xwmIVr8PqLbC0M5iPm4AV2DBl596lO6S5Sw=
github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20250912190424-fd2e35d7deb5 h1:Z4t2ZY+ZyGWxtcXvPr11y4o3CGqhg3frJB5jXkCSvWA=
github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20250912190424-fd2e35d7deb5/go.mod h1:xtZNi6pOKdC3sLvokDvXOhgHzT+cyBqH/gWwvxTxqrg=
github.com/smartcontractkit/chainlink-ccip/deployment v0.0.0-20260317175207-e9ff89561326 h1:JwBN5rCqJTHYJTSBdYS/nVWl1z/NtmHAxA7Petvr4Q0=
github.com/smartcontractkit/chainlink-ccip/deployment v0.0.0-20260317175207-e9ff89561326/go.mod h1:P0/tjeeIIxfsBupk5MneRjq5uI9mj+ZQpMpYnFla6WM=
github.com/smartcontractkit/chainlink-ccip/deployment v0.0.0-20260331203127-b8dc0a6b85c5 h1:nfYwvETl1v+je1Z8LRE6Zgk+9LjtOnITWIjg75Hi7PA=
github.com/smartcontractkit/chainlink-ccip/deployment v0.0.0-20260331203127-b8dc0a6b85c5/go.mod h1:P0/tjeeIIxfsBupk5MneRjq5uI9mj+ZQpMpYnFla6WM=
github.com/smartcontractkit/chainlink-common v0.10.1-0.20260310151336-c98a9c147ac0 h1:eui+u6ge2RYW01F/DeXWrc5UOqc+8+lyPoi9TIAmMgo=
github.com/smartcontractkit/chainlink-common v0.10.1-0.20260310151336-c98a9c147ac0/go.mod h1:0ghbAr7tRO0tT5ZqBXhOyzgUO37tNNe33Yn0hskauVM=
github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.10 h1:FJAFgXS9oqASnkS03RE1HQwYQQxrO4l46O5JSzxqLgg=
Expand Down
Loading
Loading