Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
612 commits
Select commit Hold shift + click to select a range
54105ce
new build
stackman27 Aug 24, 2025
f32c9bc
new build
stackman27 Aug 24, 2025
ac7b699
new exec value
stackman27 Aug 25, 2025
219dd33
new build
stackman27 Aug 25, 2025
70fe2c3
new build
stackman27 Aug 25, 2025
c1be5d4
Merge branch 'develop' into feature/sui-keystore
stackman27 Aug 25, 2025
eb3359c
new build
stackman27 Aug 25, 2025
446b21a
new build
stackman27 Aug 25, 2025
6efe414
new build
stackman27 Aug 25, 2025
d4d2c74
new build
stackman27 Aug 27, 2025
8e6ad71
Merge branch 'develop' into feature/sui-keystore
stackman27 Aug 27, 2025
8e17a30
rebased
stackman27 Aug 27, 2025
0c2ff88
rebased
stackman27 Aug 27, 2025
0378c78
new build
stackman27 Aug 27, 2025
bb1969e
new build
stackman27 Aug 27, 2025
94b3bd4
new build
stackman27 Aug 28, 2025
9b94acd
new build
stackman27 Aug 28, 2025
f633f90
new build
stackman27 Aug 28, 2025
b25716e
new build
stackman27 Aug 28, 2025
2581dce
more logs
stackman27 Aug 28, 2025
9b41d4f
Merge branch 'develop' into feature/sui-keystore
stackman27 Aug 28, 2025
0b54e00
rebased
stackman27 Aug 28, 2025
f64ef7b
more logs
stackman27 Aug 28, 2025
a33ab14
more logs
stackman27 Aug 28, 2025
0ea1182
new sui encode
stackman27 Aug 28, 2025
a3ee439
add length of dynamic array
stackman27 Aug 29, 2025
ce13653
updated byte
stackman27 Aug 29, 2025
c192af3
more logs
stackman27 Aug 29, 2025
19a8cec
more logs
stackman27 Aug 29, 2025
328ef6d
new build
stackman27 Aug 29, 2025
097c6ba
new build with logs
stackman27 Aug 29, 2025
308dc60
new build
stackman27 Aug 29, 2025
225eb19
new build
stackman27 Aug 29, 2025
87673ae
new build
stackman27 Aug 29, 2025
200522d
new bild
stackman27 Aug 29, 2025
25b3796
new build
stackman27 Aug 29, 2025
448080c
new build
stackman27 Aug 29, 2025
623fd6a
new build
stackman27 Aug 29, 2025
b81e408
new build
stackman27 Aug 29, 2025
42e3241
new build
stackman27 Aug 29, 2025
309282c
new build
stackman27 Aug 29, 2025
a6acf15
new build
stackman27 Sep 2, 2025
b26d84a
Merge branch 'develop' into feature/sui-keystore
stackman27 Sep 2, 2025
b1ed0af
new build
stackman27 Sep 2, 2025
6ed3590
new build
stackman27 Sep 2, 2025
b7cfcfe
EventFilterRenames for ExecutionStateChanged
stackman27 Sep 2, 2025
aeadc1f
sui core changes
stackman27 Sep 3, 2025
82f5c26
fix errors
stackman27 Sep 3, 2025
91a6d4d
more fixes
stackman27 Sep 3, 2025
e74fba1
more mocks
stackman27 Sep 3, 2025
632482e
cleanup
stackman27 Sep 3, 2025
d8169d2
Merge branch 'develop' into sish/sui-core
stackman27 Sep 3, 2025
b3aabd8
fix gomod
stackman27 Sep 3, 2025
83eafbc
fix tests
stackman27 Sep 4, 2025
60b5007
fix linter
stackman27 Sep 4, 2025
d43bd08
ci fix
stackman27 Sep 4, 2025
9f59f2c
Merge branch 'develop' into sish/sui-core
stackman27 Sep 8, 2025
3066fad
rebased
stackman27 Sep 8, 2025
b8000be
nit
stackman27 Sep 8, 2025
6e17a37
fix lint
stackman27 Sep 8, 2025
b2ea0e7
lint
stackman27 Sep 8, 2025
545c445
nit
stackman27 Sep 8, 2025
d305e15
nit
stackman27 Sep 8, 2025
a761b1f
new build
stackman27 Sep 8, 2025
fc2b138
fix path
stackman27 Sep 8, 2025
5bebff8
Merge commit 'b7cfcfe55d6e9c7439bcaddc020d40d77bef2b8d' into feature/…
stackman27 Sep 8, 2025
9c5f36c
restore
stackman27 Sep 8, 2025
36be428
restored sui changesets
stackman27 Sep 9, 2025
407e51d
Merge branch 'develop' into feature/sui-keystore
stackman27 Sep 9, 2025
45343fc
rebased
stackman27 Sep 9, 2025
afcd82f
able to run e2e test
stackman27 Sep 9, 2025
c7d1541
working sui -> evm test
stackman27 Sep 9, 2025
fe3977b
Merge branch 'develop' into feature/sui-keystore
stackman27 Sep 10, 2025
59cc418
rebased
stackman27 Sep 10, 2025
a9c5eed
cleanup
stackman27 Sep 10, 2025
d891982
added new sui comp fee quoter
stackman27 Sep 11, 2025
31517be
Merge branch 'develop' into feature/sui-keystore
stackman27 Sep 15, 2025
863891c
new build
stackman27 Sep 16, 2025
e2ef926
new build
stackman27 Sep 16, 2025
77d7ef4
Merge branch 'develop' into feature/sui-keystore
stackman27 Sep 16, 2025
9c885e4
rebased
stackman27 Sep 16, 2025
5fb79fe
nit
stackman27 Sep 16, 2025
c17b5a7
Merge branch 'develop' into feature/sui-keystore
stackman27 Sep 16, 2025
c3362d4
nit
stackman27 Sep 16, 2025
5200822
new build
stackman27 Sep 16, 2025
58d3f13
new build
stackman27 Sep 17, 2025
da7487b
update sui build
stackman27 Sep 17, 2025
1698cfe
new build again
stackman27 Sep 17, 2025
e85e05e
remove sui from private plugin
stackman27 Sep 17, 2025
9e3d6a2
new build
stackman27 Sep 17, 2025
f8acc0c
nb
stackman27 Sep 17, 2025
8d88777
new build
stackman27 Sep 17, 2025
9e05ca8
working run for e2e test
stackman27 Sep 17, 2025
573a667
more logs build
stackman27 Sep 17, 2025
8dae2f4
new build
stackman27 Sep 17, 2025
0e53004
new build
stackman27 Sep 17, 2025
73fb67b
Merge branch 'develop' into feature/sui-keystore
stackman27 Sep 17, 2025
cc726d8
rebased
stackman27 Sep 17, 2025
15f95a3
Enable Sui CLI in in-memory e2e tests
friedemannf Sep 17, 2025
15d6a90
Delete symbolic link
friedemannf Sep 17, 2025
8f509c5
Update action
friedemannf Sep 17, 2025
5c6026c
new build
stackman27 Sep 17, 2025
4de2ba9
new build
stackman27 Sep 17, 2025
9679f08
Update setup-sui action
friedemannf Sep 17, 2025
70abcce
Merge remote-tracking branch 'origin/feature/sui-keystore' into featu…
friedemannf Sep 17, 2025
adb52a5
Update action
friedemannf Sep 17, 2025
afe4d84
fix token reciever issue
stackman27 Sep 17, 2025
76d368f
Add test for EVM2Sui
friedemannf Sep 17, 2025
646d7f9
Merge remote-tracking branch 'origin/feature/sui-keystore' into featu…
friedemannf Sep 17, 2025
be3797e
new build
stackman27 Sep 17, 2025
8fa5078
nit
stackman27 Sep 18, 2025
254a75e
new build
stackman27 Sep 18, 2025
439c133
new build
stackman27 Sep 18, 2025
0dd1039
new build
stackman27 Sep 18, 2025
e941966
err fix
stackman27 Sep 18, 2025
4b27f7c
use latest msgHasher
stackman27 Sep 18, 2025
0953f76
able to ccipsend from evm to sui
stackman27 Sep 18, 2025
270e8af
new build
stackman27 Sep 18, 2025
e11b8df
Bump Sui CLI
friedemannf Sep 18, 2025
1ed43b4
new build
stackman27 Sep 18, 2025
421b78a
Merge branch 'develop' into feature/sui-keystore
stackman27 Sep 18, 2025
53c4dfe
rebased
stackman27 Sep 18, 2025
2af848a
new build
stackman27 Sep 18, 2025
93aafb3
new build
stackman27 Sep 18, 2025
4787206
new build
stackman27 Sep 18, 2025
260bc00
nb
stackman27 Sep 19, 2025
7751aa7
new build
stackman27 Sep 19, 2025
8bf09fc
new build
stackman27 Sep 19, 2025
114e859
new build
stackman27 Sep 19, 2025
7ad4224
Rename tests
friedemannf Sep 19, 2025
a216a09
Merge remote-tracking branch 'origin/develop' into feature/sui-keystore
friedemannf Sep 19, 2025
cfb6892
fix module not found issue
stackman27 Sep 19, 2025
4352631
use offramp addr
stackman27 Sep 20, 2025
cb138af
uplaod artifacts
stackman27 Sep 20, 2025
f8254c5
new build
stackman27 Sep 22, 2025
8b2f261
new build
stackman27 Sep 22, 2025
8bcfd2b
new build
stackman27 Sep 22, 2025
30f0764
new build
stackman27 Sep 22, 2025
9928ed9
new build with mutex lock
stackman27 Sep 22, 2025
ebfdbb5
Merge branch 'develop' into feature/sui-keystore
stackman27 Sep 22, 2025
b743834
new build
stackman27 Sep 22, 2025
c1dc79b
new build
stackman27 Sep 22, 2025
f60f015
nb
stackman27 Sep 22, 2025
cfc253e
new build
stackman27 Sep 23, 2025
2591758
rebase feature/sui-keystore to develop (#19478)
FelixFan1992 Sep 23, 2025
e3355f9
update chainlink-sui/deployment dep
FelixFan1992 Sep 23, 2025
8c5faee
nb
stackman27 Sep 23, 2025
e6cd37d
Merge branch 'develop' into feature/sui-keystore
stackman27 Sep 23, 2025
216028e
new build
stackman27 Sep 23, 2025
bca4236
nit
stackman27 Sep 23, 2025
ce3e1d6
move changeset to chainlink-sui
stackman27 Sep 23, 2025
84b3442
Merge branch 'develop' into feature/sui-keystore
stackman27 Sep 23, 2025
827718c
rebased
stackman27 Sep 23, 2025
51369b8
more cleanup
stackman27 Sep 23, 2025
a5cd99a
ccip_send binding refactor attempt
stackman27 Sep 24, 2025
50eb6c5
new build
stackman27 Sep 24, 2025
816b830
nb
stackman27 Sep 24, 2025
898b72e
use bindings for ccipSend
stackman27 Sep 24, 2025
6193a73
Merge branch 'develop' into feature/sui-keystore
stackman27 Sep 24, 2025
9bb3567
rebased
stackman27 Sep 24, 2025
a053535
Trigger Build
stackman27 Sep 24, 2025
a8a9a51
cleanup
stackman27 Sep 25, 2025
f77e847
nb
stackman27 Sep 25, 2025
2e891f6
nb
stackman27 Sep 25, 2025
431d951
new build
stackman27 Sep 25, 2025
d55e32e
more logs
stackman27 Sep 26, 2025
1fe1ebf
Merge branch 'develop' into feature/sui-keystore
stackman27 Sep 26, 2025
cda08ae
new build
stackman27 Sep 26, 2025
39a8c7e
nb
stackman27 Sep 26, 2025
fa8d41e
Merge branch 'develop' into feature/sui-keystore
stackman27 Sep 26, 2025
85a92c5
nb
stackman27 Sep 26, 2025
3fd1046
nb
stackman27 Sep 27, 2025
344a134
nb
stackman27 Sep 28, 2025
1cad8ff
new build
stackman27 Sep 28, 2025
9afda3d
nb
stackman27 Sep 28, 2025
07a0e28
rate limiter slot logs
stackman27 Sep 29, 2025
820d7af
nb
stackman27 Sep 29, 2025
4cf5c78
nb
stackman27 Sep 29, 2025
56108ea
nb
stackman27 Sep 29, 2025
2eb49a0
new run
stackman27 Sep 29, 2025
c70192f
temp comment out aptos tests
stackman27 Sep 29, 2025
b644328
bump runner
stackman27 Sep 29, 2025
0ab9f20
Merge branch 'develop' into feature/sui-keystore
stackman27 Sep 29, 2025
de56b73
new build
stackman27 Sep 29, 2025
6b9b513
cleanup
stackman27 Sep 29, 2025
cdee0bf
new run
stackman27 Sep 29, 2025
abd27b9
new run
stackman27 Sep 29, 2025
9409dc9
rerun sui test
stackman27 Sep 29, 2025
3c751bf
new reciever deploy
stackman27 Sep 29, 2025
18eb536
nb
stackman27 Sep 29, 2025
2c02a16
30 min sui test
stackman27 Sep 29, 2025
1d86c34
nit
stackman27 Sep 29, 2025
6fce2b2
re-run
stackman27 Sep 29, 2025
ce83168
token transfer from sui -> evm
stackman27 Oct 2, 2025
345fd7c
Merge branch 'develop' into feature/sui-keystore
stackman27 Oct 2, 2025
6a2bdba
rebased
stackman27 Oct 2, 2025
1d9909c
evm -> sui token transfer to eoa
stackman27 Oct 2, 2025
739fdfb
Merge branch 'develop' into feature/sui-keystore
stackman27 Oct 2, 2025
45008e4
new build
stackman27 Oct 2, 2025
a16a038
added evm to sui tt in CI
stackman27 Oct 2, 2025
53f3b4a
retrigger e2e test
stackman27 Oct 2, 2025
947c6c2
retrigger e2e test
stackman27 Oct 2, 2025
f021f1d
new run
stackman27 Oct 3, 2025
b40ed8f
add sui balance check
stackman27 Oct 3, 2025
db0a3e2
new test run
stackman27 Oct 3, 2025
f2f2b04
use tokenpkgId
stackman27 Oct 3, 2025
fe486b1
nit
stackman27 Oct 3, 2025
47c7205
core/capabilities/ccip/ccipsui/msghasher.go: add token receiver to hash
cfal Oct 3, 2025
757ad70
core/capabilities/ccip/ccipsui/executecodec.go: add Sui specific exec…
cfal Oct 3, 2025
ed28e53
core/capabilities/ccip/ccipaptos/pluginconfig.go: use Sui execute codec
cfal Oct 3, 2025
e7eef8c
more test
stackman27 Oct 3, 2025
3cf077f
temp disable sui exec codec
stackman27 Oct 3, 2025
af7ce1b
object send no expected token receive
stackman27 Oct 3, 2025
9a826a3
nit
stackman27 Oct 3, 2025
28044c2
Merge branch 'develop' into feature/sui-keystore
stackman27 Oct 3, 2025
fca72b8
rebased
stackman27 Oct 3, 2025
e0d9dfe
use tc override
stackman27 Oct 3, 2025
dfa3a38
new build
stackman27 Oct 7, 2025
d9c5747
Merge branch 'develop' into feature/sui-keystore
stackman27 Oct 7, 2025
c65e8a6
new build
stackman27 Oct 7, 2025
a9364c2
Merge branch 'develop' into feature/sui-keystore
stackman27 Oct 7, 2025
dd68cfa
rebased
stackman27 Oct 7, 2025
10e99bb
faisal fix semphore
stackman27 Oct 7, 2025
6609949
Trigger Build
stackman27 Oct 7, 2025
a120b57
new build
stackman27 Oct 7, 2025
4cb5628
rebased
stackman27 Oct 7, 2025
8089846
new build
stackman27 Oct 7, 2025
1845843
new sui changes with updated relayer
stackman27 Oct 8, 2025
bce43ae
Merge branch 'develop' into feature/sui-keystore
stackman27 Oct 8, 2025
1ab0a2b
nb
stackman27 Oct 8, 2025
8f7fa6e
nb
stackman27 Oct 9, 2025
a252400
nit
stackman27 Oct 9, 2025
6abb603
rerun e2e test
stackman27 Oct 9, 2025
1bf542d
updated sui execute codec
stackman27 Oct 9, 2025
7848df0
nit
stackman27 Oct 9, 2025
56fb738
Merge branch 'develop' into feature/sui-keystore
stackman27 Oct 9, 2025
2a47fa8
nb
stackman27 Oct 9, 2025
f7533a5
Merge branch 'develop' into feature/sui-keystore
stackman27 Oct 9, 2025
b912543
nit
stackman27 Oct 9, 2025
a9fbe74
Merge branch 'develop' into feature/sui-keystore
stackman27 Oct 9, 2025
2d0c0f1
rebased
stackman27 Oct 9, 2025
5e4297b
log
stackman27 Oct 9, 2025
8cf2b48
go mod tidy
faisal-chainlink Jul 15, 2025
94c3484
serialize token receiver address using Struct() instead of fixed bytes
faisal-chainlink Oct 9, 2025
d94a529
bump mcms version
faisal-chainlink Oct 9, 2025
a3ef653
trigger rebuild
stackman27 Oct 10, 2025
905f19e
updated go mod
stackman27 Oct 10, 2025
5afe4a7
nb
stackman27 Oct 10, 2025
3c0f0c8
Merge branch 'develop' into feature/sui-keystore
stackman27 Oct 10, 2025
989645d
rebased
stackman27 Oct 10, 2025
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
5 changes: 5 additions & 0 deletions .changeset/twelve-socks-drop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

Add Sui keystore and relayer plugin basic integration
29 changes: 29 additions & 0 deletions .github/actions/setup-sui/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Setup Sui CLI
description: Install and cache Sui CLI using suiup
inputs:
version:
description: Sui CLI version to install (e.g., mainnet-v1.57.2)
required: false
default: mainnet-v1.57.2

runs:
using: composite
steps:
- uses: actions/cache@v4
id: cache
name: Cache Sui CLI
with:
path: |
~/.suiup/bin
key: ${{ runner.os }}-suiup-${{ inputs.version }}

- if: ${{ steps.cache.outputs.cache-hit != 'true' }}
name: Install suiup and Sui CLI
shell: bash
run: |
curl -sSfL https://raw.githubusercontent.com/MystenLabs/suiup/main/install.sh | sh
"$HOME/.local/bin/suiup" install sui@${{ inputs.version }} --yes

- name: Export Sui CLI to PATH
shell: bash
run: echo "PATH=$HOME/.suiup/bin:$HOME/.local/bin:$PATH" >> $GITHUB_ENV
364 changes: 267 additions & 97 deletions .github/integration-in-memory-tests.yml

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions .github/workflows/ci-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ jobs:
should-run: ${{ needs.filter.outputs.should-run-deployment-tests }}
setup-solana: "true"
setup-aptos: "true"
setup-sui: "true"
trunk-auto-quarantine: "true"

name: Core Tests (${{ matrix.type.cmd }}) # Be careful modifying the job name, as it is used to fetch the job URL
Expand Down Expand Up @@ -244,6 +245,12 @@ jobs:
with:
CLI_VERSION: 7.8.1

- name: Setup Sui CLI v1.57.2
if: ${{ matrix.type.should-run == 'true' && matrix.type.setup-sui == 'true' }}
uses: ./.github/actions/setup-sui
with:
version: mainnet-v1.57.2

- name: Setup wasmd
if: ${{ matrix.type.should-run == 'true' }}
uses: ./.github/actions/setup-wasmd
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/flakeguard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ env:
SHUFFLE_SEED: ${{ fromJSON(inputs.extraArgs)['shuffle_seed'] || '999' }} # The seed to use when -shuffle flag is enabled. Requires RUN_WITH_SHUFFLE to be true.
ALL_TESTS_RUNNER: ${{ fromJSON(inputs.extraArgs)['all_tests_runner'] || 'ubuntu22.04-32cores-128GB' }} # The runner to use for running all tests.
DEFAULT_RUNNER: ${{ fromJSON(inputs.extraArgs)['default_tests_runner'] || 'ubuntu-latest' }} # The runner to use for running custom tests (e.g. in PRs).
UPLOAD_ALL_TEST_RESULTS: ${{ fromJSON(inputs.extraArgs)['upload_all_test_results'] || 'false' }} # Whether to upload all test results as artifacts.
UPLOAD_ALL_TEST_RESULTS: ${{ fromJSON(inputs.extraArgs)['upload_all_test_results'] || 'true' }} # Whether to upload all test results as artifacts.

jobs:
get-tests:
Expand Down
5 changes: 4 additions & 1 deletion core/capabilities/ccip/ccipaptos/pluginconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,23 @@ func initializePluginConfigFunc(chainselFamily string) ccipcommon.InitFunction {
var cwProvider ccipcommon.ChainRWProvider
var transmitterFactory types.ContractTransmitterFactory
var msgHasher ccipocr3.MessageHasher
var executeCodec ccipocr3.ExecutePluginCodec

if chainselFamily == chainsel.FamilyAptos {
cwProvider = ChainCWProvider{}
transmitterFactory = ocrimpls.NewAptosContractTransmitterFactory(extraDataCodec)
msgHasher = NewMessageHasherV1(logger.Sugared(lggr).Named(chainselFamily).Named("MessageHasherV1"), extraDataCodec)
executeCodec = NewExecutePluginCodecV1(extraDataCodec)
} else {
cwProvider = ccipsui.ChainCWProvider{}
transmitterFactory = ocrimpls.NewSuiContractTransmitterFactory(extraDataCodec)
msgHasher = ccipsui.NewMessageHasherV1(logger.Sugared(lggr).Named(chainselFamily).Named("MessageHasherV1"), extraDataCodec)
executeCodec = ccipsui.NewExecutePluginCodecV1(extraDataCodec)
}

return ccipcommon.PluginConfig{
CommitPluginCodec: NewCommitPluginCodecV1(),
ExecutePluginCodec: NewExecutePluginCodecV1(extraDataCodec),
ExecutePluginCodec: executeCodec,
MessageHasher: msgHasher,
TokenDataEncoder: NewAptosTokenDataEncoder(),
GasEstimateProvider: NewGasEstimateProvider(),
Expand Down
1 change: 1 addition & 0 deletions core/capabilities/ccip/ccipevm/executecodec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"

"github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v1_6_0/message_hasher"

Check failure on line 19 in core/capabilities/ccip/ccipevm/executecodec_test.go

View workflow job for this annotation

GitHub Actions / Core Tests (go_core_fuzz)

other declaration of message_hasher

Check failure on line 19 in core/capabilities/ccip/ccipevm/executecodec_test.go

View workflow job for this annotation

GitHub Actions / Core Tests (go_core_tests)

other declaration of message_hasher

Check failure on line 19 in core/capabilities/ccip/ccipevm/executecodec_test.go

View workflow job for this annotation

GitHub Actions / Core Tests (go_core_tests)

other declaration of message_hasher

Check failure on line 19 in core/capabilities/ccip/ccipevm/executecodec_test.go

View workflow job for this annotation

GitHub Actions / Core Tests (go_core_race_tests)

other declaration of message_hasher
"github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v1_6_0/offramp"
"github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v1_6_0/report_codec"
"github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/latest/message_hasher"

Check failure on line 22 in core/capabilities/ccip/ccipevm/executecodec_test.go

View workflow job for this annotation

GitHub Actions / Core Tests (go_core_fuzz)

"github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/latest/message_hasher" imported and not used

Check failure on line 22 in core/capabilities/ccip/ccipevm/executecodec_test.go

View workflow job for this annotation

GitHub Actions / Core Tests (go_core_fuzz)

message_hasher redeclared in this block

Check failure on line 22 in core/capabilities/ccip/ccipevm/executecodec_test.go

View workflow job for this annotation

GitHub Actions / Core Tests (go_core_tests)

message_hasher redeclared in this block

Check failure on line 22 in core/capabilities/ccip/ccipevm/executecodec_test.go

View workflow job for this annotation

GitHub Actions / Core Tests (go_core_tests)

"github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/latest/message_hasher" imported and not used

Check failure on line 22 in core/capabilities/ccip/ccipevm/executecodec_test.go

View workflow job for this annotation

GitHub Actions / Core Tests (go_core_tests)

message_hasher redeclared in this block

Check failure on line 22 in core/capabilities/ccip/ccipevm/executecodec_test.go

View workflow job for this annotation

GitHub Actions / Core Tests (go_core_race_tests)

"github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/latest/message_hasher" imported and not used

Check failure on line 22 in core/capabilities/ccip/ccipevm/executecodec_test.go

View workflow job for this annotation

GitHub Actions / Core Tests (go_core_race_tests)

message_hasher redeclared in this block
cciptypes "github.com/smartcontractkit/chainlink-ccip/pkg/types/ccipocr3"
"github.com/smartcontractkit/chainlink-common/pkg/types/ccipocr3"
"github.com/smartcontractkit/chainlink-evm/pkg/assets"
Expand Down
2 changes: 1 addition & 1 deletion core/capabilities/ccip/ccipevm/extradatacodec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"github.com/gagliardetto/solana-go"
"github.com/stretchr/testify/require"

"github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v1_6_0/message_hasher"
"github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/latest/message_hasher"
)

func Test_decodeExtraData(t *testing.T) {
Expand All @@ -18,7 +18,7 @@
extraDataDecoder := &ExtraDataDecoder{}

t.Run("decode extra args into map evm v1", func(t *testing.T) {
encoded, err := d.contract.EncodeEVMExtraArgsV1(nil, message_hasher.ClientEVMExtraArgsV1{

Check failure on line 21 in core/capabilities/ccip/ccipevm/extradatacodec_test.go

View workflow job for this annotation

GitHub Actions / Core Tests (go_core_fuzz)

cannot use message_hasher.ClientEVMExtraArgsV1{…} (value of struct type "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/latest/message_hasher".ClientEVMExtraArgsV1) as "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v1_6_0/message_hasher".ClientEVMExtraArgsV1 value in argument to d.contract.EncodeEVMExtraArgsV1

Check failure on line 21 in core/capabilities/ccip/ccipevm/extradatacodec_test.go

View workflow job for this annotation

GitHub Actions / Core Tests (go_core_tests)

cannot use message_hasher.ClientEVMExtraArgsV1{…} (value of struct type "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/latest/message_hasher".ClientEVMExtraArgsV1) as "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v1_6_0/message_hasher".ClientEVMExtraArgsV1 value in argument to d.contract.EncodeEVMExtraArgsV1

Check failure on line 21 in core/capabilities/ccip/ccipevm/extradatacodec_test.go

View workflow job for this annotation

GitHub Actions / Core Tests (go_core_race_tests)

cannot use message_hasher.ClientEVMExtraArgsV1{…} (value of struct type "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/latest/message_hasher".ClientEVMExtraArgsV1) as "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v1_6_0/message_hasher".ClientEVMExtraArgsV1 value in argument to d.contract.EncodeEVMExtraArgsV1
GasLimit: gasLimit,
})
require.NoError(t, err)
Expand All @@ -33,7 +33,7 @@
})

t.Run("decode extra args into map evm v2", func(t *testing.T) {
encoded, err := d.contract.EncodeEVMExtraArgsV2(nil, message_hasher.ClientGenericExtraArgsV2{

Check failure on line 36 in core/capabilities/ccip/ccipevm/extradatacodec_test.go

View workflow job for this annotation

GitHub Actions / Core Tests (go_core_fuzz)

cannot use message_hasher.ClientGenericExtraArgsV2{…} (value of struct type "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/latest/message_hasher".ClientGenericExtraArgsV2) as "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v1_6_0/message_hasher".ClientGenericExtraArgsV2 value in argument to d.contract.EncodeEVMExtraArgsV2

Check failure on line 36 in core/capabilities/ccip/ccipevm/extradatacodec_test.go

View workflow job for this annotation

GitHub Actions / Core Tests (go_core_tests)

cannot use message_hasher.ClientGenericExtraArgsV2{…} (value of struct type "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/latest/message_hasher".ClientGenericExtraArgsV2) as "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v1_6_0/message_hasher".ClientGenericExtraArgsV2 value in argument to d.contract.EncodeEVMExtraArgsV2

Check failure on line 36 in core/capabilities/ccip/ccipevm/extradatacodec_test.go

View workflow job for this annotation

GitHub Actions / Core Tests (go_core_race_tests)

cannot use message_hasher.ClientGenericExtraArgsV2{…} (value of struct type "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/latest/message_hasher".ClientGenericExtraArgsV2) as "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v1_6_0/message_hasher".ClientGenericExtraArgsV2 value in argument to d.contract.EncodeEVMExtraArgsV2
GasLimit: gasLimit,
AllowOutOfOrderExecution: true,
})
Expand Down Expand Up @@ -78,7 +78,7 @@
oooExec := true // enforced ooo exec for svm
tokenReceiver := [32]byte(key.PublicKey().Bytes())
accounts := [][32]byte{[32]byte(key.PublicKey().Bytes())}
encoded, err := d.contract.EncodeSVMExtraArgsV1(nil, message_hasher.ClientSVMExtraArgsV1{

Check failure on line 81 in core/capabilities/ccip/ccipevm/extradatacodec_test.go

View workflow job for this annotation

GitHub Actions / Core Tests (go_core_fuzz)

cannot use message_hasher.ClientSVMExtraArgsV1{…} (value of struct type "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/latest/message_hasher".ClientSVMExtraArgsV1) as "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v1_6_0/message_hasher".ClientSVMExtraArgsV1 value in argument to d.contract.EncodeSVMExtraArgsV1

Check failure on line 81 in core/capabilities/ccip/ccipevm/extradatacodec_test.go

View workflow job for this annotation

GitHub Actions / Core Tests (go_core_tests)

cannot use message_hasher.ClientSVMExtraArgsV1{…} (value of struct type "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/latest/message_hasher".ClientSVMExtraArgsV1) as "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v1_6_0/message_hasher".ClientSVMExtraArgsV1 value in argument to d.contract.EncodeSVMExtraArgsV1

Check failure on line 81 in core/capabilities/ccip/ccipevm/extradatacodec_test.go

View workflow job for this annotation

GitHub Actions / Core Tests (go_core_race_tests)

cannot use message_hasher.ClientSVMExtraArgsV1{…} (value of struct type "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/latest/message_hasher".ClientSVMExtraArgsV1) as "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v1_6_0/message_hasher".ClientSVMExtraArgsV1 value in argument to d.contract.EncodeSVMExtraArgsV1
ComputeUnits: cu,
AccountIsWritableBitmap: bitmap,
AllowOutOfOrderExecution: oooExec,
Expand Down
2 changes: 1 addition & 1 deletion core/capabilities/ccip/ccipevm/gas_helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v1_6_0/message_hasher"
"github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/latest/message_hasher"
"github.com/smartcontractkit/chainlink-ccip/pkg/types/ccipocr3"
)

Expand Down
2 changes: 1 addition & 1 deletion core/capabilities/ccip/ccipevm/helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

"github.com/stretchr/testify/require"

"github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v1_6_0/message_hasher"
"github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/latest/message_hasher"
)

func Test_decodeExtraArgs(t *testing.T) {
Expand All @@ -16,7 +16,7 @@
extraDataDecoder := &ExtraDataDecoder{}

t.Run("decode extra args into map evm v1", func(t *testing.T) {
encoded, err := d.contract.EncodeEVMExtraArgsV1(nil, message_hasher.ClientEVMExtraArgsV1{

Check failure on line 19 in core/capabilities/ccip/ccipevm/helpers_test.go

View workflow job for this annotation

GitHub Actions / Core Tests (go_core_fuzz)

cannot use message_hasher.ClientEVMExtraArgsV1{…} (value of struct type "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/latest/message_hasher".ClientEVMExtraArgsV1) as "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v1_6_0/message_hasher".ClientEVMExtraArgsV1 value in argument to d.contract.EncodeEVMExtraArgsV1

Check failure on line 19 in core/capabilities/ccip/ccipevm/helpers_test.go

View workflow job for this annotation

GitHub Actions / Core Tests (go_core_tests)

cannot use message_hasher.ClientEVMExtraArgsV1{…} (value of struct type "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/latest/message_hasher".ClientEVMExtraArgsV1) as "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v1_6_0/message_hasher".ClientEVMExtraArgsV1 value in argument to d.contract.EncodeEVMExtraArgsV1

Check failure on line 19 in core/capabilities/ccip/ccipevm/helpers_test.go

View workflow job for this annotation

GitHub Actions / Core Tests (go_core_race_tests)

cannot use message_hasher.ClientEVMExtraArgsV1{…} (value of struct type "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/latest/message_hasher".ClientEVMExtraArgsV1) as "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v1_6_0/message_hasher".ClientEVMExtraArgsV1 value in argument to d.contract.EncodeEVMExtraArgsV1
GasLimit: gasLimit,
})
require.NoError(t, err)
Expand All @@ -31,7 +31,7 @@
})

t.Run("decode extra args into map evm v2", func(t *testing.T) {
encoded, err := d.contract.EncodeEVMExtraArgsV2(nil, message_hasher.ClientGenericExtraArgsV2{

Check failure on line 34 in core/capabilities/ccip/ccipevm/helpers_test.go

View workflow job for this annotation

GitHub Actions / Core Tests (go_core_fuzz)

cannot use message_hasher.ClientGenericExtraArgsV2{…} (value of struct type "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/latest/message_hasher".ClientGenericExtraArgsV2) as "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v1_6_0/message_hasher".ClientGenericExtraArgsV2 value in argument to d.contract.EncodeEVMExtraArgsV2

Check failure on line 34 in core/capabilities/ccip/ccipevm/helpers_test.go

View workflow job for this annotation

GitHub Actions / Core Tests (go_core_tests)

cannot use message_hasher.ClientGenericExtraArgsV2{…} (value of struct type "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/latest/message_hasher".ClientGenericExtraArgsV2) as "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v1_6_0/message_hasher".ClientGenericExtraArgsV2 value in argument to d.contract.EncodeEVMExtraArgsV2

Check failure on line 34 in core/capabilities/ccip/ccipevm/helpers_test.go

View workflow job for this annotation

GitHub Actions / Core Tests (go_core_race_tests)

cannot use message_hasher.ClientGenericExtraArgsV2{…} (value of struct type "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/latest/message_hasher".ClientGenericExtraArgsV2) as "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v1_6_0/message_hasher".ClientGenericExtraArgsV2 value in argument to d.contract.EncodeEVMExtraArgsV2
GasLimit: gasLimit,
AllowOutOfOrderExecution: true,
})
Expand Down
7 changes: 5 additions & 2 deletions core/capabilities/ccip/ccipevm/msghasher.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil"
chainsel "github.com/smartcontractkit/chain-selectors"

"github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v1_6_0/message_hasher"
"github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/latest/message_hasher"
"github.com/smartcontractkit/chainlink-ccip/pkg/logutil"
cciptypes "github.com/smartcontractkit/chainlink-ccip/pkg/types/ccipocr3"
"github.com/smartcontractkit/chainlink-common/pkg/logger"
Expand Down Expand Up @@ -332,5 +331,9 @@ func SerializeClientSVMExtraArgsV1(data message_hasher.ClientSVMExtraArgsV1) ([]
return SerializeExtraArgs(svmExtraArgsV1Tag, "encodeSVMExtraArgsV1", data)
}

func SerializeClientSUIExtraArgsV1(data message_hasher.ClientSuiExtraArgsV1) ([]byte, error) {
return SerializeExtraArgs(suiVMExtraArgsV1Tag, "encodeSUIExtraArgsV1", data)
}

// Interface compliance check
var _ cciptypes.MessageHasher = (*MessageHasherV1)(nil)
Loading
Loading