Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EL genesis generator in bash #157

Draft
wants to merge 25 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
2f60b77
updating defaults loading
parithosh Dec 3, 2024
7e1914c
updating phase0 support
parithosh Dec 3, 2024
66a93b6
Apply suggestions from code review
parithosh Dec 4, 2024
3611862
use bash script to generate el genesis files
pk910 Dec 4, 2024
1117edc
Merge remote-tracking branch 'origin/fix-default-issue' into pk910/ba…
pk910 Dec 4, 2024
85c9a8a
various fixes
pk910 Dec 4, 2024
36d1e7f
various fixes
pk910 Dec 4, 2024
3ff60c7
remove unused dependency
pk910 Dec 4, 2024
2707f03
fixes & performance improvements
pk910 Dec 4, 2024
8cf5b40
always add bellatrix properties
pk910 Dec 4, 2024
61cd518
fix inclusion of additional contracts
pk910 Dec 6, 2024
36782ce
fix for additional contracts
pk910 Dec 6, 2024
43efb3b
Merge branch 'master' into pk910/bash-el-genesis-generator
pk910 Dec 6, 2024
7b95720
delete envsubst.py
pk910 Dec 6, 2024
e4982c6
resolve merge conflict
pk910 Dec 6, 2024
c387789
fix merge conflicts
pk910 Dec 6, 2024
0e2bb02
beautify el genesis generator script
pk910 Dec 6, 2024
1e2de48
performance improvements
pk910 Dec 6, 2024
eab1ec6
update eip7002 & eip7251 contracts for devnet 5
pk910 Dec 12, 2024
99ffaaf
Merge branch 'master' into pk910/bash-el-genesis-generator
pk910 Dec 12, 2024
ce6b5c6
update eip2935 contract
pk910 Dec 18, 2024
530aa07
feat: add 7840 - pk (#167)
barnabasbusa Dec 18, 2024
4af90ee
update EL genesis generator
pk910 Dec 18, 2024
b048f2c
Merge branch 'master' into pk910/bash-el-genesis-generator
pk910 Dec 18, 2024
666aaf8
Merge branch 'master' into pk910/bash-el-genesis-generator
pk910 Jan 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,27 @@ RUN git clone https://github.com/protolambda/eth2-testnet-genesis.git \
&& cd eth2-testnet-genesis \
&& go install . \
&& go install github.com/protolambda/eth2-val-tools@latest \
&& go install github.com/protolambda/zcli@latest
&& go install github.com/protolambda/zcli@latest \
&& go install github.com/miguelmota/go-ethereum-hdwallet/cmd/geth-hdwallet@latest

FROM debian:latest
WORKDIR /work
VOLUME ["/config", "/data"]
EXPOSE 8000/tcp
RUN apt-get update && \
apt-get install --no-install-recommends -y \
ca-certificates build-essential python3 python3-dev python3.11-venv python3-venv python3-pip gettext-base jq wget curl && \
ca-certificates gettext-base jq yq wget curl && \
apt-get autoremove -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

COPY apps /apps

ENV PATH="/root/.cargo/bin:${PATH}"
RUN cd /apps/el-gen && python3 -m venv .venv && /apps/el-gen/.venv/bin/pip3 install -r /apps/el-gen/requirements.txt
COPY --from=builder /go/bin/eth2-testnet-genesis /usr/local/bin/eth2-testnet-genesis
COPY --from=builder /go/bin/eth2-val-tools /usr/local/bin/eth2-val-tools
COPY --from=builder /go/bin/zcli /usr/local/bin/zcli
COPY --from=builder /go/bin/geth-hdwallet /usr/local/bin/geth-hdwallet

COPY config-example /config
COPY defaults /defaults
COPY entrypoint.sh .
Expand Down
Loading