Roy Crihfield
cd195a0fc0
Patch for module conflict when used as a dependency: `github.com/ethereum/c-kzg-4844/bindings/go` was moved to become part of `github.com/ethereum/c-kzg-4844` by `v0.4.0`.
See:
- cerc-io/plugeth#8
- 6ea035f208
```
% go mod tidy
go: github.com/cerc-io/ipld-eth-db-validator/v5/internal/chaingen imports
github.com/ethereum/go-ethereum/core imports
github.com/ethereum/go-ethereum/crypto/kzg4844 imports
github.com/ethereum/c-kzg-4844/bindings/go: ambiguous import: found package github.com/ethereum/c-kzg-4844/bindings/go in multiple modules:
github.com/ethereum/c-kzg-4844 v0.4.0 (/Users/roy/golang/pkg/mod/github.com/ethereum/c-kzg-4844@v0.4.0/bindings/go)
github.com/ethereum/c-kzg-4844/bindings/go v0.0.0-20230126171313-363c7d7593b4 (/Users/roy/golang/pkg/mod/github.com/ethereum/c-kzg-4844/bindings/go@v0.0.0-20230126171313-363c7d7593b4)
```
Also adds test utils from https://git.vdb.to/cerc-io/ipld-eth-db-validator to be shared by cerc-io/ipld-eth-statedb#5 and wherever else.
Reviewed-on: #24
25 lines
628 B
YAML
25 lines
628 B
YAML
services:
|
|
migrations:
|
|
restart: on-failure
|
|
depends_on:
|
|
- ipld-eth-db
|
|
image: git.vdb.to/cerc-io/ipld-eth-db/ipld-eth-db:v5.2.1-alpha
|
|
environment:
|
|
DATABASE_USER: "vdbm"
|
|
DATABASE_NAME: "cerc_testing"
|
|
DATABASE_PASSWORD: "password"
|
|
DATABASE_HOSTNAME: "ipld-eth-db"
|
|
DATABASE_PORT: 5432
|
|
|
|
ipld-eth-db:
|
|
image: timescale/timescaledb:latest-pg14
|
|
restart: always
|
|
environment:
|
|
POSTGRES_USER: "vdbm"
|
|
POSTGRES_DB: "cerc_testing"
|
|
POSTGRES_PASSWORD: "password"
|
|
ports:
|
|
- 127.0.0.1:8077:5432
|
|
volumes:
|
|
- ../indexer/database/file:/file_indexer
|