Skip to content

Commit fe4e84e

Browse files
authored
Update SUI sdk (#222)
1 parent ace87f3 commit fe4e84e

File tree

4 files changed

+8
-16
lines changed

4 files changed

+8
-16
lines changed

.changeset/swift-cities-hug.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"chainlink-deployments-framework": patch
3+
---
4+
5+
update sui sdk

chain/sui/sui_chain.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package sui
33
import (
44
"crypto/ed25519"
55

6-
"github.com/pattonkan/sui-go/suiclient"
6+
"github.com/block-vision/sui-go-sdk/sui"
77

88
"github.com/smartcontractkit/chainlink-deployments-framework/chain/internal/common"
99
)
@@ -13,7 +13,7 @@ type ChainMetadata = common.ChainMetadata
1313
// Chain represents an Sui chain.
1414
type Chain struct {
1515
ChainMetadata
16-
Client *suiclient.ClientImpl
16+
Client sui.ISuiAPI
1717
// TODO: sui-go currently does not have a working Signer interface, so we
1818
// have the raw private key for now.
1919
DeployerKey ed25519.PrivateKey

go.mod

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ require (
99
github.com/aptos-labs/aptos-go-sdk v1.6.3-0.20250331001805-0680b714db6d
1010
github.com/avast/retry-go/v4 v4.6.1
1111
github.com/aws/aws-sdk-go v1.55.7
12+
github.com/block-vision/sui-go-sdk v1.0.6
1213
github.com/ethereum/go-ethereum v1.15.3
1314
github.com/gagliardetto/solana-go v1.12.0
1415
github.com/google/uuid v1.6.0
15-
github.com/pattonkan/sui-go v0.1.0
1616
github.com/pelletier/go-toml/v2 v2.2.3
1717
github.com/smartcontractkit/chain-selectors v1.0.60
1818
github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20250520123946-6aaf88e0848a
@@ -58,12 +58,10 @@ require (
5858
github.com/beorn7/perks v1.0.1 // indirect
5959
github.com/bits-and-blooms/bitset v1.17.0 // indirect
6060
github.com/blendle/zapdriver v1.3.1 // indirect
61-
github.com/block-vision/sui-go-sdk v1.0.6 // indirect
6261
github.com/btcsuite/btcd v0.24.2 // indirect
6362
github.com/btcsuite/btcd/btcec/v2 v2.3.4 // indirect
6463
github.com/btcsuite/btcd/btcutil v1.1.5 // indirect
6564
github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0 // indirect
66-
github.com/btcsuite/btcutil v1.0.2 // indirect
6765
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
6866
github.com/cespare/xxhash/v2 v2.3.0 // indirect
6967
github.com/cockroachdb/errors v1.11.3 // indirect
@@ -91,7 +89,6 @@ require (
9189
github.com/ebitengine/purego v0.8.2 // indirect
9290
github.com/ethereum/c-kzg-4844 v1.0.3 // indirect
9391
github.com/ethereum/go-verkle v0.2.2 // indirect
94-
github.com/fardream/go-bcs v0.7.0 // indirect
9592
github.com/fatih/color v1.17.0 // indirect
9693
github.com/felixge/httpsnoop v1.0.4 // indirect
9794
github.com/fsnotify/fsnotify v1.7.0 // indirect
@@ -133,7 +130,6 @@ require (
133130
github.com/mattn/go-isatty v0.0.20 // indirect
134131
github.com/mattn/go-runewidth v0.0.16 // indirect
135132
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
136-
github.com/mitchellh/hashstructure/v2 v2.0.2 // indirect
137133
github.com/mitchellh/mapstructure v1.5.0 // indirect
138134
github.com/mitchellh/pointerstructure v1.2.0 // indirect
139135
github.com/mmcloughlin/addchain v0.4.0 // indirect

go.sum

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,6 @@ github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0 h1:59Kx4K6lzOW5w6nFlA0v5+lk/6
9292
github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0/go.mod h1:7SFka0XMvUgj3hfZtydOrQY2mwhPclbT2snogU7SQQc=
9393
github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f/go.mod h1:TdznJufoqS23FtqVCzL0ZqgP5MqXbb4fg/WgDys70nA=
9494
github.com/btcsuite/btcutil v0.0.0-20190425235716-9e5f4b9a998d/go.mod h1:+5NJ2+qvTyV9exUAL/rxXi3DcLg2Ts+ymUAY5y4NvMg=
95-
github.com/btcsuite/btcutil v1.0.2 h1:9iZ1Terx9fMIOtq1VrwdqfsATL9MC2l8ZrUY6YZ2uts=
96-
github.com/btcsuite/btcutil v1.0.2/go.mod h1:j9HUFwoQRsZL3V4n+qG+CUnEGHOarIxfC3Le2Yhbcts=
9795
github.com/btcsuite/go-socks v0.0.0-20170105172521-4720035b7bfd/go.mod h1:HHNXQzUsZCxOoE+CPiyCTO6x34Zs86zZUiwtpXoGdtg=
9896
github.com/btcsuite/goleveldb v0.0.0-20160330041536-7834afc9e8cd/go.mod h1:F+uVaaLLH7j4eDXPRvw78tMflu7Ie2bzYOH4Y8rRKBY=
9997
github.com/btcsuite/goleveldb v1.0.0/go.mod h1:QiK9vBlgftBg6rWQIj6wFzbPfRjiykIEhBH4obrXJ/I=
@@ -183,8 +181,6 @@ github.com/ethereum/go-ethereum v1.15.3 h1:OeTWAq6r8iR89bfJDjmmOemE74ywArl9DUViF
183181
github.com/ethereum/go-ethereum v1.15.3/go.mod h1:jMXlpZXfSar1mGs/5sB0aEpEnPsiE1Jn6/3anlueqz8=
184182
github.com/ethereum/go-verkle v0.2.2 h1:I2W0WjnrFUIzzVPwm8ykY+7pL2d4VhlsePn4j7cnFk8=
185183
github.com/ethereum/go-verkle v0.2.2/go.mod h1:M3b90YRnzqKyyzBEWJGqj8Qff4IDeXnzFw0P9bFw3uk=
186-
github.com/fardream/go-bcs v0.7.0 h1:4YIiCXrtUFiRT86TsvUx+tIennZBRXQCzrgt8xC2g0c=
187-
github.com/fardream/go-bcs v0.7.0/go.mod h1:UsoxhIoe2GsVexX0s5NDLIChxeb/JUbjw7IWzzgF3Xk=
188184
github.com/fatih/color v1.17.0 h1:GlRw1BRJxkpqUCBKzKOw098ed57fEsKeNjpTe3cSjK4=
189185
github.com/fatih/color v1.17.0/go.mod h1:YZ7TlrGPkiz6ku9fK3TLD/pl3CpsiFyu8N92HLgmosI=
190186
github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg=
@@ -345,8 +341,6 @@ github.com/mattn/go-runewidth v0.0.16 h1:E5ScNMtiwvlvB5paMFdw9p4kSQzbXFikJ5SQO6T
345341
github.com/mattn/go-runewidth v0.0.16/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=
346342
github.com/mitchellh/go-testing-interface v1.14.1 h1:jrgshOhYAUVNMAJiKbEu7EqAwgJJ2JqpQmpLJOu07cU=
347343
github.com/mitchellh/go-testing-interface v1.14.1/go.mod h1:gfgS7OtZj6MA4U1UrDRp04twqAjfvlZyCfX3sDjEym8=
348-
github.com/mitchellh/hashstructure/v2 v2.0.2 h1:vGKWl0YJqUNxE8d+h8f6NJLcCJrgbhC4NcD46KavDd4=
349-
github.com/mitchellh/hashstructure/v2 v2.0.2/go.mod h1:MG3aRVU/N29oo/V/IhBX8GR/zz4kQkprJgF2EVszyDE=
350344
github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
351345
github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY=
352346
github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
@@ -410,8 +404,6 @@ github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8
410404
github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM=
411405
github.com/opencontainers/image-spec v1.1.1 h1:y0fUlFfIZhPF1W537XOLg0/fcx6zcHCJwooC2xJA040=
412406
github.com/opencontainers/image-spec v1.1.1/go.mod h1:qpqAh3Dmcf36wStyyWU+kCeDgrGnAve2nCC8+7h8Q0M=
413-
github.com/pattonkan/sui-go v0.1.0 h1:95re846OafM6erXSqk53UASESQocavRT/g418ic198E=
414-
github.com/pattonkan/sui-go v0.1.0/go.mod h1:E07Cqy27cBNcef90eXnfi/1T5t4Hyn6RxxeK3+NxQ2A=
415407
github.com/pelletier/go-toml/v2 v2.2.3 h1:YmeHyLY8mFWbdkNWwpr+qIL2bEqT0o95WSdkNHvL12M=
416408
github.com/pelletier/go-toml/v2 v2.2.3/go.mod h1:MfCQTFTvCcUyyvvwm1+G6H/jORL20Xlb6rzQu9GuUkc=
417409
github.com/pingcap/errors v0.11.4 h1:lFuQV/oaUMGcD2tqt+01ROSmJs75VG1ToEOkZIZ4nE4=
@@ -589,7 +581,6 @@ go.uber.org/zap v1.27.0/go.mod h1:GB2qFLM7cTU87MWRP2mPIjqfIDnGu+VIO4V/SdhGo2E=
589581
golang.org/x/crypto v0.0.0-20170930174604-9419663f5a44/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
590582
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
591583
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
592-
golang.org/x/crypto v0.0.0-20200115085410-6d4e4cb37c7d/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
593584
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
594585
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
595586
golang.org/x/crypto v0.0.0-20220214200702-86341886e292/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=

0 commit comments

Comments
 (0)