Skip to content

Commit b8676f0

Browse files
Reisenevan-gray
andauthored
aptos: upgrade to 3.1.0 (toolchain and stdlib) (wormhole-foundation#3915)
* aptos: upgrade to 3.1.0 (toolchain and stdlib) * aptos: push 3.1.0 base * aptos: update bind-to flag --------- Co-authored-by: Evan Gray <[email protected]>
1 parent bf5ceb5 commit b8676f0

File tree

9 files changed

+21
-21
lines changed

9 files changed

+21
-21
lines changed

aptos/Docker.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
# tag the image with the appropriate version
77

8-
docker tag aptos:latest ghcr.io/wormhole-foundation/aptos:2.0.3
8+
docker tag aptos:latest ghcr.io/wormhole-foundation/aptos:3.1.0
99

1010
# push to ghcr
1111

12-
docker push ghcr.io/wormhole-foundation/aptos:2.0.3
12+
docker push ghcr.io/wormhole-foundation/aptos:3.1.0

aptos/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM cli-gen AS cli-export
22
FROM const-gen AS const-export
3-
FROM ghcr.io/wormhole-foundation/aptos:2.0.3@sha256:1e79c5a615b10073a780122abfaaf9b90735912df560b4e7b6a056fe45816392 as aptos
3+
FROM ghcr.io/wormhole-foundation/aptos:3.1.0@sha256:c359f25cd6b2cd9edb2634504756a3b179cd416fd73fda59f66c48168e3b69da as aptos
44

55
# Install nodejs
66
# todo(aki): move this into base image?

aptos/Dockerfile.base

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
FROM rust:1.62@sha256:5777f201f507075309c4d2d1c1e8d8219e654ae1de154c844341050016a64a0c as aptos-node
22

3-
RUN apt-get update && apt-get -y install libclang-dev jq cmake curl npm gcc g++ make lld
3+
RUN apt-get update && apt-get -y install libclang-dev libudev-dev libdw-dev jq cmake curl npm gcc g++ make lld
44

55
WORKDIR /tmp
66

77
RUN git clone https://github.com/aptos-labs/aptos-core.git
88
WORKDIR /tmp/aptos-core
99

1010
# Build aptos 2.0.3
11-
RUN git reset --hard eb0144a39ada521d8dee01c9dbd601853d383fb3
11+
RUN git reset --hard 6f83bc6d02207298b2dee91133d75538789bf582
1212
RUN cargo build -p aptos --profile cli
1313

1414
FROM rust:1.62@sha256:5777f201f507075309c4d2d1c1e8d8219e654ae1de154c844341050016a64a0c as export-stage

aptos/coin/Move.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ version = "0.0.1"
44
upgrade_policy = "compatible"
55

66
[dependencies]
7-
MoveStdlib = { git = "https://github.com/aptos-labs/aptos-core.git", subdir = "aptos-move/framework/move-stdlib/", rev = "eb0144a39ada521d8dee01c9dbd601853d383fb3" }
7+
MoveStdlib = { git = "https://github.com/aptos-labs/aptos-core.git", subdir = "aptos-move/framework/move-stdlib/", rev = "6f83bc6d02207298b2dee91133d75538789bf582" }
88

99
[dev-addresses]
10-
wrapped_coin = "0x0"
10+
wrapped_coin = "0xBEEF"
1111

1212
[addresses]
1313
wrapped_coin = "_"

aptos/deployer/Move.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = '1.0.0'
44

55
[dependencies.AptosFramework]
66
git = 'https://github.com/aptos-labs/aptos-core.git'
7-
rev = 'eb0144a39ada521d8dee01c9dbd601853d383fb3'
7+
rev = '6f83bc6d02207298b2dee91133d75538789bf582'
88
subdir = 'aptos-move/framework/aptos-framework'
99

1010
[dev-addresses]

aptos/nft_bridge/Move.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name = "NFTBridge"
33
version = "0.0.1"
44

55
[dependencies]
6-
AptosFramework = { git = "https://github.com/aptos-labs/aptos-core.git", subdir = "aptos-move/framework/aptos-framework/", rev = "eb0144a39ada521d8dee01c9dbd601853d383fb3" }
7-
MoveStdlib = { git = "https://github.com/aptos-labs/aptos-core.git", subdir = "aptos-move/framework/move-stdlib/", rev = "eb0144a39ada521d8dee01c9dbd601853d383fb3" }
8-
AptosStdlib = { git = "https://github.com/aptos-labs/aptos-core.git", subdir = "aptos-move/framework/aptos-stdlib/", rev = "eb0144a39ada521d8dee01c9dbd601853d383fb3" }
9-
AptosToken = { git = "https://github.com/aptos-labs/aptos-core.git", subdir = "aptos-move/framework/aptos-token/", rev = "eb0144a39ada521d8dee01c9dbd601853d383fb3" }
6+
AptosFramework = { git = "https://github.com/aptos-labs/aptos-core.git", subdir = "aptos-move/framework/aptos-framework/", rev = "6f83bc6d02207298b2dee91133d75538789bf582" }
7+
MoveStdlib = { git = "https://github.com/aptos-labs/aptos-core.git", subdir = "aptos-move/framework/move-stdlib/", rev = "6f83bc6d02207298b2dee91133d75538789bf582" }
8+
AptosStdlib = { git = "https://github.com/aptos-labs/aptos-core.git", subdir = "aptos-move/framework/aptos-stdlib/", rev = "6f83bc6d02207298b2dee91133d75538789bf582" }
9+
AptosToken = { git = "https://github.com/aptos-labs/aptos-core.git", subdir = "aptos-move/framework/aptos-token/", rev = "6f83bc6d02207298b2dee91133d75538789bf582" }
1010
Wormhole = { local = "../wormhole/" }
1111
TokenBridge = { local = "../token_bridge/" }
1212
Deployer = { local = "../deployer/" }

aptos/start_node.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22

3-
aptos node run-local-testnet --with-faucet --force-restart
3+
aptos node run-local-testnet --with-faucet --force-restart --bind-to 0.0.0.0

aptos/token_bridge/Move.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name = "TokenBridge"
33
version = "0.0.1"
44

55
[dependencies]
6-
AptosFramework = { git = "https://github.com/aptos-labs/aptos-core.git", subdir = "aptos-move/framework/aptos-framework/", rev = "eb0144a39ada521d8dee01c9dbd601853d383fb3" }
7-
MoveStdlib = { git = "https://github.com/aptos-labs/aptos-core.git", subdir = "aptos-move/framework/move-stdlib/", rev = "eb0144a39ada521d8dee01c9dbd601853d383fb3" }
8-
AptosStdlib = { git = "https://github.com/aptos-labs/aptos-core.git", subdir = "aptos-move/framework/aptos-stdlib/", rev = "eb0144a39ada521d8dee01c9dbd601853d383fb3" }
9-
AptosToken = { git = "https://github.com/aptos-labs/aptos-core.git", subdir = "aptos-move/framework/aptos-token/", rev = "eb0144a39ada521d8dee01c9dbd601853d383fb3" }
6+
AptosFramework = { git = "https://github.com/aptos-labs/aptos-core.git", subdir = "aptos-move/framework/aptos-framework/", rev = "6f83bc6d02207298b2dee91133d75538789bf582" }
7+
MoveStdlib = { git = "https://github.com/aptos-labs/aptos-core.git", subdir = "aptos-move/framework/move-stdlib/", rev = "6f83bc6d02207298b2dee91133d75538789bf582" }
8+
AptosStdlib = { git = "https://github.com/aptos-labs/aptos-core.git", subdir = "aptos-move/framework/aptos-stdlib/", rev = "6f83bc6d02207298b2dee91133d75538789bf582" }
9+
AptosToken = { git = "https://github.com/aptos-labs/aptos-core.git", subdir = "aptos-move/framework/aptos-token/", rev = "6f83bc6d02207298b2dee91133d75538789bf582" }
1010
Wormhole = { local = "../wormhole/" }
1111
Deployer = { local = "../deployer/" }
1212

aptos/wormhole/Move.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ version = "0.0.1"
44
upgrade_policy = "compatible"
55

66
[dependencies]
7-
AptosFramework = { git = "https://github.com/aptos-labs/aptos-core.git", subdir = "aptos-move/framework/aptos-framework/", rev = "eb0144a39ada521d8dee01c9dbd601853d383fb3" }
8-
MoveStdlib = { git = "https://github.com/aptos-labs/aptos-core.git", subdir = "aptos-move/framework/move-stdlib/", rev = "eb0144a39ada521d8dee01c9dbd601853d383fb3" }
9-
AptosStdlib = { git = "https://github.com/aptos-labs/aptos-core.git", subdir = "aptos-move/framework/aptos-stdlib/", rev = "eb0144a39ada521d8dee01c9dbd601853d383fb3" }
10-
AptosToken = { git = "https://github.com/aptos-labs/aptos-core.git", subdir = "aptos-move/framework/aptos-token/", rev = "eb0144a39ada521d8dee01c9dbd601853d383fb3" }
7+
AptosFramework = { git = "https://github.com/aptos-labs/aptos-core.git", subdir = "aptos-move/framework/aptos-framework/", rev = "6f83bc6d02207298b2dee91133d75538789bf582" }
8+
MoveStdlib = { git = "https://github.com/aptos-labs/aptos-core.git", subdir = "aptos-move/framework/move-stdlib/", rev = "6f83bc6d02207298b2dee91133d75538789bf582" }
9+
AptosStdlib = { git = "https://github.com/aptos-labs/aptos-core.git", subdir = "aptos-move/framework/aptos-stdlib/", rev = "6f83bc6d02207298b2dee91133d75538789bf582" }
10+
AptosToken = { git = "https://github.com/aptos-labs/aptos-core.git", subdir = "aptos-move/framework/aptos-token/", rev = "6f83bc6d02207298b2dee91133d75538789bf582" }
1111
Deployer = { local = "../deployer/" }
1212
# U256 = { git = "https://github.com/pontem-network/u256", rev = "main" }
1313

0 commit comments

Comments
 (0)