cleanup
This commit is contained in:
22
README.md
22
README.md
@@ -1,17 +1,17 @@
|
|||||||
|
# Manta Pacific Replica
|
||||||
|
=============
|
||||||
|
To use: Set the variable `L1_RPC_URL` to your RPC url for Ethereum. Then run `make manta-up`. Syncing the replica from scratch might take up to several days.
|
||||||
|
|
||||||
### Docs
|
A number of constants have already been set to align with the Manta Pacific mainnet:
|
||||||
|
- the sequencer http url, which allows for transactions sent to the replica node to be forwarded to the sequencer, effectively meaning you can use the replica node like a full rpc provider
|
||||||
|
- the p2p endpoint, which means that the replica can the latest blocks produced from a trusted source
|
||||||
|
|
||||||
erigon.yml
|
|
||||||
xdai.yml
|
|
||||||
xdai-archive.yml
|
|
||||||
|
|
||||||
all need a .jwtsecret file inside POKT_DOKT folder
|
Commands:
|
||||||
|
=========
|
||||||
|
|
||||||
TODO:
|
make manta-up
|
||||||
|
|
||||||
```
|
make manta-down
|
||||||
auto-generate .jwtsecret for beacon-execution connection
|
|
||||||
Fix wireguard chains network for pocket-frontends
|
|
||||||
```
|
|
||||||
|
|
||||||
[Pocket Validator](README_POKT.md) </br>
|
make manta-clean
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ version: '3.1'
|
|||||||
services:
|
services:
|
||||||
|
|
||||||
erigon-gnosis-fullnode:
|
erigon-gnosis-fullnode:
|
||||||
image: thorax/erigon:${ERIGON_VERSION:-v2.59.0}
|
image: thorax/erigon:${ERIGON_VERSION:-v2.60.8}
|
||||||
user: root
|
user: root
|
||||||
stop_grace_period: 10m
|
stop_grace_period: 10m
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -1,21 +0,0 @@
|
|||||||
FROM docker.io/library/golang:1.20-alpine3.17 AS builder
|
|
||||||
RUN apk add --no-cache make g++ gcc musl-dev linux-headers git
|
|
||||||
ARG ERIGON_VERSION=v2.48.1
|
|
||||||
ARG ERIGON_REPOSITORY=https://github.com/ledgerwatch/erigon.git
|
|
||||||
|
|
||||||
RUN git clone --recurse-submodules -j8 $ERIGON_REPOSITORY
|
|
||||||
|
|
||||||
WORKDIR ./erigon
|
|
||||||
|
|
||||||
RUN git checkout ${ERIGON_VERSION}
|
|
||||||
|
|
||||||
RUN make erigon
|
|
||||||
|
|
||||||
FROM alpine:latest
|
|
||||||
|
|
||||||
RUN apk add --no-cache ca-certificates curl jq libstdc++ libgcc
|
|
||||||
COPY --from=builder /go/erigon/build/bin/erigon /usr/local/bin/
|
|
||||||
|
|
||||||
COPY ./scripts/entrypoint.sh /usr/local/bin/entrypoint.sh
|
|
||||||
RUN chmod u+x /usr/local/bin/entrypoint.sh
|
|
||||||
ENTRYPOINT [ "/usr/local/bin/entrypoint.sh" ]
|
|
||||||
Reference in New Issue
Block a user