Test the application for v1 release. (#37)

* Allow the application to process events in parallel

there is a main thread that tracks incoming messages, but then it spawns goroutines to actually process each slot so that they can happen concurrently.

* Control knownGaps in existing test

* Use Interfaces for different fork version

Use interfaces for `SignedBeaconBlock` and `BeaconState`, this allows the application to determine the correct forked struct.

In the test we also use a switch condition to properly serve the correct mimics.

* Utilize new ipld-ethcl-db repository

* Add final tests

* Update timeout and secret

* Update token

* Update docker compose

* Update expected inserts
This commit is contained in:
Abdul Rabbani
2022-05-17 16:45:40 -04:00
parent b79c57d5ac
commit de38c531d5
14 changed files with 808 additions and 235 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ const (
// DefaultConfig are default parameters for connecting to a Postgres sql
var DefaultConfig = Config{
Hostname: "localhost",
Port: 8077,
Port: 8076,
DatabaseName: "vulcanize_testing",
Username: "vdbm",
Password: "password",