Skip to content

Commit f4cbf48

Browse files
committed
fix web3 branch and update Dockerfile Ubuntu version 20.04
1 parent f15f280 commit f4cbf48

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ WORKDIR /usr/local/bin
1212

1313
RUN cp $CARGO_HOME/bin/validator_worker .
1414

15-
FROM ubuntu:18.04
15+
FROM ubuntu:20.04
16+
17+
RUN apt update && apt-get install -y libssl-dev ca-certificates
1618

1719
# `ethereum` or `dummy`
1820
ENV ADAPTER=
@@ -34,8 +36,6 @@ ENV SINGLE_TICK=
3436

3537
WORKDIR /usr/local/bin
3638

37-
RUN apt update && apt-get install -y libssl-dev ca-certificates
38-
3939
COPY docs/config/cloudflare_origin.crt /usr/local/share/ca-certificates/
4040

4141
RUN update-ca-certificates

adapter/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ serde = { version = "^1.0", features = ['derive'] }
1414
serde_json = "1.0"
1515
serde-hex = "0.1.0"
1616
# Ethereum
17-
web3 = { git = "https://github.com/elpiel/rust-web3", branch = "export-ethabi" }
17+
web3 = { git = "https://github.com/tomusdrw/rust-web3" }
1818
eth_checksum = "0.1.1"
1919
tiny-keccak = "1.5"
2020
ethstore = { git = "https://github.com/elpiel/openethereum", branch = "remove-dir-depenedency-for-ethstore" }

0 commit comments

Comments
 (0)