Refactor to use plugeth-statediff (#1)

Reviewed-on: cerc-io/ipld-eth-server#1
This commit is contained in:
2023-09-21 06:55:26 +00:00
parent 35fc6a7490
commit d2252193ec
33 changed files with 394 additions and 417 deletions
+8 -8
View File
@@ -3,8 +3,7 @@
services:
ipld-eth-server:
restart: unless-stopped
image: cerc/ipld-eth-server
build: ..
image: cerc/ipld-eth-server:local
networks:
- test_default
environment:
@@ -14,21 +13,22 @@ services:
DATABASE_USER: "vdbm"
DATABASE_PASSWORD: "password"
ETH_HTTP_PATH: fixturenet-eth-geth-1:8545
ETH_CHAIN_CONFIG: "/tmp/chain.json"
ETH_CHAIN_CONFIG: /tmp/chain.json
ETH_PROXY_ON_ERROR: false
ETH_FORWARD_ETH_CALLS: $ETH_FORWARD_ETH_CALLS
SERVER_HTTP_PATH: 0.0.0.0:8081
VDB_COMMAND: serve
LOG_LEVEL: debug
volumes:
- type: bind
source: "${ETH_CHAIN_CONFIG:-./test/chain.json}"
target: /tmp/chain.json
- type: bind
source: $ETH_CHAIN_CONFIG
target: /tmp/chain.json
ports:
- 127.0.0.1:8081:8081
- 127.0.0.1:8081:8081
contract-deployer:
restart: on-failure
image: cerc/contract-deployer
image: cerc/ipld-eth-server/contract-deployer:local
build: ./contract
networks:
- test_default
-3
View File
@@ -1,9 +1,6 @@
# Downgrade from 18.16, see https://github.com/NomicFoundation/hardhat/issues/3877
FROM node:18.15-slim
ARG ETH_ADDR
ENV ETH_ADDR $ETH_ADDR
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm ci
+1 -1
View File
@@ -1,2 +1,2 @@
github.com/cerc-io/go-ethereum v1.11.6-statediff-5.0.8
github.com/cerc-io/ipld-eth-db v5.0.5-alpha
git.vdb.to/cerc-io/plugeth-statediff v0.1.1