Skip to content

Commit fb88f6d

Browse files
committed
fix: embedded aptos-runner; we still have problems with port randomization being flaky; it seems like the node config might be read improperly, but hard to tell.
1 parent 2f7ab8e commit fb88f6d

File tree

19 files changed

+178
-246
lines changed

19 files changed

+178
-246
lines changed

Cargo.lock

Lines changed: 17 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ futures = "0.3.17"
4545
futures-channel = "0.3.17"
4646
serde = "1.0"
4747
serde_json = "1.0.140"
48+
serde_yaml = "0.8.24"
4849
serde_derive = "1.0"
4950
thiserror = "1.0.50"
5051
tracing = "0.1.40"
@@ -94,6 +95,7 @@ reqwest = { version = "0.12.11", features = ["json"] }
9495
either = "1.8.1"
9596
tempdir = "0.3.7"
9697
sysinfo = "0.34.2"
98+
portpicker = "0.1.0"
9799

98100

99101
# movement
@@ -123,12 +125,12 @@ secure-signer-loader = { git = "https://github.com/movementlabsxyz/secure-signin
123125
secure-signer-aws-kms = { git = "https://github.com/movementlabsxyz/secure-signing.git", rev = "f37eebd6d494d21b26b2faa44e1188de42ff1007" }
124126

125127
# kestrel
126-
kestrel = { git = "https://github.com/movementlabsxyz/kestrel.git", rev = "96fa1a31088af992748c8dbe6b8fe4ccfba771fa" }
127-
jsonlvar = { git = "https://github.com/movementlabsxyz/kestrel.git", rev = "96fa1a31088af992748c8dbe6b8fe4ccfba771fa" }
128-
commander = { git = "https://github.com/movementlabsxyz/kestrel.git", rev = "96fa1a31088af992748c8dbe6b8fe4ccfba771fa" }
129-
include-dir = { git = "https://github.com/movementlabsxyz/kestrel.git", rev = "96fa1a31088af992748c8dbe6b8fe4ccfba771fa" }
130-
include-vendor = { git = "https://github.com/movementlabsxyz/kestrel.git", rev = "96fa1a31088af992748c8dbe6b8fe4ccfba771fa" }
131-
ready-docker = { git = "https://github.com/movementlabsxyz/kestrel.git", rev = "96fa1a31088af992748c8dbe6b8fe4ccfba771fa" }
128+
kestrel = { git = "https://github.com/movementlabsxyz/kestrel.git", rev = "9c56eb9f6dde1564493835c7e2c61b9fd2b00a6c" }
129+
jsonlvar = { git = "https://github.com/movementlabsxyz/kestrel.git", rev = "9c56eb9f6dde1564493835c7e2c61b9fd2b00a6c" }
130+
commander = { git = "https://github.com/movementlabsxyz/kestrel.git", rev = "9c56eb9f6dde1564493835c7e2c61b9fd2b00a6c" }
131+
include-dir = { git = "https://github.com/movementlabsxyz/kestrel.git", rev = "9c56eb9f6dde1564493835c7e2c61b9fd2b00a6c" }
132+
include-vendor = { git = "https://github.com/movementlabsxyz/kestrel.git", rev = "9c56eb9f6dde1564493835c7e2c61b9fd2b00a6c" }
133+
ready-docker = { git = "https://github.com/movementlabsxyz/kestrel.git", rev = "9c56eb9f6dde1564493835c7e2c61b9fd2b00a6c" }
132134

133135
# orfile
134136
orfile = { git = "https://github.com/movementlabsxyz/orfile.git", rev = "b49cb42495816fa00a1107be5bbf41aff3a8255d" }
@@ -181,7 +183,6 @@ mtma-migrator-test-types = { path = "checks/migrator/util/types" }
181183
movement-syncing = { path = "util/movement/movement-syncing" }
182184
movement-core = { path = "util/movement/movement-core" }
183185
movement-util = { path = "util/movement/movement-util" }
184-
movement-aptos-core-inner = { path = "util/movement-aptos/movement-aptos-core-inner" }
185186
movement-aptos = { path = "util/movement-aptos/movement-aptos" }
186187
movement-aptos-core = { path = "util/movement-aptos/movement-aptos-core" }
187188

flake.nix

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,6 @@
136136
cp $(pwd)/.githooks/pre-commit $(pwd)/.git/hooks/pre-commit
137137
chmod +x $(pwd)/.git/hooks/pre-commit
138138
139-
# Hack
140-
# Build the movement-aptos binary, so that we can spawn it and avoid tokio runtime deallocation limitations.
141-
cargo build --bin movement-aptos
142-
143139
cat <<'EOF'
144140
MOVEMENT => MAPTOS
145141
EOF

util/movement-aptos/movement-aptos-core-inner/Cargo.toml

Lines changed: 0 additions & 36 deletions
This file was deleted.

util/movement-aptos/movement-aptos-core-inner/build.rs

Lines changed: 0 additions & 89 deletions
This file was deleted.

util/movement-aptos/movement-aptos-core-inner/src/lib.rs

Lines changed: 0 additions & 5 deletions
This file was deleted.

util/movement-aptos/movement-aptos-core/Cargo.toml

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,31 @@ publish = { workspace = true }
99
rust-version = { workspace = true }
1010

1111
[dependencies]
12-
movement-aptos-core-inner = { workspace = true }
13-
movement-aptos = { workspace = true }
12+
thiserror = { workspace = true }
13+
serde = { workspace = true }
14+
anyhow = { workspace = true }
15+
hex = { workspace = true }
16+
syncador = { workspace = true }
17+
tokio = { workspace = true }
18+
aptos-node = { workspace = true }
19+
aptos-config = { workspace = true }
20+
serde_json = { workspace = true }
21+
clap = { workspace = true }
22+
jsonlvar = { workspace = true }
23+
orfile = { workspace = true }
24+
kestrel = { workspace = true }
25+
reqwest = { workspace = true }
26+
aptos-cached-packages = { workspace = true }
27+
rand = { workspace = true }
28+
chrono = { workspace = true }
29+
uuid = { workspace = true }
30+
serde_yaml = { workspace = true }
31+
tracing = { workspace = true }
32+
33+
[dev-dependencies]
34+
uuid = { workspace = true }
35+
chrono = { workspace = true }
36+
tracing-test = { workspace = true }
1437

1538
[build-dependencies]
1639
cargo_metadata = { workspace = true }
File renamed without changes.

0 commit comments

Comments
 (0)