6123fa40e8
* 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.
67 lines
2.7 KiB
Modula-2
67 lines
2.7 KiB
Modula-2
module github.com/vulcanize/ipld-ethcl-indexer
|
|
|
|
go 1.18
|
|
|
|
require (
|
|
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/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/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
|
|
)
|