Skip to content

Commit 330b785

Browse files
authored
Merge branch 'main' into randygrok/client-viem-ev-reth
2 parents 69ee053 + 77c533c commit 330b785

4 files changed

Lines changed: 26 additions & 34 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 20 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
resolver = "2"
33
members = [
44
"bin/ev-reth",
5-
"crates/common",
6-
"crates/evolve",
7-
"crates/node",
8-
"crates/tests",
9-
"crates/ev-precompiles",
10-
"crates/ev-revm",
5+
"crates/common",
6+
"crates/evolve",
7+
"crates/node",
8+
"crates/tests",
9+
"crates/ev-precompiles",
10+
"crates/ev-revm",
1111
]
1212

1313
[workspace.package]
@@ -43,7 +43,7 @@ reth-primitives-traits = { git = "https://github.com/paradigmxyz/reth.git", tag
4343
reth-provider = { git = "https://github.com/paradigmxyz/reth.git", tag = "v1.8.4" }
4444
reth-storage-api = { git = "https://github.com/paradigmxyz/reth.git", tag = "v1.8.4" }
4545
reth-tracing = { git = "https://github.com/paradigmxyz/reth.git", tag = "v1.8.4" }
46-
reth-transaction-pool = { git = "https://github.com/paradigmxyz/reth.git", tag = "v1.8.4" }
46+
reth-transaction-pool = { git = "https://github.com/paradigmxyz/reth.git", tag = "v1.8.4", default-features = false }
4747
reth-network = { git = "https://github.com/paradigmxyz/reth.git", tag = "v1.8.4" }
4848
reth-network-types = { git = "https://github.com/paradigmxyz/reth.git", tag = "v1.8.4" }
4949
reth-chain-state = { git = "https://github.com/paradigmxyz/reth.git", tag = "v1.8.4" }
@@ -54,18 +54,18 @@ reth-engine-local = { git = "https://github.com/paradigmxyz/reth.git", tag = "v1
5454
reth-engine-primitives = { git = "https://github.com/paradigmxyz/reth.git", tag = "v1.8.4" }
5555
reth-ethereum-payload-builder = { git = "https://github.com/paradigmxyz/reth.git", tag = "v1.8.4" }
5656
reth-ethereum-primitives = { git = "https://github.com/paradigmxyz/reth.git", tag = "v1.8.4" }
57-
reth-e2e-test-utils = { git = "https://github.com/paradigmxyz/reth.git", tag = "v1.8.4" }
58-
reth-evm = { git = "https://github.com/paradigmxyz/reth.git", tag = "v1.8.4" }
59-
reth-evm-ethereum = { git = "https://github.com/paradigmxyz/reth.git", tag = "v1.8.4" }
57+
reth-e2e-test-utils = { git = "https://github.com/paradigmxyz/reth.git", tag = "v1.8.4", default-features = false }
58+
reth-evm = { git = "https://github.com/paradigmxyz/reth.git", default-features = false, tag = "v1.8.4" }
59+
reth-evm-ethereum = { git = "https://github.com/paradigmxyz/reth.git", default-features = false, tag = "v1.8.4" }
6060
reth-execution-types = { git = "https://github.com/paradigmxyz/reth.git", tag = "v1.8.4" }
6161
reth-node-core = { git = "https://github.com/paradigmxyz/reth.git", tag = "v1.8.4" }
6262
reth-node-types = { git = "https://github.com/paradigmxyz/reth.git", tag = "v1.8.4" }
6363
reth-payload-builder = { git = "https://github.com/paradigmxyz/reth.git", tag = "v1.8.4" }
6464
reth-payload-builder-primitives = { git = "https://github.com/paradigmxyz/reth.git", tag = "v1.8.4" }
6565
reth-payload-primitives = { git = "https://github.com/paradigmxyz/reth.git", tag = "v1.8.4" }
66-
reth-primitives = { git = "https://github.com/paradigmxyz/reth.git", tag = "v1.8.4" }
66+
reth-primitives = { git = "https://github.com/paradigmxyz/reth.git", default-features = false, tag = "v1.8.4" }
6767
reth-ethereum-forks = { git = "https://github.com/paradigmxyz/reth.git", tag = "v1.8.4" }
68-
reth-revm = { git = "https://github.com/paradigmxyz/reth.git", tag = "v1.8.4" }
68+
reth-revm = { git = "https://github.com/paradigmxyz/reth.git", default-features = false, tag = "v1.8.4" }
6969
reth-rpc-api = { git = "https://github.com/paradigmxyz/reth.git", tag = "v1.8.4" }
7070
reth-rpc-builder = { git = "https://github.com/paradigmxyz/reth.git", tag = "v1.8.4" }
7171
reth-rpc-engine-api = { git = "https://github.com/paradigmxyz/reth.git", tag = "v1.8.4" }
@@ -86,19 +86,11 @@ reth-tasks = { git = "https://github.com/paradigmxyz/reth.git", tag = "v1.8.4",
8686
revm = { version = "29.0.1", default-features = false }
8787
revm-context-interface = { version = "10.2.0", default-features = false }
8888

89-
# vergen 9.1.0 requires vergen-lib 9.1.0, but reth v1.8.4 uses vergen-git2 1.0.7
90-
# which depends on vergen-lib 0.1.6. This causes trait incompatibility errors.
91-
# TODO: Remove this pin when upgrading to reth >= v1.10.0 (uses vergen-git2 9.1.0)
92-
vergen = "=9.0.6"
93-
94-
# Alloy dependencies
95-
alloy = { version = "1.0.37", features = [
89+
alloy = { version = "=1.0.37", default-features = false, features = [
9690
"contract",
97-
"providers",
98-
"provider-http",
99-
"signers",
100-
"reqwest-rustls-tls",
101-
], default-features = false }
91+
"sol-types",
92+
] }
93+
# Alloy dependencies
10294
# Alloy family versions aligned to 1.0.37 compatibility (reth v1.8.4)
10395
alloy-evm = { version = "0.21.3", default-features = false }
10496
alloy-eips = { version = "1.0.37", default-features = false }
@@ -117,12 +109,14 @@ alloy-genesis = { version = "1.0.37", default-features = false }
117109
alloy-rpc-types-txpool = { version = "1.0.37", default-features = false }
118110
alloy-sol-types = { version = "1.3.1", default-features = false }
119111

120-
revm-inspector = { version = "10.0.1" }
112+
revm-inspector = { version = "10.0.1", default-features = false }
121113
# Core dependencies
122114
eyre = "0.6"
123115
tracing = "0.1"
124116
tokio = { version = "1.38", features = ["full"] }
125-
serde = { version = "=1.0.228", default-features = false, features = ["derive"] }
117+
serde = { version = "=1.0.228", default-features = false, features = [
118+
"derive",
119+
] }
126120
serde_json = "1.0"
127121
thiserror = "2.0"
128122
async-trait = "0.1"

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ RUN cp /app/target/$BUILD_PROFILE/ev-reth /ev-reth
5454
FROM ubuntu:24.04 AS runtime
5555

5656
RUN apt-get update && \
57-
apt-get install -y ca-certificates curl jq libssl-dev pkg-config strace && \
57+
apt-get install -y ca-certificates curl jq libssl-dev pkg-config strace tini && \
5858
rm -rf /var/lib/apt/lists/*
5959

6060
WORKDIR /app
@@ -69,4 +69,4 @@ EXPOSE 30303 30303/udp 9001 8545 8546 7545 8551
6969
HEALTHCHECK --interval=30s --timeout=3s --start-period=40s --retries=3 \
7070
CMD /usr/local/bin/ev-reth --version || exit 1
7171

72-
ENTRYPOINT ["/usr/local/bin/ev-reth"]
72+
ENTRYPOINT ["/usr/bin/tini", "--", "/usr/local/bin/ev-reth"]

Dockerfile.cross

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ ARG BUILDPLATFORM
99
# Copy the pre-built binary based on the target platform
1010
COPY dist/bin/${TARGETPLATFORM}/ev-reth /usr/local/bin/ev-reth
1111

12-
RUN apt-get update && apt-get install -y --no-install-recommends curl jq && rm -rf /var/lib/apt/lists/*
12+
RUN apt-get update && apt-get install -y --no-install-recommends curl jq tini && rm -rf /var/lib/apt/lists/*
1313

1414
# Expose default ports
1515
EXPOSE 8545 8546 30303 6060 9001
1616

1717
# Set the entrypoint
18-
ENTRYPOINT ["/usr/local/bin/ev-reth"]
18+
ENTRYPOINT ["/usr/bin/tini", "--", "/usr/local/bin/ev-reth"]

0 commit comments

Comments
 (0)