Skip to content

Commit 2c2bfe3

Browse files
authored
fix(target_chains/sui): Update addresses in Move.tomls (#1741)
Apparently the address of Pyth in the addresses section should be the address of the first published package and only `published-at` should change upon upgrades. The rest of the changes are cleaning up other addresses as they are not used. The wormhole address gets imported automatically by the dependency.
1 parent 07b747a commit 2c2bfe3

File tree

4 files changed

+2
-17
lines changed

4 files changed

+2
-17
lines changed

target_chains/sui/contracts/Move.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ dependencies = [
3131
]
3232

3333
[move.toolchain-version]
34-
compiler-version = "1.19.1"
34+
compiler-version = "1.27.2"
3535
edition = "legacy"
3636
flavor = "sui"

target_chains/sui/contracts/Move.mainnet.toml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,4 @@ subdir = "sui/wormhole"
1414
rev = "sui-upgrade-mainnet"
1515

1616
[addresses]
17-
pyth = "0x04e20ddf36af412a4096f9014f4a565af9e812db9a05cc40254846cf6ed0ad91"
18-
wormhole = "0x5306f64e312b581766351c07af79c72fcb1cd25147157fdc2f8ad76de9a3fb6a"
19-
20-
[dev-addresses]
21-
pyth = "0x100"
22-
wormhole = "0x200"
17+
pyth = "0x8d97f1cd6ac663735be08d1d2b6d02a159e711586461306ce60a2b7a6a565a9e"

target_chains/sui/contracts/Move.movement_m2_devnet.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,3 @@ local = "../vendor/wormhole_movement_m2_devnet/wormhole"
1313

1414
[addresses]
1515
pyth = "0x46522b54385efa424e0582ea4886bb5cfbe11d5c2a6a19ac0c82c2c81c73f9c5"
16-
wormhole = "0x23a373b70e6e23a39e4846fa6896fa12beb08da061b3d4ec856bc8ead54f1e22"
17-
18-
[dev-addresses]
19-
pyth = "0x100"
20-
wormhole = "0x200"

target_chains/sui/contracts/Move.testnet.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,3 @@ rev = "sui-upgrade-testnet"
1515

1616
[addresses]
1717
pyth = "0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837"
18-
wormhole = "0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94"
19-
20-
[dev-addresses]
21-
pyth = "0x100"
22-
wormhole = "0x200"

0 commit comments

Comments
 (0)