bea9ce2920
* Checkpoint before the weekend * Update location for SetupPostgresDB * Include first functioning tests for processing head * Fix gitignore * Test CaptureHead | Add Metrics | Handle Test Race Conditions This Commit allows us to: * Test the `CaptureHead` function. * Test parsing a single Head message. * Test a Reorg condition. * Add Metrics. This is primarily used for testing but can have future use cases. * Rearrange the test due to race conditions introduced by reusing a variable. `BeforeEach` can't be used to update `BC`. * Update and finalize testing at this stage * Update code and CI/CD * Fix lint errors * Update CICD and fail when file not found. * Update test to have failed as expected.
107 lines
4.7 KiB
Modula-2
107 lines
4.7 KiB
Modula-2
module github.com/vulcanize/ipld-ethcl-indexer
|
|
|
|
go 1.18
|
|
|
|
require (
|
|
github.com/ipfs/go-ipfs-blockstore v1.2.0
|
|
github.com/ipfs/go-ipfs-ds-help v1.1.0
|
|
github.com/jackc/pgconn v1.11.0
|
|
github.com/multiformats/go-multihash v0.1.0
|
|
github.com/onsi/ginkgo/v2 v2.1.3
|
|
github.com/jackc/pgconn v1.12.0
|
|
github.com/onsi/ginkgo/v2 v2.1.4
|
|
github.com/onsi/gomega v1.19.0
|
|
github.com/sirupsen/logrus v1.8.1
|
|
)
|
|
|
|
require (
|
|
github.com/gogo/protobuf v1.2.1 // indirect
|
|
github.com/google/uuid v1.1.2 // indirect
|
|
github.com/hashicorp/golang-lru v0.5.4 // indirect
|
|
github.com/ipfs/bbloom v0.0.4 // indirect
|
|
github.com/ipfs/go-block-format v0.0.3 // indirect
|
|
github.com/ipfs/go-cid v0.0.7 // indirect
|
|
github.com/ipfs/go-datastore v0.5.0 // indirect
|
|
github.com/ipfs/go-ipfs-util v0.0.2 // indirect
|
|
github.com/ipfs/go-ipld-format v0.3.0 // indirect
|
|
github.com/ipfs/go-log v0.0.1 // indirect
|
|
github.com/ipfs/go-metrics-interface v0.0.1 // indirect
|
|
github.com/ethereum/go-ethereum v1.10.17-0.20220323200026-535f25d65fa0 // indirect
|
|
github.com/ethereum/go-ethereum v1.10.17 // indirect
|
|
github.com/golang/protobuf v1.5.2 // indirect
|
|
github.com/grpc-ecosystem/grpc-gateway/v2 v2.10.0 // indirect
|
|
github.com/jackc/chunkreader/v2 v2.0.1 // indirect
|
|
github.com/jackc/pgio v1.0.0 // indirect
|
|
github.com/jackc/pgpassfile v1.0.0 // indirect
|
|
github.com/jackc/pgproto3/v2 v2.3.0 // indirect
|
|
github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b // indirect
|
|
github.com/jackc/pgtype v1.11.0 // indirect
|
|
github.com/jackc/puddle v1.2.1 // indirect
|
|
github.com/jbenet/goprocess v0.1.4 // indirect
|
|
github.com/klauspost/cpuid/v2 v2.0.9 // indirect
|
|
github.com/kr/text v0.2.0 // indirect
|
|
github.com/lib/pq v1.10.4 // indirect
|
|
github.com/mattn/go-colorable v0.1.12 // indirect
|
|
github.com/mattn/go-isatty v0.0.14 // indirect
|
|
github.com/minio/blake2b-simd v0.0.0-20160723061019-3f5f724cb5b1 // indirect
|
|
github.com/minio/sha256-simd v1.0.0 // indirect
|
|
github.com/mr-tron/base58 v1.2.0 // indirect
|
|
github.com/multiformats/go-base32 v0.0.3 // indirect
|
|
github.com/multiformats/go-base36 v0.1.0 // indirect
|
|
github.com/multiformats/go-multibase v0.0.3 // indirect
|
|
github.com/multiformats/go-varint v0.0.6 // indirect
|
|
github.com/opentracing/opentracing-go v1.0.2 // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/spaolacci/murmur3 v1.1.0 // indirect
|
|
github.com/whyrusleeping/go-logging v0.0.0-20170515211332-0457bb6b88fc // indirect
|
|
go.uber.org/atomic v1.6.0 // indirect
|
|
golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4 // indirect
|
|
golang.org/x/net v0.0.0-20220412020605-290c469a71a5 // indirect
|
|
gopkg.in/cenkalti/backoff.v1 v1.1.0 // indirect
|
|
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
|
|
lukechampine.com/blake3 v1.1.6 // indirect
|
|
github.com/klauspost/cpuid/v2 v2.0.12 // indirect
|
|
github.com/lib/pq v1.10.5 // indirect
|
|
github.com/minio/sha256-simd v1.0.0 // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/prysmaticlabs/go-bitfield v0.0.0-20210809151128-385d8c5e3fb7 // indirect
|
|
github.com/r3labs/sse v0.0.0-20210224172625-26fe804710bc // indirect
|
|
github.com/r3labs/sse/v2 v2.7.7 // indirect
|
|
github.com/thomaso-mirodin/intmath v0.0.0-20160323211736-5dc6d854e46e // indirect
|
|
golang.org/x/crypto v0.0.0-20220427172511-eb4f295cb31f // indirect
|
|
golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4 // indirect
|
|
google.golang.org/genproto v0.0.0-20220505152158-f39f71e6c8f3 // indirect
|
|
google.golang.org/grpc v1.46.0 // indirect
|
|
google.golang.org/protobuf v1.28.0 // indirect
|
|
gopkg.in/cenkalti/backoff.v1 v1.1.0 // indirect
|
|
)
|
|
|
|
require (
|
|
github.com/ferranbt/fastssz v0.0.0-20220303160658-88bb965b6747 // indirect
|
|
github.com/fsnotify/fsnotify v1.5.4 // indirect
|
|
github.com/georgysavva/scany v0.3.0
|
|
github.com/hashicorp/hcl v1.0.0 // indirect
|
|
github.com/inconshreveable/mousetrap v1.0.0 // indirect
|
|
github.com/jackc/pgx/v4 v4.16.0
|
|
github.com/jarcoal/httpmock v1.2.0
|
|
github.com/julienschmidt/httprouter v1.3.0
|
|
github.com/magiconair/properties v1.8.6 // indirect
|
|
github.com/mitchellh/mapstructure v1.5.0 // indirect
|
|
github.com/pelletier/go-toml v1.9.5 // indirect
|
|
github.com/pelletier/go-toml/v2 v2.0.0 // indirect
|
|
github.com/prysmaticlabs/prysm v1.4.2-0.20220504145118-df695346a53c
|
|
github.com/spf13/afero v1.8.2 // indirect
|
|
github.com/spf13/cast v1.4.1 // indirect
|
|
github.com/spf13/cobra v1.4.0
|
|
github.com/spf13/jwalterweatherman v1.1.0 // indirect
|
|
github.com/spf13/pflag v1.0.5 // indirect
|
|
github.com/spf13/viper v1.11.0
|
|
github.com/subosito/gotenv v1.2.0 // indirect
|
|
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
|
|
golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6 // indirect
|
|
golang.org/x/text v0.3.7 // indirect
|
|
gopkg.in/ini.v1 v1.66.4 // indirect
|
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
|
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
|
|
)
|