Skip to content

Commit 023528d

Browse files
committed
fix: ci issue
# Conflicts: # Cargo.lock # Cargo.toml
1 parent d2a0e7a commit 023528d

File tree

3 files changed

+23
-35
lines changed

3 files changed

+23
-35
lines changed

.github/workflows/build.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,14 @@ jobs:
9999
COPY /target/release/fendermint /app/output/bin/fendermint
100100
COPY /target/release/ipc-cli /app/output/bin/ipc-cli
101101
EOF
102-
102+
103103
## Append the runner build phase to the Dockerfile.
104104
cat fendermint/docker/runner.Dockerfile >> /tmp/Dockerfile
105-
105+
106106
## Print the Dockerfile for debugging.
107107
echo "Dockerfile:"
108108
cat /tmp/Dockerfile
109-
109+
110110
## Create the temporary .dockerignore file.
111111
cat <<EOF > /tmp/Dockerfile.dockerignore
112112
target
@@ -115,11 +115,11 @@ jobs:
115115
contracts/cache
116116
contracts/node-modules
117117
EOF
118-
118+
119119
## Print the .dockerignore file for debugging.
120120
echo "Dockerfile.dockerignore:"
121121
cat /tmp/Dockerfile.dockerignore
122-
122+
123123
## Build the Docker image.
124124
DOCKER_BUILDKIT=1 docker build \
125125
--load \

Cargo.lock

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

Cargo.toml

Lines changed: 10 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ fvm_ipld_amt = "0.7.4"
221221
# and this copy-paste is clunky, so at least for those that have it, we should use it.
222222
# Keep the version here in sync with the Makefile!
223223
# NOTE: Using master branch instead of v17.0.0 tag due to serde dependency fixes
224+
# Master is currently at commit 2f040c12 which fixes the serde::__private::PhantomData import issue
224225
fil_actors_evm_shared = { git = "https://github.com/filecoin-project/builtin-actors", branch = "master" }
225226
fil_actor_eam = { git = "https://github.com/filecoin-project/builtin-actors", branch = "master" }
226227
fil_actor_evm = { git = "https://github.com/filecoin-project/builtin-actors", branch = "master" }
@@ -246,29 +247,16 @@ tendermint-rpc = { version = "0.31", features = [
246247
tendermint-proto = { version = "0.31" }
247248

248249
[patch.crates-io]
249-
fvm = { git = "https://github.com/consensus-shipyard/ref-fvm.git" }
250-
fvm_shared = { git = "https://github.com/consensus-shipyard/ref-fvm.git" }
251-
fvm_sdk = { git = "https://github.com/consensus-shipyard/ref-fvm.git" }
252-
fvm_ipld_blockstore = { git = "https://github.com/consensus-shipyard/ref-fvm.git" }
253-
fvm_ipld_car = { git = "https://github.com/consensus-shipyard/ref-fvm.git" }
254-
fvm_ipld_encoding = { git = "https://github.com/consensus-shipyard/ref-fvm.git" }
255-
fvm_ipld_hamt = { git = "https://github.com/consensus-shipyard/ref-fvm.git" }
256-
fvm_ipld_amt = { git = "https://github.com/consensus-shipyard/ref-fvm.git" }
250+
# Using latest FVM to match builtin-actors v17.0.0 requirements
251+
fvm = { git = "https://github.com/consensus-shipyard/ref-fvm.git", branch = "master" }
252+
fvm_shared = { git = "https://github.com/consensus-shipyard/ref-fvm.git", branch = "master" }
253+
fvm_sdk = { git = "https://github.com/consensus-shipyard/ref-fvm.git", branch = "master" }
254+
fvm_ipld_blockstore = { git = "https://github.com/consensus-shipyard/ref-fvm.git", branch = "master" }
255+
fvm_ipld_car = { git = "https://github.com/consensus-shipyard/ref-fvm.git", branch = "master" }
256+
fvm_ipld_encoding = { git = "https://github.com/consensus-shipyard/ref-fvm.git", branch = "master" }
257+
fvm_ipld_hamt = { git = "https://github.com/consensus-shipyard/ref-fvm.git", branch = "master" }
258+
fvm_ipld_amt = { git = "https://github.com/consensus-shipyard/ref-fvm.git", branch = "master" }
257259
yamux = { git = "https://github.com/paritytech/yamux", tag = "yamux-v0.13.4" }
258-
# Removed - this would override the master branch version with the buggy v15.0.0
259-
# fil_actors_runtime = { git = "https://github.com/filecoin-project/builtin-actors.git", tag = "v15.0.0" }
260-
261-
# Note: This patch section is currently not needed since we're using master branch
262-
# which should be compatible with the latest FVM. If you encounter version conflicts,
263-
# uncomment and adjust as needed.
264-
# [patch."https://github.com/filecoin-project/builtin-actors"]
265-
# fvm = { git = "https://github.com/consensus-shipyard/ref-fvm.git" }
266-
# fvm_shared = { git = "https://github.com/consensus-shipyard/ref-fvm.git" }
267-
# fvm_sdk = { git = "https://github.com/consensus-shipyard/ref-fvm.git" }
268-
# fvm_ipld_blockstore = { git = "https://github.com/consensus-shipyard/ref-fvm.git" }
269-
# fvm_ipld_encoding = { git = "https://github.com/consensus-shipyard/ref-fvm.git" }
270-
# fvm_ipld_hamt = { git = "https://github.com/consensus-shipyard/ref-fvm.git" }
271-
# fvm_ipld_amt = { git = "https://github.com/consensus-shipyard/ref-fvm.git" }
272260

273261
[profile.wasm]
274262
inherits = "release"

0 commit comments

Comments
 (0)