From 891f4c7ef3da059a1bb20850e7f71b43149d6ac0 Mon Sep 17 00:00:00 2001 From: Abdul Rabbani Date: Wed, 18 May 2022 12:12:54 -0400 Subject: [PATCH 1/9] Update Vulcanize License in a `.go` files --- cmd/boot.go | 26 +++++++++---------- cmd/capture.go | 18 ++++++++++--- cmd/head.go | 18 ++++++++++--- cmd/historic.go | 18 ++++++++++--- cmd/root.go | 18 ++++++++++--- cmd/version.go | 15 +++++++++++ internal/boot/boot.go | 15 +++++++++++ internal/boot/boot_suite_test.go | 15 +++++++++++ internal/boot/boot_test.go | 15 +++++++++++ internal/shutdown/shutdown.go | 15 +++++++++++ internal/shutdown/shutdown_suite_test.go | 15 +++++++++++ internal/shutdown/shutdown_test.go | 15 +++++++++++ main.go | 15 +++++++++++ pkg/beaconclient/beaconclient.go | 15 +++++++++++ pkg/beaconclient/beaconclient_suite_test.go | 15 +++++++++++ pkg/beaconclient/capturehead.go | 15 +++++++++++ pkg/beaconclient/capturehead_test.go | 15 +++++++++++ pkg/beaconclient/checksyncstatus.go | 15 +++++++++++ pkg/beaconclient/databasewrite.go | 15 +++++++++++ pkg/beaconclient/healthcheck.go | 15 +++++++++++ pkg/beaconclient/healthcheck_test.go | 15 +++++++++++ pkg/beaconclient/incomingsse.go | 15 +++++++++++ pkg/beaconclient/metrics.go | 15 +++++++++++ pkg/beaconclient/models.go | 15 +++++++++++ pkg/beaconclient/multihash.go | 15 +++++++++++ pkg/beaconclient/processevents.go | 15 +++++++++++ pkg/beaconclient/processslot.go | 15 +++++++++++ pkg/beaconclient/queryserver.go | 15 +++++++++++ pkg/database/sql/error.go | 15 +++++++++++ pkg/database/sql/interfaces.go | 15 +++++++++++ pkg/database/sql/postgres/config.go | 15 +++++++++++ pkg/database/sql/postgres/database.go | 15 +++++++++++ pkg/database/sql/postgres/pgx.go | 15 +++++++++++ pkg/database/sql/postgres/pgx_test.go | 15 +++++++++++ .../sql/postgres/postgres_suite_test.go | 15 +++++++++++ pkg/gracefulshutdown/gracefulshutdown.go | 15 +++++++++++ pkg/loghelper/logendpoint.go | 15 +++++++++++ pkg/loghelper/logerror.go | 15 +++++++++++ pkg/loghelper/logreorg.go | 15 +++++++++++ pkg/testhelpers/test_helper.go | 15 +++++++++++ pkg/version/version.go | 15 +++++++++++ 41 files changed, 613 insertions(+), 25 deletions(-) diff --git a/cmd/boot.go b/cmd/boot.go index 91a958c..9cab893 100644 --- a/cmd/boot.go +++ b/cmd/boot.go @@ -1,19 +1,19 @@ -/* -Copyright © 2022 Abdul Rabbani +// VulcanizeDB +// Copyright © 2022 Vulcanize -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . -*/ package cmd import ( diff --git a/cmd/capture.go b/cmd/capture.go index c2137db..e8da70b 100644 --- a/cmd/capture.go +++ b/cmd/capture.go @@ -1,7 +1,19 @@ -/* -Copyright © 2022 NAME HERE +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -*/ package cmd import ( diff --git a/cmd/head.go b/cmd/head.go index 54c5d7e..9e95f9f 100644 --- a/cmd/head.go +++ b/cmd/head.go @@ -1,7 +1,19 @@ -/* -Copyright © 2022 NAME HERE +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -*/ package cmd import ( diff --git a/cmd/historic.go b/cmd/historic.go index 7b6feeb..2211503 100644 --- a/cmd/historic.go +++ b/cmd/historic.go @@ -1,7 +1,19 @@ -/* -Copyright © 2022 NAME HERE +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -*/ package cmd import ( diff --git a/cmd/root.go b/cmd/root.go index 6fc17c6..2625dbe 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -1,7 +1,19 @@ -/* -Copyright © 2022 NAME HERE +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -*/ package cmd import ( diff --git a/cmd/version.go b/cmd/version.go index 7b70eb4..ff10f6e 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package cmd import ( diff --git a/internal/boot/boot.go b/internal/boot/boot.go index bafecd4..7edeafa 100644 --- a/internal/boot/boot.go +++ b/internal/boot/boot.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package boot import ( diff --git a/internal/boot/boot_suite_test.go b/internal/boot/boot_suite_test.go index e7bcdf3..bc5be22 100644 --- a/internal/boot/boot_suite_test.go +++ b/internal/boot/boot_suite_test.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package boot_test import ( diff --git a/internal/boot/boot_test.go b/internal/boot/boot_test.go index aa73a9e..21daba1 100644 --- a/internal/boot/boot_test.go +++ b/internal/boot/boot_test.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package boot_test import ( diff --git a/internal/shutdown/shutdown.go b/internal/shutdown/shutdown.go index ca296b0..22c7310 100644 --- a/internal/shutdown/shutdown.go +++ b/internal/shutdown/shutdown.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package shutdown import ( diff --git a/internal/shutdown/shutdown_suite_test.go b/internal/shutdown/shutdown_suite_test.go index 4b8d411..3b81687 100644 --- a/internal/shutdown/shutdown_suite_test.go +++ b/internal/shutdown/shutdown_suite_test.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package shutdown_test import ( diff --git a/internal/shutdown/shutdown_test.go b/internal/shutdown/shutdown_test.go index f9fb9d1..b26bc7c 100644 --- a/internal/shutdown/shutdown_test.go +++ b/internal/shutdown/shutdown_test.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . //go:build !race // +build !race diff --git a/main.go b/main.go index a7f0cb4..2c366f3 100644 --- a/main.go +++ b/main.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . /* Copyright © 2022 NAME HERE diff --git a/pkg/beaconclient/beaconclient.go b/pkg/beaconclient/beaconclient.go index cb8df7d..b1a83ea 100644 --- a/pkg/beaconclient/beaconclient.go +++ b/pkg/beaconclient/beaconclient.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package beaconclient import ( diff --git a/pkg/beaconclient/beaconclient_suite_test.go b/pkg/beaconclient/beaconclient_suite_test.go index 67e98de..5a1bc6a 100644 --- a/pkg/beaconclient/beaconclient_suite_test.go +++ b/pkg/beaconclient/beaconclient_suite_test.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package beaconclient_test import ( diff --git a/pkg/beaconclient/capturehead.go b/pkg/beaconclient/capturehead.go index ca171fb..df70fd0 100644 --- a/pkg/beaconclient/capturehead.go +++ b/pkg/beaconclient/capturehead.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . // This file will call all the functions to start and stop capturing the head of the beacon chain. package beaconclient diff --git a/pkg/beaconclient/capturehead_test.go b/pkg/beaconclient/capturehead_test.go index 55e5b49..34f3bbf 100644 --- a/pkg/beaconclient/capturehead_test.go +++ b/pkg/beaconclient/capturehead_test.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package beaconclient_test import ( diff --git a/pkg/beaconclient/checksyncstatus.go b/pkg/beaconclient/checksyncstatus.go index 25c0398..3f88398 100644 --- a/pkg/beaconclient/checksyncstatus.go +++ b/pkg/beaconclient/checksyncstatus.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package beaconclient import ( diff --git a/pkg/beaconclient/databasewrite.go b/pkg/beaconclient/databasewrite.go index 43803fb..84d160e 100644 --- a/pkg/beaconclient/databasewrite.go +++ b/pkg/beaconclient/databasewrite.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package beaconclient import ( diff --git a/pkg/beaconclient/healthcheck.go b/pkg/beaconclient/healthcheck.go index 27638fc..fb0a0e5 100644 --- a/pkg/beaconclient/healthcheck.go +++ b/pkg/beaconclient/healthcheck.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package beaconclient import ( diff --git a/pkg/beaconclient/healthcheck_test.go b/pkg/beaconclient/healthcheck_test.go index 88aab7e..dd60bef 100644 --- a/pkg/beaconclient/healthcheck_test.go +++ b/pkg/beaconclient/healthcheck_test.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package beaconclient_test import ( diff --git a/pkg/beaconclient/incomingsse.go b/pkg/beaconclient/incomingsse.go index 4cb8ef4..42fee02 100644 --- a/pkg/beaconclient/incomingsse.go +++ b/pkg/beaconclient/incomingsse.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . // This package will handle all event subscriptions that utilize SSE. package beaconclient diff --git a/pkg/beaconclient/metrics.go b/pkg/beaconclient/metrics.go index 2778198..a6a45c4 100644 --- a/pkg/beaconclient/metrics.go +++ b/pkg/beaconclient/metrics.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package beaconclient import ( diff --git a/pkg/beaconclient/models.go b/pkg/beaconclient/models.go index 836655e..a80f15c 100644 --- a/pkg/beaconclient/models.go +++ b/pkg/beaconclient/models.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package beaconclient // This interface captured what the events can be for processed event streams. diff --git a/pkg/beaconclient/multihash.go b/pkg/beaconclient/multihash.go index 4a4d8e6..a9918b7 100644 --- a/pkg/beaconclient/multihash.go +++ b/pkg/beaconclient/multihash.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package beaconclient import ( diff --git a/pkg/beaconclient/processevents.go b/pkg/beaconclient/processevents.go index f788f28..15e4e16 100644 --- a/pkg/beaconclient/processevents.go +++ b/pkg/beaconclient/processevents.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . // This file contains all the functions to handle SSE events after they have been turned // to the structs. diff --git a/pkg/beaconclient/processslot.go b/pkg/beaconclient/processslot.go index 7c4082d..4e60109 100644 --- a/pkg/beaconclient/processslot.go +++ b/pkg/beaconclient/processslot.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . // This file will keep track of all the code needed to process a slot. // To process a slot, it should have all the necessary data needed to write it to the DB. // But not actually write it. diff --git a/pkg/beaconclient/queryserver.go b/pkg/beaconclient/queryserver.go index 00376d5..b863c7b 100644 --- a/pkg/beaconclient/queryserver.go +++ b/pkg/beaconclient/queryserver.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . // This file will contain functions to query the Beacon Chain Server. package beaconclient diff --git a/pkg/database/sql/error.go b/pkg/database/sql/error.go index 9701968..ca3d3d4 100644 --- a/pkg/database/sql/error.go +++ b/pkg/database/sql/error.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package sql import ( diff --git a/pkg/database/sql/interfaces.go b/pkg/database/sql/interfaces.go index 095b89b..9744282 100644 --- a/pkg/database/sql/interfaces.go +++ b/pkg/database/sql/interfaces.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package sql import ( diff --git a/pkg/database/sql/postgres/config.go b/pkg/database/sql/postgres/config.go index 8f57bcd..42958d6 100644 --- a/pkg/database/sql/postgres/config.go +++ b/pkg/database/sql/postgres/config.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package postgres import ( diff --git a/pkg/database/sql/postgres/database.go b/pkg/database/sql/postgres/database.go index 3087a7c..c8451f8 100644 --- a/pkg/database/sql/postgres/database.go +++ b/pkg/database/sql/postgres/database.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package postgres import ( diff --git a/pkg/database/sql/postgres/pgx.go b/pkg/database/sql/postgres/pgx.go index 3981b33..0845915 100644 --- a/pkg/database/sql/postgres/pgx.go +++ b/pkg/database/sql/postgres/pgx.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package postgres import ( diff --git a/pkg/database/sql/postgres/pgx_test.go b/pkg/database/sql/postgres/pgx_test.go index 21a76a8..f601abe 100644 --- a/pkg/database/sql/postgres/pgx_test.go +++ b/pkg/database/sql/postgres/pgx_test.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package postgres_test import ( diff --git a/pkg/database/sql/postgres/postgres_suite_test.go b/pkg/database/sql/postgres/postgres_suite_test.go index eb6a7f9..8cb1ac9 100644 --- a/pkg/database/sql/postgres/postgres_suite_test.go +++ b/pkg/database/sql/postgres/postgres_suite_test.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package postgres_test import ( diff --git a/pkg/gracefulshutdown/gracefulshutdown.go b/pkg/gracefulshutdown/gracefulshutdown.go index 8230a38..b8e7066 100644 --- a/pkg/gracefulshutdown/gracefulshutdown.go +++ b/pkg/gracefulshutdown/gracefulshutdown.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package gracefulshutdown import ( diff --git a/pkg/loghelper/logendpoint.go b/pkg/loghelper/logendpoint.go index 809bf62..1afe190 100644 --- a/pkg/loghelper/logendpoint.go +++ b/pkg/loghelper/logendpoint.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package loghelper import ( diff --git a/pkg/loghelper/logerror.go b/pkg/loghelper/logerror.go index 66305dd..94a5069 100644 --- a/pkg/loghelper/logerror.go +++ b/pkg/loghelper/logerror.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . // A simple function to help with logging errors. package loghelper diff --git a/pkg/loghelper/logreorg.go b/pkg/loghelper/logreorg.go index 9ad6ffe..64776cf 100644 --- a/pkg/loghelper/logreorg.go +++ b/pkg/loghelper/logreorg.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package loghelper import ( diff --git a/pkg/testhelpers/test_helper.go b/pkg/testhelpers/test_helper.go index 5b3cc0f..ecccdb3 100644 --- a/pkg/testhelpers/test_helper.go +++ b/pkg/testhelpers/test_helper.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package testhelpers import ( diff --git a/pkg/version/version.go b/pkg/version/version.go index 778fc85..7962222 100644 --- a/pkg/version/version.go +++ b/pkg/version/version.go @@ -1,3 +1,18 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package version import "fmt" From 041276da81218b851616dfc5e4bcaa0665f89c85 Mon Sep 17 00:00:00 2001 From: Abdul Rabbani <58230246+abdulrabbani00@users.noreply.github.com> Date: Thu, 19 May 2022 09:46:38 -0400 Subject: [PATCH 2/9] Update the boot process (#45) * Update the boot process * Update the CI/CD reference for stack-orchestrator --- .github/workflows/on-pr.yml | 2 +- cmd/boot.go | 2 +- cmd/capture.go | 8 + cmd/head.go | 2 +- cmd/historic.go | 30 ++- internal/boot/boot.go | 27 ++- internal/boot/boot_test.go | 16 +- internal/shutdown/shutdown_test.go | 5 +- pkg/beaconclient/beaconclient.go | 26 +-- pkg/beaconclient/checkbeaconserverstatus.go | 207 ++++++++++++++++++++ pkg/beaconclient/checksyncstatus.go | 72 ------- pkg/beaconclient/metrics.go | 9 + 12 files changed, 306 insertions(+), 100 deletions(-) create mode 100644 pkg/beaconclient/checkbeaconserverstatus.go delete mode 100644 pkg/beaconclient/checksyncstatus.go diff --git a/.github/workflows/on-pr.yml b/.github/workflows/on-pr.yml index c9d3fe6..259788e 100644 --- a/.github/workflows/on-pr.yml +++ b/.github/workflows/on-pr.yml @@ -25,7 +25,7 @@ on: - "**" env: - stack-orchestrator-ref: ${{ github.event.inputs.stack-orchestrator-ref || 'feature/client-build'}} + stack-orchestrator-ref: ${{ github.event.inputs.stack-orchestrator-ref || 'main'}} ipld-ethcl-db-ref: ${{ github.event.inputs.ipld-ethcl-db-ref || 'feature/schema-ipld-ethcl-indexer' }} ssz-data-ref: ${{ github.event.inputs.ssz-data-ref || 'main' }} GOPATH: /tmp/go diff --git a/cmd/boot.go b/cmd/boot.go index 9cab893..3f31e35 100644 --- a/cmd/boot.go +++ b/cmd/boot.go @@ -44,7 +44,7 @@ func bootApp() { log.Info("Starting the application in boot mode.") ctx := context.Background() - BC, DB, err := boot.BootApplicationWithRetry(ctx, dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, testDisregardSync) + BC, DB, err := boot.BootApplicationWithRetry(ctx, dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, "head", testDisregardSync) if err != nil { loghelper.LogError(err).Error("Unable to Start application") } diff --git a/cmd/capture.go b/cmd/capture.go index e8da70b..5916bfa 100644 --- a/cmd/capture.go +++ b/cmd/capture.go @@ -33,6 +33,8 @@ var ( dbPort int bcAddress string bcPort int + bcBootRetryInterval int + bcBootMaxRetry int bcConnectionProtocol string bcType string maxWaitSecondsShutdown time.Duration = time.Duration(5) * time.Second @@ -80,6 +82,8 @@ func init() { captureCmd.PersistentFlags().StringVarP(&bcType, "bc.type", "", "lighthouse", "The beacon client we are using, options are prysm and lighthouse.") captureCmd.PersistentFlags().IntVarP(&bcPort, "bc.port", "r", 0, "Port to connect to beacon node (required )") captureCmd.PersistentFlags().StringVarP(&bcConnectionProtocol, "bc.connectionProtocol", "", "http", "protocol for connecting to the beacon node.") + captureCmd.PersistentFlags().IntVarP(&bcBootRetryInterval, "bc.bootRetryInterval", "", 30, "The amount of time to wait between retries while booting the application") + captureCmd.PersistentFlags().IntVarP(&bcBootMaxRetry, "bc.bootMaxRetry", "", 5, "The amount of time to wait between retries while booting the application") err = captureCmd.MarkPersistentFlagRequired("bc.address") exitErr(err) err = captureCmd.MarkPersistentFlagRequired("bc.port") @@ -116,6 +120,10 @@ func init() { exitErr(err) err = viper.BindPFlag("bc.connectionProtocol", captureCmd.PersistentFlags().Lookup("bc.connectionProtocol")) exitErr(err) + err = viper.BindPFlag("bc.bootRetryInterval", captureCmd.PersistentFlags().Lookup("bc.bootRetryInterval")) + exitErr(err) + err = viper.BindPFlag("bc.bootMaxRetry", captureCmd.PersistentFlags().Lookup("bc.bootMaxRetry")) + exitErr(err) // Here you will define your flags and configuration settings. } diff --git a/cmd/head.go b/cmd/head.go index 9e95f9f..d5544a4 100644 --- a/cmd/head.go +++ b/cmd/head.go @@ -48,7 +48,7 @@ func startHeadTracking() { log.Info("Starting the application in head tracking mode.") ctx := context.Background() - BC, DB, err := boot.BootApplicationWithRetry(ctx, dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, testDisregardSync) + BC, DB, err := boot.BootApplicationWithRetry(ctx, dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, "historic", testDisregardSync) if err != nil { loghelper.LogError(err).Error("Unable to Start application") if DB != nil { diff --git a/cmd/historic.go b/cmd/historic.go index 2211503..d52cb0d 100644 --- a/cmd/historic.go +++ b/cmd/historic.go @@ -17,9 +17,14 @@ package cmd import ( - "fmt" + "context" + "os" + log "github.com/sirupsen/logrus" "github.com/spf13/cobra" + "github.com/vulcanize/ipld-ethcl-indexer/internal/boot" + "github.com/vulcanize/ipld-ethcl-indexer/pkg/database/sql" + "github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper" ) // historicCmd represents the historic command @@ -28,10 +33,22 @@ var historicCmd = &cobra.Command{ Short: "Capture the historic blocks and states.", Long: `Capture the historic blocks and states.`, Run: func(cmd *cobra.Command, args []string) { - fmt.Println("historic called") + startHistoricProcessing() }, } +// Start the application to process historical slots. +func startHistoricProcessing() { + // Boot the application + log.Info("Starting the application in head tracking mode.") + ctx := context.Background() + + _, DB, err := boot.BootApplicationWithRetry(ctx, dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, "historic", testDisregardSync) + if err != nil { + StopApplicationPreBoot(err, DB) + } +} + func init() { captureCmd.AddCommand(historicCmd) @@ -45,3 +62,12 @@ func init() { // is called directly, e.g.: // historicCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle") } + +// Stop the application during its initial boot phases. +func StopApplicationPreBoot(startErr error, db sql.Database) { + loghelper.LogError(startErr).Error("Unable to Start application") + if db != nil { + db.Close() + } + os.Exit(1) +} diff --git a/internal/boot/boot.go b/internal/boot/boot.go index 7edeafa..3802407 100644 --- a/internal/boot/boot.go +++ b/internal/boot/boot.go @@ -18,6 +18,7 @@ package boot import ( "context" "fmt" + "strings" "time" log "github.com/sirupsen/logrus" @@ -27,10 +28,8 @@ import ( ) var ( - maxRetry = 5 // Max times to try to connect to the DB or BC at boot. - retryInterval = 30 // The time to wait between each try. - DB sql.Database = &postgres.DB{} - BC *beaconclient.BeaconClient = &beaconclient.BeaconClient{} + DB sql.Database = &postgres.DB{} + BC *beaconclient.BeaconClient = &beaconclient.BeaconClient{} ) // This function will perform some boot operations. If any steps fail, the application will fail to start. @@ -81,19 +80,33 @@ func BootApplication(ctx context.Context, dbHostname string, dbPort int, dbName } // Add retry logic to ensure that we are give the Beacon Client and the DB time to start. -func BootApplicationWithRetry(ctx context.Context, dbHostname string, dbPort int, dbName string, dbUsername string, dbPassword string, driverName string, bcAddress string, bcPort int, bcConnectionProtocol string, disregardSync bool) (*beaconclient.BeaconClient, sql.Database, error) { +func BootApplicationWithRetry(ctx context.Context, dbHostname string, dbPort int, dbName string, dbUsername string, dbPassword string, driverName string, + bcAddress string, bcPort int, bcConnectionProtocol string, bcType string, bcRetryInterval int, bcMaxRetry int, startUpMode string, disregardSync bool) (*beaconclient.BeaconClient, sql.Database, error) { var err error - for i := 0; i < maxRetry; i++ { + for i := 0; i < bcMaxRetry; i++ { BC, DB, err = BootApplication(ctx, dbHostname, dbPort, dbName, dbUsername, dbPassword, driverName, bcAddress, bcPort, bcConnectionProtocol, disregardSync) if err != nil { log.WithFields(log.Fields{ "retryNumber": i, "err": err, }).Warn("Unable to boot application. Going to try again") - time.Sleep(time.Duration(retryInterval) * time.Second) + time.Sleep(time.Duration(bcRetryInterval) * time.Second) continue } break } + + switch strings.ToLower(startUpMode) { + case "head": + log.Debug("No further actions needed to boot the application at this phase.") + case "historic": + log.Debug("Performing additional boot steps for historical processing") + headSlot, err := BC.GetLatestSlotInBeaconServer(bcType) + if err != nil { + return BC, DB, err + } + BC.UpdateLatestSlotInBeaconServer(int64(headSlot)) + // Add another switch case for bcType if its ever needed. + } return BC, DB, err } diff --git a/internal/boot/boot_test.go b/internal/boot/boot_test.go index 21daba1..44e1b2c 100644 --- a/internal/boot/boot_test.go +++ b/internal/boot/boot_test.go @@ -34,18 +34,28 @@ var _ = Describe("Boot", func() { bcAddress string = "localhost" bcPort int = 5052 bcConnectionProtocol string = "http" + bcType string = "lighthouse" + bcBootRetryInterval int = 1 + bcBootMaxRetry int = 5 ) Describe("Booting the application", Label("integration"), func() { - Context("When the DB and BC are both up and running, and we skip checking for a synced head", func() { + Context("When the DB and BC are both up and running, we skip checking for a synced head, and we are processing head", func() { It("Should connect successfully", func() { - _, db, err := boot.BootApplicationWithRetry(context.Background(), dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, true) + _, db, err := boot.BootApplicationWithRetry(context.Background(), dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, "head", true) + defer db.Close() + Expect(err).ToNot(HaveOccurred()) + }) + }) + Context("When the DB and BC are both up and running, we skip checking for a synced head, and we are processing historic ", func() { + It("Should connect successfully", func() { + _, db, err := boot.BootApplicationWithRetry(context.Background(), dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, "historic", true) defer db.Close() Expect(err).ToNot(HaveOccurred()) }) }) Context("When the DB and BC are both up and running, and we check for a synced head", func() { It("Should not connect successfully", func() { - _, db, err := boot.BootApplicationWithRetry(context.Background(), dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, false) + _, db, err := boot.BootApplicationWithRetry(context.Background(), dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, "head", false) defer db.Close() Expect(err).To(HaveOccurred()) }) diff --git a/internal/shutdown/shutdown_test.go b/internal/shutdown/shutdown_test.go index b26bc7c..705b9df 100644 --- a/internal/shutdown/shutdown_test.go +++ b/internal/shutdown/shutdown_test.go @@ -46,6 +46,9 @@ var _ = Describe("Shutdown", func() { bcAddress string = "localhost" bcPort int = 5052 bcConnectionProtocol string = "http" + bcType string = "lighthouse" + bcBootRetryInterval int = 1 + bcBootMaxRetry int = 5 maxWaitSecondsShutdown time.Duration = time.Duration(1) * time.Second DB sql.Database BC *beaconclient.BeaconClient @@ -55,7 +58,7 @@ var _ = Describe("Shutdown", func() { ) BeforeEach(func() { ctx = context.Background() - BC, DB, err = boot.BootApplicationWithRetry(ctx, dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, true) + BC, DB, err = boot.BootApplicationWithRetry(ctx, dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, "head", true) notifierCh = make(chan os.Signal, 1) Expect(err).To(BeNil()) }) diff --git a/pkg/beaconclient/beaconclient.go b/pkg/beaconclient/beaconclient.go index b1a83ea..357eee3 100644 --- a/pkg/beaconclient/beaconclient.go +++ b/pkg/beaconclient/beaconclient.go @@ -31,7 +31,8 @@ var ( bcReorgTopicEndpoint = "/eth/v1/events?topics=chain_reorg" // Endpoint used to subscribe to the head of the chain BcBlockQueryEndpoint = "/eth/v2/beacon/blocks/" // Endpoint to query individual Blocks BcStateQueryEndpoint = "/eth/v2/debug/beacon/states/" // Endpoint to query individual States - BcSyncStatusEndpoint = "/eth/v1/node/syncing" + BcSyncStatusEndpoint = "/eth/v1/node/syncing" // The endpoint to check to see if the beacon server is still trying to sync to head. + LhDbInfoEndpoint = "/lighthouse/database/info" // The endpoint for the LIGHTHOUSE server to get the database information. BcBlockRootEndpoint = func(slot string) string { return "/eth/v1/beacon/blocks/" + slot + "/root" } @@ -40,15 +41,6 @@ var ( //bcFinalizedTopicEndpoint = "/eth/v1/events?topics=finalized_checkpoint" // Endpoint used to subscribe to the head of the chain ) -// A structure utilized for keeping track of various metrics. Currently, mostly used in testing. -type BeaconClientMetrics struct { - HeadTrackingInserts uint64 // Number of head events we successfully wrote to the DB. - HeadTrackingReorgs uint64 // Number of reorg events we successfully wrote to the DB. - HeadTrackingKnownGaps uint64 // Number of known_gaps we successfully wrote to the DB. - HeadError uint64 // Number of errors that occurred when decoding the head message. - HeadReorgError uint64 // Number of errors that occurred when decoding the reorg message. -} - // A struct that capture the Beacon Server that the Beacon Client will be interacting with and querying. type BeaconClient struct { Context context.Context // A context generic context with multiple uses. @@ -59,6 +51,7 @@ type BeaconClient struct { KnownGapTableIncrement int // The max number of slots within a single known_gaps table entry. // Used for Head Tracking + PerformHeadTracking bool // Should we track head? StartingSlot int // If we're performing head tracking. What is the first slot we processed. PreviousSlot int // Whats the previous slot we processed @@ -67,6 +60,12 @@ type BeaconClient struct { HeadTracking *SseEvents[Head] // Track the head block ReOrgTracking *SseEvents[ChainReorg] // Track all Reorgs //FinalizationTracking *SseEvents[FinalizedCheckpoint] // Track all finalization checkpoints + + // Used for Historical Processing + + // The latest available slot within the Beacon Server. We can't query any slot greater than this. + // This value is lazily updated. Therefore at times it will be outdated. + LatestSlotInBeaconServer int64 } // A struct to keep track of relevant the head event topic. @@ -94,8 +93,11 @@ func CreateBeaconClient(ctx context.Context, connectionProtocol string, bcAddres HeadTracking: createSseEvent[Head](endpoint, BcHeadTopicEndpoint), ReOrgTracking: createSseEvent[ChainReorg](endpoint, bcReorgTopicEndpoint), Metrics: &BeaconClientMetrics{ - HeadTrackingInserts: 0, - HeadTrackingReorgs: 0, + HeadTrackingInserts: 0, + HeadTrackingReorgs: 0, + HeadTrackingKnownGaps: 0, + HeadError: 0, + HeadReorgError: 0, }, //FinalizationTracking: createSseEvent[FinalizedCheckpoint](endpoint, bcFinalizedTopicEndpoint), } diff --git a/pkg/beaconclient/checkbeaconserverstatus.go b/pkg/beaconclient/checkbeaconserverstatus.go new file mode 100644 index 0000000..0d39498 --- /dev/null +++ b/pkg/beaconclient/checkbeaconserverstatus.go @@ -0,0 +1,207 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . +package beaconclient + +import ( + "encoding/json" + "fmt" + "io/ioutil" + "net/http" + "strconv" + "strings" + "sync/atomic" + + log "github.com/sirupsen/logrus" + "github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper" +) + +var ( + MissingBeaconServerType error = fmt.Errorf("The beacon server type provided is not handled.") + LighthouseMissingSlots error = fmt.Errorf("Anchor is not nil. This means lighthouse has not backfilled all the slots from Genesis to head.") +) + +// The sync response when checking if the node is synced. +type Sync struct { + Data SyncData `json:"data"` +} + +// The sync data +type SyncData struct { + IsSync bool `json:"is_syncing"` + HeadSlot string `json:"head_slot"` + SyncDistance string `json:"sync_distance"` +} + +// This function will check to see if we are synced up with the head of chain. +//{"data":{"is_syncing":true,"head_slot":"62528","sync_distance":"3734299"}} +func (bc BeaconClient) CheckHeadSync() (bool, error) { + syncStatus, err := bc.QueryHeadSync() + if err != nil { + return true, nil + } + return syncStatus.Data.IsSync, nil +} + +func (bc BeaconClient) QueryHeadSync() (Sync, error) { + var syncStatus Sync + bcSync := bc.ServerEndpoint + BcSyncStatusEndpoint + resp, err := http.Get(bcSync) + + if err != nil { + loghelper.LogEndpoint(bcSync).Error("Unable to check the sync status") + return syncStatus, err + } + + if resp.StatusCode < 200 || resp.StatusCode > 299 { + loghelper.LogEndpoint(bcSync).WithFields(log.Fields{"returnCode": resp.StatusCode}).Error("Error when getting the sync status") + return syncStatus, fmt.Errorf("Querying the sync status returned a non 2xx status code, code provided: %d", resp.StatusCode) + } + + defer resp.Body.Close() + body, err := ioutil.ReadAll(resp.Body) + if err != nil { + return syncStatus, err + } + + if err := json.Unmarshal(body, &syncStatus); err != nil { + loghelper.LogEndpoint(bcSync).WithFields(log.Fields{ + "rawMessage": string(body), + "err": err, + }).Error("Unable to unmarshal sync status") + return syncStatus, err + } + return syncStatus, nil +} + +// The response when checking the lighthouse nodes DB info: /lighthouse/database/info +type LighthouseDatabaseInfo struct { + SchemaVersion int `json:"schema_version"` + Config LhDbConfig `json:"config"` + Split LhDbSplit `json:"split"` + Anchor LhDbAnchor `json:"anchor"` +} + +// The config field within the DatabaseInfo response. +type LhDbConfig struct { + SlotsPerRestorePoint int `json:"slots_per_restore_point"` + SlotsPerRestorePointSetExplicitly bool `json:"slots_per_restore_point_set_explicitly"` + BlockCacheSize int `json:"block_cache_size"` + CompactOnInit bool `json:"compact_on_init"` + CompactOnPrune bool `json:"compact_on_prune"` +} + +// The split field within the DatabaseInfo response. +type LhDbSplit struct { + Slot string `json:"slot"` + StateRoot string `json:"state_root"` +} + +// The anchor field within the DatabaseInfo response. +type LhDbAnchor struct { + AnchorSlot string `json:"anchor_slot"` + OldestBlockSlot string `json:"oldest_block_slot"` + OldestBlockParent string `json:"oldest_block_parent"` + StateUpperLimit string `json:"state_upper_limit"` + StateLowerLimit string `json:"state_lower_limit"` +} + +// This function will notify us what the head slot is. +func (bc BeaconClient) queryHeadSlotInBeaconServer() (int, error) { + syncStatus, err := bc.QueryHeadSync() + if err != nil { + return 0, nil + } + headSlot, err := strconv.Atoi(syncStatus.Data.HeadSlot) + if err != nil { + return 0, nil + } + return headSlot, nil +} + +// return the lighthouse Database Info +func (bc BeaconClient) queryLighthouseDbInfo() (LighthouseDatabaseInfo, error) { + var dbInfo LighthouseDatabaseInfo + + lhDbInfo := bc.ServerEndpoint + LhDbInfoEndpoint + resp, err := http.Get(lhDbInfo) + + if err != nil { + loghelper.LogEndpoint(lhDbInfo).Error("Unable to get the lighthouse database information") + return dbInfo, err + } + + if resp.StatusCode < 200 || resp.StatusCode > 299 { + loghelper.LogEndpoint(lhDbInfo).WithFields(log.Fields{"returnCode": resp.StatusCode}).Error("Error when getting the lighthouse database information") + return dbInfo, fmt.Errorf("Querying the lighthouse database information returned a non 2xx status code, code provided: %d", resp.StatusCode) + } + + defer resp.Body.Close() + body, err := ioutil.ReadAll(resp.Body) + if err != nil { + return dbInfo, err + } + + if err := json.Unmarshal(body, &dbInfo); err != nil { + loghelper.LogEndpoint(lhDbInfo).WithFields(log.Fields{ + "rawMessage": string(body), + "err": err, + }).Error("Unable to unmarshal the lighthouse database information") + return dbInfo, err + } + return dbInfo, nil +} + +// This function will tell us what the latest slot is that the beacon server has available. This is important as +// it will ensure us that we have all slots prior to the given slot. +func (bc BeaconClient) GetLatestSlotInBeaconServer(beaconServerType string) (int, error) { + switch strings.ToLower(beaconServerType) { + case "lighthouse": + headSlot, err := bc.queryHeadSlotInBeaconServer() + if err != nil { + return 0, err + } + lhDb, err := bc.queryLighthouseDbInfo() + if err != nil { + return 0, err + } + if lhDb.Anchor == (LhDbAnchor{}) { + //atomic.StoreInt64(&bc.LatestSlotInBeaconServer, int64(headSlot)) + log.WithFields(log.Fields{ + "headSlot": headSlot, + }).Info("Anchor is nil, the lighthouse client has all the nodes from genesis to head.") + return headSlot, nil + } else { + log.WithFields(log.Fields{ + "lhDb.Anchor": lhDb.Anchor, + }).Info(LighthouseMissingSlots.Error()) + log.Info("We will add a feature down the road to wait for anchor to be null, if its needed.") + return 0, LighthouseMissingSlots + } + default: + log.WithFields(log.Fields{"BeaconServerType": beaconServerType}).Error(MissingBeaconServerType.Error()) + return 0, MissingBeaconServerType + } +} + +// A wrapper function for updating the latest slot. +func (bc BeaconClient) UpdateLatestSlotInBeaconServer(headSlot int64) { + curr := atomic.LoadInt64(&bc.LatestSlotInBeaconServer) + log.WithFields(log.Fields{ + "Previous Latest Slot": curr, + "New Latest Slot": headSlot, + }).Debug("Swapping Head Slot") + atomic.SwapInt64(&bc.LatestSlotInBeaconServer, int64(headSlot)) +} diff --git a/pkg/beaconclient/checksyncstatus.go b/pkg/beaconclient/checksyncstatus.go deleted file mode 100644 index 3f88398..0000000 --- a/pkg/beaconclient/checksyncstatus.go +++ /dev/null @@ -1,72 +0,0 @@ -// VulcanizeDB -// Copyright © 2022 Vulcanize - -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. - -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. - -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . -package beaconclient - -import ( - "encoding/json" - "fmt" - "io/ioutil" - "net/http" - - log "github.com/sirupsen/logrus" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper" -) - -// The sync response -type Sync struct { - Data SyncData `json:"data"` -} - -// The sync data -type SyncData struct { - IsSync bool `json:"is_syncing"` - HeadSlot string `json:"head_slot"` - SyncDistance string `json:"sync_distance"` -} - -// This function will check to see if we are synced up with the head of chain. -//{"data":{"is_syncing":true,"head_slot":"62528","sync_distance":"3734299"}} -func (bc BeaconClient) CheckHeadSync() (bool, error) { - bcSync := bc.ServerEndpoint + BcSyncStatusEndpoint - resp, err := http.Get(bcSync) - - if err != nil { - loghelper.LogEndpoint(bcSync).Error("Unable to check the sync status") - return true, err - } - - if resp.StatusCode < 200 || resp.StatusCode > 299 { - loghelper.LogEndpoint(bcSync).WithFields(log.Fields{"returnCode": resp.StatusCode}).Error("Error when getting the sync status") - return true, fmt.Errorf("Querying the sync status returned a non 2xx status code, code provided: %d", resp.StatusCode) - } - - defer resp.Body.Close() - body, err := ioutil.ReadAll(resp.Body) - if err != nil { - return true, err - } - - var syncStatus Sync - if err := json.Unmarshal(body, &syncStatus); err != nil { - loghelper.LogEndpoint(bcSync).WithFields(log.Fields{ - "rawMessage": string(body), - "err": err, - }).Error("Unable to unmarshal sync status") - return true, err - } - - return syncStatus.Data.IsSync, nil -} diff --git a/pkg/beaconclient/metrics.go b/pkg/beaconclient/metrics.go index a6a45c4..ecf8da5 100644 --- a/pkg/beaconclient/metrics.go +++ b/pkg/beaconclient/metrics.go @@ -19,6 +19,15 @@ import ( "sync/atomic" ) +// A structure utilized for keeping track of various metrics. Currently, mostly used in testing. +type BeaconClientMetrics struct { + HeadTrackingInserts uint64 // Number of head events we successfully wrote to the DB. + HeadTrackingReorgs uint64 // Number of reorg events we successfully wrote to the DB. + HeadTrackingKnownGaps uint64 // Number of known_gaps we successfully wrote to the DB. + HeadError uint64 // Number of errors that occurred when decoding the head message. + HeadReorgError uint64 // Number of errors that occurred when decoding the reorg message. +} + // Wrapper function to increment inserts. If we want to use mutexes later we can easily update all // occurrences here. func (m *BeaconClientMetrics) IncrementHeadTrackingInserts(inc uint64) { From 347984a547caed9761488e05afc96f1f791bf107 Mon Sep 17 00:00:00 2001 From: Abdul Rabbani <58230246+abdulrabbani00@users.noreply.github.com> Date: Tue, 24 May 2022 16:18:55 -0400 Subject: [PATCH 3/9] Feature/44 read write historic slots (#46) * Update boot to set processing type. * Handle entries from the historic_process table. * Update on-pr.yml * Fix head processing Error * Update names and debug * Seperate checking for new entries and locking them * Application can process historic and known gaps Untested * Handle genesis * Update remove entry for knownGaps, viper * Disregard unused code from linter --- .github/workflows/on-pr.yml | 5 +- README.md | 11 +- cmd/boot.go | 3 +- cmd/capture.go | 94 +++-- cmd/head.go | 42 ++- cmd/historic.go | 48 ++- cmd/root.go | 1 + example.ipld-ethcl-indexer-config.json | 33 ++ internal/boot/boot.go | 62 +++- internal/boot/boot_test.go | 13 +- internal/shutdown/shutdown_test.go | 4 +- pkg/beaconclient/beaconclient.go | 35 +- pkg/beaconclient/capturehead.go | 5 +- pkg/beaconclient/capturehead_test.go | 423 ++++++++++++----------- pkg/beaconclient/capturehistoric.go | 136 ++++++++ pkg/beaconclient/capturehistoric_test.go | 70 ++++ pkg/beaconclient/databasewrite.go | 75 +++- pkg/beaconclient/healthcheck_test.go | 4 +- pkg/beaconclient/incomingsse.go | 2 +- pkg/beaconclient/metrics.go | 38 +- pkg/beaconclient/processevents.go | 18 +- pkg/beaconclient/processhistoric.go | 223 ++++++++++++ pkg/beaconclient/processknowngaps.go | 101 ++++++ pkg/beaconclient/processslot.go | 67 ++-- pkg/loghelper/logerror.go | 17 + 25 files changed, 1151 insertions(+), 379 deletions(-) create mode 100644 example.ipld-ethcl-indexer-config.json create mode 100644 pkg/beaconclient/capturehistoric.go create mode 100644 pkg/beaconclient/capturehistoric_test.go create mode 100644 pkg/beaconclient/processhistoric.go create mode 100644 pkg/beaconclient/processknowngaps.go diff --git a/.github/workflows/on-pr.yml b/.github/workflows/on-pr.yml index 259788e..1e7f347 100644 --- a/.github/workflows/on-pr.yml +++ b/.github/workflows/on-pr.yml @@ -26,7 +26,7 @@ on: env: stack-orchestrator-ref: ${{ github.event.inputs.stack-orchestrator-ref || 'main'}} - ipld-ethcl-db-ref: ${{ github.event.inputs.ipld-ethcl-db-ref || 'feature/schema-ipld-ethcl-indexer' }} + ipld-ethcl-db-ref: ${{ github.event.inputs.ipld-ethcl-db-ref || 'feature/historic-processing' }} ssz-data-ref: ${{ github.event.inputs.ssz-data-ref || 'main' }} GOPATH: /tmp/go jobs: @@ -206,4 +206,5 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: - args: --timeout 90s + args: --timeout 90s --disable deadcode,unused +# args: --timeout 90s --disable deadcode, diff --git a/README.md b/README.md index cf285e2..2b5ab8b 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ To run the application, do as follows: 2. Run the start up command. ``` -go run -race main.go capture head --db.address localhost \ +go run -race main.go capture historic --db.address localhost \ --db.password password \ --db.port 8076 \ --db.username vdbm \ @@ -45,11 +45,14 @@ go run -race main.go capture head --db.address localhost \ --db.driver PGX \ --bc.address localhost \ --bc.port 5052 \ + --bc.maxHistoricProcessWorker 2 \ + --bc.maxKnownGapsWorker 2 \ + --bc.knownGapsProcess=true \ --bc.connectionProtocol http \ - --t.skipSync=true \ - --log.level info \ + --t.skipSync=false \ + --log.level debug \ --log.output=true \ - --kg.increment 100 + --kg.increment 1000000 ``` ## Running Tests diff --git a/cmd/boot.go b/cmd/boot.go index 3f31e35..9fc3532 100644 --- a/cmd/boot.go +++ b/cmd/boot.go @@ -44,7 +44,8 @@ func bootApp() { log.Info("Starting the application in boot mode.") ctx := context.Background() - BC, DB, err := boot.BootApplicationWithRetry(ctx, dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, "head", testDisregardSync) + BC, DB, err := boot.BootApplicationWithRetry(ctx, dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, + bcAddress, bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, kgTableIncrement, "head", testDisregardSync) if err != nil { loghelper.LogError(err).Error("Unable to Start application") } diff --git a/cmd/capture.go b/cmd/capture.go index 5916bfa..aad3aef 100644 --- a/cmd/capture.go +++ b/cmd/capture.go @@ -17,6 +17,7 @@ package cmd import ( + "fmt" "os" "time" @@ -25,21 +26,25 @@ import ( ) var ( - dbUsername string - dbPassword string - dbName string - dbAddress string - dbDriver string - dbPort int - bcAddress string - bcPort int - bcBootRetryInterval int - bcBootMaxRetry int - bcConnectionProtocol string - bcType string - maxWaitSecondsShutdown time.Duration = time.Duration(5) * time.Second - notifierCh chan os.Signal = make(chan os.Signal, 1) - testDisregardSync bool + dbUsername string + dbPassword string + dbName string + dbAddress string + dbDriver string + dbPort int + bcAddress string + bcPort int + bcBootRetryInterval int + bcBootMaxRetry int + bcConnectionProtocol string + bcType string + bcMaxHistoricProcessWorker int + kgMaxWorker int + kgTableIncrement int + kgProcessGaps bool + maxWaitSecondsShutdown time.Duration = time.Duration(20) * time.Second + notifierCh chan os.Signal = make(chan os.Signal, 1) + testDisregardSync bool ) // captureCmd represents the capture command @@ -64,18 +69,18 @@ func init() { captureCmd.PersistentFlags().StringVarP(&dbName, "db.name", "n", "", "Database name connect to DB(required)") captureCmd.PersistentFlags().StringVarP(&dbDriver, "db.driver", "", "", "Database Driver to connect to DB(required)") captureCmd.PersistentFlags().IntVarP(&dbPort, "db.port", "", 0, "Port to connect to DB(required)") - err := captureCmd.MarkPersistentFlagRequired("db.username") - exitErr(err) - err = captureCmd.MarkPersistentFlagRequired("db.password") - exitErr(err) - err = captureCmd.MarkPersistentFlagRequired("db.address") - exitErr(err) - err = captureCmd.MarkPersistentFlagRequired("db.port") - exitErr(err) - err = captureCmd.MarkPersistentFlagRequired("db.name") - exitErr(err) - err = captureCmd.MarkPersistentFlagRequired("db.driver") - exitErr(err) + //err := captureCmd.MarkPersistentFlagRequired("db.username") + // exitErr(err) + // err = captureCmd.MarkPersistentFlagRequired("db.password") + // exitErr(err) + // err = captureCmd.MarkPersistentFlagRequired("db.address") + // exitErr(err) + // err = captureCmd.MarkPersistentFlagRequired("db.port") + // exitErr(err) + // err = captureCmd.MarkPersistentFlagRequired("db.name") + // exitErr(err) + // err = captureCmd.MarkPersistentFlagRequired("db.driver") + // exitErr(err) //// Beacon Client Specific captureCmd.PersistentFlags().StringVarP(&bcAddress, "bc.address", "l", "", "Address to connect to beacon node (required)") @@ -84,17 +89,23 @@ func init() { captureCmd.PersistentFlags().StringVarP(&bcConnectionProtocol, "bc.connectionProtocol", "", "http", "protocol for connecting to the beacon node.") captureCmd.PersistentFlags().IntVarP(&bcBootRetryInterval, "bc.bootRetryInterval", "", 30, "The amount of time to wait between retries while booting the application") captureCmd.PersistentFlags().IntVarP(&bcBootMaxRetry, "bc.bootMaxRetry", "", 5, "The amount of time to wait between retries while booting the application") - err = captureCmd.MarkPersistentFlagRequired("bc.address") - exitErr(err) - err = captureCmd.MarkPersistentFlagRequired("bc.port") - exitErr(err) + captureCmd.PersistentFlags().IntVarP(&bcMaxHistoricProcessWorker, "bc.maxHistoricProcessWorker", "", 30, "The number of workers that should be actively processing slots from the ethcl.historic_process table. Be careful of system memory.") + // err = captureCmd.MarkPersistentFlagRequired("bc.address") + // exitErr(err) + // err = captureCmd.MarkPersistentFlagRequired("bc.port") + // exitErr(err) + + //// Known Gaps specific + captureCmd.PersistentFlags().BoolVarP(&kgProcessGaps, "kg.processKnownGaps", "", true, "Should we process the slots within the ethcl.known_gaps table.") + captureCmd.PersistentFlags().IntVarP(&kgTableIncrement, "kg.increment", "", 10000, "The max slots within a single entry to the known_gaps table.") + captureCmd.PersistentFlags().IntVarP(&kgMaxWorker, "kg.maxKnownGapsWorker", "", 30, "The number of workers that should be actively processing slots from the ethcl.known_gaps table. Be careful of system memory.") //// Testing Specific captureCmd.PersistentFlags().BoolVar(&testDisregardSync, "t.skipSync", false, "Should we disregard the head sync?") // Bind Flags with Viper //// DB Flags - err = viper.BindPFlag("db.username", captureCmd.PersistentFlags().Lookup("db.username")) + err := viper.BindPFlag("db.username", captureCmd.PersistentFlags().Lookup("db.username")) exitErr(err) err = viper.BindPFlag("db.password", captureCmd.PersistentFlags().Lookup("db.password")) exitErr(err) @@ -104,14 +115,12 @@ func init() { exitErr(err) err = viper.BindPFlag("db.name", captureCmd.PersistentFlags().Lookup("db.name")) exitErr(err) + + //// Testing Specific err = viper.BindPFlag("t.skipSync", captureCmd.PersistentFlags().Lookup("t.skipSync")) exitErr(err) - // Testing Specific - err = viper.BindPFlag("t.driver", captureCmd.PersistentFlags().Lookup("db.driver")) - exitErr(err) - - // LH specific + //// LH specific err = viper.BindPFlag("bc.address", captureCmd.PersistentFlags().Lookup("bc.address")) exitErr(err) err = viper.BindPFlag("bc.type", captureCmd.PersistentFlags().Lookup("bc.type")) @@ -124,14 +133,25 @@ func init() { exitErr(err) err = viper.BindPFlag("bc.bootMaxRetry", captureCmd.PersistentFlags().Lookup("bc.bootMaxRetry")) exitErr(err) + err = viper.BindPFlag("bc.maxHistoricProcessWorker", captureCmd.PersistentFlags().Lookup("bc.maxHistoricProcessWorker")) + exitErr(err) // Here you will define your flags and configuration settings. + //// Known Gap Specific + err = viper.BindPFlag("kg.processKnownGaps", captureCmd.PersistentFlags().Lookup("kg.processKnownGaps")) + exitErr(err) + err = viper.BindPFlag("kg.increment", captureCmd.PersistentFlags().Lookup("kg.increment")) + exitErr(err) + err = viper.BindPFlag("kg.processKnownGaps", captureCmd.PersistentFlags().Lookup("kg.maxKnownGapsWorker")) + exitErr(err) + } // Helper function to catch any errors. // We need to capture these errors for the linter. func exitErr(err error) { if err != nil { + fmt.Println("Error: ", err) os.Exit(1) } } diff --git a/cmd/head.go b/cmd/head.go index d5544a4..7589fd5 100644 --- a/cmd/head.go +++ b/cmd/head.go @@ -18,7 +18,7 @@ package cmd import ( "context" - "os" + "fmt" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" @@ -26,10 +26,7 @@ import ( "github.com/vulcanize/ipld-ethcl-indexer/internal/boot" "github.com/vulcanize/ipld-ethcl-indexer/internal/shutdown" "github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper" -) - -var ( - kgTableIncrement int + "golang.org/x/sync/errgroup" ) // headCmd represents the head command @@ -48,21 +45,35 @@ func startHeadTracking() { log.Info("Starting the application in head tracking mode.") ctx := context.Background() - BC, DB, err := boot.BootApplicationWithRetry(ctx, dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, "historic", testDisregardSync) + Bc, Db, err := boot.BootApplicationWithRetry(ctx, viper.GetString("db.address"), viper.GetInt("db.port"), viper.GetString("db.name"), viper.GetString("db.username"), viper.GetString("db.password"), viper.GetString("db.driver"), + viper.GetString("bc.address"), viper.GetInt("bc.port"), viper.GetString("bc.connectionProtocol"), viper.GetString("bc.type"), viper.GetInt("bc.bootRetryInterval"), viper.GetInt("bc.bootMaxRetry"), + viper.GetInt("kg.increment"), "head", viper.GetBool("t.skipSync")) if err != nil { - loghelper.LogError(err).Error("Unable to Start application") - if DB != nil { - DB.Close() - } - os.Exit(1) + StopApplicationPreBoot(err, Db) } log.Info("The Beacon Client has booted successfully!") // Capture head blocks - go BC.CaptureHead(kgTableIncrement) + go Bc.CaptureHead() + if viper.GetBool("kg.processKnownGaps") { + go func() { + errG := new(errgroup.Group) + errG.Go(func() error { + errs := Bc.ProcessKnownGaps(viper.GetInt("kg.maxKnownGapsWorker")) + if len(errs) != 0 { + log.WithFields(log.Fields{"errs": errs}).Error("All errors when processing knownGaps") + return fmt.Errorf("Application ended because there were too many error when attempting to process knownGaps") + } + return nil + }) + if err := errG.Wait(); err != nil { + loghelper.LogError(err).Error("Error with knownGaps processing") + } + }() + } // Shutdown when the time is right. - err = shutdown.ShutdownServices(ctx, notifierCh, maxWaitSecondsShutdown, DB, BC) + err = shutdown.ShutdownServices(ctx, notifierCh, maxWaitSecondsShutdown, Db, Bc) if err != nil { loghelper.LogError(err).Error("Ungracefully Shutdown ipld-ethcl-indexer!") } else { @@ -73,9 +84,4 @@ func startHeadTracking() { func init() { captureCmd.AddCommand(headCmd) - - // Known Gaps specific - captureCmd.PersistentFlags().IntVarP(&kgTableIncrement, "kg.increment", "", 10000, "The max slots within a single entry to the known_gaps table.") - err := viper.BindPFlag("kg.increment", captureCmd.PersistentFlags().Lookup("kg.increment")) - exitErr(err) } diff --git a/cmd/historic.go b/cmd/historic.go index d52cb0d..519d00e 100644 --- a/cmd/historic.go +++ b/cmd/historic.go @@ -18,13 +18,17 @@ package cmd import ( "context" + "fmt" "os" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" + "github.com/spf13/viper" "github.com/vulcanize/ipld-ethcl-indexer/internal/boot" + "github.com/vulcanize/ipld-ethcl-indexer/internal/shutdown" "github.com/vulcanize/ipld-ethcl-indexer/pkg/database/sql" "github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper" + "golang.org/x/sync/errgroup" ) // historicCmd represents the historic command @@ -43,9 +47,49 @@ func startHistoricProcessing() { log.Info("Starting the application in head tracking mode.") ctx := context.Background() - _, DB, err := boot.BootApplicationWithRetry(ctx, dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, "historic", testDisregardSync) + Bc, Db, err := boot.BootApplicationWithRetry(ctx, viper.GetString("db.address"), viper.GetInt("db.port"), viper.GetString("db.name"), viper.GetString("db.username"), viper.GetString("db.password"), viper.GetString("db.driver"), + viper.GetString("bc.address"), viper.GetInt("bc.port"), viper.GetString("bc.connectionProtocol"), viper.GetString("bc.type"), viper.GetInt("bc.bootRetryInterval"), viper.GetInt("bc.bootMaxRetry"), + viper.GetInt("kg.increment"), "head", viper.GetBool("t.skipSync")) if err != nil { - StopApplicationPreBoot(err, DB) + StopApplicationPreBoot(err, Db) + } + + errG, _ := errgroup.WithContext(context.Background()) + + errG.Go(func() error { + errs := Bc.CaptureHistoric(viper.GetInt("bc.maxHistoricProcessWorker")) + if len(errs) != 0 { + if len(errs) != 0 { + log.WithFields(log.Fields{"errs": errs}).Error("All errors when processing historic events") + return fmt.Errorf("Application ended because there were too many error when attempting to process historic") + } + } + return nil + }) + + if viper.GetBool("kg.processKnownGaps") { + go func() { + errG := new(errgroup.Group) + errG.Go(func() error { + errs := Bc.ProcessKnownGaps(viper.GetInt("kg.maxKnownGapsWorker")) + if len(errs) != 0 { + log.WithFields(log.Fields{"errs": errs}).Error("All errors when processing knownGaps") + return fmt.Errorf("Application ended because there were too many error when attempting to process knownGaps") + } + return nil + }) + if err := errG.Wait(); err != nil { + loghelper.LogError(err).Error("Error with knownGaps processing") + } + }() + } + + // Shutdown when the time is right. + err = shutdown.ShutdownServices(ctx, notifierCh, maxWaitSecondsShutdown, Db, Bc) + if err != nil { + loghelper.LogError(err).Error("Ungracefully Shutdown ipld-ethcl-indexer!") + } else { + log.Info("Gracefully shutdown ipld-ethcl-indexer") } } diff --git a/cmd/root.go b/cmd/root.go index 2625dbe..68e8e78 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -47,6 +47,7 @@ It can either do this will keeping track of head, or backfilling historic data.` func Execute() { err := rootCmd.Execute() if err != nil { + fmt.Println("Err when executing rootCmd", err) os.Exit(1) } } diff --git a/example.ipld-ethcl-indexer-config.json b/example.ipld-ethcl-indexer-config.json new file mode 100644 index 0000000..82513b4 --- /dev/null +++ b/example.ipld-ethcl-indexer-config.json @@ -0,0 +1,33 @@ +{ + "db": { + "address": "localhost", + "password": "password", + "port": 8076, + "username": "vdbm", + "name": "vulcanize_testing", + "driver": "PGX" + }, + "bc": { + "address": "10.203.8.51", + "port": 5052, + "type": "lighthouse", + "bootRetryInterval": 30, + "bootMaxRetry": 5, + "maxHistoricProcessWorker": 2, + "connectionProtocol": "http" + }, + "t": { + "skipSync": false + }, + "log": { + "level": "debug", + "output": true, + "file": "./ipld-ethcl-indexer.log", + "format": "json" + }, + "kg": { + "increment": 10000, + "processKnownGaps": true, + "maxKnownGapsWorker": 2 + } +} diff --git a/internal/boot/boot.go b/internal/boot/boot.go index 3802407..e726cf8 100644 --- a/internal/boot/boot.go +++ b/internal/boot/boot.go @@ -41,11 +41,12 @@ var ( // 2. Connect to the database. // // 3. Make sure the node is synced, unless disregardSync is true. -func BootApplication(ctx context.Context, dbHostname string, dbPort int, dbName string, dbUsername string, dbPassword string, driverName string, bcAddress string, bcPort int, bcConnectionProtocol string, disregardSync bool) (*beaconclient.BeaconClient, sql.Database, error) { +func BootApplication(ctx context.Context, dbHostname string, dbPort int, dbName string, dbUsername string, dbPassword string, driverName string, + bcAddress string, bcPort int, bcConnectionProtocol string, bcKgTableIncrement int, disregardSync bool) (*beaconclient.BeaconClient, sql.Database, error) { log.Info("Booting the Application") log.Debug("Creating the Beacon Client") - BC = beaconclient.CreateBeaconClient(ctx, bcConnectionProtocol, bcAddress, bcPort) + BC = beaconclient.CreateBeaconClient(ctx, bcConnectionProtocol, bcAddress, bcPort, bcKgTableIncrement) log.Debug("Checking Beacon Client") err := BC.CheckBeaconClient() @@ -81,32 +82,65 @@ func BootApplication(ctx context.Context, dbHostname string, dbPort int, dbName // Add retry logic to ensure that we are give the Beacon Client and the DB time to start. func BootApplicationWithRetry(ctx context.Context, dbHostname string, dbPort int, dbName string, dbUsername string, dbPassword string, driverName string, - bcAddress string, bcPort int, bcConnectionProtocol string, bcType string, bcRetryInterval int, bcMaxRetry int, startUpMode string, disregardSync bool) (*beaconclient.BeaconClient, sql.Database, error) { + bcAddress string, bcPort int, bcConnectionProtocol string, bcType string, bcRetryInterval int, bcMaxRetry int, bcKgTableIncrement int, startUpMode string, disregardSync bool) (*beaconclient.BeaconClient, sql.Database, error) { var err error - for i := 0; i < bcMaxRetry; i++ { - BC, DB, err = BootApplication(ctx, dbHostname, dbPort, dbName, dbUsername, dbPassword, driverName, bcAddress, bcPort, bcConnectionProtocol, disregardSync) - if err != nil { - log.WithFields(log.Fields{ - "retryNumber": i, - "err": err, - }).Warn("Unable to boot application. Going to try again") - time.Sleep(time.Duration(bcRetryInterval) * time.Second) - continue + + if bcMaxRetry < 0 { + i := 0 + for { + BC, DB, err = BootApplication(ctx, dbHostname, dbPort, dbName, dbUsername, dbPassword, driverName, + bcAddress, bcPort, bcConnectionProtocol, bcKgTableIncrement, disregardSync) + if err != nil { + log.WithFields(log.Fields{ + "retryNumber": i, + "err": err, + }).Warn("Unable to boot application. Going to try again") + time.Sleep(time.Duration(bcRetryInterval) * time.Second) + i = i + 1 + continue + } + break + } + } else { + for i := 0; i < bcMaxRetry; i++ { + BC, DB, err = BootApplication(ctx, dbHostname, dbPort, dbName, dbUsername, dbPassword, driverName, + bcAddress, bcPort, bcConnectionProtocol, bcKgTableIncrement, disregardSync) + if err != nil { + log.WithFields(log.Fields{ + "retryNumber": i, + "err": err, + }).Warn("Unable to boot application. Going to try again") + time.Sleep(time.Duration(bcRetryInterval) * time.Second) + continue + } + break } - break } switch strings.ToLower(startUpMode) { case "head": - log.Debug("No further actions needed to boot the application at this phase.") + BC.PerformHeadTracking = true case "historic": log.Debug("Performing additional boot steps for historical processing") + BC.PerformHistoricalProcessing = true + // This field is not currently used. + // The idea is, that if we are doing historially processing and we get a slot + // greater than this slot, then we would rerun this function. + // this would ensure that we have the slots necessary for processing + // within the beacon server. + + // We can implement this feature if we notice any errors. headSlot, err := BC.GetLatestSlotInBeaconServer(bcType) if err != nil { return BC, DB, err } BC.UpdateLatestSlotInBeaconServer(int64(headSlot)) // Add another switch case for bcType if its ever needed. + default: + log.WithFields(log.Fields{ + "startUpMode": startUpMode, + }).Error("The startUpMode provided is not handled.") } + return BC, DB, err } diff --git a/internal/boot/boot_test.go b/internal/boot/boot_test.go index 44e1b2c..aa77e56 100644 --- a/internal/boot/boot_test.go +++ b/internal/boot/boot_test.go @@ -37,44 +37,45 @@ var _ = Describe("Boot", func() { bcType string = "lighthouse" bcBootRetryInterval int = 1 bcBootMaxRetry int = 5 + bcKgTableIncrement int = 10 ) Describe("Booting the application", Label("integration"), func() { Context("When the DB and BC are both up and running, we skip checking for a synced head, and we are processing head", func() { It("Should connect successfully", func() { - _, db, err := boot.BootApplicationWithRetry(context.Background(), dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, "head", true) + _, db, err := boot.BootApplicationWithRetry(context.Background(), dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, bcKgTableIncrement, "head", true) defer db.Close() Expect(err).ToNot(HaveOccurred()) }) }) Context("When the DB and BC are both up and running, we skip checking for a synced head, and we are processing historic ", func() { It("Should connect successfully", func() { - _, db, err := boot.BootApplicationWithRetry(context.Background(), dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, "historic", true) + _, db, err := boot.BootApplicationWithRetry(context.Background(), dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, bcKgTableIncrement, "historic", true) defer db.Close() Expect(err).ToNot(HaveOccurred()) }) }) Context("When the DB and BC are both up and running, and we check for a synced head", func() { It("Should not connect successfully", func() { - _, db, err := boot.BootApplicationWithRetry(context.Background(), dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, "head", false) + _, db, err := boot.BootApplicationWithRetry(context.Background(), dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, bcKgTableIncrement, "head", false) defer db.Close() Expect(err).To(HaveOccurred()) }) }) Context("When the DB is running but not the BC", func() { It("Should not connect successfully", func() { - _, _, err := boot.BootApplication(context.Background(), dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, "hi", 100, bcConnectionProtocol, true) + _, _, err := boot.BootApplication(context.Background(), dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, "hi", 100, bcConnectionProtocol, bcKgTableIncrement, true) Expect(err).To(HaveOccurred()) }) }) Context("When the BC is running but not the DB", func() { It("Should not connect successfully", func() { - _, _, err := boot.BootApplication(context.Background(), "hi", 10, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, true) + _, _, err := boot.BootApplication(context.Background(), "hi", 10, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcKgTableIncrement, true) Expect(err).To(HaveOccurred()) }) }) Context("When neither the BC or DB are running", func() { It("Should not connect successfully", func() { - _, _, err := boot.BootApplication(context.Background(), "hi", 10, dbName, dbUsername, dbPassword, dbDriver, "hi", 100, bcConnectionProtocol, true) + _, _, err := boot.BootApplication(context.Background(), "hi", 10, dbName, dbUsername, dbPassword, dbDriver, "hi", 100, bcConnectionProtocol, bcKgTableIncrement, true) Expect(err).To(HaveOccurred()) }) }) diff --git a/internal/shutdown/shutdown_test.go b/internal/shutdown/shutdown_test.go index 705b9df..0bbf38d 100644 --- a/internal/shutdown/shutdown_test.go +++ b/internal/shutdown/shutdown_test.go @@ -49,6 +49,7 @@ var _ = Describe("Shutdown", func() { bcType string = "lighthouse" bcBootRetryInterval int = 1 bcBootMaxRetry int = 5 + bcKgTableIncrement int = 10 maxWaitSecondsShutdown time.Duration = time.Duration(1) * time.Second DB sql.Database BC *beaconclient.BeaconClient @@ -58,7 +59,8 @@ var _ = Describe("Shutdown", func() { ) BeforeEach(func() { ctx = context.Background() - BC, DB, err = boot.BootApplicationWithRetry(ctx, dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, "head", true) + BC, DB, err = boot.BootApplicationWithRetry(ctx, dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, + bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, bcKgTableIncrement, "head", true) notifierCh = make(chan os.Signal, 1) Expect(err).To(BeNil()) }) diff --git a/pkg/beaconclient/beaconclient.go b/pkg/beaconclient/beaconclient.go index 357eee3..d277201 100644 --- a/pkg/beaconclient/beaconclient.go +++ b/pkg/beaconclient/beaconclient.go @@ -43,12 +43,11 @@ var ( // A struct that capture the Beacon Server that the Beacon Client will be interacting with and querying. type BeaconClient struct { - Context context.Context // A context generic context with multiple uses. - ServerEndpoint string // What is the endpoint of the beacon server. - PerformHistoricalProcessing bool // Should we perform historical processing? - Db sql.Database // Database object used for reads and writes. - Metrics *BeaconClientMetrics // An object used to keep track of certain BeaconClient Metrics. - KnownGapTableIncrement int // The max number of slots within a single known_gaps table entry. + Context context.Context // A context generic context with multiple uses. + ServerEndpoint string // What is the endpoint of the beacon server. + Db sql.Database // Database object used for reads and writes. + Metrics *BeaconClientMetrics // An object used to keep track of certain BeaconClient Metrics. + KnownGapTableIncrement int // The max number of slots within a single known_gaps table entry. // Used for Head Tracking @@ -65,7 +64,8 @@ type BeaconClient struct { // The latest available slot within the Beacon Server. We can't query any slot greater than this. // This value is lazily updated. Therefore at times it will be outdated. - LatestSlotInBeaconServer int64 + LatestSlotInBeaconServer int64 + PerformHistoricalProcessing bool // Should we perform historical processing? } // A struct to keep track of relevant the head event topic. @@ -84,20 +84,21 @@ type SseError struct { } // A Function to create the BeaconClient. -func CreateBeaconClient(ctx context.Context, connectionProtocol string, bcAddress string, bcPort int) *BeaconClient { +func CreateBeaconClient(ctx context.Context, connectionProtocol string, bcAddress string, bcPort int, bcKgTableIncrement int) *BeaconClient { endpoint := fmt.Sprintf("%s://%s:%d", connectionProtocol, bcAddress, bcPort) log.Info("Creating the BeaconClient") return &BeaconClient{ - Context: ctx, - ServerEndpoint: endpoint, - HeadTracking: createSseEvent[Head](endpoint, BcHeadTopicEndpoint), - ReOrgTracking: createSseEvent[ChainReorg](endpoint, bcReorgTopicEndpoint), + Context: ctx, + ServerEndpoint: endpoint, + KnownGapTableIncrement: bcKgTableIncrement, + HeadTracking: createSseEvent[Head](endpoint, BcHeadTopicEndpoint), + ReOrgTracking: createSseEvent[ChainReorg](endpoint, bcReorgTopicEndpoint), Metrics: &BeaconClientMetrics{ - HeadTrackingInserts: 0, - HeadTrackingReorgs: 0, - HeadTrackingKnownGaps: 0, - HeadError: 0, - HeadReorgError: 0, + SlotInserts: 0, + ReorgInserts: 0, + KnownGapsInserts: 0, + HeadError: 0, + HeadReorgError: 0, }, //FinalizationTracking: createSseEvent[FinalizedCheckpoint](endpoint, bcFinalizedTopicEndpoint), } diff --git a/pkg/beaconclient/capturehead.go b/pkg/beaconclient/capturehead.go index df70fd0..328fad9 100644 --- a/pkg/beaconclient/capturehead.go +++ b/pkg/beaconclient/capturehead.go @@ -25,12 +25,9 @@ import ( ) // This function will perform all the heavy lifting for tracking the head of the chain. -func (bc *BeaconClient) CaptureHead(knownGapsTableIncrement int) { - bc.KnownGapTableIncrement = knownGapsTableIncrement +func (bc *BeaconClient) CaptureHead() { log.Info("We are tracking the head of the chain.") - //bc.tempHelper() go bc.handleHead() - //go bc.handleFinalizedCheckpoint() go bc.handleReorg() bc.captureEventTopic() } diff --git a/pkg/beaconclient/capturehead_test.go b/pkg/beaconclient/capturehead_test.go index 34f3bbf..459b2af 100644 --- a/pkg/beaconclient/capturehead_test.go +++ b/pkg/beaconclient/capturehead_test.go @@ -44,6 +44,172 @@ import ( "github.com/vulcanize/ipld-ethcl-indexer/pkg/database/sql/postgres" ) +var ( + address string = "localhost" + port int = 8080 + protocol string = "http" + dbHost string = "localhost" + dbPort int = 8076 + dbName string = "vulcanize_testing" + dbUser string = "vdbm" + dbPassword string = "password" + dbDriver string = "pgx" + dummyParentRoot string = "46f98c08b54a71dfda4d56e29ec3952b8300cd8d6b67a9b6c562ae96a7a25a42" + knownGapsTableIncrement int = 100000 + maxRetry int = 120 + + TestEvents = map[string]Message{ + "100-dummy": { + HeadMessage: beaconclient.Head{ + Slot: "100", + Block: "04955400371347e26f61d7a4bbda5b23fa0b25d5fc465160f2a92d52a63b919b", + State: "36d5c9a129979b4502bd9a06e57a742810ecbc3fa55a0361c0723c92c1782bfa", + CurrentDutyDependentRoot: "", + PreviousDutyDependentRoot: "", + EpochTransition: false, + ExecutionOptimistic: false, + }, + TestNotes: "A block that is supposed to replicate slot 100, but contains some dummy test information.", + MimicConfig: &MimicConfig{ + ForkVersion: "phase0", + }, + SignedBeaconBlock: filepath.Join("ssz-data", "100", "signed-beacon-block.ssz"), + BeaconState: filepath.Join("ssz-data", "100", "beacon-state.ssz"), + }, + "100-dummy-2": { + HeadMessage: beaconclient.Head{ + Slot: "100", + Block: "04955400371347e26f61d7a4bbda5b23fa0b25d5fc465160f2a9aaaaaaaaaaaa", + State: "36d5c9a129979b4502bd9a06e57a742810ecbc3fa55a0361c072bbbbbbbbbbbb", + CurrentDutyDependentRoot: "", + PreviousDutyDependentRoot: "", + EpochTransition: false, + ExecutionOptimistic: false, + }, + TestNotes: "A block that is supposed to replicate slot 100, but contains some dummy test information.", + MimicConfig: &MimicConfig{ + ForkVersion: "phase0", + }, + SignedBeaconBlock: filepath.Join("ssz-data", "100", "signed-beacon-block.ssz"), + BeaconState: filepath.Join("ssz-data", "100", "beacon-state.ssz"), + }, + "102-wrong-ssz-1": { + HeadMessage: beaconclient.Head{ + Slot: "102", + Block: "0x46f98c08b54a71dfda4d56e29ec3952b8300cd8d6b67a9b6c562ae96a7a25a42", + State: "0x9b20b114c613c1aa462e02d590b3da902b0a1377e938ed0f94dd3491d763ef67", + CurrentDutyDependentRoot: "", + PreviousDutyDependentRoot: "", + EpochTransition: false, + ExecutionOptimistic: false, + }, + TestNotes: "A bad block that returns the wrong ssz objects, used for testing incorrect SSZ decoding.", + BeaconState: filepath.Join("ssz-data", "102", "signed-beacon-block.ssz"), + SignedBeaconBlock: filepath.Join("ssz-data", "102", "beacon-state.ssz"), + }, + "100": { + HeadMessage: beaconclient.Head{ + Slot: "100", + Block: "0x582187e97f7520bb69eea014c3834c964c45259372a0eaaea3f032013797996b", + State: "0xf286a0379c0386a3c7be28d05d829f8eb7b280cc9ede15449af20ebcd06a7a56", + CurrentDutyDependentRoot: "", + PreviousDutyDependentRoot: "", + EpochTransition: false, + ExecutionOptimistic: false, + }, + TestNotes: "An easy to process Phase 0 block", + SignedBeaconBlock: filepath.Join("ssz-data", "100", "signed-beacon-block.ssz"), + BeaconState: filepath.Join("ssz-data", "100", "beacon-state.ssz"), + }, + "101": { + HeadMessage: beaconclient.Head{ + Slot: "101", + Block: "0xabe1a972e512182d04f0d4a5c9c25f9ee57c2e9d0ff3f4c4c82fd42d13d31083", + State: "0xcb04aa2edbf13c7bb7e7bd9b621ced6832e0075e89147352eac3019a824ce847", + CurrentDutyDependentRoot: "", + PreviousDutyDependentRoot: "", + EpochTransition: false, + ExecutionOptimistic: false, + }, + TestNotes: "An easy to process Phase 0 block", + SignedBeaconBlock: filepath.Join("ssz-data", "101", "signed-beacon-block.ssz"), + BeaconState: filepath.Join("ssz-data", "101", "beacon-state.ssz"), + }, + "2375703-dummy": { + HeadMessage: beaconclient.Head{ + Slot: "2375703", + Block: "c9fb337b62e2a0dae4f27ab49913132570f7f2cab3f23ad99f4d07508a8e648e", + State: "0299a145bcda2c8f5e7d2e068ee101861edbee2ec1db2d5e1d850b0d265aef5f", + CurrentDutyDependentRoot: "", + PreviousDutyDependentRoot: "", + EpochTransition: false, + ExecutionOptimistic: false, + }, + TestNotes: "This is a dummy message that is used for reorgs", + MimicConfig: &MimicConfig{ + ForkVersion: "altair", + }, + SignedBeaconBlock: filepath.Join("ssz-data", "2375703", "signed-beacon-block.ssz"), + BeaconState: filepath.Join("ssz-data", "2375703", "beacon-state.ssz"), + }, + "2375703-dummy-2": { + HeadMessage: beaconclient.Head{ + Slot: "2375703", + Block: "c9fb337b62e2a0dae4f27ab49913132570f7f2cab3f23ad99f4d07508aaaaaaa", + State: "0299a145bcda2c8f5e7d2e068ee101861edbee2ec1db2d5e1d850b0d2bbbbbbb", + CurrentDutyDependentRoot: "", + PreviousDutyDependentRoot: "", + EpochTransition: false, + ExecutionOptimistic: false, + }, + TestNotes: "This is a dummy message that is used for reorgs", + MimicConfig: &MimicConfig{ + ForkVersion: "altair", + }, + SignedBeaconBlock: filepath.Join("ssz-data", "2375703", "signed-beacon-block.ssz"), + BeaconState: filepath.Join("ssz-data", "2375703", "beacon-state.ssz"), + }, + "2375703": { + HeadMessage: beaconclient.Head{ + Slot: "2375703", + Block: "0x4392372c5f6e39499e31bf924388b5815639103149f0f54f8a453773b1802301", + State: "0xb6215b560273af63ec7e011572b60ec1ca0b0232f8ff44fcd4ed55c7526e964e", + CurrentDutyDependentRoot: "", PreviousDutyDependentRoot: "", EpochTransition: false, ExecutionOptimistic: false}, + TestNotes: "An easy to process Altair Block", + SignedBeaconBlock: filepath.Join("ssz-data", "2375703", "signed-beacon-block.ssz"), + BeaconState: filepath.Join("ssz-data", "2375703", "beacon-state.ssz"), + }, + "3797056": { + HeadMessage: beaconclient.Head{ + Slot: "3797056", + Block: "", + State: "0xb6215b560273af63ec7e011572b60ec1ca0b0232f8ff44fcd4ed55c7526e964e", + CurrentDutyDependentRoot: "", PreviousDutyDependentRoot: "", EpochTransition: false, ExecutionOptimistic: false}, + TestNotes: "An easy to process Altair Block", + SignedBeaconBlock: filepath.Join("ssz-data", "2375703", "signed-beacon-block.ssz"), + BeaconState: filepath.Join("ssz-data", "2375703", "beacon-state.ssz"), + }, + } + TestConfig = Config{ + protocol: protocol, + address: address, + port: port, + dummyParentRoot: dummyParentRoot, + dbHost: dbHost, + dbPort: dbPort, + dbName: dbName, + dbUser: dbUser, + dbPassword: dbPassword, + dbDriver: dbDriver, + knownGapsTableIncrement: knownGapsTableIncrement, + } + + BeaconNodeTester = TestBeaconNode{ + TestEvents: TestEvents, + TestConfig: TestConfig, + } +) + type Message struct { HeadMessage beaconclient.Head // The head messsage that will be streamed to the BeaconClient TestNotes string // A small explanation of the purpose this structure plays in the testing landscape. @@ -61,177 +227,6 @@ type MimicConfig struct { var _ = Describe("Capturehead", func() { - var ( - TestConfig Config - BeaconNodeTester TestBeaconNode - address string = "localhost" - port int = 8080 - protocol string = "http" - TestEvents map[string]Message - dbHost string = "localhost" - dbPort int = 8076 - dbName string = "vulcanize_testing" - dbUser string = "vdbm" - dbPassword string = "password" - dbDriver string = "pgx" - dummyParentRoot string = "46f98c08b54a71dfda4d56e29ec3952b8300cd8d6b67a9b6c562ae96a7a25a42" - knownGapsTableIncrement int = 100000 - maxRetry int = 60 - ) - - BeforeEach(func() { - TestEvents = map[string]Message{ - "100-dummy": { - HeadMessage: beaconclient.Head{ - Slot: "100", - Block: "04955400371347e26f61d7a4bbda5b23fa0b25d5fc465160f2a92d52a63b919b", - State: "36d5c9a129979b4502bd9a06e57a742810ecbc3fa55a0361c0723c92c1782bfa", - CurrentDutyDependentRoot: "", - PreviousDutyDependentRoot: "", - EpochTransition: false, - ExecutionOptimistic: false, - }, - TestNotes: "A block that is supposed to replicate slot 100, but contains some dummy test information.", - MimicConfig: &MimicConfig{ - ForkVersion: "phase0", - }, - SignedBeaconBlock: filepath.Join("ssz-data", "100", "signed-beacon-block.ssz"), - BeaconState: filepath.Join("ssz-data", "100", "beacon-state.ssz"), - }, - "100-dummy-2": { - HeadMessage: beaconclient.Head{ - Slot: "100", - Block: "04955400371347e26f61d7a4bbda5b23fa0b25d5fc465160f2a9aaaaaaaaaaaa", - State: "36d5c9a129979b4502bd9a06e57a742810ecbc3fa55a0361c072bbbbbbbbbbbb", - CurrentDutyDependentRoot: "", - PreviousDutyDependentRoot: "", - EpochTransition: false, - ExecutionOptimistic: false, - }, - TestNotes: "A block that is supposed to replicate slot 100, but contains some dummy test information.", - MimicConfig: &MimicConfig{ - ForkVersion: "phase0", - }, - SignedBeaconBlock: filepath.Join("ssz-data", "100", "signed-beacon-block.ssz"), - BeaconState: filepath.Join("ssz-data", "100", "beacon-state.ssz"), - }, - "102-wrong-ssz-1": { - HeadMessage: beaconclient.Head{ - Slot: "102", - Block: "0x46f98c08b54a71dfda4d56e29ec3952b8300cd8d6b67a9b6c562ae96a7a25a42", - State: "0x9b20b114c613c1aa462e02d590b3da902b0a1377e938ed0f94dd3491d763ef67", - CurrentDutyDependentRoot: "", - PreviousDutyDependentRoot: "", - EpochTransition: false, - ExecutionOptimistic: false, - }, - TestNotes: "A bad block that returns the wrong ssz objects, used for testing incorrect SSZ decoding.", - BeaconState: filepath.Join("ssz-data", "102", "signed-beacon-block.ssz"), - SignedBeaconBlock: filepath.Join("ssz-data", "102", "beacon-state.ssz"), - }, - "100": { - HeadMessage: beaconclient.Head{ - Slot: "100", - Block: "0x582187e97f7520bb69eea014c3834c964c45259372a0eaaea3f032013797996b", - State: "0xf286a0379c0386a3c7be28d05d829f8eb7b280cc9ede15449af20ebcd06a7a56", - CurrentDutyDependentRoot: "", - PreviousDutyDependentRoot: "", - EpochTransition: false, - ExecutionOptimistic: false, - }, - TestNotes: "An easy to process Phase 0 block", - SignedBeaconBlock: filepath.Join("ssz-data", "100", "signed-beacon-block.ssz"), - BeaconState: filepath.Join("ssz-data", "100", "beacon-state.ssz"), - }, - "101": { - HeadMessage: beaconclient.Head{ - Slot: "101", - Block: "0xabe1a972e512182d04f0d4a5c9c25f9ee57c2e9d0ff3f4c4c82fd42d13d31083", - State: "0xcb04aa2edbf13c7bb7e7bd9b621ced6832e0075e89147352eac3019a824ce847", - CurrentDutyDependentRoot: "", - PreviousDutyDependentRoot: "", - EpochTransition: false, - ExecutionOptimistic: false, - }, - TestNotes: "An easy to process Phase 0 block", - SignedBeaconBlock: filepath.Join("ssz-data", "101", "signed-beacon-block.ssz"), - BeaconState: filepath.Join("ssz-data", "101", "beacon-state.ssz"), - }, - "2375703-dummy": { - HeadMessage: beaconclient.Head{ - Slot: "2375703", - Block: "c9fb337b62e2a0dae4f27ab49913132570f7f2cab3f23ad99f4d07508a8e648e", - State: "0299a145bcda2c8f5e7d2e068ee101861edbee2ec1db2d5e1d850b0d265aef5f", - CurrentDutyDependentRoot: "", - PreviousDutyDependentRoot: "", - EpochTransition: false, - ExecutionOptimistic: false, - }, - TestNotes: "This is a dummy message that is used for reorgs", - MimicConfig: &MimicConfig{ - ForkVersion: "altair", - }, - SignedBeaconBlock: filepath.Join("ssz-data", "2375703", "signed-beacon-block.ssz"), - BeaconState: filepath.Join("ssz-data", "2375703", "beacon-state.ssz"), - }, - "2375703-dummy-2": { - HeadMessage: beaconclient.Head{ - Slot: "2375703", - Block: "c9fb337b62e2a0dae4f27ab49913132570f7f2cab3f23ad99f4d07508aaaaaaa", - State: "0299a145bcda2c8f5e7d2e068ee101861edbee2ec1db2d5e1d850b0d2bbbbbbb", - CurrentDutyDependentRoot: "", - PreviousDutyDependentRoot: "", - EpochTransition: false, - ExecutionOptimistic: false, - }, - TestNotes: "This is a dummy message that is used for reorgs", - MimicConfig: &MimicConfig{ - ForkVersion: "altair", - }, - SignedBeaconBlock: filepath.Join("ssz-data", "2375703", "signed-beacon-block.ssz"), - BeaconState: filepath.Join("ssz-data", "2375703", "beacon-state.ssz"), - }, - "2375703": { - HeadMessage: beaconclient.Head{ - Slot: "2375703", - Block: "0x4392372c5f6e39499e31bf924388b5815639103149f0f54f8a453773b1802301", - State: "0xb6215b560273af63ec7e011572b60ec1ca0b0232f8ff44fcd4ed55c7526e964e", - CurrentDutyDependentRoot: "", PreviousDutyDependentRoot: "", EpochTransition: false, ExecutionOptimistic: false}, - TestNotes: "An easy to process Altair Block", - SignedBeaconBlock: filepath.Join("ssz-data", "2375703", "signed-beacon-block.ssz"), - BeaconState: filepath.Join("ssz-data", "2375703", "beacon-state.ssz"), - }, - "3797056": { - HeadMessage: beaconclient.Head{ - Slot: "3797056", - Block: "", - State: "0xb6215b560273af63ec7e011572b60ec1ca0b0232f8ff44fcd4ed55c7526e964e", - CurrentDutyDependentRoot: "", PreviousDutyDependentRoot: "", EpochTransition: false, ExecutionOptimistic: false}, - TestNotes: "An easy to process Altair Block", - SignedBeaconBlock: filepath.Join("ssz-data", "2375703", "signed-beacon-block.ssz"), - BeaconState: filepath.Join("ssz-data", "2375703", "beacon-state.ssz"), - }, - } - TestConfig = Config{ - protocol: protocol, - address: address, - port: port, - dummyParentRoot: dummyParentRoot, - dbHost: dbHost, - dbPort: dbPort, - dbName: dbName, - dbUser: dbUser, - dbPassword: dbPassword, - dbDriver: dbDriver, - knownGapsTableIncrement: knownGapsTableIncrement, - } - - BeaconNodeTester = TestBeaconNode{ - TestEvents: TestEvents, - TestConfig: TestConfig, - } - }) - Describe("Receiving New Head SSE messages", Label("unit", "behavioral"), func() { Context("Correctly formatted Phase0 Block", func() { It("Should turn it into a struct successfully.", func() { @@ -315,7 +310,7 @@ var _ = Describe("Capturehead", func() { // }) //}) - Context("When the proper SSZ objects are not served", Label("now"), func() { + Context("When the proper SSZ objects are not served", func() { It("Should return an error, and add the slot to the knownGaps table.", func() { bc := setUpTest(BeaconNodeTester.TestConfig, "101") BeaconNodeTester.SetupBeaconNodeMock(BeaconNodeTester.TestEvents, BeaconNodeTester.TestConfig.protocol, BeaconNodeTester.TestConfig.address, BeaconNodeTester.TestConfig.port, BeaconNodeTester.TestConfig.dummyParentRoot) @@ -403,7 +398,7 @@ var _ = Describe("Capturehead", func() { BeaconNodeTester.testMultipleReorgs(bc, TestEvents["100-dummy"].HeadMessage, TestEvents["100-dummy-2"].HeadMessage, TestEvents["100"].HeadMessage, 3, maxRetry) }) }) - Context("Altair: Multiple reorgs have occurred on this slot", Label("new"), func() { + Context("Altair: Multiple reorgs have occurred on this slot", func() { It("The previous blocks should be marked as 'forked', the new block should be the only one marked as 'proposed'.", func() { bc := setUpTest(BeaconNodeTester.TestConfig, "2375702") BeaconNodeTester.SetupBeaconNodeMock(BeaconNodeTester.TestEvents, BeaconNodeTester.TestConfig.protocol, BeaconNodeTester.TestConfig.address, BeaconNodeTester.TestConfig.port, BeaconNodeTester.TestConfig.dummyParentRoot) @@ -435,7 +430,7 @@ type Config struct { // Must run before each test. We can't use the beforeEach because of the way // Gingko treats race conditions. func setUpTest(config Config, maxSlot string) *beaconclient.BeaconClient { - bc := *beaconclient.CreateBeaconClient(context.Background(), config.protocol, config.address, config.port) + bc := *beaconclient.CreateBeaconClient(context.Background(), config.protocol, config.address, config.port, config.knownGapsTableIncrement) db, err := postgres.SetupPostgresDb(config.dbHost, config.dbPort, config.dbName, config.dbUser, config.dbPassword, config.dbDriver) Expect(err).ToNot(HaveOccurred()) @@ -491,7 +486,7 @@ func sendHeadMessage(bc *beaconclient.BeaconClient, head beaconclient.Head, maxR data, err := json.Marshal(head) Expect(err).ToNot(HaveOccurred()) - startInserts := atomic.LoadUint64(&bc.Metrics.HeadTrackingInserts) + startInserts := atomic.LoadUint64(&bc.Metrics.SlotInserts) bc.HeadTracking.MessagesCh <- &sse.Event{ ID: []byte{}, Data: data, @@ -499,13 +494,14 @@ func sendHeadMessage(bc *beaconclient.BeaconClient, head beaconclient.Head, maxR Retry: []byte{}, } curRetry := 0 - for atomic.LoadUint64(&bc.Metrics.HeadTrackingInserts) != startInserts+expectedSuccessfulInserts { + for atomic.LoadUint64(&bc.Metrics.SlotInserts) != startInserts+expectedSuccessfulInserts { time.Sleep(1 * time.Second) curRetry = curRetry + 1 if curRetry == maxRetry { log.WithFields(log.Fields{ - "startInsert": startInserts, - "currentValue": atomic.LoadUint64(&bc.Metrics.HeadTrackingInserts), + "startInsert": startInserts, + "expectedSuccessfulInserts": expectedSuccessfulInserts, + "currentValue": atomic.LoadUint64(&bc.Metrics.SlotInserts), }).Error("HeadTracking Insert wasn't incremented properly.") Fail("Too many retries have occurred.") } @@ -517,9 +513,10 @@ func queryDbSlotAndBlock(db sql.Database, querySlot string, queryBlockRoot strin sqlStatement := `SELECT epoch, slot, block_root, state_root, status FROM ethcl.slots WHERE slot=$1 AND block_root=$2;` var epoch, slot int var blockRoot, stateRoot, status string - row := db.QueryRow(context.Background(), sqlStatement, querySlot, queryBlockRoot) - err := row.Scan(&epoch, &slot, &blockRoot, &stateRoot, &status) + log.Debug("Starting to query the ethcl.slots table, ", querySlot, " ", queryBlockRoot) + err := db.QueryRow(context.Background(), sqlStatement, querySlot, queryBlockRoot).Scan(&epoch, &slot, &blockRoot, &stateRoot, &status) Expect(err).ToNot(HaveOccurred()) + log.Debug("Querying the ethcl.slots table complete") return epoch, slot, blockRoot, stateRoot, status } @@ -567,7 +564,7 @@ func queryKnownGaps(db sql.Database, queryStartGap string, QueryEndGap string) ( // A function that will remove all entries from the ethcl tables for you. func clearEthclDbTables(db sql.Database) { - deleteQueries := []string{"DELETE FROM ethcl.slots;", "DELETE FROM ethcl.signed_beacon_block;", "DELETE FROM ethcl.beacon_state;", "DELETE FROM ethcl.known_gaps;"} + deleteQueries := []string{"DELETE FROM ethcl.slots;", "DELETE FROM ethcl.signed_beacon_block;", "DELETE FROM ethcl.beacon_state;", "DELETE FROM ethcl.known_gaps;", "DELETE FROM ethcl.historic_process;"} for _, queries := range deleteQueries { _, err := db.Exec(context.Background(), queries) Expect(err).ToNot(HaveOccurred()) @@ -670,6 +667,33 @@ func (tbc TestBeaconNode) SetupBeaconNodeMock(TestEvents map[string]Message, pro return httpmock.NewBytesResponse(200, dat), nil }, ) + // Not needed but could be useful to have. + blockRootUrl := `=~^` + protocol + "://" + address + ":" + strconv.Itoa(port) + "/eth/v1/beacon/blocks/" + `([^/]+)` + "/root" + httpmock.RegisterResponder("GET", blockRootUrl, + func(req *http.Request) (*http.Response, error) { + // Get ID from request + slot := httpmock.MustGetSubmatch(req, 1) + dat, err := tbc.provideBlockRoot(slot) + if err != nil { + Expect(err).NotTo(HaveOccurred()) + return httpmock.NewStringResponse(404, fmt.Sprintf("Unable to find block root for %s", slot)), err + } + return httpmock.NewBytesResponse(200, dat), nil + }, + ) +} + +// Provide the Block root +func (tbc TestBeaconNode) provideBlockRoot(slot string) ([]byte, error) { + + for _, val := range tbc.TestEvents { + if val.HeadMessage.Slot == slot && val.MimicConfig == nil { + block, err := hex.DecodeString(val.HeadMessage.Block[2:]) + Expect(err).ToNot(HaveOccurred()) + return block, nil + } + } + return nil, fmt.Errorf("Unable to find the Blockroot in test object.") } // A function to mimic querying the state from the beacon node. We simply get the SSZ file are return it. @@ -679,12 +703,12 @@ func (tbc TestBeaconNode) provideSsz(slotIdentifier string, sszIdentifier string for _, val := range tbc.TestEvents { if sszIdentifier == "state" { - if val.HeadMessage.Slot == slotIdentifier || val.HeadMessage.State == slotIdentifier { + if (val.HeadMessage.Slot == slotIdentifier && val.MimicConfig == nil) || val.HeadMessage.State == slotIdentifier { slotFile = val.BeaconState Message = val } } else if sszIdentifier == "block" { - if val.HeadMessage.Slot == slotIdentifier || val.HeadMessage.Block == slotIdentifier { + if (val.HeadMessage.Slot == slotIdentifier && val.MimicConfig == nil) || val.HeadMessage.Block == slotIdentifier { slotFile = val.SignedBeaconBlock Message = val } @@ -770,16 +794,16 @@ func (tbc TestBeaconNode) provideSsz(slotIdentifier string, sszIdentifier string // Helper function to test three reorg messages. There are going to be many functions like this, // Because we need to test the same logic for multiple phases. func (tbc TestBeaconNode) testMultipleReorgs(bc *beaconclient.BeaconClient, firstHead beaconclient.Head, secondHead beaconclient.Head, thirdHead beaconclient.Head, epoch int, maxRetry int) { - go bc.CaptureHead(tbc.TestConfig.knownGapsTableIncrement) + go bc.CaptureHead() time.Sleep(1 * time.Second) - log.Info("Sending Phase0 Messages to BeaconClient") + log.Info("Sending Messages to BeaconClient") sendHeadMessage(bc, firstHead, maxRetry, 1) sendHeadMessage(bc, secondHead, maxRetry, 1) sendHeadMessage(bc, thirdHead, maxRetry, 1) curRetry := 0 - for atomic.LoadUint64(&bc.Metrics.HeadTrackingReorgs) != 2 { + for atomic.LoadUint64(&bc.Metrics.ReorgInserts) != 2 { time.Sleep(1 * time.Second) curRetry = curRetry + 1 if curRetry == maxRetry { @@ -810,7 +834,7 @@ func (tbc TestBeaconNode) testMultipleReorgs(bc *beaconclient.BeaconClient, firs } curRetry = 0 - for atomic.LoadUint64(&bc.Metrics.HeadTrackingReorgs) != 3 { + for atomic.LoadUint64(&bc.Metrics.ReorgInserts) != 3 { time.Sleep(1 * time.Second) curRetry = curRetry + 1 if curRetry == maxRetry { @@ -818,7 +842,7 @@ func (tbc TestBeaconNode) testMultipleReorgs(bc *beaconclient.BeaconClient, firs } } - if bc.Metrics.HeadTrackingKnownGaps != 0 { + if bc.Metrics.KnownGapsInserts != 0 { Fail("We found gaps when processing a single block") } @@ -832,25 +856,25 @@ func (tbc TestBeaconNode) testMultipleReorgs(bc *beaconclient.BeaconClient, firs // A test to validate a single block was processed correctly func (tbc TestBeaconNode) testProcessBlock(bc *beaconclient.BeaconClient, head beaconclient.Head, epoch int, maxRetry int, expectedSuccessInsert uint64, expectedKnownGaps uint64, expectedReorgs uint64) { - go bc.CaptureHead(tbc.TestConfig.knownGapsTableIncrement) + go bc.CaptureHead() time.Sleep(1 * time.Second) sendHeadMessage(bc, head, maxRetry, expectedSuccessInsert) curRetry := 0 - for atomic.LoadUint64(&bc.Metrics.HeadTrackingKnownGaps) != expectedKnownGaps { + for atomic.LoadUint64(&bc.Metrics.KnownGapsInserts) != expectedKnownGaps { time.Sleep(1 * time.Second) curRetry = curRetry + 1 if curRetry == maxRetry { - Fail(fmt.Sprintf("Wrong gap metrics, got: %d, wanted %d", bc.Metrics.HeadTrackingKnownGaps, expectedKnownGaps)) + Fail(fmt.Sprintf("Wrong gap metrics, got: %d, wanted %d", bc.Metrics.KnownGapsInserts, expectedKnownGaps)) } } curRetry = 0 - for atomic.LoadUint64(&bc.Metrics.HeadTrackingReorgs) != expectedReorgs { + for atomic.LoadUint64(&bc.Metrics.ReorgInserts) != expectedReorgs { time.Sleep(1 * time.Second) curRetry = curRetry + 1 if curRetry == maxRetry { - Fail(fmt.Sprintf("Wrong reorg metrics, got: %d, wanted %d", bc.Metrics.HeadTrackingKnownGaps, expectedKnownGaps)) + Fail(fmt.Sprintf("Wrong reorg metrics, got: %d, wanted %d", bc.Metrics.KnownGapsInserts, expectedKnownGaps)) } } @@ -862,14 +886,14 @@ func (tbc TestBeaconNode) testProcessBlock(bc *beaconclient.BeaconClient, head b // A test that ensures that if two HeadMessages occur for a single slot they are marked // as proposed and forked correctly. func (tbc TestBeaconNode) testMultipleHead(bc *beaconclient.BeaconClient, firstHead beaconclient.Head, secondHead beaconclient.Head, epoch int, maxRetry int) { - go bc.CaptureHead(tbc.TestConfig.knownGapsTableIncrement) + go bc.CaptureHead() time.Sleep(1 * time.Second) sendHeadMessage(bc, firstHead, maxRetry, 1) sendHeadMessage(bc, secondHead, maxRetry, 1) curRetry := 0 - for atomic.LoadUint64(&bc.Metrics.HeadTrackingReorgs) != 1 { + for atomic.LoadUint64(&bc.Metrics.ReorgInserts) != 1 { time.Sleep(1 * time.Second) curRetry = curRetry + 1 if curRetry == maxRetry { @@ -877,7 +901,7 @@ func (tbc TestBeaconNode) testMultipleHead(bc *beaconclient.BeaconClient, firstH } } - if bc.Metrics.HeadTrackingKnownGaps != 0 { + if bc.Metrics.KnownGapsInserts != 0 { Fail("We found gaps when processing a single block") } @@ -889,7 +913,8 @@ func (tbc TestBeaconNode) testMultipleHead(bc *beaconclient.BeaconClient, firstH // A test that ensures that if two HeadMessages occur for a single slot they are marked // as proposed and forked correctly. func (tbc TestBeaconNode) testKnownGapsMessages(bc *beaconclient.BeaconClient, tableIncrement int, expectedEntries uint64, maxRetry int, msg ...beaconclient.Head) { - go bc.CaptureHead(tableIncrement) + bc.KnownGapTableIncrement = tableIncrement + go bc.CaptureHead() time.Sleep(1 * time.Second) for _, headMsg := range msg { @@ -897,7 +922,7 @@ func (tbc TestBeaconNode) testKnownGapsMessages(bc *beaconclient.BeaconClient, t } curRetry := 0 - for atomic.LoadUint64(&bc.Metrics.HeadTrackingKnownGaps) != expectedEntries { + for atomic.LoadUint64(&bc.Metrics.KnownGapsInserts) != expectedEntries { time.Sleep(1 * time.Second) curRetry = curRetry + 1 if curRetry == maxRetry { @@ -909,7 +934,7 @@ func (tbc TestBeaconNode) testKnownGapsMessages(bc *beaconclient.BeaconClient, t knownGapCount := countKnownGapsTable(bc.Db) Expect(knownGapCount).To(Equal(int(expectedEntries))) - if atomic.LoadUint64(&bc.Metrics.HeadTrackingReorgs) != 0 { + if atomic.LoadUint64(&bc.Metrics.ReorgInserts) != 0 { Fail("We found reorgs when we didn't expect it") } } diff --git a/pkg/beaconclient/capturehistoric.go b/pkg/beaconclient/capturehistoric.go new file mode 100644 index 0000000..3c4d29b --- /dev/null +++ b/pkg/beaconclient/capturehistoric.go @@ -0,0 +1,136 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . +// This file will call all the functions to start and stop capturing the head of the beacon chain. + +package beaconclient + +import ( + "fmt" + + log "github.com/sirupsen/logrus" + "github.com/vulcanize/ipld-ethcl-indexer/pkg/database/sql" + "golang.org/x/sync/errgroup" +) + +// This function will perform all the heavy lifting for tracking the head of the chain. +func (bc *BeaconClient) CaptureHistoric(maxWorkers int) []error { + log.Info("We are starting the historical processing service.") + hp := historicProcessing{db: bc.Db, metrics: bc.Metrics} + errs := handleBatchProcess(maxWorkers, hp, hp.db, bc.ServerEndpoint, bc.Metrics) + log.Debug("Exiting Historical") + return errs +} + +// An interface to enforce any batch processing. Currently there are two use cases for this. +// +// 1. Historic Processing +// +// 2. Known Gaps Processing +type BatchProcessing interface { + getSlotRange(chan<- slotsToProcess) []error // Write the slots to process in a channel, return an error if you cant get the next slots to write. + handleProcessingErrors(<-chan batchHistoricError) + removeTableEntry(<-chan slotsToProcess) error // With the provided start and end slot, remove the entry from the database. +} + +// A struct to pass around indicating a table entry for slots to process. +type slotsToProcess struct { + startSlot int // The start slot + endSlot int // The end slot +} + +type batchHistoricError struct { + err error // The error that occurred when attempting to a slot + errProcess string // The process that caused the error. + slot int // The slot which the error is for. +} + +// Wrapper function for the BatchProcessing interface. +// This function will take the structure that needs batch processing. +// It follows a generic format. +// Get new entries from any given table. +// 1. Add it to the slotsCh. +// +// 2. Run the maximum specified workers to handle individual slots. We need a maximum because we don't want +// To store too many SSZ objects in memory. +// +// 3. Process the slots and send the err to the ErrCh. Each structure can define how it wants its own errors handled. +// +// 4. Remove the slot entry from the DB. +// +// 5. Handle any errors. +func handleBatchProcess(maxWorkers int, bp BatchProcessing, db sql.Database, serverEndpoint string, metrics *BeaconClientMetrics) []error { + slotsCh := make(chan slotsToProcess) + workCh := make(chan int) + processedCh := make(chan slotsToProcess) + errCh := make(chan batchHistoricError) + finishCh := make(chan []error, 1) + + // Start workers + for w := 1; w <= maxWorkers; w++ { + log.WithFields(log.Fields{"maxWorkers": maxWorkers}).Debug("Starting batch processing workers") + go processSlotRangeWorker(workCh, errCh, db, serverEndpoint, metrics) + } + + // Process all ranges and send each individual slot to the worker. + go func() { + for slots := range slotsCh { + if slots.startSlot > slots.endSlot { + log.Error("We received a batch process request where the startSlot is greater than the end slot.") + errCh <- batchHistoricError{ + err: fmt.Errorf("We received a startSlot where the start was greater than the end."), + errProcess: "RangeOrder", + slot: slots.startSlot, + } + errCh <- batchHistoricError{ + err: fmt.Errorf("We received a endSlot where the start was greater than the end."), + errProcess: "RangeOrder", + slot: slots.endSlot, + } + } else { + for i := slots.startSlot; i <= slots.endSlot; i++ { + workCh <- i + } + processedCh <- slots + } + } + }() + + // Remove entries, end the application if a row cannot be removed.. + go func() { + errG := new(errgroup.Group) + errG.Go(func() error { + return bp.removeTableEntry(processedCh) + }) + if err := errG.Wait(); err != nil { + finishCh <- []error{err} + } + }() + // Process errors from slot processing. + go bp.handleProcessingErrors(errCh) + + // Get slots from the DB. + go func() { + errs := bp.getSlotRange(slotsCh) // Periodically adds new entries.... + if errs != nil { + finishCh <- errs + } + finishCh <- nil + }() + + errs := <-finishCh + log.Debug("Finishing the batchProcess") + return errs +} diff --git a/pkg/beaconclient/capturehistoric_test.go b/pkg/beaconclient/capturehistoric_test.go new file mode 100644 index 0000000..0a288c3 --- /dev/null +++ b/pkg/beaconclient/capturehistoric_test.go @@ -0,0 +1,70 @@ +package beaconclient_test + +import ( + "context" + "fmt" + "sync/atomic" + "time" + + "github.com/jarcoal/httpmock" + . "github.com/onsi/ginkgo/v2" + . "github.com/onsi/gomega" + log "github.com/sirupsen/logrus" + "github.com/vulcanize/ipld-ethcl-indexer/pkg/beaconclient" +) + +var _ = Describe("Capturehistoric", func() { + + Describe("Run the application in historic mode", Label("unit", "behavioral"), func() { + Context("Phase0: When we need to process a single block in the ethcl.historic_process table.", Label("now"), func() { + It("Successfully Process the Block", func() { + bc := setUpTest(BeaconNodeTester.TestConfig, "99") + BeaconNodeTester.SetupBeaconNodeMock(BeaconNodeTester.TestEvents, BeaconNodeTester.TestConfig.protocol, BeaconNodeTester.TestConfig.address, BeaconNodeTester.TestConfig.port, BeaconNodeTester.TestConfig.dummyParentRoot) + defer httpmock.DeactivateAndReset() + BeaconNodeTester.writeEventToHistoricProcess(bc, 100, 101, 10) + BeaconNodeTester.runBatchProcess(bc, 2, 100, 101, 0, 0) + + time.Sleep(2 * time.Second) + validateSlot(bc, BeaconNodeTester.TestEvents["100"].HeadMessage, 3, "proposed") + validateSignedBeaconBlock(bc, BeaconNodeTester.TestEvents["100"].HeadMessage, "0x629ae1587895043076500f4f5dcb202a47c2fc95d5b5c548cb83bc97bd2dbfe1", "0x8d3f027beef5cbd4f8b29fc831aba67a5d74768edca529f5596f07fd207865e1", "/blocks/QHVAEQBQGQ4TKNJUGAYDGNZRGM2DOZJSGZTDMMLEG5QTIYTCMRQTKYRSGNTGCMDCGI2WINLGMM2DMNJRGYYGMMTBHEZGINJSME3DGYRZGE4WE") + validateBeaconState(bc, BeaconNodeTester.TestEvents["100"].HeadMessage, "/blocks/QHVAEQRQPBTDEOBWMEYDGNZZMMYDGOBWMEZWGN3CMUZDQZBQGVSDQMRZMY4GKYRXMIZDQMDDMM4WKZDFGE2TINBZMFTDEMDFMJRWIMBWME3WCNJW") + + //validateSignedBeaconBlock(bc, BeaconNodeTester.TestEvents["101"].HeadMessage, "0x629ae1587895043076500f4f5dcb202a47c2fc95d5b5c548cb83bc97bd2dbfe1", "0x8d3f027beef5cbd4f8b29fc831aba67a5d74768edca529f5596f07fd207865e1", "/blocks/QHVAEQBQGQ4TKNJUGAYDGNZRGM2DOZJSGZTDMMLEG5QTIYTCMRQTKYRSGNTGCMDCGI2WINLGMM2DMNJRGYYGMMTBHEZGINJSME3DGYRZGE4WE") + //validateBeaconState(bc, BeaconNodeTester.TestEvents["101"].HeadMessage, "/blocks/QHVAEQRQPBTDEOBWMEYDGNZZMMYDGOBWMEZWGN3CMUZDQZBQGVSDQMRZMY4GKYRXMIZDQMDDMM4WKZDFGE2TINBZMFTDEMDFMJRWIMBWME3WCNJW") + + }) + }) + }) +}) + +// This function will write an even to the ethcl.historic_process table +func (tbc TestBeaconNode) writeEventToHistoricProcess(bc *beaconclient.BeaconClient, startSlot, endSlot, priority int) { + log.Debug("We are writing the necessary events to batch process") + insertHistoricProcessingStmt := `INSERT INTO ethcl.historic_process (start_slot, end_slot, priority) + VALUES ($1, $2, $3);` + res, err := bc.Db.Exec(context.Background(), insertHistoricProcessingStmt, startSlot, endSlot, priority) + Expect(err) + rows, err := res.RowsAffected() + if rows != 1 { + Fail("We didnt write...") + } + Expect(err) +} + +// Start the batch processing function, and check for the correct inserted slots. +func (tbc TestBeaconNode) runBatchProcess(bc *beaconclient.BeaconClient, maxWorkers int, startSlot uint64, endSlot uint64, expectedReorgs uint64, expectedKnownGaps uint64) { + go bc.CaptureHistoric(maxWorkers) + diff := endSlot - startSlot + 1 + + curRetry := 0 + for atomic.LoadUint64(&bc.Metrics.SlotInserts) != diff { + time.Sleep(1 * time.Second) + curRetry = curRetry + 1 + if curRetry == maxRetry { + Fail(fmt.Sprintf("Too many retries have occurred. The number of inserts expects %d, the number that actually occurred, %d", atomic.LoadUint64(&bc.Metrics.SlotInserts), diff)) + } + } + + Expect(atomic.LoadUint64(&bc.Metrics.KnownGapsInserts)).To(Equal(expectedKnownGaps)) + Expect(atomic.LoadUint64(&bc.Metrics.ReorgInserts)).To(Equal(expectedKnownGaps)) +} diff --git a/pkg/beaconclient/databasewrite.go b/pkg/beaconclient/databasewrite.go index 84d160e..fd0ac6c 100644 --- a/pkg/beaconclient/databasewrite.go +++ b/pkg/beaconclient/databasewrite.go @@ -23,6 +23,7 @@ import ( log "github.com/sirupsen/logrus" "github.com/vulcanize/ipld-ethcl-indexer/pkg/database/sql" "github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper" + "golang.org/x/sync/errgroup" ) var ( @@ -53,10 +54,19 @@ VALUES ($1, $2) ON CONFLICT (key) DO NOTHING` CheckProposedStmt string = `SELECT slot, block_root FROM ethcl.slots WHERE slot=$1 AND block_root=$2;` + // Used to get a single slot from the table if it exists + QueryBySlotStmt string = `SELECT slot + FROM ethcl.slots + WHERE slot=$1` // Statement to insert known_gaps. We don't pass in timestamp, we let the server take care of that one. UpsertKnownGapsStmt string = ` INSERT INTO ethcl.known_gaps (start_slot, end_slot, checked_out, reprocessing_error, entry_error, entry_process) VALUES ($1, $2, $3, $4, $5, $6) on CONFLICT (start_slot, end_slot) DO NOTHING` + UpsertKnownGapsErrorStmt string = ` + UPDATE ethcl.known_gaps + SET reprocessing_error=$3 + WHERE start_slot=$1 AND end_slot=$2;` + // Get the highest slot if one exists QueryHighestSlotStmt string = "SELECT COALESCE(MAX(slot), 0) FROM ethcl.slots" ) @@ -148,19 +158,24 @@ func (dw *DatabaseWriter) writeFullSlot() error { }).Debug("Starting to write to the DB.") err := dw.writeSlots() if err != nil { + loghelper.LogSlotError(dw.DbSlots.Slot, err).Error("We couldn't write to the ethcl.slots table...") return err } + log.Debug("We finished writing to the ethcl.slots table.") if dw.DbSlots.Status != "skipped" { - err = dw.writeSignedBeaconBlocks() - if err != nil { - return err - } - err = dw.writeBeaconState() - if err != nil { + errG, _ := errgroup.WithContext(context.Background()) + errG.Go(func() error { + return dw.writeSignedBeaconBlocks() + }) + errG.Go(func() error { + return dw.writeBeaconState() + }) + if err := errG.Wait(); err != nil { + loghelper.LogSlotError(dw.DbSlots.Slot, err).Error("We couldn't write to the ethcl block or state table...") return err } } - dw.Metrics.IncrementHeadTrackingInserts(1) + dw.Metrics.IncrementSlotInserts(1) return nil } @@ -291,7 +306,7 @@ func writeReorgs(db sql.Database, slot string, latestBlockRoot string, metrics * } } - metrics.IncrementHeadTrackingReorgs(1) + metrics.IncrementReorgsInsert(1) } // Update the slots table by marking the old slot's as forked. @@ -383,7 +398,7 @@ func upsertKnownGaps(db sql.Database, knModel DbKnownGaps, metric *BeaconClientM "startSlot": knModel.StartSlot, "endSlot": knModel.EndSlot, }).Warn("A new gap has been added to the ethcl.known_gaps table.") - metric.IncrementHeadTrackingKnownGaps(1) + metric.IncrementKnownGapsInserts(1) } // A function to write the gap between the highest slot in the DB and the first processed slot. @@ -404,8 +419,50 @@ func writeStartUpGaps(db sql.Database, tableIncrement int, firstSlot int, metric } } +// A function to update a knownGap range with a reprocessing error. +func updateKnownGapErrors(db sql.Database, startSlot int, endSlot int, reprocessingErr error, metric *BeaconClientMetrics) error { + res, err := db.Exec(context.Background(), UpsertKnownGapsErrorStmt, startSlot, endSlot, reprocessingErr.Error()) + if err != nil { + loghelper.LogSlotRangeError(strconv.Itoa(startSlot), strconv.Itoa(endSlot), err).Error("Unable to update reprocessing_error") + metric.IncrementKnownGapsProcessingError(1) + return err + } + row, err := res.RowsAffected() + if err != nil { + loghelper.LogSlotRangeError(strconv.Itoa(startSlot), strconv.Itoa(endSlot), err).Error("Unable to count rows affected when trying to update reprocessing_error.") + metric.IncrementKnownGapsProcessingError(1) + return err + } + if row != 1 { + loghelper.LogSlotRangeError(strconv.Itoa(startSlot), strconv.Itoa(endSlot), err).WithFields(log.Fields{ + "rowCount": row, + }).Error("The rows affected by the upsert for reprocessing_error is not 1.") + metric.IncrementKnownGapsProcessingError(1) + return err + } + metric.IncrementKnownGapsProcessed(1) + return nil +} + // A quick helper function to calculate the epoch. func calculateEpoch(slot int, slotPerEpoch int) string { epoch := slot / slotPerEpoch return strconv.Itoa(epoch) } + +// A helper function to check to see if the slot is processed. +func isSlotProcessed(db sql.Database, checkProcessStmt string, slot string) (bool, error) { + processRow, err := db.Exec(context.Background(), checkProcessStmt, slot) + if err != nil { + return false, err + } + row, err := processRow.RowsAffected() + if err != nil { + return false, err + } + + if row > 0 { + return true, nil + } + return false, nil +} diff --git a/pkg/beaconclient/healthcheck_test.go b/pkg/beaconclient/healthcheck_test.go index dd60bef..06ba2dd 100644 --- a/pkg/beaconclient/healthcheck_test.go +++ b/pkg/beaconclient/healthcheck_test.go @@ -25,8 +25,8 @@ import ( var _ = Describe("Healthcheck", func() { var ( - BC = beaconclient.CreateBeaconClient(context.Background(), "http", "localhost", 5052) - errBc = beaconclient.CreateBeaconClient(context.Background(), "http", "blah-blah", 1010) + BC = beaconclient.CreateBeaconClient(context.Background(), "http", "localhost", 5052, 10) + errBc = beaconclient.CreateBeaconClient(context.Background(), "http", "blah-blah", 1010, 10) ) Describe("Connecting to the lighthouse client", Label("integration"), func() { Context("When the client is running", func() { diff --git a/pkg/beaconclient/incomingsse.go b/pkg/beaconclient/incomingsse.go index 42fee02..98e44b6 100644 --- a/pkg/beaconclient/incomingsse.go +++ b/pkg/beaconclient/incomingsse.go @@ -94,5 +94,5 @@ func processMsg[P ProcessedEvents](msg []byte, processCh chan<- *P, errorCh chan func (bc *BeaconClient) captureEventTopic() { log.Info("We are capturing all SSE events") go handleIncomingSseEvent(bc.HeadTracking, bc.Metrics.IncrementHeadError) - go handleIncomingSseEvent(bc.ReOrgTracking, bc.Metrics.IncrementHeadReorgError) + go handleIncomingSseEvent(bc.ReOrgTracking, bc.Metrics.IncrementReorgError) } diff --git a/pkg/beaconclient/metrics.go b/pkg/beaconclient/metrics.go index ecf8da5..3304ea5 100644 --- a/pkg/beaconclient/metrics.go +++ b/pkg/beaconclient/metrics.go @@ -21,29 +21,43 @@ import ( // A structure utilized for keeping track of various metrics. Currently, mostly used in testing. type BeaconClientMetrics struct { - HeadTrackingInserts uint64 // Number of head events we successfully wrote to the DB. - HeadTrackingReorgs uint64 // Number of reorg events we successfully wrote to the DB. - HeadTrackingKnownGaps uint64 // Number of known_gaps we successfully wrote to the DB. - HeadError uint64 // Number of errors that occurred when decoding the head message. - HeadReorgError uint64 // Number of errors that occurred when decoding the reorg message. + SlotInserts uint64 // Number of head events we successfully wrote to the DB. + ReorgInserts uint64 // Number of reorg events we successfully wrote to the DB. + KnownGapsInserts uint64 // Number of known_gaps we successfully wrote to the DB. + knownGapsProcessed uint64 // Number of knownGaps processed. + KnownGapsProcessingError uint64 // Number of errors that occurred while processing a knownGap + HeadError uint64 // Number of errors that occurred when decoding the head message. + HeadReorgError uint64 // Number of errors that occurred when decoding the reorg message. } // Wrapper function to increment inserts. If we want to use mutexes later we can easily update all // occurrences here. -func (m *BeaconClientMetrics) IncrementHeadTrackingInserts(inc uint64) { - atomic.AddUint64(&m.HeadTrackingInserts, inc) +func (m *BeaconClientMetrics) IncrementSlotInserts(inc uint64) { + atomic.AddUint64(&m.SlotInserts, inc) } // Wrapper function to increment reorgs. If we want to use mutexes later we can easily update all // occurrences here. -func (m *BeaconClientMetrics) IncrementHeadTrackingReorgs(inc uint64) { - atomic.AddUint64(&m.HeadTrackingReorgs, inc) +func (m *BeaconClientMetrics) IncrementReorgsInsert(inc uint64) { + atomic.AddUint64(&m.ReorgInserts, inc) } // Wrapper function to increment known gaps. If we want to use mutexes later we can easily update all // occurrences here. -func (m *BeaconClientMetrics) IncrementHeadTrackingKnownGaps(inc uint64) { - atomic.AddUint64(&m.HeadTrackingKnownGaps, inc) +func (m *BeaconClientMetrics) IncrementKnownGapsInserts(inc uint64) { + atomic.AddUint64(&m.KnownGapsInserts, inc) +} + +// Wrapper function to increment known gaps processed. If we want to use mutexes later we can easily update all +// occurrences here. +func (m *BeaconClientMetrics) IncrementKnownGapsProcessed(inc uint64) { + atomic.AddUint64(&m.knownGapsProcessed, inc) +} + +// Wrapper function to increment known gaps processing error. If we want to use mutexes later we can easily update all +// occurrences here. +func (m *BeaconClientMetrics) IncrementKnownGapsProcessingError(inc uint64) { + atomic.AddUint64(&m.KnownGapsProcessingError, inc) } // Wrapper function to increment head errors. If we want to use mutexes later we can easily update all @@ -54,6 +68,6 @@ func (m *BeaconClientMetrics) IncrementHeadError(inc uint64) { // Wrapper function to increment reorg errors. If we want to use mutexes later we can easily update all // occurrences here. -func (m *BeaconClientMetrics) IncrementHeadReorgError(inc uint64) { +func (m *BeaconClientMetrics) IncrementReorgError(inc uint64) { atomic.AddUint64(&m.HeadReorgError, inc) } diff --git a/pkg/beaconclient/processevents.go b/pkg/beaconclient/processevents.go index 15e4e16..7610191 100644 --- a/pkg/beaconclient/processevents.go +++ b/pkg/beaconclient/processevents.go @@ -23,9 +23,6 @@ import ( "strconv" log "github.com/sirupsen/logrus" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/database/sql" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper" - "golang.org/x/sync/errgroup" ) // This function will perform the necessary steps to handle a reorg. @@ -63,19 +60,7 @@ func (bc *BeaconClient) handleHead() { log.WithFields(log.Fields{"head": head}).Debug("We are going to start processing the slot.") - go func(db sql.Database, serverAddress string, slot int, blockRoot string, stateRoot string, previousSlot int, previousBlockRoot string, metrics *BeaconClientMetrics, knownGapsTableIncrement int) { - errG := new(errgroup.Group) - errG.Go(func() error { - err = processHeadSlot(db, serverAddress, slot, blockRoot, stateRoot, previousSlot, previousBlockRoot, metrics, knownGapsTableIncrement) - if err != nil { - return err - } - return nil - }) - if err := errG.Wait(); err != nil { - loghelper.LogSlotError(strconv.Itoa(slot), err).Error("Unable to process a slot") - } - }(bc.Db, bc.ServerEndpoint, slot, head.Block, head.State, bc.PreviousSlot, bc.PreviousBlockRoot, bc.Metrics, bc.KnownGapTableIncrement) + go processHeadSlot(bc.Db, bc.ServerEndpoint, slot, head.Block, head.State, bc.PreviousSlot, bc.PreviousBlockRoot, bc.Metrics, bc.KnownGapTableIncrement) log.WithFields(log.Fields{"head": head.Slot}).Debug("We finished calling processHeadSlot.") @@ -83,5 +68,4 @@ func (bc *BeaconClient) handleHead() { bc.PreviousSlot = slot bc.PreviousBlockRoot = head.Block } - } diff --git a/pkg/beaconclient/processhistoric.go b/pkg/beaconclient/processhistoric.go new file mode 100644 index 0000000..2ba3bd4 --- /dev/null +++ b/pkg/beaconclient/processhistoric.go @@ -0,0 +1,223 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// This file contains all the code to process historic slots. + +package beaconclient + +import ( + "context" + "fmt" + "strconv" + "time" + + "github.com/jackc/pgx/v4" + log "github.com/sirupsen/logrus" + "github.com/vulcanize/ipld-ethcl-indexer/pkg/database/sql" + "github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper" +) + +var ( + // Get a single highest priority and non-checked out row row from ethcl.historical_process + getHpEntryStmt string = `SELECT start_slot, end_slot FROM ethcl.historic_process + WHERE checked_out=false + ORDER BY priority ASC + LIMIT 1;` + // Used to periodically check to see if there is a new entry in the ethcl.historic_process table. + checkHpEntryStmt string = `SELECT * FROM ethcl.historic_process WHERE checked_out=false;` + // Used to checkout a row from the ethcl.historic_process table + lockHpEntryStmt string = `UPDATE ethcl.historic_process + SET checked_out=true + WHERE start_slot=$1 AND end_slot=$2;` + // Used to delete an entry from the knownGaps table + deleteHpEntryStmt string = `DELETE FROM ethcl.historic_process + WHERE start_slot=$1 AND end_slot=$2;` +) + +type historicProcessing struct { + db sql.Database + metrics *BeaconClientMetrics +} + +// Get a single row of historical slots from the table. +func (hp historicProcessing) getSlotRange(slotCh chan<- slotsToProcess) []error { + return getBatchProcessRow(hp.db, getHpEntryStmt, checkHpEntryStmt, lockHpEntryStmt, slotCh) +} + +// Remove the table entry. +func (hp historicProcessing) removeTableEntry(processCh <-chan slotsToProcess) error { + return removeRowPostProcess(hp.db, processCh, QueryBySlotStmt, deleteHpEntryStmt) +} + +// Remove the table entry. +func (hp historicProcessing) handleProcessingErrors(errMessages <-chan batchHistoricError) { + for { + errMs := <-errMessages + loghelper.LogSlotError(strconv.Itoa(errMs.slot), errMs.err) + writeKnownGaps(hp.db, 1, errMs.slot, errMs.slot, errMs.err, errMs.errProcess, hp.metrics) + } +} + +// Process the slot range. +func processSlotRangeWorker(workCh <-chan int, errCh chan<- batchHistoricError, db sql.Database, serverAddress string, metrics *BeaconClientMetrics) { + for slot := range workCh { + log.Debug("Handling slot: ", slot) + err, errProcess := handleHistoricSlot(db, serverAddress, slot, metrics) + errMs := batchHistoricError{ + err: err, + errProcess: errProcess, + slot: slot, + } + if err != nil { + errCh <- errMs + } + } +} + +// A wrapper function that insert the start_slot and end_slot from a single row into a channel. +// It also locks the row by updating the checked_out column. +// The statement for getting the start_slot and end_slot must be provided. +// The statement for "locking" the row must also be provided. +func getBatchProcessRow(db sql.Database, getStartEndSlotStmt string, checkNewRowsStmt string, checkOutRowStmt string, slotCh chan<- slotsToProcess) []error { + errCount := make([]error, 0) + + // 5 is an arbitrary number. It allows us to retry a few times before + // ending the application. + prevErrCount := 0 + for len(errCount) < 5 { + if len(errCount) != prevErrCount { + log.WithFields(log.Fields{ + "errCount": errCount, + }).Error("New error entry added") + } + processRow, err := db.Exec(context.Background(), checkNewRowsStmt) + if err != nil { + errCount = append(errCount, err) + } + row, err := processRow.RowsAffected() + if err != nil { + errCount = append(errCount, err) + } + if row < 1 { + time.Sleep(1000 * time.Millisecond) + log.Debug("We are checking rows, be patient") + continue + } + log.Debug("We found a new row") + ctx := context.Background() + + // Setup TX + tx, err := db.Begin(ctx) + if err != nil { + loghelper.LogError(err).Error("We are unable to Begin a SQL transaction") + errCount = append(errCount, err) + continue + } + defer func() { + err := tx.Rollback(ctx) + if err != nil { + loghelper.LogError(err).Error("We were unable to Rollback a transaction") + errCount = append(errCount, err) + } + }() + + // Query the DB for slots. + sp := slotsToProcess{} + err = tx.QueryRow(ctx, getStartEndSlotStmt).Scan(&sp.startSlot, &sp.endSlot) + if err != nil { + if err == pgx.ErrNoRows { + time.Sleep(100 * time.Millisecond) + continue + } + loghelper.LogSlotRangeStatementError(strconv.Itoa(sp.startSlot), strconv.Itoa(sp.endSlot), getStartEndSlotStmt, err).Error("Unable to get a row") + errCount = append(errCount, err) + continue + } + + // Checkout the Row + res, err := tx.Exec(ctx, checkOutRowStmt, sp.startSlot, sp.endSlot) + if err != nil { + loghelper.LogSlotRangeStatementError(strconv.Itoa(sp.startSlot), strconv.Itoa(sp.endSlot), checkOutRowStmt, err).Error("Unable to checkout the row") + errCount = append(errCount, err) + continue + } + rows, err := res.RowsAffected() + if err != nil { + loghelper.LogSlotRangeStatementError(strconv.Itoa(sp.startSlot), strconv.Itoa(sp.endSlot), checkOutRowStmt, fmt.Errorf("Unable to determine the rows affected when trying to checkout a row.")) + errCount = append(errCount, err) + continue + } + if rows > 1 { + loghelper.LogSlotRangeStatementError(strconv.Itoa(sp.startSlot), strconv.Itoa(sp.endSlot), checkOutRowStmt, err).WithFields(log.Fields{ + "rowsReturn": rows, + }).Error("We locked too many rows.....") + errCount = append(errCount, err) + continue + } + if rows == 0 { + loghelper.LogSlotRangeStatementError(strconv.Itoa(sp.startSlot), strconv.Itoa(sp.endSlot), checkOutRowStmt, err).WithFields(log.Fields{ + "rowsReturn": rows, + }).Error("We did not lock a single row.") + errCount = append(errCount, err) + continue + } + err = tx.Commit(ctx) + if err != nil { + loghelper.LogSlotRangeError(strconv.Itoa(sp.startSlot), strconv.Itoa(sp.endSlot), err).Error("Unable commit transactions.") + errCount = append(errCount, err) + continue + } + slotCh <- sp + } + log.WithFields(log.Fields{ + "ErrCount": errCount, + }).Error("The ErrCounter") + return errCount +} + +// After a row has been processed it should be removed from its appropriate table. +func removeRowPostProcess(db sql.Database, processCh <-chan slotsToProcess, checkProcessedStmt, removeStmt string) error { + errCh := make(chan error) + for { + slots := <-processCh + // Make sure the start and end slot exist in the slots table. + go func() { + finishedProcess := false + for !finishedProcess { + isStartProcess, err := isSlotProcessed(db, checkProcessedStmt, strconv.Itoa(slots.startSlot)) + if err != nil { + errCh <- err + } + isEndProcess, err := isSlotProcessed(db, checkProcessedStmt, strconv.Itoa(slots.endSlot)) + if err != nil { + errCh <- err + } + if isStartProcess && isEndProcess { + finishedProcess = true + } + } + + _, err := db.Exec(context.Background(), removeStmt, strconv.Itoa(slots.startSlot), strconv.Itoa(slots.endSlot)) + if err != nil { + errCh <- err + } + + }() + if len(errCh) != 0 { + return <-errCh + } + } +} diff --git a/pkg/beaconclient/processknowngaps.go b/pkg/beaconclient/processknowngaps.go new file mode 100644 index 0000000..6c07c02 --- /dev/null +++ b/pkg/beaconclient/processknowngaps.go @@ -0,0 +1,101 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// This file contains all the code to process historic slots. + +package beaconclient + +import ( + "context" + "strconv" + + log "github.com/sirupsen/logrus" + "github.com/vulcanize/ipld-ethcl-indexer/pkg/database/sql" + "github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper" +) + +var ( + // Get a single non-checked out row row from ethcl.known_gaps. + getKgEntryStmt string = `SELECT start_slot, end_slot FROM ethcl.known_gaps + WHERE checked_out=false + LIMIT 1;` + // Used to periodically check to see if there is a new entry in the ethcl.known_gaps table. + checkKgEntryStmt string = `SELECT * FROM ethcl.known_gaps WHERE checked_out=false;` + // Used to checkout a row from the ethcl.known_gaps table + lockKgEntryStmt string = `UPDATE ethcl.known_gaps + SET checked_out=true + WHERE start_slot=$1 AND end_slot=$2;` + // Used to delete an entry from the knownGaps table + deleteKgEntryStmt string = `DELETE FROM ethcl.known_gaps + WHERE start_slot=$1 AND end_slot=$2;` + // Used to check to see if a single slot exists in the known_gaps table. + checkKgSingleSlotStmt string = `SELECT start_slot, end_slot FROM ethcl.known_gaps + WHERE start_slot=$1 AND end_slot=$2;` +) + +type knownGapsProcessing struct { + db sql.Database + metrics *BeaconClientMetrics +} + +// This function will perform all the heavy lifting for tracking the head of the chain. +func (bc *BeaconClient) ProcessKnownGaps(maxWorkers int) []error { + log.Info("We are starting the known gaps processing service.") + hp := knownGapsProcessing{db: bc.Db, metrics: bc.Metrics} + errs := handleBatchProcess(maxWorkers, hp, hp.db, bc.ServerEndpoint, bc.Metrics) + log.Debug("Exiting known gaps processing service") + return errs +} + +// Get a single row of historical slots from the table. +func (kgp knownGapsProcessing) getSlotRange(slotCh chan<- slotsToProcess) []error { + return getBatchProcessRow(kgp.db, getKgEntryStmt, checkKgEntryStmt, lockKgEntryStmt, slotCh) +} + +// Remove the table entry. +func (kgp knownGapsProcessing) removeTableEntry(processCh <-chan slotsToProcess) error { + return removeRowPostProcess(kgp.db, processCh, QueryBySlotStmt, deleteKgEntryStmt) +} + +// Remove the table entry. +func (kgp knownGapsProcessing) handleProcessingErrors(errMessages <-chan batchHistoricError) { + for { + errMs := <-errMessages + + // Check to see if this if this entry already exists. + res, err := kgp.db.Exec(context.Background(), checkKgSingleSlotStmt, errMs.slot, errMs.slot) + if err != nil { + loghelper.LogSlotError(strconv.Itoa(errMs.slot), err).Error("Unable to see if this slot is in the ethcl.known_gaps table") + } + + rows, err := res.RowsAffected() + if err != nil { + loghelper.LogSlotError(strconv.Itoa(errMs.slot), err).WithFields(log.Fields{ + "queryStatement": checkKgSingleSlotStmt, + }).Error("Unable to get the number of rows affected by this statement.") + } + + if rows > 0 { + loghelper.LogSlotError(strconv.Itoa(errMs.slot), errMs.err).Error("We received an error when processing a knownGap") + err = updateKnownGapErrors(kgp.db, errMs.slot, errMs.slot, errMs.err, kgp.metrics) + if err != nil { + loghelper.LogSlotError(strconv.Itoa(errMs.slot), err).Error("Error processing known gap") + } + } else { + writeKnownGaps(kgp.db, 1, errMs.slot, errMs.slot, errMs.err, errMs.errProcess, kgp.metrics) + } + } +} diff --git a/pkg/beaconclient/processslot.go b/pkg/beaconclient/processslot.go index 4e60109..146d53c 100644 --- a/pkg/beaconclient/processslot.go +++ b/pkg/beaconclient/processslot.go @@ -45,7 +45,6 @@ var ( return fmt.Sprintf("Unable to properly unmarshal the Slot field in the %s.", obj) } ParentRootUnmarshalError = "Unable to properly unmarshal the ParentRoot field in the SignedBeaconBlock." - MissingIdentifiedError = "Can't query state without a set slot or block_root" MissingEth1Data = "Can't get the Eth1 block_hash" VersionedUnmarshalerError = "Unable to create a versioned unmarshaler" ) @@ -78,7 +77,9 @@ type ProcessSlot struct { } // This function will do all the work to process the slot and write it to the DB. -func processFullSlot(db sql.Database, serverAddress string, slot int, blockRoot string, stateRoot string, previousSlot int, previousBlockRoot string, headOrHistoric string, metrics *BeaconClientMetrics, knownGapsTableIncrement int) error { +// It will return the error and error process. The error process is used for providing reach detail to the +// known_gaps table. +func processFullSlot(db sql.Database, serverAddress string, slot int, blockRoot string, stateRoot string, previousSlot int, previousBlockRoot string, headOrHistoric string, metrics *BeaconClientMetrics, knownGapsTableIncrement int) (error, string) { ps := &ProcessSlot{ Slot: slot, BlockRoot: blockRoot, @@ -110,60 +111,55 @@ func processFullSlot(db sql.Database, serverAddress string, slot int, blockRoot }) if err := g.Wait(); err != nil { - writeKnownGaps(ps.Db, 1, ps.Slot, ps.Slot, err, "processSlot", ps.Metrics) - return err - } - - if ps.HeadOrHistoric == "head" && previousSlot == 0 && previousBlockRoot == "" { - writeStartUpGaps(db, knownGapsTableIncrement, ps.Slot, ps.Metrics) + return err, "processSlot" } // Get this object ready to write - blockRootEndpoint := serverAddress + BcBlockRootEndpoint(strconv.Itoa(ps.Slot)) - dw, err := ps.createWriteObjects(blockRootEndpoint) + dw, err := ps.createWriteObjects() if err != nil { - writeKnownGaps(ps.Db, 1, ps.Slot, ps.Slot, err, "blockRoot", ps.Metrics) - return err + return err, "blockRoot" } // Write the object to the DB. err = dw.writeFullSlot() if err != nil { - writeKnownGaps(ps.Db, 1, ps.Slot, ps.Slot, err, "processSlot", ps.Metrics) - return err + return err, "processSlot" } // Handle any reorgs or skipped slots. headOrHistoric = strings.ToLower(headOrHistoric) if headOrHistoric != "head" && headOrHistoric != "historic" { - return fmt.Errorf("headOrHistoric must be either historic or head!") + return fmt.Errorf("headOrHistoric must be either historic or head!"), "" } if ps.HeadOrHistoric == "head" && previousSlot != 0 && previousBlockRoot != "" && ps.Status != "skipped" { ps.checkPreviousSlot(previousSlot, previousBlockRoot, knownGapsTableIncrement) } - return nil + return nil, "" } // Handle a slot that is at head. A wrapper function for calling `handleFullSlot`. -func processHeadSlot(db sql.Database, serverAddress string, slot int, blockRoot string, stateRoot string, previousSlot int, previousBlockRoot string, metrics *BeaconClientMetrics, knownGapsTableIncrement int) error { - return processFullSlot(db, serverAddress, slot, blockRoot, stateRoot, previousSlot, previousBlockRoot, "head", metrics, knownGapsTableIncrement) +func processHeadSlot(db sql.Database, serverAddress string, slot int, blockRoot string, stateRoot string, previousSlot int, previousBlockRoot string, metrics *BeaconClientMetrics, knownGapsTableIncrement int) { + // Get the knownGaps at startUp. + if previousSlot == 0 && previousBlockRoot == "" { + writeStartUpGaps(db, knownGapsTableIncrement, slot, metrics) + } + err, errReason := processFullSlot(db, serverAddress, slot, blockRoot, stateRoot, previousSlot, previousBlockRoot, "head", metrics, knownGapsTableIncrement) + if err != nil { + writeKnownGaps(db, knownGapsTableIncrement, slot, slot, err, errReason, metrics) + } } // Handle a historic slot. A wrapper function for calling `handleFullSlot`. -// Commented because of the linter...... LOL -//func handleHistoricSlot(db sql.Database, serverAddress string, slot int) error { -// return handleFullSlot(db, serverAddress, slot, "", "", 0, "", "historic") -//} +func handleHistoricSlot(db sql.Database, serverAddress string, slot int, metrics *BeaconClientMetrics) (error, string) { + return processFullSlot(db, serverAddress, slot, "", "", 0, "", "historic", metrics, 1) +} // Update the SszSignedBeaconBlock and FullSignedBeaconBlock object with their respective values. func (ps *ProcessSlot) getSignedBeaconBlock(serverAddress string, vmCh <-chan *dt.VersionedUnmarshaler) error { var blockIdentifier string // Used to query the block if ps.BlockRoot != "" { blockIdentifier = ps.BlockRoot - } else if ps.Slot != 0 { - blockIdentifier = strconv.Itoa(ps.Slot) } else { - log.Error(MissingIdentifiedError) - return fmt.Errorf(MissingIdentifiedError) + blockIdentifier = strconv.Itoa(ps.Slot) } blockEndpoint := serverAddress + BcBlockQueryEndpoint + blockIdentifier var err error @@ -208,11 +204,8 @@ func (ps *ProcessSlot) getBeaconState(serverEndpoint string, vmCh chan<- *dt.Ver var stateIdentifier string // Used to query the state if ps.StateRoot != "" { stateIdentifier = ps.StateRoot - } else if ps.Slot != 0 { - stateIdentifier = strconv.Itoa(ps.Slot) } else { - log.Error(MissingIdentifiedError) - return fmt.Errorf(MissingIdentifiedError) + stateIdentifier = strconv.Itoa(ps.Slot) } stateEndpoint := serverEndpoint + BcStateQueryEndpoint + stateIdentifier ps.SszBeaconState, _, _ = querySsz(stateEndpoint, strconv.Itoa(ps.Slot)) @@ -243,10 +236,15 @@ func (ps *ProcessSlot) checkPreviousSlot(previousSlot int, previousBlockRoot str parentRoot := "0x" + hex.EncodeToString(ps.FullSignedBeaconBlock.Block().ParentRoot()) if previousSlot == int(ps.FullBeaconState.Slot()) { log.WithFields(log.Fields{ - "slot": ps.FullBeaconState.Slot, + "slot": ps.FullBeaconState.Slot(), "fork": true, }).Warn("A fork occurred! The previous slot and current slot match.") writeReorgs(ps.Db, strconv.Itoa(ps.Slot), ps.BlockRoot, ps.Metrics) + } else if previousSlot > int(ps.FullBeaconState.Slot()) { + log.WithFields(log.Fields{ + "previousSlot": previousSlot, + "curSlot": int(ps.FullBeaconState.Slot()), + }).Warn("We noticed the previous slot is greater than the current slot.") } else if previousSlot+1 != int(ps.FullBeaconState.Slot()) { log.WithFields(log.Fields{ "previousSlot": previousSlot, @@ -265,7 +263,7 @@ func (ps *ProcessSlot) checkPreviousSlot(previousSlot int, previousBlockRoot str } // Transforms all the raw data into DB models that can be written to the DB. -func (ps *ProcessSlot) createWriteObjects(blockRootEndpoint string) (*DatabaseWriter, error) { +func (ps *ProcessSlot) createWriteObjects() (*DatabaseWriter, error) { var ( stateRoot string blockRoot string @@ -289,10 +287,13 @@ func (ps *ProcessSlot) createWriteObjects(blockRootEndpoint string) (*DatabaseWr blockRoot = ps.BlockRoot } else { var err error - blockRoot, err = queryBlockRoot(blockRootEndpoint, strconv.Itoa(ps.Slot)) + rawBlockRoot, err := ps.FullSignedBeaconBlock.Block().HashTreeRoot() + //blockRoot, err = queryBlockRoot(blockRootEndpoint, strconv.Itoa(ps.Slot)) if err != nil { return nil, err } + blockRoot = "0x" + hex.EncodeToString(rawBlockRoot[:]) + log.WithFields(log.Fields{"blockRoot": blockRoot}).Debug("Block Root from ssz:") } eth1BlockHash = "0x" + hex.EncodeToString(ps.FullSignedBeaconBlock.Block().Body().Eth1Data().BlockHash) } diff --git a/pkg/loghelper/logerror.go b/pkg/loghelper/logerror.go index 94a5069..f6dce63 100644 --- a/pkg/loghelper/logerror.go +++ b/pkg/loghelper/logerror.go @@ -27,9 +27,26 @@ func LogError(err error) *log.Entry { }) } +// A simple herlper function to log slot and error. func LogSlotError(slot string, err error) *log.Entry { return log.WithFields(log.Fields{ "err": err, "slot": slot, }) } + +func LogSlotRangeError(startSlot string, endSlot string, err error) *log.Entry { + return log.WithFields(log.Fields{ + "err": err, + "startSlot": startSlot, + "endSlot": endSlot, + }) +} +func LogSlotRangeStatementError(startSlot string, endSlot string, statement string, err error) *log.Entry { + return log.WithFields(log.Fields{ + "err": err, + "startSlot": startSlot, + "endSlot": endSlot, + "SqlStatement": statement, + }) +} From 9160dded11ddc45acfa1e8fc21781f67dfbf4db7 Mon Sep 17 00:00:00 2001 From: Abdul Rabbani <58230246+abdulrabbani00@users.noreply.github.com> Date: Wed, 25 May 2022 10:19:29 -0400 Subject: [PATCH 4/9] Add Prometheus Metrics (#49) * Add Prometheus Metrics * Fix Prometheus duplicate error * Handle duplicate registrations --- .gitignore | 1 + README.md | 17 +--------- cmd/capture.go | 15 +++++++++ cmd/head.go | 23 ++++++++++++++ cmd/historic.go | 6 ++++ example.ipld-ethcl-indexer-config.json | 9 ++++-- pkg/beaconclient/beaconclient.go | 8 +---- pkg/beaconclient/healthcheck_test.go | 10 ++++-- pkg/beaconclient/metrics.go | 43 ++++++++++++++++++++++++++ 9 files changed, 105 insertions(+), 27 deletions(-) diff --git a/.gitignore b/.gitignore index 1a3bc3a..aa7c2e7 100644 --- a/.gitignore +++ b/.gitignore @@ -4,5 +4,6 @@ ipld-ethcl-indexer.log report.json cover.profile temp/* +.vscode/* pkg/beaconclient/ssz-data/ *.test \ No newline at end of file diff --git a/README.md b/README.md index 2b5ab8b..9096054 100644 --- a/README.md +++ b/README.md @@ -37,22 +37,7 @@ To run the application, do as follows: 2. Run the start up command. ``` -go run -race main.go capture historic --db.address localhost \ - --db.password password \ - --db.port 8076 \ - --db.username vdbm \ - --db.name vulcanize_testing \ - --db.driver PGX \ - --bc.address localhost \ - --bc.port 5052 \ - --bc.maxHistoricProcessWorker 2 \ - --bc.maxKnownGapsWorker 2 \ - --bc.knownGapsProcess=true \ - --bc.connectionProtocol http \ - --t.skipSync=false \ - --log.level debug \ - --log.output=true \ - --kg.increment 1000000 +go run -race main.go capture historic --config ./example.ipld-ethcl-indexer-config.json ``` ## Running Tests diff --git a/cmd/capture.go b/cmd/capture.go index aad3aef..e1b46c8 100644 --- a/cmd/capture.go +++ b/cmd/capture.go @@ -42,6 +42,9 @@ var ( kgMaxWorker int kgTableIncrement int kgProcessGaps bool + pmMetrics bool + pmAddress string + pmPort int maxWaitSecondsShutdown time.Duration = time.Duration(20) * time.Second notifierCh chan os.Signal = make(chan os.Signal, 1) testDisregardSync bool @@ -100,6 +103,11 @@ func init() { captureCmd.PersistentFlags().IntVarP(&kgTableIncrement, "kg.increment", "", 10000, "The max slots within a single entry to the known_gaps table.") captureCmd.PersistentFlags().IntVarP(&kgMaxWorker, "kg.maxKnownGapsWorker", "", 30, "The number of workers that should be actively processing slots from the ethcl.known_gaps table. Be careful of system memory.") + // Prometheus Specific + captureCmd.PersistentFlags().BoolVarP(&pmMetrics, "pm.metrics", "", true, "Should we capture prometheus metrics.") + captureCmd.PersistentFlags().StringVarP(&pmAddress, "pm.address", "", "localhost", "Address to send the prometheus metrics.") + captureCmd.PersistentFlags().IntVarP(&pmPort, "pm.port", "", 9000, "The port to send prometheus metrics.") + //// Testing Specific captureCmd.PersistentFlags().BoolVar(&testDisregardSync, "t.skipSync", false, "Should we disregard the head sync?") @@ -145,6 +153,13 @@ func init() { err = viper.BindPFlag("kg.processKnownGaps", captureCmd.PersistentFlags().Lookup("kg.maxKnownGapsWorker")) exitErr(err) + // Prometheus Specific + err = viper.BindPFlag("pm.metrics", captureCmd.PersistentFlags().Lookup("pm.metrics")) + exitErr(err) + err = viper.BindPFlag("pm.address", captureCmd.PersistentFlags().Lookup("pm.address")) + exitErr(err) + err = viper.BindPFlag("pm.port", captureCmd.PersistentFlags().Lookup("pm.port")) + exitErr(err) } // Helper function to catch any errors. diff --git a/cmd/head.go b/cmd/head.go index 7589fd5..1006fe1 100644 --- a/cmd/head.go +++ b/cmd/head.go @@ -19,7 +19,10 @@ package cmd import ( "context" "fmt" + "net/http" + "strconv" + "github.com/prometheus/client_golang/prometheus/promhttp" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" "github.com/spf13/viper" @@ -52,6 +55,11 @@ func startHeadTracking() { StopApplicationPreBoot(err, Db) } + if viper.GetBool("pm.metrics") { + addr := viper.GetString("pm.address") + ":" + strconv.Itoa(viper.GetInt("pm.port")) + serveProm(addr) + } + log.Info("The Beacon Client has booted successfully!") // Capture head blocks go Bc.CaptureHead() @@ -85,3 +93,18 @@ func startHeadTracking() { func init() { captureCmd.AddCommand(headCmd) } + +func serveProm(addr string) { + mux := http.NewServeMux() + mux.Handle("/metrics", promhttp.Handler()) + + srv := http.Server{ + Addr: addr, + Handler: mux, + } + go func() { + if err := srv.ListenAndServe(); err != nil { + loghelper.LogError(err).WithField("endpoint", addr).Error("Error with prometheus") + } + }() +} diff --git a/cmd/historic.go b/cmd/historic.go index 519d00e..cfd9d03 100644 --- a/cmd/historic.go +++ b/cmd/historic.go @@ -20,6 +20,7 @@ import ( "context" "fmt" "os" + "strconv" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" @@ -54,6 +55,11 @@ func startHistoricProcessing() { StopApplicationPreBoot(err, Db) } + if viper.GetBool("pm.metrics") { + addr := viper.GetString("pm.address") + ":" + strconv.Itoa(viper.GetInt("pm.port")) + serveProm(addr) + } + errG, _ := errgroup.WithContext(context.Background()) errG.Go(func() error { diff --git a/example.ipld-ethcl-indexer-config.json b/example.ipld-ethcl-indexer-config.json index 82513b4..0929773 100644 --- a/example.ipld-ethcl-indexer-config.json +++ b/example.ipld-ethcl-indexer-config.json @@ -8,7 +8,7 @@ "driver": "PGX" }, "bc": { - "address": "10.203.8.51", + "address": "localhost", "port": 5052, "type": "lighthouse", "bootRetryInterval": 30, @@ -17,7 +17,7 @@ "connectionProtocol": "http" }, "t": { - "skipSync": false + "skipSync": true }, "log": { "level": "debug", @@ -29,5 +29,10 @@ "increment": 10000, "processKnownGaps": true, "maxKnownGapsWorker": 2 + }, + "pm": { + "address": "localhost", + "port": 9000, + "metrics": true } } diff --git a/pkg/beaconclient/beaconclient.go b/pkg/beaconclient/beaconclient.go index d277201..15f24b2 100644 --- a/pkg/beaconclient/beaconclient.go +++ b/pkg/beaconclient/beaconclient.go @@ -93,13 +93,7 @@ func CreateBeaconClient(ctx context.Context, connectionProtocol string, bcAddres KnownGapTableIncrement: bcKgTableIncrement, HeadTracking: createSseEvent[Head](endpoint, BcHeadTopicEndpoint), ReOrgTracking: createSseEvent[ChainReorg](endpoint, bcReorgTopicEndpoint), - Metrics: &BeaconClientMetrics{ - SlotInserts: 0, - ReorgInserts: 0, - KnownGapsInserts: 0, - HeadError: 0, - HeadReorgError: 0, - }, + Metrics: CreateBeaconClientMetrics(), //FinalizationTracking: createSseEvent[FinalizedCheckpoint](endpoint, bcFinalizedTopicEndpoint), } } diff --git a/pkg/beaconclient/healthcheck_test.go b/pkg/beaconclient/healthcheck_test.go index 06ba2dd..df92398 100644 --- a/pkg/beaconclient/healthcheck_test.go +++ b/pkg/beaconclient/healthcheck_test.go @@ -25,9 +25,15 @@ import ( var _ = Describe("Healthcheck", func() { var ( - BC = beaconclient.CreateBeaconClient(context.Background(), "http", "localhost", 5052, 10) - errBc = beaconclient.CreateBeaconClient(context.Background(), "http", "blah-blah", 1010, 10) + BC *beaconclient.BeaconClient + errBc *beaconclient.BeaconClient ) + + BeforeEach(func() { + BC = beaconclient.CreateBeaconClient(context.Background(), "http", "localhost", 5052, 10) + errBc = beaconclient.CreateBeaconClient(context.Background(), "http", "blah-blah", 1010, 10) + + }) Describe("Connecting to the lighthouse client", Label("integration"), func() { Context("When the client is running", func() { It("We should connect successfully", func() { diff --git a/pkg/beaconclient/metrics.go b/pkg/beaconclient/metrics.go index 3304ea5..6156e2d 100644 --- a/pkg/beaconclient/metrics.go +++ b/pkg/beaconclient/metrics.go @@ -17,8 +17,50 @@ package beaconclient import ( "sync/atomic" + + "github.com/prometheus/client_golang/prometheus" + "github.com/sirupsen/logrus" + "github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper" ) +//Create a metric struct and register each channel with prometheus +func CreateBeaconClientMetrics() *BeaconClientMetrics { + metrics := &BeaconClientMetrics{ + SlotInserts: 0, + ReorgInserts: 0, + KnownGapsInserts: 0, + knownGapsProcessed: 0, + KnownGapsProcessingError: 0, + HeadError: 0, + HeadReorgError: 0, + } + prometheusRegisterHelper("slot_inserts", "Keeps track of the number of slots we have inserted.", &metrics.SlotInserts) + prometheusRegisterHelper("reorg_inserts", "Keeps track of the number of reorgs we have inserted.", &metrics.ReorgInserts) + prometheusRegisterHelper("known_gaps_inserts", "Keeps track of the number of known gaps we have inserted.", &metrics.KnownGapsInserts) + prometheusRegisterHelper("known_gaps_processed", "Keeps track of the number of known gaps we processed.", &metrics.knownGapsProcessed) + prometheusRegisterHelper("known_gaps_processing_error", "Keeps track of the number of known gaps we had errors processing.", &metrics.KnownGapsProcessingError) + prometheusRegisterHelper("head_error", "Keeps track of the number of errors we had processing head messages.", &metrics.HeadError) + prometheusRegisterHelper("head_reorg_error", "Keeps track of the number of errors we had processing reorg messages.", &metrics.HeadReorgError) + return metrics +} + +func prometheusRegisterHelper(name string, help string, varPointer *uint64) { + err := prometheus.Register(prometheus.NewCounterFunc( + prometheus.CounterOpts{ + Namespace: "beacon_client", + Subsystem: "", + Name: name, + Help: help, + ConstLabels: map[string]string{}, + }, + func() float64 { + return float64(atomic.LoadUint64(varPointer)) + })) + if err != nil && err.Error() != "duplicate metrics collector registration attempted" { + loghelper.LogError(err).WithField("name", name).Error("Unable to register counter.") + } +} + // A structure utilized for keeping track of various metrics. Currently, mostly used in testing. type BeaconClientMetrics struct { SlotInserts uint64 // Number of head events we successfully wrote to the DB. @@ -33,6 +75,7 @@ type BeaconClientMetrics struct { // Wrapper function to increment inserts. If we want to use mutexes later we can easily update all // occurrences here. func (m *BeaconClientMetrics) IncrementSlotInserts(inc uint64) { + logrus.Debug("Incrementing Slot Insert") atomic.AddUint64(&m.SlotInserts, inc) } From e3b4fad3c7516f18bcaa6ba39c032eb74c4c853e Mon Sep 17 00:00:00 2001 From: Abdul Rabbani <58230246+abdulrabbani00@users.noreply.github.com> Date: Fri, 3 Jun 2022 12:47:13 -0400 Subject: [PATCH 5/9] Capture the unique identifier everywhere its needed. (#51) * Capture the unique identifier everywhere its needed. * Handle graceful shutdown for historical processing * Update flags and minor shutdown updates * Update checkout statement for historic * update cicd pipeline * Add secret * Use deploy-key instead of personal PAT * update variables --- .github/workflows/on-pr.yml | 192 ++--------------------- .github/workflows/on-publish.yml | 9 ++ .github/workflows/tests.yml | 201 +++++++++++++++++++++++++ cmd/boot.go | 10 +- cmd/capture.go | 6 + cmd/head.go | 5 +- cmd/historic.go | 4 +- example.ipld-ethcl-indexer-config.json | 3 +- go.mod | 2 +- internal/boot/boot.go | 28 ++-- internal/boot/boot_test.go | 20 ++- internal/shutdown/shutdown.go | 67 +++++++-- internal/shutdown/shutdown_test.go | 54 +++---- pkg/beaconclient/beaconclient.go | 23 ++- pkg/beaconclient/capturehead_test.go | 8 +- pkg/beaconclient/capturehistoric.go | 51 +++++-- pkg/beaconclient/healthcheck_test.go | 11 +- pkg/beaconclient/metrics.go | 43 ++++-- pkg/beaconclient/processhistoric.go | 36 ++++- pkg/beaconclient/processknowngaps.go | 51 +++++-- pkg/database/sql/postgres/database.go | 2 +- 21 files changed, 526 insertions(+), 300 deletions(-) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/on-pr.yml b/.github/workflows/on-pr.yml index 1e7f347..ac5b146 100644 --- a/.github/workflows/on-pr.yml +++ b/.github/workflows/on-pr.yml @@ -22,189 +22,15 @@ on: - "!LICENSE" - "!.github/workflows/**" - ".github/workflows/on-pr.yml" + - ".github/workflows/tests.yml" - "**" -env: - stack-orchestrator-ref: ${{ github.event.inputs.stack-orchestrator-ref || 'main'}} - ipld-ethcl-db-ref: ${{ github.event.inputs.ipld-ethcl-db-ref || 'feature/historic-processing' }} - ssz-data-ref: ${{ github.event.inputs.ssz-data-ref || 'main' }} - GOPATH: /tmp/go jobs: - build: - name: Run Docker Build - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - path: "./ipld-ethcl-indexer" - - - uses: actions/checkout@v3 - with: - ref: ${{ env.stack-orchestrator-ref }} - path: "./stack-orchestrator/" - repository: vulcanize/stack-orchestrator - fetch-depth: 0 - - - uses: actions/checkout@v3 - with: - ref: ${{ env.ipld-ethcl-db-ref }} - repository: vulcanize/ipld-ethcl-db - path: "./ipld-ethcl-db/" - token: ${{ secrets.GH_PAT }} - fetch-depth: 0 - - - name: Create config file - run: | - echo vulcanize_ipld_ethcl_db=$GITHUB_WORKSPACE/ipld-ethcl-db/ > ./config.sh - echo vulcanize_ipld_ethcl_indexer=$GITHUB_WORKSPACE/ipld-ethcl-indexer >> ./config.sh - echo ethcl_capture_mode=boot >> ./config.sh - echo ethcl_skip_sync=true >> ./config.sh - echo ethcl_known_gap_increment=1000000 >> ./config.sh - cat ./config.sh - - - name: Run docker compose - run: | - docker-compose \ - -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-ethcl-db.yml" \ - -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/latest/docker-compose-lighthouse.yml" \ - -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-ipld-ethcl-indexer.yml" \ - --env-file ./config.sh \ - up -d --build - - - name: Check to make sure HEALTH file is present - shell: bash - run: | - until $(docker compose -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-ipld-ethcl-indexer.yml" cp ipld-ethcl-indexer:/root/HEALTH ./HEALTH) ; do sleep 10; done - cat ./HEALTH - if [[ "$(cat ./HEALTH)" -eq "0" ]]; then echo "Application boot successful" && (exit 0); else docker compose -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-ipld-ethcl-indexer.yml" cp ipld-ethcl-indexer:/root/ipld-ethcl-indexer.log . && cat ipld-ethcl-indexer.log && (exit 1); fi - - unit-test: - name: Run Unit Tests - runs-on: ubuntu-latest - ## IF you want to update the default branch for `pull_request runs, do it after the ||` - steps: - - name: Create GOPATH - run: mkdir -p /tmp/go - - - uses: actions/checkout@v2 - with: - path: "./ipld-ethcl-indexer" - - - uses: actions/checkout@v3 - with: - ref: ${{ env.stack-orchestrator-ref }} - path: "./stack-orchestrator/" - repository: vulcanize/stack-orchestrator - fetch-depth: 0 - - - uses: actions/checkout@v3 - with: - ref: ${{ env.ipld-ethcl-db-ref }} - repository: vulcanize/ipld-ethcl-db - path: "./ipld-ethcl-db/" - token: ${{ secrets.GH_PAT }} - fetch-depth: 0 - - - uses: actions/checkout@v3 - with: - ref: ${{ env.ssz-data-ref }} - repository: vulcanize/ssz-data - path: "./ipld-ethcl-indexer/pkg/beaconclient/ssz-data" - fetch-depth: 0 - - - name: Create config file - run: | - echo vulcanize_ipld_ethcl_db=$GITHUB_WORKSPACE/ipld-ethcl-db/ > ./config.sh - echo vulcanize_ipld_ethcl_indexer=$GITHUB_WORKSPACE/ipld-ethcl-indexer >> ./config.sh - cat ./config.sh - - - name: Run docker compose - run: | - docker-compose \ - -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-ethcl-db.yml" \ - --env-file ./config.sh \ - up -d --build - - - uses: actions/setup-go@v3 - with: - go-version: ">=1.17.0" - check-latest: true - - - name: Install packages - run: | - go install github.com/onsi/ginkgo/v2/ginkgo@latest - which ginkgo - - - name: Run the tests using Make - run: | - cd ipld-ethcl-indexer - make unit-test-ci - - integration-test: - name: Run Integration Tests - runs-on: ubuntu-latest - steps: - - name: Create GOPATH - run: mkdir -p /tmp/go - - - uses: actions/checkout@v2 - with: - path: "./ipld-ethcl-indexer" - - - uses: actions/checkout@v3 - with: - ref: ${{ env.stack-orchestrator-ref }} - path: "./stack-orchestrator/" - repository: vulcanize/stack-orchestrator - fetch-depth: 0 - - - uses: actions/checkout@v3 - with: - ref: ${{ env.ipld-ethcl-db-ref }} - repository: vulcanize/ipld-ethcl-db - path: "./ipld-ethcl-db/" - token: ${{ secrets.GH_PAT }} - fetch-depth: 0 - - - name: Create config file - run: | - echo vulcanize_ipld_ethcl_db=$GITHUB_WORKSPACE/ipld-ethcl-db/ > ./config.sh - echo vulcanize_ipld_ethcl_indexer=$GITHUB_WORKSPACE/ipld-ethcl-indexer >> ./config.sh - echo ethcl_capture_mode=boot >> ./config.sh - cat ./config.sh - - - name: Run docker compose - run: | - docker-compose \ - -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-ethcl-db.yml" \ - -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/latest/docker-compose-lighthouse.yml" \ - --env-file ./config.sh \ - up -d --build - - - uses: actions/setup-go@v3 - with: - go-version: ">=1.17.0" - check-latest: true - - - name: Install packages - run: | - go install github.com/onsi/ginkgo/v2/ginkgo@latest - which ginkgo - - - name: Run the tests using Make - run: | - cd ipld-ethcl-indexer - make integration-test-ci - - golangci: - runs-on: ubuntu-latest - steps: - - uses: actions/setup-go@v3 - with: - go-version: ">=1.17.0" - - uses: actions/checkout@v3 - - name: golangci-lint - uses: golangci/golangci-lint-action@v3 - with: - args: --timeout 90s --disable deadcode,unused -# args: --timeout 90s --disable deadcode, + trigger-tests: + uses: ./.github/workflows/tests.yml + with: + stack-orchestrator-ref: ${{ github.event.inputs.stack-orchestrator-ref }} + ipld-ethcl-db-ref: ${{ github.event.inputs.ipld-ethcl-db-ref }} + ssz-data-ref: ${{ github.event.inputs.ssz-data-ref }} + secrets: + GHA_KEY: ${{secrets.GHA_KEY}} diff --git a/.github/workflows/on-publish.yml b/.github/workflows/on-publish.yml index 801a1c9..11ffbaa 100644 --- a/.github/workflows/on-publish.yml +++ b/.github/workflows/on-publish.yml @@ -3,9 +3,18 @@ on: release: types: [published, edited] jobs: + trigger-tests: + uses: ./.github/workflows/tests.yml + with: + stack-orchestrator-ref: ${{ github.event.inputs.stack-orchestrator-ref }} + ipld-ethcl-db-ref: ${{ github.event.inputs.ipld-ethcl-db-ref }} + ssz-data-ref: ${{ github.event.inputs.ssz-data-ref }} + secrets: + GHA_KEY: ${{secrets.GHA_KEY}} build: name: Run docker build runs-on: ubuntu-latest + needs: trigger-tests steps: - uses: actions/checkout@v2 - name: Get the version diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..8077c67 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,201 @@ +name: Test the stack. +on: + workflow_call: + inputs: + stack-orchestrator-ref: + required: false + type: string + ipld-ethcl-db-ref: + required: false + type: string + ssz-data-ref: + required: false + type: string + secrets: + GHA_KEY: + required: true + +env: + stack-orchestrator-ref: ${{ inputs.stack-orchestrator-ref || 'develop' }} + ipld-ethcl-db-ref: ${{ inputs.ipld-ethcl-db-ref || 'feature/historic-processing' }} + ssz-data-ref: ${{ inputs.ssz-data-ref || 'main' }} + GOPATH: /tmp/go +jobs: + build: + name: Run Docker Build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + path: "./ipld-ethcl-indexer" + + - uses: actions/checkout@v3 + with: + ref: ${{ env.stack-orchestrator-ref }} + path: "./stack-orchestrator/" + repository: vulcanize/stack-orchestrator + fetch-depth: 0 + + - uses: actions/checkout@v3 + with: + ref: ${{ env.ipld-ethcl-db-ref }} + repository: vulcanize/ipld-ethcl-db + path: "./ipld-ethcl-db/" + ssh-key: ${{secrets.GHA_KEY}} + fetch-depth: 0 + + - name: Create config file + run: | + echo vulcanize_ipld_ethcl_db=$GITHUB_WORKSPACE/ipld-ethcl-db/ > ./config.sh + echo vulcanize_ipld_ethcl_indexer=$GITHUB_WORKSPACE/ipld-ethcl-indexer >> ./config.sh + echo ethcl_capture_mode=boot >> ./config.sh + echo ethcl_skip_sync=true >> ./config.sh + echo ethcl_known_gap_increment=1000000 >> ./config.sh + cat ./config.sh + + - name: Run docker compose + run: | + docker-compose \ + -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-ethcl-db.yml" \ + -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/latest/docker-compose-lighthouse.yml" \ + -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-ipld-ethcl-indexer.yml" \ + --env-file ./config.sh \ + up -d --build + + - name: Check to make sure HEALTH file is present + shell: bash + run: | + until $(docker compose -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-ipld-ethcl-indexer.yml" cp ipld-ethcl-indexer:/root/HEALTH ./HEALTH) ; do sleep 10; done + cat ./HEALTH + if [[ "$(cat ./HEALTH)" -eq "0" ]]; then echo "Application boot successful" && (exit 0); else docker compose -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-ipld-ethcl-indexer.yml" cp ipld-ethcl-indexer:/root/ipld-ethcl-indexer.log . && cat ipld-ethcl-indexer.log && (exit 1); fi + + unit-test: + name: Run Unit Tests + runs-on: ubuntu-latest + ## IF you want to update the default branch for `pull_request runs, do it after the ||` + steps: + - name: Create GOPATH + run: mkdir -p /tmp/go + + - uses: actions/checkout@v2 + with: + path: "./ipld-ethcl-indexer" + + - uses: actions/checkout@v3 + with: + ref: ${{ env.stack-orchestrator-ref }} + path: "./stack-orchestrator/" + repository: vulcanize/stack-orchestrator + fetch-depth: 0 + + - uses: actions/checkout@v3 + with: + ref: ${{ env.ipld-ethcl-db-ref }} + repository: vulcanize/ipld-ethcl-db + path: "./ipld-ethcl-db/" + ssh-key: ${{ secrets.GHA_KEY }} + fetch-depth: 0 + + - uses: actions/checkout@v3 + with: + ref: ${{ env.ssz-data-ref }} + repository: vulcanize/ssz-data + path: "./ipld-ethcl-indexer/pkg/beaconclient/ssz-data" + fetch-depth: 0 + + - name: Create config file + run: | + echo vulcanize_ipld_ethcl_db=$GITHUB_WORKSPACE/ipld-ethcl-db/ > ./config.sh + echo vulcanize_ipld_ethcl_indexer=$GITHUB_WORKSPACE/ipld-ethcl-indexer >> ./config.sh + cat ./config.sh + + - name: Run docker compose + run: | + docker-compose \ + -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-ethcl-db.yml" \ + --env-file ./config.sh \ + up -d --build + + - uses: actions/setup-go@v3 + with: + go-version: ">=1.17.0" + check-latest: true + + - name: Install packages + run: | + go install github.com/onsi/ginkgo/v2/ginkgo@latest + which ginkgo + + - name: Run the tests using Make + run: | + cd ipld-ethcl-indexer + make unit-test-ci + + integration-test: + name: Run Integration Tests + runs-on: ubuntu-latest + steps: + - name: Create GOPATH + run: mkdir -p /tmp/go + + - uses: actions/checkout@v2 + with: + path: "./ipld-ethcl-indexer" + + - uses: actions/checkout@v3 + with: + ref: ${{ env.stack-orchestrator-ref }} + path: "./stack-orchestrator/" + repository: vulcanize/stack-orchestrator + fetch-depth: 0 + + - uses: actions/checkout@v3 + with: + ref: ${{ env.ipld-ethcl-db-ref }} + repository: vulcanize/ipld-ethcl-db + path: "./ipld-ethcl-db/" + ssh-key: ${{secrets.GHA_KEY}} + fetch-depth: 0 + + - name: Create config file + run: | + echo vulcanize_ipld_ethcl_db=$GITHUB_WORKSPACE/ipld-ethcl-db/ > ./config.sh + echo vulcanize_ipld_ethcl_indexer=$GITHUB_WORKSPACE/ipld-ethcl-indexer >> ./config.sh + echo ethcl_capture_mode=boot >> ./config.sh + cat ./config.sh + + - name: Run docker compose + run: | + docker-compose \ + -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-ethcl-db.yml" \ + -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/latest/docker-compose-lighthouse.yml" \ + --env-file ./config.sh \ + up -d --build + + - uses: actions/setup-go@v3 + with: + go-version: ">=1.17.0" + check-latest: true + + - name: Install packages + run: | + go install github.com/onsi/ginkgo/v2/ginkgo@latest + which ginkgo + + - name: Run the tests using Make + run: | + cd ipld-ethcl-indexer + make integration-test-ci + + golangci: + runs-on: ubuntu-latest + steps: + - uses: actions/setup-go@v3 + with: + go-version: ">=1.17.0" + - uses: actions/checkout@v3 + - name: golangci-lint + uses: golangci/golangci-lint-action@v3 + with: + args: --timeout 90s --disable deadcode,unused +# args: --timeout 90s --disable deadcode, diff --git a/cmd/boot.go b/cmd/boot.go index 9fc3532..6f98729 100644 --- a/cmd/boot.go +++ b/cmd/boot.go @@ -23,6 +23,7 @@ import ( log "github.com/sirupsen/logrus" "github.com/spf13/cobra" + "github.com/spf13/viper" "github.com/vulcanize/ipld-ethcl-indexer/internal/boot" "github.com/vulcanize/ipld-ethcl-indexer/internal/shutdown" "github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper" @@ -44,10 +45,11 @@ func bootApp() { log.Info("Starting the application in boot mode.") ctx := context.Background() - BC, DB, err := boot.BootApplicationWithRetry(ctx, dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, - bcAddress, bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, kgTableIncrement, "head", testDisregardSync) + Bc, Db, err := boot.BootApplicationWithRetry(ctx, viper.GetString("db.address"), viper.GetInt("db.port"), viper.GetString("db.name"), viper.GetString("db.username"), viper.GetString("db.password"), viper.GetString("db.driver"), + viper.GetString("bc.address"), viper.GetInt("bc.port"), viper.GetString("bc.connectionProtocol"), viper.GetString("bc.type"), viper.GetInt("bc.bootRetryInterval"), viper.GetInt("bc.bootMaxRetry"), + viper.GetInt("kg.increment"), "boot", viper.GetBool("t.skipSync"), viper.GetInt("bc.uniqueNodeIdentifier")) if err != nil { - loghelper.LogError(err).Error("Unable to Start application") + StopApplicationPreBoot(err, Db) } log.Info("Boot complete, we are going to shutdown.") @@ -58,7 +60,7 @@ func bootApp() { notifierCh <- syscall.SIGTERM }() - err = shutdown.ShutdownServices(ctx, notifierCh, maxWaitSecondsShutdown, DB, BC) + err = shutdown.ShutdownBoot(ctx, notifierCh, maxWaitSecondsShutdown, Db, Bc) if err != nil { loghelper.LogError(err).Error("Ungracefully Shutdown ipld-ethcl-indexer!") } else { diff --git a/cmd/capture.go b/cmd/capture.go index e1b46c8..d4ad6fc 100644 --- a/cmd/capture.go +++ b/cmd/capture.go @@ -39,6 +39,7 @@ var ( bcConnectionProtocol string bcType string bcMaxHistoricProcessWorker int + bcUniqueNodeIdentifier int kgMaxWorker int kgTableIncrement int kgProcessGaps bool @@ -93,6 +94,7 @@ func init() { captureCmd.PersistentFlags().IntVarP(&bcBootRetryInterval, "bc.bootRetryInterval", "", 30, "The amount of time to wait between retries while booting the application") captureCmd.PersistentFlags().IntVarP(&bcBootMaxRetry, "bc.bootMaxRetry", "", 5, "The amount of time to wait between retries while booting the application") captureCmd.PersistentFlags().IntVarP(&bcMaxHistoricProcessWorker, "bc.maxHistoricProcessWorker", "", 30, "The number of workers that should be actively processing slots from the ethcl.historic_process table. Be careful of system memory.") + captureCmd.PersistentFlags().IntVarP(&bcUniqueNodeIdentifier, "bc.uniqueNodeIdentifier", "", 0, "The unique identifier of this application. Each application connecting to the DB should have a unique identifier.") // err = captureCmd.MarkPersistentFlagRequired("bc.address") // exitErr(err) // err = captureCmd.MarkPersistentFlagRequired("bc.port") @@ -123,6 +125,8 @@ func init() { exitErr(err) err = viper.BindPFlag("db.name", captureCmd.PersistentFlags().Lookup("db.name")) exitErr(err) + err = viper.BindPFlag("db.driver", captureCmd.PersistentFlags().Lookup("db.driver")) + exitErr(err) //// Testing Specific err = viper.BindPFlag("t.skipSync", captureCmd.PersistentFlags().Lookup("t.skipSync")) @@ -143,6 +147,8 @@ func init() { exitErr(err) err = viper.BindPFlag("bc.maxHistoricProcessWorker", captureCmd.PersistentFlags().Lookup("bc.maxHistoricProcessWorker")) exitErr(err) + err = viper.BindPFlag("bc.uniqueNodeIdentifier", captureCmd.PersistentFlags().Lookup("bc.uniqueNodeIdentifier")) + exitErr(err) // Here you will define your flags and configuration settings. //// Known Gap Specific diff --git a/cmd/head.go b/cmd/head.go index 1006fe1..f2dd0e5 100644 --- a/cmd/head.go +++ b/cmd/head.go @@ -50,7 +50,7 @@ func startHeadTracking() { Bc, Db, err := boot.BootApplicationWithRetry(ctx, viper.GetString("db.address"), viper.GetInt("db.port"), viper.GetString("db.name"), viper.GetString("db.username"), viper.GetString("db.password"), viper.GetString("db.driver"), viper.GetString("bc.address"), viper.GetInt("bc.port"), viper.GetString("bc.connectionProtocol"), viper.GetString("bc.type"), viper.GetInt("bc.bootRetryInterval"), viper.GetInt("bc.bootMaxRetry"), - viper.GetInt("kg.increment"), "head", viper.GetBool("t.skipSync")) + viper.GetInt("kg.increment"), "head", viper.GetBool("t.skipSync"), viper.GetInt("bc.uniqueNodeIdentifier")) if err != nil { StopApplicationPreBoot(err, Db) } @@ -81,7 +81,7 @@ func startHeadTracking() { } // Shutdown when the time is right. - err = shutdown.ShutdownServices(ctx, notifierCh, maxWaitSecondsShutdown, Db, Bc) + err = shutdown.ShutdownHeadTracking(ctx, notifierCh, maxWaitSecondsShutdown, Db, Bc) if err != nil { loghelper.LogError(err).Error("Ungracefully Shutdown ipld-ethcl-indexer!") } else { @@ -94,6 +94,7 @@ func init() { captureCmd.AddCommand(headCmd) } +// Start prometheus server func serveProm(addr string) { mux := http.NewServeMux() mux.Handle("/metrics", promhttp.Handler()) diff --git a/cmd/historic.go b/cmd/historic.go index cfd9d03..e9d8d95 100644 --- a/cmd/historic.go +++ b/cmd/historic.go @@ -50,7 +50,7 @@ func startHistoricProcessing() { Bc, Db, err := boot.BootApplicationWithRetry(ctx, viper.GetString("db.address"), viper.GetInt("db.port"), viper.GetString("db.name"), viper.GetString("db.username"), viper.GetString("db.password"), viper.GetString("db.driver"), viper.GetString("bc.address"), viper.GetInt("bc.port"), viper.GetString("bc.connectionProtocol"), viper.GetString("bc.type"), viper.GetInt("bc.bootRetryInterval"), viper.GetInt("bc.bootMaxRetry"), - viper.GetInt("kg.increment"), "head", viper.GetBool("t.skipSync")) + viper.GetInt("kg.increment"), "historic", viper.GetBool("t.skipSync"), viper.GetInt("bc.uniqueNodeIdentifier")) if err != nil { StopApplicationPreBoot(err, Db) } @@ -91,7 +91,7 @@ func startHistoricProcessing() { } // Shutdown when the time is right. - err = shutdown.ShutdownServices(ctx, notifierCh, maxWaitSecondsShutdown, Db, Bc) + err = shutdown.ShutdownHistoricProcessing(ctx, notifierCh, maxWaitSecondsShutdown, Db, Bc) if err != nil { loghelper.LogError(err).Error("Ungracefully Shutdown ipld-ethcl-indexer!") } else { diff --git a/example.ipld-ethcl-indexer-config.json b/example.ipld-ethcl-indexer-config.json index 0929773..69746ca 100644 --- a/example.ipld-ethcl-indexer-config.json +++ b/example.ipld-ethcl-indexer-config.json @@ -14,7 +14,8 @@ "bootRetryInterval": 30, "bootMaxRetry": 5, "maxHistoricProcessWorker": 2, - "connectionProtocol": "http" + "connectionProtocol": "http", + "uniqueNodeIdentifier": 100 }, "t": { "skipSync": true diff --git a/go.mod b/go.mod index 5bb8589..3c844c8 100644 --- a/go.mod +++ b/go.mod @@ -9,6 +9,7 @@ require ( github.com/multiformats/go-multihash v0.1.0 github.com/onsi/ginkgo/v2 v2.1.4 github.com/onsi/gomega v1.19.0 + github.com/prometheus/client_golang v1.12.1 github.com/r3labs/sse v0.0.0-20210224172625-26fe804710bc github.com/sirupsen/logrus v1.8.1 ) @@ -57,7 +58,6 @@ require ( github.com/multiformats/go-varint v0.0.6 // indirect github.com/opentracing/opentracing-go v1.2.0 // indirect github.com/pkg/errors v0.9.1 // indirect - github.com/prometheus/client_golang v1.12.1 // indirect github.com/prometheus/client_model v0.2.0 // indirect github.com/prometheus/common v0.32.1 // indirect github.com/prometheus/procfs v0.7.3 // indirect diff --git a/internal/boot/boot.go b/internal/boot/boot.go index e726cf8..b1e476b 100644 --- a/internal/boot/boot.go +++ b/internal/boot/boot.go @@ -42,14 +42,17 @@ var ( // // 3. Make sure the node is synced, unless disregardSync is true. func BootApplication(ctx context.Context, dbHostname string, dbPort int, dbName string, dbUsername string, dbPassword string, driverName string, - bcAddress string, bcPort int, bcConnectionProtocol string, bcKgTableIncrement int, disregardSync bool) (*beaconclient.BeaconClient, sql.Database, error) { + bcAddress string, bcPort int, bcConnectionProtocol string, bcKgTableIncrement int, disregardSync bool, uniqueNodeIdentifier int) (*beaconclient.BeaconClient, sql.Database, error) { log.Info("Booting the Application") log.Debug("Creating the Beacon Client") - BC = beaconclient.CreateBeaconClient(ctx, bcConnectionProtocol, bcAddress, bcPort, bcKgTableIncrement) + Bc, err := beaconclient.CreateBeaconClient(ctx, bcConnectionProtocol, bcAddress, bcPort, bcKgTableIncrement, uniqueNodeIdentifier) + if err != nil { + return Bc, nil, err + } log.Debug("Checking Beacon Client") - err := BC.CheckBeaconClient() + err = Bc.CheckBeaconClient() if err != nil { return nil, nil, err } @@ -60,36 +63,37 @@ func BootApplication(ctx context.Context, dbHostname string, dbPort int, dbName return nil, nil, err } - BC.Db = DB + Bc.Db = DB var status bool if !disregardSync { - status, err = BC.CheckHeadSync() + status, err = Bc.CheckHeadSync() if err != nil { log.Error("Unable to get the nodes sync status") - return BC, DB, err + return Bc, DB, err } if status { log.Error("The node is still syncing..") err = fmt.Errorf("The node is still syncing.") - return BC, DB, err + return Bc, DB, err } } else { log.Warn("We are not checking to see if the node has synced to head.") } - return BC, DB, nil + return Bc, DB, nil } // Add retry logic to ensure that we are give the Beacon Client and the DB time to start. func BootApplicationWithRetry(ctx context.Context, dbHostname string, dbPort int, dbName string, dbUsername string, dbPassword string, driverName string, - bcAddress string, bcPort int, bcConnectionProtocol string, bcType string, bcRetryInterval int, bcMaxRetry int, bcKgTableIncrement int, startUpMode string, disregardSync bool) (*beaconclient.BeaconClient, sql.Database, error) { + bcAddress string, bcPort int, bcConnectionProtocol string, bcType string, bcRetryInterval int, bcMaxRetry int, bcKgTableIncrement int, + startUpMode string, disregardSync bool, uniqueNodeIdentifier int) (*beaconclient.BeaconClient, sql.Database, error) { var err error if bcMaxRetry < 0 { i := 0 for { BC, DB, err = BootApplication(ctx, dbHostname, dbPort, dbName, dbUsername, dbPassword, driverName, - bcAddress, bcPort, bcConnectionProtocol, bcKgTableIncrement, disregardSync) + bcAddress, bcPort, bcConnectionProtocol, bcKgTableIncrement, disregardSync, uniqueNodeIdentifier) if err != nil { log.WithFields(log.Fields{ "retryNumber": i, @@ -104,7 +108,7 @@ func BootApplicationWithRetry(ctx context.Context, dbHostname string, dbPort int } else { for i := 0; i < bcMaxRetry; i++ { BC, DB, err = BootApplication(ctx, dbHostname, dbPort, dbName, dbUsername, dbPassword, driverName, - bcAddress, bcPort, bcConnectionProtocol, bcKgTableIncrement, disregardSync) + bcAddress, bcPort, bcConnectionProtocol, bcKgTableIncrement, disregardSync, uniqueNodeIdentifier) if err != nil { log.WithFields(log.Fields{ "retryNumber": i, @@ -136,6 +140,8 @@ func BootApplicationWithRetry(ctx context.Context, dbHostname string, dbPort int } BC.UpdateLatestSlotInBeaconServer(int64(headSlot)) // Add another switch case for bcType if its ever needed. + case "boot": + log.Debug("Running application in boot mode.") default: log.WithFields(log.Fields{ "startUpMode": startUpMode, diff --git a/internal/boot/boot_test.go b/internal/boot/boot_test.go index aa77e56..ef621ae 100644 --- a/internal/boot/boot_test.go +++ b/internal/boot/boot_test.go @@ -38,44 +38,52 @@ var _ = Describe("Boot", func() { bcBootRetryInterval int = 1 bcBootMaxRetry int = 5 bcKgTableIncrement int = 10 + bcUniqueIdentifier int = 100 ) Describe("Booting the application", Label("integration"), func() { Context("When the DB and BC are both up and running, we skip checking for a synced head, and we are processing head", func() { It("Should connect successfully", func() { - _, db, err := boot.BootApplicationWithRetry(context.Background(), dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, bcKgTableIncrement, "head", true) + _, db, err := boot.BootApplicationWithRetry(context.Background(), dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, bcKgTableIncrement, "head", true, bcUniqueIdentifier) defer db.Close() Expect(err).ToNot(HaveOccurred()) }) }) Context("When the DB and BC are both up and running, we skip checking for a synced head, and we are processing historic ", func() { It("Should connect successfully", func() { - _, db, err := boot.BootApplicationWithRetry(context.Background(), dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, bcKgTableIncrement, "historic", true) + _, db, err := boot.BootApplicationWithRetry(context.Background(), dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, bcKgTableIncrement, "historic", true, bcUniqueIdentifier) defer db.Close() Expect(err).ToNot(HaveOccurred()) }) }) Context("When the DB and BC are both up and running, and we check for a synced head", func() { It("Should not connect successfully", func() { - _, db, err := boot.BootApplicationWithRetry(context.Background(), dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, bcKgTableIncrement, "head", false) + _, db, err := boot.BootApplicationWithRetry(context.Background(), dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, bcKgTableIncrement, "head", false, bcUniqueIdentifier) + defer db.Close() + Expect(err).To(HaveOccurred()) + }) + }) + Context("When the DB and BC are both up and running, we skip checking for a synced head, but the unique identifier is 0", func() { + It("Should not connect successfully", func() { + _, db, err := boot.BootApplicationWithRetry(context.Background(), dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, bcKgTableIncrement, "head", false, 0) defer db.Close() Expect(err).To(HaveOccurred()) }) }) Context("When the DB is running but not the BC", func() { It("Should not connect successfully", func() { - _, _, err := boot.BootApplication(context.Background(), dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, "hi", 100, bcConnectionProtocol, bcKgTableIncrement, true) + _, _, err := boot.BootApplication(context.Background(), dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, "hi", 100, bcConnectionProtocol, bcKgTableIncrement, true, bcUniqueIdentifier) Expect(err).To(HaveOccurred()) }) }) Context("When the BC is running but not the DB", func() { It("Should not connect successfully", func() { - _, _, err := boot.BootApplication(context.Background(), "hi", 10, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcKgTableIncrement, true) + _, _, err := boot.BootApplication(context.Background(), "hi", 10, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcKgTableIncrement, true, bcUniqueIdentifier) Expect(err).To(HaveOccurred()) }) }) Context("When neither the BC or DB are running", func() { It("Should not connect successfully", func() { - _, _, err := boot.BootApplication(context.Background(), "hi", 10, dbName, dbUsername, dbPassword, dbDriver, "hi", 100, bcConnectionProtocol, bcKgTableIncrement, true) + _, _, err := boot.BootApplication(context.Background(), "hi", 10, dbName, dbUsername, dbPassword, dbDriver, "hi", 100, bcConnectionProtocol, bcKgTableIncrement, true, bcUniqueIdentifier) Expect(err).To(HaveOccurred()) }) }) diff --git a/internal/shutdown/shutdown.go b/internal/shutdown/shutdown.go index 22c7310..228b760 100644 --- a/internal/shutdown/shutdown.go +++ b/internal/shutdown/shutdown.go @@ -27,18 +27,9 @@ import ( ) // Shutdown all the internal services for the application. -func ShutdownServices(ctx context.Context, notifierCh chan os.Signal, waitTime time.Duration, DB sql.Database, BC *beaconclient.BeaconClient) error { - successCh, errCh := gracefulshutdown.Shutdown(ctx, notifierCh, waitTime, map[string]gracefulshutdown.Operation{ - // Combining DB shutdown with BC because BC needs DB open to cleanly shutdown. - "beaconClient": func(ctx context.Context) error { - defer DB.Close() - err := BC.StopHeadTracking() - if err != nil { - loghelper.LogError(err).Error("Unable to trigger shutdown of head tracking") - } - return err - }, - }) +func ShutdownServices(ctx context.Context, notifierCh chan os.Signal, waitTime time.Duration, DB sql.Database, BC *beaconclient.BeaconClient, shutdownOperations map[string]gracefulshutdown.Operation) error { + //successCh, errCh := gracefulshutdown.Shutdown(ctx, notifierCh, waitTime, ) + successCh, errCh := gracefulshutdown.Shutdown(ctx, notifierCh, waitTime, shutdownOperations) select { case <-successCh: @@ -47,3 +38,55 @@ func ShutdownServices(ctx context.Context, notifierCh chan os.Signal, waitTime t return err } } + +// Wrapper function for shutting down the head tracking process. +func ShutdownHeadTracking(ctx context.Context, notifierCh chan os.Signal, waitTime time.Duration, DB sql.Database, BC *beaconclient.BeaconClient) error { + return ShutdownServices(ctx, notifierCh, waitTime, DB, BC, map[string]gracefulshutdown.Operation{ + // Combining DB shutdown with BC because BC needs DB open to cleanly shutdown. + "beaconClient": func(ctx context.Context) error { + defer DB.Close() + err := BC.StopHeadTracking() + if err != nil { + loghelper.LogError(err).Error("Unable to trigger shutdown of head tracking") + } + if BC.KnownGapsProcess != (beaconclient.KnownGapsProcessing{}) { + err = BC.StopKnownGapsProcessing() + if err != nil { + loghelper.LogError(err).Error("Unable to stop processing known gaps") + } + } + return err + }, + }) +} + +// Wrapper function for shutting down the head tracking process. +func ShutdownHistoricProcessing(ctx context.Context, notifierCh chan os.Signal, waitTime time.Duration, DB sql.Database, BC *beaconclient.BeaconClient) error { + return ShutdownServices(ctx, notifierCh, waitTime, DB, BC, map[string]gracefulshutdown.Operation{ + // Combining DB shutdown with BC because BC needs DB open to cleanly shutdown. + "beaconClient": func(ctx context.Context) error { + defer DB.Close() + err := BC.StopHistoric() + if err != nil { + loghelper.LogError(err).Error("Unable to stop processing historic") + } + if BC.KnownGapsProcess != (beaconclient.KnownGapsProcessing{}) { + err = BC.StopKnownGapsProcessing() + if err != nil { + loghelper.LogError(err).Error("Unable to stop processing known gaps") + } + } + return err + }, + }) +} + +// Wrapper function for shutting down the application in boot mode. +func ShutdownBoot(ctx context.Context, notifierCh chan os.Signal, waitTime time.Duration, DB sql.Database, BC *beaconclient.BeaconClient) error { + return ShutdownServices(ctx, notifierCh, waitTime, DB, BC, map[string]gracefulshutdown.Operation{ + // Combining DB shutdown with BC because BC needs DB open to cleanly shutdown. + "Database": func(ctx context.Context) error { + return DB.Close() + }, + }) +} diff --git a/internal/shutdown/shutdown_test.go b/internal/shutdown/shutdown_test.go index 0bbf38d..c6fa00e 100644 --- a/internal/shutdown/shutdown_test.go +++ b/internal/shutdown/shutdown_test.go @@ -35,42 +35,44 @@ import ( "github.com/vulcanize/ipld-ethcl-indexer/pkg/gracefulshutdown" ) +var ( + dbAddress string = "localhost" + dbPort int = 8076 + dbName string = "vulcanize_testing" + dbUsername string = "vdbm" + dbPassword string = "password" + dbDriver string = "PGX" + bcAddress string = "localhost" + bcPort int = 5052 + bcConnectionProtocol string = "http" + bcType string = "lighthouse" + bcBootRetryInterval int = 1 + bcBootMaxRetry int = 5 + bcKgTableIncrement int = 10 + bcUniqueIdentifier int = 100 + maxWaitSecondsShutdown time.Duration = time.Duration(1) * time.Second + DB sql.Database + BC *beaconclient.BeaconClient + err error + ctx context.Context + notifierCh chan os.Signal +) + var _ = Describe("Shutdown", func() { - var ( - dbAddress string = "localhost" - dbPort int = 8076 - dbName string = "vulcanize_testing" - dbUsername string = "vdbm" - dbPassword string = "password" - dbDriver string = "PGX" - bcAddress string = "localhost" - bcPort int = 5052 - bcConnectionProtocol string = "http" - bcType string = "lighthouse" - bcBootRetryInterval int = 1 - bcBootMaxRetry int = 5 - bcKgTableIncrement int = 10 - maxWaitSecondsShutdown time.Duration = time.Duration(1) * time.Second - DB sql.Database - BC *beaconclient.BeaconClient - err error - ctx context.Context - notifierCh chan os.Signal - ) BeforeEach(func() { ctx = context.Background() BC, DB, err = boot.BootApplicationWithRetry(ctx, dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, - bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, bcKgTableIncrement, "head", true) + bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, bcKgTableIncrement, "head", true, bcUniqueIdentifier) notifierCh = make(chan os.Signal, 1) Expect(err).To(BeNil()) }) - Describe("Run Shutdown Function,", Label("integration"), func() { + Describe("Run Shutdown Function for head tracking,", Label("integration"), func() { Context("When Channels are empty,", func() { It("Should Shutdown Successfully.", func() { go func() { log.Debug("Starting shutdown chan") - err = shutdown.ShutdownServices(ctx, notifierCh, maxWaitSecondsShutdown, DB, BC) + err = shutdown.ShutdownHeadTracking(ctx, notifierCh, maxWaitSecondsShutdown, DB, BC) log.Debug("We have completed the shutdown...") Expect(err).ToNot(HaveOccurred()) }() @@ -82,7 +84,7 @@ var _ = Describe("Shutdown", func() { //log.SetLevel(log.DebugLevel) go func() { log.Debug("Starting shutdown chan") - err = shutdown.ShutdownServices(ctx, notifierCh, maxWaitSecondsShutdown, DB, BC) + err = shutdown.ShutdownHeadTracking(ctx, notifierCh, maxWaitSecondsShutdown, DB, BC) log.Debug("We have completed the shutdown...") Expect(err).ToNot(HaveOccurred()) shutdownCh <- true @@ -115,7 +117,7 @@ var _ = Describe("Shutdown", func() { //log.SetLevel(log.DebugLevel) go func() { log.Debug("Starting shutdown chan") - err = shutdown.ShutdownServices(ctx, notifierCh, maxWaitSecondsShutdown, DB, BC) + err = shutdown.ShutdownHeadTracking(ctx, notifierCh, maxWaitSecondsShutdown, DB, BC) log.Debug("We have completed the shutdown...") Expect(err).To(MatchError(gracefulshutdown.TimeoutErr(maxWaitSecondsShutdown.String()))) shutdownCh <- true diff --git a/pkg/beaconclient/beaconclient.go b/pkg/beaconclient/beaconclient.go index 15f24b2..e9fd5c0 100644 --- a/pkg/beaconclient/beaconclient.go +++ b/pkg/beaconclient/beaconclient.go @@ -18,6 +18,7 @@ package beaconclient import ( "context" "fmt" + "math/rand" "github.com/r3labs/sse" log "github.com/sirupsen/logrus" @@ -48,6 +49,8 @@ type BeaconClient struct { Db sql.Database // Database object used for reads and writes. Metrics *BeaconClientMetrics // An object used to keep track of certain BeaconClient Metrics. KnownGapTableIncrement int // The max number of slots within a single known_gaps table entry. + UniqueNodeIdentifier int // The unique identifier within the cluster of this individual node. + KnownGapsProcess KnownGapsProcessing // object keeping track of knowngaps processing // Used for Head Tracking @@ -65,7 +68,8 @@ type BeaconClient struct { // The latest available slot within the Beacon Server. We can't query any slot greater than this. // This value is lazily updated. Therefore at times it will be outdated. LatestSlotInBeaconServer int64 - PerformHistoricalProcessing bool // Should we perform historical processing? + PerformHistoricalProcessing bool // Should we perform historical processing? + HistoricalProcess historicProcessing // object keeping track of historical processing } // A struct to keep track of relevant the head event topic. @@ -84,7 +88,17 @@ type SseError struct { } // A Function to create the BeaconClient. -func CreateBeaconClient(ctx context.Context, connectionProtocol string, bcAddress string, bcPort int, bcKgTableIncrement int) *BeaconClient { +func CreateBeaconClient(ctx context.Context, connectionProtocol string, bcAddress string, bcPort int, bcKgTableIncrement int, uniqueNodeIdentifier int) (*BeaconClient, error) { + if uniqueNodeIdentifier == 0 { + uniqueNodeIdentifier := rand.Int() + log.WithField("randomUniqueNodeIdentifier", uniqueNodeIdentifier).Warn("No uniqueNodeIdentifier provided, we are going to use a randomly generated one.") + } + + metrics, err := CreateBeaconClientMetrics() + if err != nil { + return nil, err + } + endpoint := fmt.Sprintf("%s://%s:%d", connectionProtocol, bcAddress, bcPort) log.Info("Creating the BeaconClient") return &BeaconClient{ @@ -93,9 +107,10 @@ func CreateBeaconClient(ctx context.Context, connectionProtocol string, bcAddres KnownGapTableIncrement: bcKgTableIncrement, HeadTracking: createSseEvent[Head](endpoint, BcHeadTopicEndpoint), ReOrgTracking: createSseEvent[ChainReorg](endpoint, bcReorgTopicEndpoint), - Metrics: CreateBeaconClientMetrics(), + Metrics: metrics, + UniqueNodeIdentifier: uniqueNodeIdentifier, //FinalizationTracking: createSseEvent[FinalizedCheckpoint](endpoint, bcFinalizedTopicEndpoint), - } + }, nil } // Create all the channels to handle a SSE events diff --git a/pkg/beaconclient/capturehead_test.go b/pkg/beaconclient/capturehead_test.go index 459b2af..0856cbe 100644 --- a/pkg/beaconclient/capturehead_test.go +++ b/pkg/beaconclient/capturehead_test.go @@ -54,6 +54,7 @@ var ( dbUser string = "vdbm" dbPassword string = "password" dbDriver string = "pgx" + bcUniqueIdentifier int = 100 dummyParentRoot string = "46f98c08b54a71dfda4d56e29ec3952b8300cd8d6b67a9b6c562ae96a7a25a42" knownGapsTableIncrement int = 100000 maxRetry int = 120 @@ -202,6 +203,7 @@ var ( dbPassword: dbPassword, dbDriver: dbDriver, knownGapsTableIncrement: knownGapsTableIncrement, + bcUniqueIdentifier: bcUniqueIdentifier, } BeaconNodeTester = TestBeaconNode{ @@ -421,6 +423,7 @@ type Config struct { dbPassword string dbDriver string knownGapsTableIncrement int + bcUniqueIdentifier int } ////////////////////////////////////////////////////// @@ -430,7 +433,8 @@ type Config struct { // Must run before each test. We can't use the beforeEach because of the way // Gingko treats race conditions. func setUpTest(config Config, maxSlot string) *beaconclient.BeaconClient { - bc := *beaconclient.CreateBeaconClient(context.Background(), config.protocol, config.address, config.port, config.knownGapsTableIncrement) + bc, err := beaconclient.CreateBeaconClient(context.Background(), config.protocol, config.address, config.port, config.knownGapsTableIncrement, config.bcUniqueIdentifier) + Expect(err).ToNot(HaveOccurred()) db, err := postgres.SetupPostgresDb(config.dbHost, config.dbPort, config.dbName, config.dbUser, config.dbPassword, config.dbDriver) Expect(err).ToNot(HaveOccurred()) @@ -441,7 +445,7 @@ func setUpTest(config Config, maxSlot string) *beaconclient.BeaconClient { writeSlot(db, maxSlot) bc.Db = db - return &bc + return bc } // A helper function to validate the expected output from the ethcl.slots table. diff --git a/pkg/beaconclient/capturehistoric.go b/pkg/beaconclient/capturehistoric.go index 3c4d29b..cd88c90 100644 --- a/pkg/beaconclient/capturehistoric.go +++ b/pkg/beaconclient/capturehistoric.go @@ -22,29 +22,47 @@ import ( log "github.com/sirupsen/logrus" "github.com/vulcanize/ipld-ethcl-indexer/pkg/database/sql" + "github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper" "golang.org/x/sync/errgroup" ) // This function will perform all the heavy lifting for tracking the head of the chain. func (bc *BeaconClient) CaptureHistoric(maxWorkers int) []error { log.Info("We are starting the historical processing service.") - hp := historicProcessing{db: bc.Db, metrics: bc.Metrics} - errs := handleBatchProcess(maxWorkers, hp, hp.db, bc.ServerEndpoint, bc.Metrics) + bc.HistoricalProcess = historicProcessing{db: bc.Db, metrics: bc.Metrics} + errs := handleBatchProcess(maxWorkers, bc.HistoricalProcess, bc.HistoricalProcess.finishProcessing, bc.HistoricalProcess.db, bc.ServerEndpoint, bc.Metrics) log.Debug("Exiting Historical") return errs } +// This function will perform all the necessary clean up tasks for stopping historical processing. +func (bc *BeaconClient) StopHistoric() error { + log.Info("We are stopping the historical processing service.") + err := bc.HistoricalProcess.releaseDbLocks() + if err != nil { + loghelper.LogError(err).WithField("uniqueIdentifier", bc.UniqueNodeIdentifier).Error("We were unable to remove the locks from the ethcl.historic_processing table. Manual Intervention is needed!") + } + return nil +} + // An interface to enforce any batch processing. Currently there are two use cases for this. // // 1. Historic Processing // // 2. Known Gaps Processing type BatchProcessing interface { - getSlotRange(chan<- slotsToProcess) []error // Write the slots to process in a channel, return an error if you cant get the next slots to write. - handleProcessingErrors(<-chan batchHistoricError) - removeTableEntry(<-chan slotsToProcess) error // With the provided start and end slot, remove the entry from the database. + getSlotRange(chan<- slotsToProcess) []error // Write the slots to process in a channel, return an error if you cant get the next slots to write. + handleProcessingErrors(<-chan batchHistoricError) // Custom logic to handle errors. + removeTableEntry(<-chan slotsToProcess) error // With the provided start and end slot, remove the entry from the database. + releaseDbLocks() error // Update the checked_out column to false for whatever table is being updated. } +/// ^^^ +// Might be better to remove the interface and create a single struct that historicalProcessing +// and knownGapsProcessing can use. The struct would contain all the SQL strings that they need. +// And the only difference in logic for processing would be within the error handling. +// Which can be a function we pass into handleBatchProcess() + // A struct to pass around indicating a table entry for slots to process. type slotsToProcess struct { startSlot int // The start slot @@ -71,12 +89,12 @@ type batchHistoricError struct { // 4. Remove the slot entry from the DB. // // 5. Handle any errors. -func handleBatchProcess(maxWorkers int, bp BatchProcessing, db sql.Database, serverEndpoint string, metrics *BeaconClientMetrics) []error { +func handleBatchProcess(maxWorkers int, bp BatchProcessing, finishCh chan int, db sql.Database, serverEndpoint string, metrics *BeaconClientMetrics) []error { slotsCh := make(chan slotsToProcess) workCh := make(chan int) processedCh := make(chan slotsToProcess) errCh := make(chan batchHistoricError) - finishCh := make(chan []error, 1) + finalErrCh := make(chan []error, 1) // Start workers for w := 1; w <= maxWorkers; w++ { @@ -115,7 +133,7 @@ func handleBatchProcess(maxWorkers int, bp BatchProcessing, db sql.Database, ser return bp.removeTableEntry(processedCh) }) if err := errG.Wait(); err != nil { - finishCh <- []error{err} + finalErrCh <- []error{err} } }() // Process errors from slot processing. @@ -125,12 +143,17 @@ func handleBatchProcess(maxWorkers int, bp BatchProcessing, db sql.Database, ser go func() { errs := bp.getSlotRange(slotsCh) // Periodically adds new entries.... if errs != nil { - finishCh <- errs + finalErrCh <- errs } - finishCh <- nil + finalErrCh <- nil }() - - errs := <-finishCh - log.Debug("Finishing the batchProcess") - return errs + log.Debug("Waiting for shutdown signal from channel") + select { + case <-finishCh: + log.Debug("Received shutdown signal from channel") + return nil + case errs := <-finalErrCh: + log.Debug("Finishing the batchProcess") + return errs + } } diff --git a/pkg/beaconclient/healthcheck_test.go b/pkg/beaconclient/healthcheck_test.go index df92398..c09e3d8 100644 --- a/pkg/beaconclient/healthcheck_test.go +++ b/pkg/beaconclient/healthcheck_test.go @@ -25,19 +25,22 @@ import ( var _ = Describe("Healthcheck", func() { var ( - BC *beaconclient.BeaconClient + Bc *beaconclient.BeaconClient errBc *beaconclient.BeaconClient ) BeforeEach(func() { - BC = beaconclient.CreateBeaconClient(context.Background(), "http", "localhost", 5052, 10) - errBc = beaconclient.CreateBeaconClient(context.Background(), "http", "blah-blah", 1010, 10) + var err error + Bc, err = beaconclient.CreateBeaconClient(context.Background(), "http", "localhost", 5052, 10, bcUniqueIdentifier) + Expect(err).ToNot(HaveOccurred()) + errBc, err = beaconclient.CreateBeaconClient(context.Background(), "http", "blah-blah", 1010, 10, bcUniqueIdentifier) + Expect(err).ToNot(HaveOccurred()) }) Describe("Connecting to the lighthouse client", Label("integration"), func() { Context("When the client is running", func() { It("We should connect successfully", func() { - err := BC.CheckBeaconClient() + err := Bc.CheckBeaconClient() Expect(err).To(BeNil()) }) }) diff --git a/pkg/beaconclient/metrics.go b/pkg/beaconclient/metrics.go index 6156e2d..086d7a7 100644 --- a/pkg/beaconclient/metrics.go +++ b/pkg/beaconclient/metrics.go @@ -24,7 +24,7 @@ import ( ) //Create a metric struct and register each channel with prometheus -func CreateBeaconClientMetrics() *BeaconClientMetrics { +func CreateBeaconClientMetrics() (*BeaconClientMetrics, error) { metrics := &BeaconClientMetrics{ SlotInserts: 0, ReorgInserts: 0, @@ -34,17 +34,38 @@ func CreateBeaconClientMetrics() *BeaconClientMetrics { HeadError: 0, HeadReorgError: 0, } - prometheusRegisterHelper("slot_inserts", "Keeps track of the number of slots we have inserted.", &metrics.SlotInserts) - prometheusRegisterHelper("reorg_inserts", "Keeps track of the number of reorgs we have inserted.", &metrics.ReorgInserts) - prometheusRegisterHelper("known_gaps_inserts", "Keeps track of the number of known gaps we have inserted.", &metrics.KnownGapsInserts) - prometheusRegisterHelper("known_gaps_processed", "Keeps track of the number of known gaps we processed.", &metrics.knownGapsProcessed) - prometheusRegisterHelper("known_gaps_processing_error", "Keeps track of the number of known gaps we had errors processing.", &metrics.KnownGapsProcessingError) - prometheusRegisterHelper("head_error", "Keeps track of the number of errors we had processing head messages.", &metrics.HeadError) - prometheusRegisterHelper("head_reorg_error", "Keeps track of the number of errors we had processing reorg messages.", &metrics.HeadReorgError) - return metrics + err := prometheusRegisterHelper("slot_inserts", "Keeps track of the number of slots we have inserted.", &metrics.SlotInserts) + if err != nil { + return nil, err + } + err = prometheusRegisterHelper("reorg_inserts", "Keeps track of the number of reorgs we have inserted.", &metrics.ReorgInserts) + if err != nil { + return nil, err + } + err = prometheusRegisterHelper("known_gaps_inserts", "Keeps track of the number of known gaps we have inserted.", &metrics.KnownGapsInserts) + if err != nil { + return nil, err + } + err = prometheusRegisterHelper("known_gaps_processed", "Keeps track of the number of known gaps we processed.", &metrics.knownGapsProcessed) + if err != nil { + return nil, err + } + err = prometheusRegisterHelper("known_gaps_processing_error", "Keeps track of the number of known gaps we had errors processing.", &metrics.KnownGapsProcessingError) + if err != nil { + return nil, err + } + err = prometheusRegisterHelper("head_error", "Keeps track of the number of errors we had processing head messages.", &metrics.HeadError) + if err != nil { + return nil, err + } + err = prometheusRegisterHelper("head_reorg_error", "Keeps track of the number of errors we had processing reorg messages.", &metrics.HeadReorgError) + if err != nil { + return nil, err + } + return metrics, nil } -func prometheusRegisterHelper(name string, help string, varPointer *uint64) { +func prometheusRegisterHelper(name string, help string, varPointer *uint64) error { err := prometheus.Register(prometheus.NewCounterFunc( prometheus.CounterOpts{ Namespace: "beacon_client", @@ -58,7 +79,9 @@ func prometheusRegisterHelper(name string, help string, varPointer *uint64) { })) if err != nil && err.Error() != "duplicate metrics collector registration attempted" { loghelper.LogError(err).WithField("name", name).Error("Unable to register counter.") + return err } + return nil } // A structure utilized for keeping track of various metrics. Currently, mostly used in testing. diff --git a/pkg/beaconclient/processhistoric.go b/pkg/beaconclient/processhistoric.go index 2ba3bd4..eb3e71b 100644 --- a/pkg/beaconclient/processhistoric.go +++ b/pkg/beaconclient/processhistoric.go @@ -40,21 +40,27 @@ var ( checkHpEntryStmt string = `SELECT * FROM ethcl.historic_process WHERE checked_out=false;` // Used to checkout a row from the ethcl.historic_process table lockHpEntryStmt string = `UPDATE ethcl.historic_process - SET checked_out=true + SET checked_out=true, checked_out_by=$3 WHERE start_slot=$1 AND end_slot=$2;` - // Used to delete an entry from the knownGaps table + // Used to delete an entry from the ethcl.historic_process table deleteHpEntryStmt string = `DELETE FROM ethcl.historic_process WHERE start_slot=$1 AND end_slot=$2;` + // Used to update every single row that this node has checked out. + releaseHpLockStmt string = `UPDATE ethcl.historic_process + SET checked_out=false + WHERE checked_out_by=$1` ) type historicProcessing struct { - db sql.Database - metrics *BeaconClientMetrics + db sql.Database //db connection + metrics *BeaconClientMetrics // metrics for beaconclient + uniqueNodeIdentifier int // node unique identifier. + finishProcessing chan int // A channel which indicates to the process handleBatchProcess function that its time to end. } // Get a single row of historical slots from the table. func (hp historicProcessing) getSlotRange(slotCh chan<- slotsToProcess) []error { - return getBatchProcessRow(hp.db, getHpEntryStmt, checkHpEntryStmt, lockHpEntryStmt, slotCh) + return getBatchProcessRow(hp.db, getHpEntryStmt, checkHpEntryStmt, lockHpEntryStmt, slotCh, strconv.Itoa(hp.uniqueNodeIdentifier)) } // Remove the table entry. @@ -71,6 +77,22 @@ func (hp historicProcessing) handleProcessingErrors(errMessages <-chan batchHist } } +func (hp historicProcessing) releaseDbLocks() error { + go func() { hp.finishProcessing <- 1 }() + log.Debug("Updating all the entries to ethcl.historical processing") + res, err := hp.db.Exec(context.Background(), releaseHpLockStmt, hp.uniqueNodeIdentifier) + if err != nil { + return fmt.Errorf("Unable to remove lock from ethcl.historical_processing table for node %d, error is %e", hp.uniqueNodeIdentifier, err) + } + log.Debug("Update all the entries to ethcl.historical processing") + rows, err := res.RowsAffected() + if err != nil { + return fmt.Errorf("Unable to calculated number of rows affected by releasing locks from ethcl.historical_processing table for node %d, error is %e", hp.uniqueNodeIdentifier, err) + } + log.WithField("rowCount", rows).Info("Released historicalProcess locks for specified rows.") + return nil +} + // Process the slot range. func processSlotRangeWorker(workCh <-chan int, errCh chan<- batchHistoricError, db sql.Database, serverAddress string, metrics *BeaconClientMetrics) { for slot := range workCh { @@ -91,7 +113,7 @@ func processSlotRangeWorker(workCh <-chan int, errCh chan<- batchHistoricError, // It also locks the row by updating the checked_out column. // The statement for getting the start_slot and end_slot must be provided. // The statement for "locking" the row must also be provided. -func getBatchProcessRow(db sql.Database, getStartEndSlotStmt string, checkNewRowsStmt string, checkOutRowStmt string, slotCh chan<- slotsToProcess) []error { +func getBatchProcessRow(db sql.Database, getStartEndSlotStmt string, checkNewRowsStmt string, checkOutRowStmt string, slotCh chan<- slotsToProcess, uniqueNodeIdentifier string) []error { errCount := make([]error, 0) // 5 is an arbitrary number. It allows us to retry a few times before @@ -148,7 +170,7 @@ func getBatchProcessRow(db sql.Database, getStartEndSlotStmt string, checkNewRow } // Checkout the Row - res, err := tx.Exec(ctx, checkOutRowStmt, sp.startSlot, sp.endSlot) + res, err := tx.Exec(ctx, checkOutRowStmt, sp.startSlot, sp.endSlot, uniqueNodeIdentifier) if err != nil { loghelper.LogSlotRangeStatementError(strconv.Itoa(sp.startSlot), strconv.Itoa(sp.endSlot), checkOutRowStmt, err).Error("Unable to checkout the row") errCount = append(errCount, err) diff --git a/pkg/beaconclient/processknowngaps.go b/pkg/beaconclient/processknowngaps.go index 6c07c02..01762da 100644 --- a/pkg/beaconclient/processknowngaps.go +++ b/pkg/beaconclient/processknowngaps.go @@ -36,7 +36,7 @@ var ( checkKgEntryStmt string = `SELECT * FROM ethcl.known_gaps WHERE checked_out=false;` // Used to checkout a row from the ethcl.known_gaps table lockKgEntryStmt string = `UPDATE ethcl.known_gaps - SET checked_out=true + SET checked_out=true, checked_out_by=$3 WHERE start_slot=$1 AND end_slot=$2;` // Used to delete an entry from the knownGaps table deleteKgEntryStmt string = `DELETE FROM ethcl.known_gaps @@ -44,34 +44,50 @@ var ( // Used to check to see if a single slot exists in the known_gaps table. checkKgSingleSlotStmt string = `SELECT start_slot, end_slot FROM ethcl.known_gaps WHERE start_slot=$1 AND end_slot=$2;` + // Used to update every single row that this node has checked out. + releaseKgLockStmt string = `UPDATE ethcl.known_gaps + SET checked_out=false + WHERE checked_out_by=$1` ) -type knownGapsProcessing struct { - db sql.Database - metrics *BeaconClientMetrics +type KnownGapsProcessing struct { + db sql.Database //db connection + metrics *BeaconClientMetrics // metrics for beaconclient + uniqueNodeIdentifier int // node unique identifier. + finishProcessing chan int // A channel which indicates to the process handleBatchProcess function that its time to end. } // This function will perform all the heavy lifting for tracking the head of the chain. func (bc *BeaconClient) ProcessKnownGaps(maxWorkers int) []error { log.Info("We are starting the known gaps processing service.") - hp := knownGapsProcessing{db: bc.Db, metrics: bc.Metrics} - errs := handleBatchProcess(maxWorkers, hp, hp.db, bc.ServerEndpoint, bc.Metrics) + bc.KnownGapsProcess = KnownGapsProcessing{db: bc.Db, uniqueNodeIdentifier: bc.UniqueNodeIdentifier, metrics: bc.Metrics, finishProcessing: make(chan int)} + errs := handleBatchProcess(maxWorkers, bc.KnownGapsProcess, bc.KnownGapsProcess.finishProcessing, bc.KnownGapsProcess.db, bc.ServerEndpoint, bc.Metrics) log.Debug("Exiting known gaps processing service") return errs } +// This function will perform all the necessary clean up tasks for stopping historical processing. +func (bc *BeaconClient) StopKnownGapsProcessing() error { + log.Info("We are stopping the historical processing service.") + err := bc.KnownGapsProcess.releaseDbLocks() + if err != nil { + loghelper.LogError(err).WithField("uniqueIdentifier", bc.UniqueNodeIdentifier).Error("We were unable to remove the locks from the ethcl.known_gaps table. Manual Intervention is needed!") + } + return nil +} + // Get a single row of historical slots from the table. -func (kgp knownGapsProcessing) getSlotRange(slotCh chan<- slotsToProcess) []error { - return getBatchProcessRow(kgp.db, getKgEntryStmt, checkKgEntryStmt, lockKgEntryStmt, slotCh) +func (kgp KnownGapsProcessing) getSlotRange(slotCh chan<- slotsToProcess) []error { + return getBatchProcessRow(kgp.db, getKgEntryStmt, checkKgEntryStmt, lockKgEntryStmt, slotCh, strconv.Itoa(kgp.uniqueNodeIdentifier)) } // Remove the table entry. -func (kgp knownGapsProcessing) removeTableEntry(processCh <-chan slotsToProcess) error { +func (kgp KnownGapsProcessing) removeTableEntry(processCh <-chan slotsToProcess) error { return removeRowPostProcess(kgp.db, processCh, QueryBySlotStmt, deleteKgEntryStmt) } // Remove the table entry. -func (kgp knownGapsProcessing) handleProcessingErrors(errMessages <-chan batchHistoricError) { +func (kgp KnownGapsProcessing) handleProcessingErrors(errMessages <-chan batchHistoricError) { for { errMs := <-errMessages @@ -99,3 +115,18 @@ func (kgp knownGapsProcessing) handleProcessingErrors(errMessages <-chan batchHi } } } + +// Updated checked_out column for the uniqueNodeIdentifier. +func (kgp KnownGapsProcessing) releaseDbLocks() error { + go func() { kgp.finishProcessing <- 1 }() + res, err := kgp.db.Exec(context.Background(), releaseKgLockStmt, kgp.uniqueNodeIdentifier) + if err != nil { + return err + } + rows, err := res.RowsAffected() + if err != nil { + return err + } + log.WithField("rowCount", rows).Info("Released knownGaps locks for specified rows.") + return nil +} diff --git a/pkg/database/sql/postgres/database.go b/pkg/database/sql/postgres/database.go index c8451f8..16cb936 100644 --- a/pkg/database/sql/postgres/database.go +++ b/pkg/database/sql/postgres/database.go @@ -49,7 +49,7 @@ func SetupPostgresDb(dbHostname string, dbPort int, dbName string, dbUsername st "driver_name_provided": driverName, }).Error("Can't resolve driver type") } - log.Info("Using Driver:", DbDriver) + log.Info("Using Driver: ", DbDriver) postgresConfig := Config{ Hostname: dbHostname, From 4d7781e2b0ecdea0cd1ab1f6cb2f7e3ac31f8039 Mon Sep 17 00:00:00 2001 From: Abdul Rabbani <58230246+abdulrabbani00@users.noreply.github.com> Date: Mon, 6 Jun 2022 09:02:43 -0400 Subject: [PATCH 6/9] Use a transaction for writing, knowngaps, and reorgs (#53) * Use a transaction for writing, knowngaps, and reorgs * Checkpoint - Check the DB before writing * Ensure an error exists when writing a transaction to knowngaps * Update unneccesary parameter --- cmd/boot.go | 2 +- cmd/capture.go | 4 + cmd/head.go | 2 +- cmd/historic.go | 2 +- example.ipld-ethcl-indexer-config.json | 3 +- internal/boot/boot.go | 10 +- internal/boot/boot_test.go | 15 +- internal/shutdown/shutdown_test.go | 3 +- pkg/beaconclient/beaconclient.go | 4 +- pkg/beaconclient/capturehead_test.go | 4 +- pkg/beaconclient/capturehistoric.go | 6 +- pkg/beaconclient/capturehistoric_test.go | 2 +- pkg/beaconclient/databasewrite.go | 224 +++++++++++++++++------ pkg/beaconclient/healthcheck_test.go | 4 +- pkg/beaconclient/processevents.go | 2 +- pkg/beaconclient/processhistoric.go | 16 +- pkg/beaconclient/processknowngaps.go | 2 +- pkg/beaconclient/processslot.go | 92 +++++++--- 18 files changed, 276 insertions(+), 121 deletions(-) diff --git a/cmd/boot.go b/cmd/boot.go index 6f98729..18dc6dd 100644 --- a/cmd/boot.go +++ b/cmd/boot.go @@ -47,7 +47,7 @@ func bootApp() { Bc, Db, err := boot.BootApplicationWithRetry(ctx, viper.GetString("db.address"), viper.GetInt("db.port"), viper.GetString("db.name"), viper.GetString("db.username"), viper.GetString("db.password"), viper.GetString("db.driver"), viper.GetString("bc.address"), viper.GetInt("bc.port"), viper.GetString("bc.connectionProtocol"), viper.GetString("bc.type"), viper.GetInt("bc.bootRetryInterval"), viper.GetInt("bc.bootMaxRetry"), - viper.GetInt("kg.increment"), "boot", viper.GetBool("t.skipSync"), viper.GetInt("bc.uniqueNodeIdentifier")) + viper.GetInt("kg.increment"), "boot", viper.GetBool("t.skipSync"), viper.GetInt("bc.uniqueNodeIdentifier"), viper.GetBool("bc.checkDb")) if err != nil { StopApplicationPreBoot(err, Db) } diff --git a/cmd/capture.go b/cmd/capture.go index d4ad6fc..5735b11 100644 --- a/cmd/capture.go +++ b/cmd/capture.go @@ -40,6 +40,7 @@ var ( bcType string bcMaxHistoricProcessWorker int bcUniqueNodeIdentifier int + bcCheckDb bool kgMaxWorker int kgTableIncrement int kgProcessGaps bool @@ -95,6 +96,7 @@ func init() { captureCmd.PersistentFlags().IntVarP(&bcBootMaxRetry, "bc.bootMaxRetry", "", 5, "The amount of time to wait between retries while booting the application") captureCmd.PersistentFlags().IntVarP(&bcMaxHistoricProcessWorker, "bc.maxHistoricProcessWorker", "", 30, "The number of workers that should be actively processing slots from the ethcl.historic_process table. Be careful of system memory.") captureCmd.PersistentFlags().IntVarP(&bcUniqueNodeIdentifier, "bc.uniqueNodeIdentifier", "", 0, "The unique identifier of this application. Each application connecting to the DB should have a unique identifier.") + captureCmd.PersistentFlags().BoolVarP(&bcCheckDb, "bc.checkDb", "", true, "Should we check to see if the slot exists in the DB before writing it?") // err = captureCmd.MarkPersistentFlagRequired("bc.address") // exitErr(err) // err = captureCmd.MarkPersistentFlagRequired("bc.port") @@ -149,6 +151,8 @@ func init() { exitErr(err) err = viper.BindPFlag("bc.uniqueNodeIdentifier", captureCmd.PersistentFlags().Lookup("bc.uniqueNodeIdentifier")) exitErr(err) + err = viper.BindPFlag("bc.checkDb", captureCmd.PersistentFlags().Lookup("bc.checkDb")) + exitErr(err) // Here you will define your flags and configuration settings. //// Known Gap Specific diff --git a/cmd/head.go b/cmd/head.go index f2dd0e5..fa7aa6a 100644 --- a/cmd/head.go +++ b/cmd/head.go @@ -50,7 +50,7 @@ func startHeadTracking() { Bc, Db, err := boot.BootApplicationWithRetry(ctx, viper.GetString("db.address"), viper.GetInt("db.port"), viper.GetString("db.name"), viper.GetString("db.username"), viper.GetString("db.password"), viper.GetString("db.driver"), viper.GetString("bc.address"), viper.GetInt("bc.port"), viper.GetString("bc.connectionProtocol"), viper.GetString("bc.type"), viper.GetInt("bc.bootRetryInterval"), viper.GetInt("bc.bootMaxRetry"), - viper.GetInt("kg.increment"), "head", viper.GetBool("t.skipSync"), viper.GetInt("bc.uniqueNodeIdentifier")) + viper.GetInt("kg.increment"), "head", viper.GetBool("t.skipSync"), viper.GetInt("bc.uniqueNodeIdentifier"), viper.GetBool("bc.checkDb")) if err != nil { StopApplicationPreBoot(err, Db) } diff --git a/cmd/historic.go b/cmd/historic.go index e9d8d95..34ad1b5 100644 --- a/cmd/historic.go +++ b/cmd/historic.go @@ -50,7 +50,7 @@ func startHistoricProcessing() { Bc, Db, err := boot.BootApplicationWithRetry(ctx, viper.GetString("db.address"), viper.GetInt("db.port"), viper.GetString("db.name"), viper.GetString("db.username"), viper.GetString("db.password"), viper.GetString("db.driver"), viper.GetString("bc.address"), viper.GetInt("bc.port"), viper.GetString("bc.connectionProtocol"), viper.GetString("bc.type"), viper.GetInt("bc.bootRetryInterval"), viper.GetInt("bc.bootMaxRetry"), - viper.GetInt("kg.increment"), "historic", viper.GetBool("t.skipSync"), viper.GetInt("bc.uniqueNodeIdentifier")) + viper.GetInt("kg.increment"), "historic", viper.GetBool("t.skipSync"), viper.GetInt("bc.uniqueNodeIdentifier"), viper.GetBool("bc.checkDb")) if err != nil { StopApplicationPreBoot(err, Db) } diff --git a/example.ipld-ethcl-indexer-config.json b/example.ipld-ethcl-indexer-config.json index 69746ca..96c2c6f 100644 --- a/example.ipld-ethcl-indexer-config.json +++ b/example.ipld-ethcl-indexer-config.json @@ -15,7 +15,8 @@ "bootMaxRetry": 5, "maxHistoricProcessWorker": 2, "connectionProtocol": "http", - "uniqueNodeIdentifier": 100 + "uniqueNodeIdentifier": 100, + "checkDb": true }, "t": { "skipSync": true diff --git a/internal/boot/boot.go b/internal/boot/boot.go index b1e476b..1e42cce 100644 --- a/internal/boot/boot.go +++ b/internal/boot/boot.go @@ -42,11 +42,11 @@ var ( // // 3. Make sure the node is synced, unless disregardSync is true. func BootApplication(ctx context.Context, dbHostname string, dbPort int, dbName string, dbUsername string, dbPassword string, driverName string, - bcAddress string, bcPort int, bcConnectionProtocol string, bcKgTableIncrement int, disregardSync bool, uniqueNodeIdentifier int) (*beaconclient.BeaconClient, sql.Database, error) { + bcAddress string, bcPort int, bcConnectionProtocol string, bcKgTableIncrement int, disregardSync bool, uniqueNodeIdentifier int, checkDb bool) (*beaconclient.BeaconClient, sql.Database, error) { log.Info("Booting the Application") log.Debug("Creating the Beacon Client") - Bc, err := beaconclient.CreateBeaconClient(ctx, bcConnectionProtocol, bcAddress, bcPort, bcKgTableIncrement, uniqueNodeIdentifier) + Bc, err := beaconclient.CreateBeaconClient(ctx, bcConnectionProtocol, bcAddress, bcPort, bcKgTableIncrement, uniqueNodeIdentifier, checkDb) if err != nil { return Bc, nil, err } @@ -86,14 +86,14 @@ func BootApplication(ctx context.Context, dbHostname string, dbPort int, dbName // Add retry logic to ensure that we are give the Beacon Client and the DB time to start. func BootApplicationWithRetry(ctx context.Context, dbHostname string, dbPort int, dbName string, dbUsername string, dbPassword string, driverName string, bcAddress string, bcPort int, bcConnectionProtocol string, bcType string, bcRetryInterval int, bcMaxRetry int, bcKgTableIncrement int, - startUpMode string, disregardSync bool, uniqueNodeIdentifier int) (*beaconclient.BeaconClient, sql.Database, error) { + startUpMode string, disregardSync bool, uniqueNodeIdentifier int, checkDb bool) (*beaconclient.BeaconClient, sql.Database, error) { var err error if bcMaxRetry < 0 { i := 0 for { BC, DB, err = BootApplication(ctx, dbHostname, dbPort, dbName, dbUsername, dbPassword, driverName, - bcAddress, bcPort, bcConnectionProtocol, bcKgTableIncrement, disregardSync, uniqueNodeIdentifier) + bcAddress, bcPort, bcConnectionProtocol, bcKgTableIncrement, disregardSync, uniqueNodeIdentifier, checkDb) if err != nil { log.WithFields(log.Fields{ "retryNumber": i, @@ -108,7 +108,7 @@ func BootApplicationWithRetry(ctx context.Context, dbHostname string, dbPort int } else { for i := 0; i < bcMaxRetry; i++ { BC, DB, err = BootApplication(ctx, dbHostname, dbPort, dbName, dbUsername, dbPassword, driverName, - bcAddress, bcPort, bcConnectionProtocol, bcKgTableIncrement, disregardSync, uniqueNodeIdentifier) + bcAddress, bcPort, bcConnectionProtocol, bcKgTableIncrement, disregardSync, uniqueNodeIdentifier, checkDb) if err != nil { log.WithFields(log.Fields{ "retryNumber": i, diff --git a/internal/boot/boot_test.go b/internal/boot/boot_test.go index ef621ae..fe8933f 100644 --- a/internal/boot/boot_test.go +++ b/internal/boot/boot_test.go @@ -39,51 +39,52 @@ var _ = Describe("Boot", func() { bcBootMaxRetry int = 5 bcKgTableIncrement int = 10 bcUniqueIdentifier int = 100 + bcCheckDb bool = false ) Describe("Booting the application", Label("integration"), func() { Context("When the DB and BC are both up and running, we skip checking for a synced head, and we are processing head", func() { It("Should connect successfully", func() { - _, db, err := boot.BootApplicationWithRetry(context.Background(), dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, bcKgTableIncrement, "head", true, bcUniqueIdentifier) + _, db, err := boot.BootApplicationWithRetry(context.Background(), dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, bcKgTableIncrement, "head", true, bcUniqueIdentifier, bcCheckDb) defer db.Close() Expect(err).ToNot(HaveOccurred()) }) }) Context("When the DB and BC are both up and running, we skip checking for a synced head, and we are processing historic ", func() { It("Should connect successfully", func() { - _, db, err := boot.BootApplicationWithRetry(context.Background(), dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, bcKgTableIncrement, "historic", true, bcUniqueIdentifier) + _, db, err := boot.BootApplicationWithRetry(context.Background(), dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, bcKgTableIncrement, "historic", true, bcUniqueIdentifier, bcCheckDb) defer db.Close() Expect(err).ToNot(HaveOccurred()) }) }) Context("When the DB and BC are both up and running, and we check for a synced head", func() { It("Should not connect successfully", func() { - _, db, err := boot.BootApplicationWithRetry(context.Background(), dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, bcKgTableIncrement, "head", false, bcUniqueIdentifier) + _, db, err := boot.BootApplicationWithRetry(context.Background(), dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, bcKgTableIncrement, "head", false, bcUniqueIdentifier, bcCheckDb) defer db.Close() Expect(err).To(HaveOccurred()) }) }) Context("When the DB and BC are both up and running, we skip checking for a synced head, but the unique identifier is 0", func() { It("Should not connect successfully", func() { - _, db, err := boot.BootApplicationWithRetry(context.Background(), dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, bcKgTableIncrement, "head", false, 0) + _, db, err := boot.BootApplicationWithRetry(context.Background(), dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, bcKgTableIncrement, "head", false, 0, bcCheckDb) defer db.Close() Expect(err).To(HaveOccurred()) }) }) Context("When the DB is running but not the BC", func() { It("Should not connect successfully", func() { - _, _, err := boot.BootApplication(context.Background(), dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, "hi", 100, bcConnectionProtocol, bcKgTableIncrement, true, bcUniqueIdentifier) + _, _, err := boot.BootApplication(context.Background(), dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, "hi", 100, bcConnectionProtocol, bcKgTableIncrement, true, bcUniqueIdentifier, bcCheckDb) Expect(err).To(HaveOccurred()) }) }) Context("When the BC is running but not the DB", func() { It("Should not connect successfully", func() { - _, _, err := boot.BootApplication(context.Background(), "hi", 10, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcKgTableIncrement, true, bcUniqueIdentifier) + _, _, err := boot.BootApplication(context.Background(), "hi", 10, dbName, dbUsername, dbPassword, dbDriver, bcAddress, bcPort, bcConnectionProtocol, bcKgTableIncrement, true, bcUniqueIdentifier, bcCheckDb) Expect(err).To(HaveOccurred()) }) }) Context("When neither the BC or DB are running", func() { It("Should not connect successfully", func() { - _, _, err := boot.BootApplication(context.Background(), "hi", 10, dbName, dbUsername, dbPassword, dbDriver, "hi", 100, bcConnectionProtocol, bcKgTableIncrement, true, bcUniqueIdentifier) + _, _, err := boot.BootApplication(context.Background(), "hi", 10, dbName, dbUsername, dbPassword, dbDriver, "hi", 100, bcConnectionProtocol, bcKgTableIncrement, true, bcUniqueIdentifier, bcCheckDb) Expect(err).To(HaveOccurred()) }) }) diff --git a/internal/shutdown/shutdown_test.go b/internal/shutdown/shutdown_test.go index c6fa00e..9dbb94d 100644 --- a/internal/shutdown/shutdown_test.go +++ b/internal/shutdown/shutdown_test.go @@ -50,6 +50,7 @@ var ( bcBootMaxRetry int = 5 bcKgTableIncrement int = 10 bcUniqueIdentifier int = 100 + bcCheckDb bool = false maxWaitSecondsShutdown time.Duration = time.Duration(1) * time.Second DB sql.Database BC *beaconclient.BeaconClient @@ -62,7 +63,7 @@ var _ = Describe("Shutdown", func() { BeforeEach(func() { ctx = context.Background() BC, DB, err = boot.BootApplicationWithRetry(ctx, dbAddress, dbPort, dbName, dbUsername, dbPassword, dbDriver, bcAddress, - bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, bcKgTableIncrement, "head", true, bcUniqueIdentifier) + bcPort, bcConnectionProtocol, bcType, bcBootRetryInterval, bcBootMaxRetry, bcKgTableIncrement, "head", true, bcUniqueIdentifier, bcCheckDb) notifierCh = make(chan os.Signal, 1) Expect(err).To(BeNil()) }) diff --git a/pkg/beaconclient/beaconclient.go b/pkg/beaconclient/beaconclient.go index e9fd5c0..8f24207 100644 --- a/pkg/beaconclient/beaconclient.go +++ b/pkg/beaconclient/beaconclient.go @@ -51,6 +51,7 @@ type BeaconClient struct { KnownGapTableIncrement int // The max number of slots within a single known_gaps table entry. UniqueNodeIdentifier int // The unique identifier within the cluster of this individual node. KnownGapsProcess KnownGapsProcessing // object keeping track of knowngaps processing + CheckDb bool // Should we check the DB to see if the slot exists before processing it? // Used for Head Tracking @@ -88,7 +89,7 @@ type SseError struct { } // A Function to create the BeaconClient. -func CreateBeaconClient(ctx context.Context, connectionProtocol string, bcAddress string, bcPort int, bcKgTableIncrement int, uniqueNodeIdentifier int) (*BeaconClient, error) { +func CreateBeaconClient(ctx context.Context, connectionProtocol string, bcAddress string, bcPort int, bcKgTableIncrement int, uniqueNodeIdentifier int, checkDb bool) (*BeaconClient, error) { if uniqueNodeIdentifier == 0 { uniqueNodeIdentifier := rand.Int() log.WithField("randomUniqueNodeIdentifier", uniqueNodeIdentifier).Warn("No uniqueNodeIdentifier provided, we are going to use a randomly generated one.") @@ -109,6 +110,7 @@ func CreateBeaconClient(ctx context.Context, connectionProtocol string, bcAddres ReOrgTracking: createSseEvent[ChainReorg](endpoint, bcReorgTopicEndpoint), Metrics: metrics, UniqueNodeIdentifier: uniqueNodeIdentifier, + CheckDb: checkDb, //FinalizationTracking: createSseEvent[FinalizedCheckpoint](endpoint, bcFinalizedTopicEndpoint), }, nil } diff --git a/pkg/beaconclient/capturehead_test.go b/pkg/beaconclient/capturehead_test.go index 0856cbe..0561913 100644 --- a/pkg/beaconclient/capturehead_test.go +++ b/pkg/beaconclient/capturehead_test.go @@ -204,6 +204,7 @@ var ( dbDriver: dbDriver, knownGapsTableIncrement: knownGapsTableIncrement, bcUniqueIdentifier: bcUniqueIdentifier, + checkDb: true, } BeaconNodeTester = TestBeaconNode{ @@ -424,6 +425,7 @@ type Config struct { dbDriver string knownGapsTableIncrement int bcUniqueIdentifier int + checkDb bool } ////////////////////////////////////////////////////// @@ -433,7 +435,7 @@ type Config struct { // Must run before each test. We can't use the beforeEach because of the way // Gingko treats race conditions. func setUpTest(config Config, maxSlot string) *beaconclient.BeaconClient { - bc, err := beaconclient.CreateBeaconClient(context.Background(), config.protocol, config.address, config.port, config.knownGapsTableIncrement, config.bcUniqueIdentifier) + bc, err := beaconclient.CreateBeaconClient(context.Background(), config.protocol, config.address, config.port, config.knownGapsTableIncrement, config.bcUniqueIdentifier, config.checkDb) Expect(err).ToNot(HaveOccurred()) db, err := postgres.SetupPostgresDb(config.dbHost, config.dbPort, config.dbName, config.dbUser, config.dbPassword, config.dbDriver) Expect(err).ToNot(HaveOccurred()) diff --git a/pkg/beaconclient/capturehistoric.go b/pkg/beaconclient/capturehistoric.go index cd88c90..a569568 100644 --- a/pkg/beaconclient/capturehistoric.go +++ b/pkg/beaconclient/capturehistoric.go @@ -30,7 +30,7 @@ import ( func (bc *BeaconClient) CaptureHistoric(maxWorkers int) []error { log.Info("We are starting the historical processing service.") bc.HistoricalProcess = historicProcessing{db: bc.Db, metrics: bc.Metrics} - errs := handleBatchProcess(maxWorkers, bc.HistoricalProcess, bc.HistoricalProcess.finishProcessing, bc.HistoricalProcess.db, bc.ServerEndpoint, bc.Metrics) + errs := handleBatchProcess(maxWorkers, bc.HistoricalProcess, bc.HistoricalProcess.finishProcessing, bc.HistoricalProcess.db, bc.ServerEndpoint, bc.Metrics, bc.CheckDb) log.Debug("Exiting Historical") return errs } @@ -89,7 +89,7 @@ type batchHistoricError struct { // 4. Remove the slot entry from the DB. // // 5. Handle any errors. -func handleBatchProcess(maxWorkers int, bp BatchProcessing, finishCh chan int, db sql.Database, serverEndpoint string, metrics *BeaconClientMetrics) []error { +func handleBatchProcess(maxWorkers int, bp BatchProcessing, finishCh chan int, db sql.Database, serverEndpoint string, metrics *BeaconClientMetrics, checkDb bool) []error { slotsCh := make(chan slotsToProcess) workCh := make(chan int) processedCh := make(chan slotsToProcess) @@ -99,7 +99,7 @@ func handleBatchProcess(maxWorkers int, bp BatchProcessing, finishCh chan int, d // Start workers for w := 1; w <= maxWorkers; w++ { log.WithFields(log.Fields{"maxWorkers": maxWorkers}).Debug("Starting batch processing workers") - go processSlotRangeWorker(workCh, errCh, db, serverEndpoint, metrics) + go processSlotRangeWorker(workCh, errCh, db, serverEndpoint, metrics, checkDb) } // Process all ranges and send each individual slot to the worker. diff --git a/pkg/beaconclient/capturehistoric_test.go b/pkg/beaconclient/capturehistoric_test.go index 0a288c3..d69f306 100644 --- a/pkg/beaconclient/capturehistoric_test.go +++ b/pkg/beaconclient/capturehistoric_test.go @@ -16,7 +16,7 @@ import ( var _ = Describe("Capturehistoric", func() { Describe("Run the application in historic mode", Label("unit", "behavioral"), func() { - Context("Phase0: When we need to process a single block in the ethcl.historic_process table.", Label("now"), func() { + Context("Phase0: When we need to process a single block in the ethcl.historic_process table.", func() { It("Successfully Process the Block", func() { bc := setUpTest(BeaconNodeTester.TestConfig, "99") BeaconNodeTester.SetupBeaconNodeMock(BeaconNodeTester.TestEvents, BeaconNodeTester.TestConfig.protocol, BeaconNodeTester.TestConfig.address, BeaconNodeTester.TestConfig.port, BeaconNodeTester.TestConfig.dummyParentRoot) diff --git a/pkg/beaconclient/databasewrite.go b/pkg/beaconclient/databasewrite.go index fd0ac6c..cc53646 100644 --- a/pkg/beaconclient/databasewrite.go +++ b/pkg/beaconclient/databasewrite.go @@ -20,6 +20,7 @@ import ( "fmt" "strconv" + "github.com/jackc/pgx/v4" log "github.com/sirupsen/logrus" "github.com/vulcanize/ipld-ethcl-indexer/pkg/database/sql" "github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper" @@ -54,6 +55,14 @@ VALUES ($1, $2) ON CONFLICT (key) DO NOTHING` CheckProposedStmt string = `SELECT slot, block_root FROM ethcl.slots WHERE slot=$1 AND block_root=$2;` + // Check to see if the slot and block_root exist in ethcl.signed_beacon_block + CheckSignedBeaconBlockStmt string = `SELECT slot, block_root + FROM ethcl.signed_beacon_block + WHERE slot=$1 AND block_root=$2` + // Check to see if the slot and state_root exist in ethcl.beacon_state + CheckBeaconStateStmt string = `SELECT slot, state_root + FROM ethcl.beacon_state + WHERE slot=$1 AND state_root=$2` // Used to get a single slot from the table if it exists QueryBySlotStmt string = `SELECT slot FROM ethcl.slots @@ -75,6 +84,8 @@ VALUES ($1, $2, $3, $4, $5, $6) on CONFLICT (start_slot, end_slot) DO NOTHING` // Remove any of it from the processslot file. type DatabaseWriter struct { Db sql.Database + Tx sql.Tx + Ctx context.Context Metrics *BeaconClientMetrics DbSlots *DbSlots DbSignedBeaconBlock *DbSignedBeaconBlock @@ -85,14 +96,21 @@ type DatabaseWriter struct { func CreateDatabaseWrite(db sql.Database, slot int, stateRoot string, blockRoot string, parentBlockRoot string, eth1BlockHash string, status string, rawSignedBeaconBlock []byte, rawBeaconState []byte, metrics *BeaconClientMetrics) (*DatabaseWriter, error) { + ctx := context.Background() + tx, err := db.Begin(ctx) + if err != nil { + loghelper.LogError(err).Error("We are unable to Begin a SQL transaction") + } dw := &DatabaseWriter{ Db: db, + Tx: tx, + Ctx: ctx, rawBeaconState: rawBeaconState, rawSignedBeaconBlock: rawSignedBeaconBlock, Metrics: metrics, } dw.prepareSlotsModel(slot, stateRoot, blockRoot, status) - err := dw.prepareSignedBeaconBlockModel(slot, blockRoot, parentBlockRoot, eth1BlockHash) + err = dw.prepareSignedBeaconBlockModel(slot, blockRoot, parentBlockRoot, eth1BlockHash) if err != nil { return nil, err } @@ -150,28 +168,40 @@ func (dw *DatabaseWriter) prepareBeaconStateModel(slot int, stateRoot string) er return nil } -// Write all the data for a given slot. -func (dw *DatabaseWriter) writeFullSlot() error { +// Add all the data for a given slot to a SQL transaction. +// Originally it wrote to each table individually. +func (dw *DatabaseWriter) transactFullSlot() error { // If an error occurs, write to knownGaps table. log.WithFields(log.Fields{ "slot": dw.DbSlots.Slot, }).Debug("Starting to write to the DB.") - err := dw.writeSlots() + err := dw.transactSlots() if err != nil { loghelper.LogSlotError(dw.DbSlots.Slot, err).Error("We couldn't write to the ethcl.slots table...") return err } log.Debug("We finished writing to the ethcl.slots table.") if dw.DbSlots.Status != "skipped" { - errG, _ := errgroup.WithContext(context.Background()) - errG.Go(func() error { - return dw.writeSignedBeaconBlocks() - }) - errG.Go(func() error { - return dw.writeBeaconState() - }) - if err := errG.Wait(); err != nil { - loghelper.LogSlotError(dw.DbSlots.Slot, err).Error("We couldn't write to the ethcl block or state table...") + //errG, _ := errgroup.WithContext(context.Background()) + //errG.Go(func() error { + // return dw.transactSignedBeaconBlocks() + //}) + //errG.Go(func() error { + // return dw.transactBeaconState() + //}) + //if err := errG.Wait(); err != nil { + // loghelper.LogSlotError(dw.DbSlots.Slot, err).Error("We couldn't write to the ethcl block or state table...") + // return err + //} + // Might want to seperate writing to public.blocks so we can do this concurrently... + err := dw.transactSignedBeaconBlocks() + if err != nil { + loghelper.LogSlotError(dw.DbSlots.Slot, err).Error("We couldn't write to the ethcl block table...") + return err + } + err = dw.transactBeaconState() + if err != nil { + loghelper.LogSlotError(dw.DbSlots.Slot, err).Error("We couldn't write to the ethcl state table...") return err } } @@ -179,16 +209,16 @@ func (dw *DatabaseWriter) writeFullSlot() error { return nil } -// Write the information for the generic slots table. For now this is only one function. +// Add data for the ethcl.slots table to a transaction. For now this is only one function. // But in the future if we need to incorporate any FK's or perform any actions to write to the // slots table we can do it all here. -func (dw *DatabaseWriter) writeSlots() error { +func (dw *DatabaseWriter) transactSlots() error { return dw.upsertSlots() } // Upsert to the ethcl.slots table. func (dw *DatabaseWriter) upsertSlots() error { - _, err := dw.Db.Exec(context.Background(), UpsertSlotsStmt, dw.DbSlots.Epoch, dw.DbSlots.Slot, dw.DbSlots.BlockRoot, dw.DbSlots.StateRoot, dw.DbSlots.Status) + _, err := dw.Tx.Exec(dw.Ctx, UpsertSlotsStmt, dw.DbSlots.Epoch, dw.DbSlots.Slot, dw.DbSlots.BlockRoot, dw.DbSlots.StateRoot, dw.DbSlots.Status) if err != nil { loghelper.LogSlotError(dw.DbSlots.Slot, err).Error("Unable to write to the slot to the ethcl.slots table") return err @@ -196,8 +226,8 @@ func (dw *DatabaseWriter) upsertSlots() error { return nil } -// Write the information for the signed_beacon_block. -func (dw *DatabaseWriter) writeSignedBeaconBlocks() error { +// Add the information for the signed_beacon_block to a transaction. +func (dw *DatabaseWriter) transactSignedBeaconBlocks() error { err := dw.upsertPublicBlocks(dw.DbSignedBeaconBlock.MhKey, dw.rawSignedBeaconBlock) if err != nil { return err @@ -211,7 +241,7 @@ func (dw *DatabaseWriter) writeSignedBeaconBlocks() error { // Upsert to public.blocks. func (dw *DatabaseWriter) upsertPublicBlocks(key string, data []byte) error { - _, err := dw.Db.Exec(context.Background(), UpsertBlocksStmt, key, data) + _, err := dw.Tx.Exec(dw.Ctx, UpsertBlocksStmt, key, data) if err != nil { loghelper.LogSlotError(dw.DbSlots.Slot, err).Error("Unable to write to the slot to the public.blocks table") return err @@ -221,7 +251,7 @@ func (dw *DatabaseWriter) upsertPublicBlocks(key string, data []byte) error { // Upsert to the ethcl.signed_beacon_block table. func (dw *DatabaseWriter) upsertSignedBeaconBlock() error { - _, err := dw.Db.Exec(context.Background(), UpsertSignedBeaconBlockStmt, dw.DbSignedBeaconBlock.Slot, dw.DbSignedBeaconBlock.BlockRoot, dw.DbSignedBeaconBlock.ParentBlock, dw.DbSignedBeaconBlock.Eth1BlockHash, dw.DbSignedBeaconBlock.MhKey) + _, err := dw.Tx.Exec(dw.Ctx, UpsertSignedBeaconBlockStmt, dw.DbSignedBeaconBlock.Slot, dw.DbSignedBeaconBlock.BlockRoot, dw.DbSignedBeaconBlock.ParentBlock, dw.DbSignedBeaconBlock.Eth1BlockHash, dw.DbSignedBeaconBlock.MhKey) if err != nil { loghelper.LogSlotError(dw.DbSlots.Slot, err).WithFields(log.Fields{"block_root": dw.DbSignedBeaconBlock.BlockRoot}).Error("Unable to write to the slot to the ethcl.signed_beacon_block table") return err @@ -229,8 +259,8 @@ func (dw *DatabaseWriter) upsertSignedBeaconBlock() error { return nil } -// Write the information for the beacon_state. -func (dw *DatabaseWriter) writeBeaconState() error { +// Add the information for the beacon_state to a transaction. +func (dw *DatabaseWriter) transactBeaconState() error { err := dw.upsertPublicBlocks(dw.DbBeaconState.MhKey, dw.rawBeaconState) if err != nil { return err @@ -244,7 +274,7 @@ func (dw *DatabaseWriter) writeBeaconState() error { // Upsert to the ethcl.beacon_state table. func (dw *DatabaseWriter) upsertBeaconState() error { - _, err := dw.Db.Exec(context.Background(), UpsertBeaconState, dw.DbBeaconState.Slot, dw.DbBeaconState.StateRoot, dw.DbBeaconState.MhKey) + _, err := dw.Tx.Exec(dw.Ctx, UpsertBeaconState, dw.DbBeaconState.Slot, dw.DbBeaconState.StateRoot, dw.DbBeaconState.MhKey) if err != nil { loghelper.LogSlotError(dw.DbSlots.Slot, err).Error("Unable to write to the slot to the ethcl.beacon_state table") return err @@ -252,23 +282,23 @@ func (dw *DatabaseWriter) upsertBeaconState() error { return nil } -// Update a given slot to be marked as forked. Provide the slot and the latest latestBlockRoot. +// Update a given slot to be marked as forked within a transaction. Provide the slot and the latest latestBlockRoot. // We will mark all entries for the given slot that don't match the provided latestBlockRoot as forked. -func writeReorgs(db sql.Database, slot string, latestBlockRoot string, metrics *BeaconClientMetrics) { +func transactReorgs(tx sql.Tx, ctx context.Context, slot string, latestBlockRoot string, metrics *BeaconClientMetrics) { slotNum, strErr := strconv.Atoi(slot) if strErr != nil { loghelper.LogReorgError(slot, latestBlockRoot, strErr).Error("We can't convert the slot to an int...") } - forkCount, err := updateForked(db, slot, latestBlockRoot) + forkCount, err := updateForked(tx, ctx, slot, latestBlockRoot) if err != nil { loghelper.LogReorgError(slot, latestBlockRoot, err).Error("We ran into some trouble while updating all forks.") - writeKnownGaps(db, 1, slotNum, slotNum, err, "reorg", metrics) + transactKnownGaps(tx, ctx, 1, slotNum, slotNum, err, "reorg", metrics) } - proposedCount, err := updateProposed(db, slot, latestBlockRoot) + proposedCount, err := updateProposed(tx, ctx, slot, latestBlockRoot) if err != nil { loghelper.LogReorgError(slot, latestBlockRoot, err).Error("We ran into some trouble while trying to update the proposed slot.") - writeKnownGaps(db, 1, slotNum, slotNum, err, "reorg", metrics) + transactKnownGaps(tx, ctx, 1, slotNum, slotNum, err, "reorg", metrics) } if forkCount > 0 { @@ -289,29 +319,37 @@ func writeReorgs(db sql.Database, slot string, latestBlockRoot string, metrics * loghelper.LogReorg(slot, latestBlockRoot).WithFields(log.Fields{ "proposedCount": proposedCount, }).Error("Too many rows were marked as proposed!") - writeKnownGaps(db, 1, slotNum, slotNum, err, "reorg", metrics) + transactKnownGaps(tx, ctx, 1, slotNum, slotNum, fmt.Errorf("Too many rows were marked as unproposed."), "reorg", metrics) } else if proposedCount == 0 { - var count int - err := db.QueryRow(context.Background(), CheckProposedStmt, slot, latestBlockRoot).Scan(count) - if err != nil { - loghelper.LogReorgError(slot, latestBlockRoot, err).Error("Unable to query proposed rows after reorg.") - writeKnownGaps(db, 1, slotNum, slotNum, err, "reorg", metrics) - } else if count != 1 { - loghelper.LogReorg(slot, latestBlockRoot).WithFields(log.Fields{ - "proposedCount": count, - }).Warn("The proposed block was not marked as proposed...") - writeKnownGaps(db, 1, slotNum, slotNum, err, "reorg", metrics) - } else { - loghelper.LogReorg(slot, latestBlockRoot).Info("Updated the row that should have been marked as proposed.") - } + transactKnownGaps(tx, ctx, 1, slotNum, slotNum, fmt.Errorf("Unable to find properly proposed row in DB"), "reorg", metrics) + loghelper.LogReorg(slot, latestBlockRoot).Info("Updated the row that should have been marked as proposed.") } metrics.IncrementReorgsInsert(1) } +// Wrapper function that will create a transaction and execute the function. +func writeReorgs(db sql.Database, slot string, latestBlockRoot string, metrics *BeaconClientMetrics) { + ctx := context.Background() + tx, err := db.Begin(ctx) + if err != nil { + loghelper.LogReorgError(slot, latestBlockRoot, err).Fatal("Unable to create a new transaction for reorgs") + } + defer func() { + err := tx.Rollback(ctx) + if err != nil && err != pgx.ErrTxClosed { + loghelper.LogError(err).Error("We were unable to Rollback a transaction for reorgs") + } + }() + transactReorgs(tx, ctx, slot, latestBlockRoot, metrics) + if err = tx.Commit(ctx); err != nil { + loghelper.LogReorgError(slot, latestBlockRoot, err).Fatal("Unable to execute the transaction for reorgs") + } +} + // Update the slots table by marking the old slot's as forked. -func updateForked(db sql.Database, slot string, latestBlockRoot string) (int64, error) { - res, err := db.Exec(context.Background(), UpdateForkedStmt, slot, latestBlockRoot) +func updateForked(tx sql.Tx, ctx context.Context, slot string, latestBlockRoot string) (int64, error) { + res, err := tx.Exec(ctx, UpdateForkedStmt, slot, latestBlockRoot) if err != nil { loghelper.LogReorgError(slot, latestBlockRoot, err).Error("We are unable to update the ethcl.slots table with the forked slots") return 0, err @@ -324,8 +362,9 @@ func updateForked(db sql.Database, slot string, latestBlockRoot string) (int64, return count, err } -func updateProposed(db sql.Database, slot string, latestBlockRoot string) (int64, error) { - res, err := db.Exec(context.Background(), UpdateProposedStmt, slot, latestBlockRoot) +// Mark a slot as proposed. +func updateProposed(tx sql.Tx, ctx context.Context, slot string, latestBlockRoot string) (int64, error) { + res, err := tx.Exec(ctx, UpdateProposedStmt, slot, latestBlockRoot) if err != nil { loghelper.LogReorgError(slot, latestBlockRoot, err).Error("We are unable to update the ethcl.slots table with the proposed slot.") return 0, err @@ -339,20 +378,26 @@ func updateProposed(db sql.Database, slot string, latestBlockRoot string) (int64 return count, err } -// A wrapper function to call upsertKnownGaps. This function will break down the range of known_gaos into +// A wrapper function to call upsertKnownGaps. This function will break down the range of known_gaps into // smaller chunks. For example, instead of having an entry of 1-101, if we increment the entries by 10 slots, we would // have 10 entries as follows: 1-10, 11-20, etc... -func writeKnownGaps(db sql.Database, tableIncrement int, startSlot int, endSlot int, entryError error, entryProcess string, metric *BeaconClientMetrics) { +func transactKnownGaps(tx sql.Tx, ctx context.Context, tableIncrement int, startSlot int, endSlot int, entryError error, entryProcess string, metric *BeaconClientMetrics) { + var entryErrorMsg string + if entryError == nil { + entryErrorMsg = "" + } else { + entryErrorMsg = entryError.Error() + } if endSlot-startSlot <= tableIncrement { kgModel := DbKnownGaps{ StartSlot: strconv.Itoa(startSlot), EndSlot: strconv.Itoa(endSlot), CheckedOut: false, ReprocessingError: "", - EntryError: entryError.Error(), + EntryError: entryErrorMsg, EntryProcess: entryProcess, } - upsertKnownGaps(db, kgModel, metric) + upsertKnownGaps(tx, ctx, kgModel, metric) } else { totalSlots := endSlot - startSlot var chunks int @@ -374,18 +419,37 @@ func writeKnownGaps(db sql.Database, tableIncrement int, startSlot int, endSlot EndSlot: strconv.Itoa(tempEnd), CheckedOut: false, ReprocessingError: "", - EntryError: entryError.Error(), + EntryError: entryErrorMsg, EntryProcess: entryProcess, } - upsertKnownGaps(db, kgModel, metric) + upsertKnownGaps(tx, ctx, kgModel, metric) } } +} +// Wrapper function, instead of adding the knownGaps entries to a transaction, it will +// create the transaction and write it. +func writeKnownGaps(db sql.Database, tableIncrement int, startSlot int, endSlot int, entryError error, entryProcess string, metric *BeaconClientMetrics) { + ctx := context.Background() + tx, err := db.Begin(ctx) + if err != nil { + loghelper.LogSlotRangeError(strconv.Itoa(startSlot), strconv.Itoa(endSlot), err).Fatal("Unable to create a new transaction for knownGaps") + } + defer func() { + err := tx.Rollback(ctx) + if err != nil && err != pgx.ErrTxClosed { + loghelper.LogError(err).Error("We were unable to Rollback a transaction for reorgs") + } + }() + transactKnownGaps(tx, ctx, tableIncrement, startSlot, endSlot, entryError, entryProcess, metric) + if err = tx.Commit(ctx); err != nil { + loghelper.LogSlotRangeError(strconv.Itoa(startSlot), strconv.Itoa(endSlot), err).Fatal("Unable to execute the transaction for knownGaps") + } } // A function to upsert a single entry to the ethcl.known_gaps table. -func upsertKnownGaps(db sql.Database, knModel DbKnownGaps, metric *BeaconClientMetrics) { - _, err := db.Exec(context.Background(), UpsertKnownGapsStmt, knModel.StartSlot, knModel.EndSlot, +func upsertKnownGaps(tx sql.Tx, ctx context.Context, knModel DbKnownGaps, metric *BeaconClientMetrics) { + _, err := tx.Exec(ctx, UpsertKnownGapsStmt, knModel.StartSlot, knModel.EndSlot, knModel.CheckedOut, knModel.ReprocessingError, knModel.EntryError, knModel.EntryProcess) if err != nil { log.WithFields(log.Fields{ @@ -460,7 +524,55 @@ func isSlotProcessed(db sql.Database, checkProcessStmt string, slot string) (boo if err != nil { return false, err } - + if row > 0 { + return true, nil + } + return false, nil +} + +// Check to see if this slot is in the DB. Check ethcl.slots, ethcl.signed_beacon_block +// and ethcl.beacon_state. If the slot exists, return true +func IsSlotInDb(db sql.Database, slot string, blockRoot string, stateRoot string) (bool, error) { + var ( + isInBeaconState bool + isInSignedBeaconBlock bool + err error + ) + errG, _ := errgroup.WithContext(context.Background()) + errG.Go(func() error { + isInBeaconState, err = checkSlotAndRoot(db, CheckBeaconStateStmt, slot, stateRoot) + if err != nil { + loghelper.LogError(err).Error("Unable to check if the slot and stateroot exist in ethcl.beacon_state") + } + return err + }) + errG.Go(func() error { + isInSignedBeaconBlock, err = checkSlotAndRoot(db, CheckSignedBeaconBlockStmt, slot, blockRoot) + if err != nil { + loghelper.LogError(err).Error("Unable to check if the slot and block_root exist in ethcl.signed_beacon_block") + } + return err + }) + if err := errG.Wait(); err != nil { + return false, err + } + if isInBeaconState && isInSignedBeaconBlock { + return true, nil + } + return false, nil +} + +// Provide a statement, slot, and root, and this function will check to see +// if the slot and root exist in the table. +func checkSlotAndRoot(db sql.Database, statement, slot, root string) (bool, error) { + processRow, err := db.Exec(context.Background(), statement, slot, root) + if err != nil { + return false, err + } + row, err := processRow.RowsAffected() + if err != nil { + return false, err + } if row > 0 { return true, nil } diff --git a/pkg/beaconclient/healthcheck_test.go b/pkg/beaconclient/healthcheck_test.go index c09e3d8..23d55cc 100644 --- a/pkg/beaconclient/healthcheck_test.go +++ b/pkg/beaconclient/healthcheck_test.go @@ -31,9 +31,9 @@ var _ = Describe("Healthcheck", func() { BeforeEach(func() { var err error - Bc, err = beaconclient.CreateBeaconClient(context.Background(), "http", "localhost", 5052, 10, bcUniqueIdentifier) + Bc, err = beaconclient.CreateBeaconClient(context.Background(), "http", "localhost", 5052, 10, bcUniqueIdentifier, false) Expect(err).ToNot(HaveOccurred()) - errBc, err = beaconclient.CreateBeaconClient(context.Background(), "http", "blah-blah", 1010, 10, bcUniqueIdentifier) + errBc, err = beaconclient.CreateBeaconClient(context.Background(), "http", "blah-blah", 1010, 10, bcUniqueIdentifier, false) Expect(err).ToNot(HaveOccurred()) }) diff --git a/pkg/beaconclient/processevents.go b/pkg/beaconclient/processevents.go index 7610191..457a116 100644 --- a/pkg/beaconclient/processevents.go +++ b/pkg/beaconclient/processevents.go @@ -60,7 +60,7 @@ func (bc *BeaconClient) handleHead() { log.WithFields(log.Fields{"head": head}).Debug("We are going to start processing the slot.") - go processHeadSlot(bc.Db, bc.ServerEndpoint, slot, head.Block, head.State, bc.PreviousSlot, bc.PreviousBlockRoot, bc.Metrics, bc.KnownGapTableIncrement) + go processHeadSlot(bc.Db, bc.ServerEndpoint, slot, head.Block, head.State, bc.PreviousSlot, bc.PreviousBlockRoot, bc.Metrics, bc.KnownGapTableIncrement, bc.CheckDb) log.WithFields(log.Fields{"head": head.Slot}).Debug("We finished calling processHeadSlot.") diff --git a/pkg/beaconclient/processhistoric.go b/pkg/beaconclient/processhistoric.go index eb3e71b..af6e735 100644 --- a/pkg/beaconclient/processhistoric.go +++ b/pkg/beaconclient/processhistoric.go @@ -94,16 +94,16 @@ func (hp historicProcessing) releaseDbLocks() error { } // Process the slot range. -func processSlotRangeWorker(workCh <-chan int, errCh chan<- batchHistoricError, db sql.Database, serverAddress string, metrics *BeaconClientMetrics) { +func processSlotRangeWorker(workCh <-chan int, errCh chan<- batchHistoricError, db sql.Database, serverAddress string, metrics *BeaconClientMetrics, checkDb bool) { for slot := range workCh { log.Debug("Handling slot: ", slot) - err, errProcess := handleHistoricSlot(db, serverAddress, slot, metrics) - errMs := batchHistoricError{ - err: err, - errProcess: errProcess, - slot: slot, - } + err, errProcess := handleHistoricSlot(db, serverAddress, slot, metrics, checkDb) if err != nil { + errMs := batchHistoricError{ + err: err, + errProcess: errProcess, + slot: slot, + } errCh <- errMs } } @@ -150,7 +150,7 @@ func getBatchProcessRow(db sql.Database, getStartEndSlotStmt string, checkNewRow } defer func() { err := tx.Rollback(ctx) - if err != nil { + if err != nil && err != pgx.ErrTxClosed { loghelper.LogError(err).Error("We were unable to Rollback a transaction") errCount = append(errCount, err) } diff --git a/pkg/beaconclient/processknowngaps.go b/pkg/beaconclient/processknowngaps.go index 01762da..85f2834 100644 --- a/pkg/beaconclient/processknowngaps.go +++ b/pkg/beaconclient/processknowngaps.go @@ -61,7 +61,7 @@ type KnownGapsProcessing struct { func (bc *BeaconClient) ProcessKnownGaps(maxWorkers int) []error { log.Info("We are starting the known gaps processing service.") bc.KnownGapsProcess = KnownGapsProcessing{db: bc.Db, uniqueNodeIdentifier: bc.UniqueNodeIdentifier, metrics: bc.Metrics, finishProcessing: make(chan int)} - errs := handleBatchProcess(maxWorkers, bc.KnownGapsProcess, bc.KnownGapsProcess.finishProcessing, bc.KnownGapsProcess.db, bc.ServerEndpoint, bc.Metrics) + errs := handleBatchProcess(maxWorkers, bc.KnownGapsProcess, bc.KnownGapsProcess.finishProcessing, bc.KnownGapsProcess.db, bc.ServerEndpoint, bc.Metrics, bc.CheckDb) log.Debug("Exiting known gaps processing service") return errs } diff --git a/pkg/beaconclient/processslot.go b/pkg/beaconclient/processslot.go index 146d53c..80fb2d8 100644 --- a/pkg/beaconclient/processslot.go +++ b/pkg/beaconclient/processslot.go @@ -26,6 +26,7 @@ import ( "strconv" "strings" + "github.com/jackc/pgx/v4" si "github.com/prysmaticlabs/prysm/consensus-types/interfaces" "github.com/prysmaticlabs/prysm/consensus-types/wrapper" dt "github.com/prysmaticlabs/prysm/encoding/ssz/detect" @@ -79,7 +80,7 @@ type ProcessSlot struct { // This function will do all the work to process the slot and write it to the DB. // It will return the error and error process. The error process is used for providing reach detail to the // known_gaps table. -func processFullSlot(db sql.Database, serverAddress string, slot int, blockRoot string, stateRoot string, previousSlot int, previousBlockRoot string, headOrHistoric string, metrics *BeaconClientMetrics, knownGapsTableIncrement int) (error, string) { +func processFullSlot(db sql.Database, serverAddress string, slot int, blockRoot string, stateRoot string, previousSlot int, previousBlockRoot string, headOrHistoric string, metrics *BeaconClientMetrics, knownGapsTableIncrement int, checkDb bool) (error, string) { ps := &ProcessSlot{ Slot: slot, BlockRoot: blockRoot, @@ -114,13 +115,34 @@ func processFullSlot(db sql.Database, serverAddress string, slot int, blockRoot return err, "processSlot" } + finalBlockRoot, finalStateRoot, finalEth1BlockHash, err := ps.provideFinalHash() + if err != nil { + return err, "CalculateBlockRoot" + } + if checkDb { + inDb, err := IsSlotInDb(ps.Db, strconv.Itoa(ps.Slot), finalBlockRoot, finalStateRoot) + if err != nil { + return err, "checkDb" + } + if inDb { + log.WithField("slot", slot).Info("Slot already in the DB.") + return nil, "" + } + } + // Get this object ready to write - dw, err := ps.createWriteObjects() + dw, err := ps.createWriteObjects(finalBlockRoot, finalStateRoot, finalEth1BlockHash) if err != nil { return err, "blockRoot" } // Write the object to the DB. - err = dw.writeFullSlot() + defer func() { + err := dw.Tx.Rollback(dw.Ctx) + if err != nil && err != pgx.ErrTxClosed { + loghelper.LogError(err).Error("We were unable to Rollback a transaction") + } + }() + err = dw.transactFullSlot() if err != nil { return err, "processSlot" } @@ -131,26 +153,32 @@ func processFullSlot(db sql.Database, serverAddress string, slot int, blockRoot return fmt.Errorf("headOrHistoric must be either historic or head!"), "" } if ps.HeadOrHistoric == "head" && previousSlot != 0 && previousBlockRoot != "" && ps.Status != "skipped" { - ps.checkPreviousSlot(previousSlot, previousBlockRoot, knownGapsTableIncrement) + ps.checkPreviousSlot(dw.Tx, dw.Ctx, previousSlot, previousBlockRoot, knownGapsTableIncrement) } + + // Commit the transaction + if err = dw.Tx.Commit(dw.Ctx); err != nil { + return err, "transactionCommit" + } + return nil, "" } // Handle a slot that is at head. A wrapper function for calling `handleFullSlot`. -func processHeadSlot(db sql.Database, serverAddress string, slot int, blockRoot string, stateRoot string, previousSlot int, previousBlockRoot string, metrics *BeaconClientMetrics, knownGapsTableIncrement int) { +func processHeadSlot(db sql.Database, serverAddress string, slot int, blockRoot string, stateRoot string, previousSlot int, previousBlockRoot string, metrics *BeaconClientMetrics, knownGapsTableIncrement int, checkDb bool) { // Get the knownGaps at startUp. if previousSlot == 0 && previousBlockRoot == "" { writeStartUpGaps(db, knownGapsTableIncrement, slot, metrics) } - err, errReason := processFullSlot(db, serverAddress, slot, blockRoot, stateRoot, previousSlot, previousBlockRoot, "head", metrics, knownGapsTableIncrement) + err, errReason := processFullSlot(db, serverAddress, slot, blockRoot, stateRoot, previousSlot, previousBlockRoot, "head", metrics, knownGapsTableIncrement, checkDb) if err != nil { writeKnownGaps(db, knownGapsTableIncrement, slot, slot, err, errReason, metrics) } } // Handle a historic slot. A wrapper function for calling `handleFullSlot`. -func handleHistoricSlot(db sql.Database, serverAddress string, slot int, metrics *BeaconClientMetrics) (error, string) { - return processFullSlot(db, serverAddress, slot, "", "", 0, "", "historic", metrics, 1) +func handleHistoricSlot(db sql.Database, serverAddress string, slot int, metrics *BeaconClientMetrics, checkDb bool) (error, string) { + return processFullSlot(db, serverAddress, slot, "", "", 0, "", "historic", metrics, 1, checkDb) } // Update the SszSignedBeaconBlock and FullSignedBeaconBlock object with their respective values. @@ -232,14 +260,14 @@ func (ps *ProcessSlot) getBeaconState(serverEndpoint string, vmCh chan<- *dt.Ver } // Check to make sure that the previous block we processed is the parent of the current block. -func (ps *ProcessSlot) checkPreviousSlot(previousSlot int, previousBlockRoot string, knownGapsTableIncrement int) { +func (ps *ProcessSlot) checkPreviousSlot(tx sql.Tx, ctx context.Context, previousSlot int, previousBlockRoot string, knownGapsTableIncrement int) { parentRoot := "0x" + hex.EncodeToString(ps.FullSignedBeaconBlock.Block().ParentRoot()) if previousSlot == int(ps.FullBeaconState.Slot()) { log.WithFields(log.Fields{ "slot": ps.FullBeaconState.Slot(), "fork": true, }).Warn("A fork occurred! The previous slot and current slot match.") - writeReorgs(ps.Db, strconv.Itoa(ps.Slot), ps.BlockRoot, ps.Metrics) + transactReorgs(tx, ctx, strconv.Itoa(ps.Slot), ps.BlockRoot, ps.Metrics) } else if previousSlot > int(ps.FullBeaconState.Slot()) { log.WithFields(log.Fields{ "previousSlot": previousSlot, @@ -250,27 +278,43 @@ func (ps *ProcessSlot) checkPreviousSlot(previousSlot int, previousBlockRoot str "previousSlot": previousSlot, "currentSlot": ps.FullBeaconState.Slot(), }).Error("We skipped a few slots.") - writeKnownGaps(ps.Db, knownGapsTableIncrement, previousSlot+1, int(ps.FullBeaconState.Slot())-1, fmt.Errorf("Gaps during head processing"), "headGaps", ps.Metrics) + transactKnownGaps(tx, ctx, knownGapsTableIncrement, previousSlot+1, int(ps.FullBeaconState.Slot())-1, fmt.Errorf("Gaps during head processing"), "headGaps", ps.Metrics) } else if previousBlockRoot != parentRoot { log.WithFields(log.Fields{ "previousBlockRoot": previousBlockRoot, "currentBlockParent": parentRoot, }).Error("The previousBlockRoot does not match the current blocks parent, an unprocessed fork might have occurred.") - writeReorgs(ps.Db, strconv.Itoa(previousSlot), parentRoot, ps.Metrics) + transactReorgs(tx, ctx, strconv.Itoa(previousSlot), parentRoot, ps.Metrics) } else { log.Debug("Previous Slot and Current Slot are one distance from each other.") } } // Transforms all the raw data into DB models that can be written to the DB. -func (ps *ProcessSlot) createWriteObjects() (*DatabaseWriter, error) { +func (ps *ProcessSlot) createWriteObjects(blockRoot, stateRoot, eth1BlockHash string) (*DatabaseWriter, error) { + var status string + if ps.Status != "" { + status = ps.Status + } else { + status = "proposed" + } + + dw, err := CreateDatabaseWrite(ps.Db, ps.Slot, stateRoot, blockRoot, ps.ParentBlockRoot, eth1BlockHash, status, ps.SszSignedBeaconBlock, ps.SszBeaconState, ps.Metrics) + if err != nil { + return dw, err + } + + return dw, nil +} + +// This function will return the final blockRoot, stateRoot, and eth1BlockHash that will be +// used to write to a DB +func (ps *ProcessSlot) provideFinalHash() (string, string, string, error) { var ( stateRoot string blockRoot string - status string eth1BlockHash string ) - if ps.Status == "skipped" { stateRoot = "" blockRoot = "" @@ -290,24 +334,12 @@ func (ps *ProcessSlot) createWriteObjects() (*DatabaseWriter, error) { rawBlockRoot, err := ps.FullSignedBeaconBlock.Block().HashTreeRoot() //blockRoot, err = queryBlockRoot(blockRootEndpoint, strconv.Itoa(ps.Slot)) if err != nil { - return nil, err + return "", "", "", err } blockRoot = "0x" + hex.EncodeToString(rawBlockRoot[:]) - log.WithFields(log.Fields{"blockRoot": blockRoot}).Debug("Block Root from ssz:") + log.WithFields(log.Fields{"blockRoot": blockRoot}).Debug("Block Root from ssz") } eth1BlockHash = "0x" + hex.EncodeToString(ps.FullSignedBeaconBlock.Block().Body().Eth1Data().BlockHash) } - - if ps.Status != "" { - status = ps.Status - } else { - status = "proposed" - } - - dw, err := CreateDatabaseWrite(ps.Db, ps.Slot, stateRoot, blockRoot, ps.ParentBlockRoot, eth1BlockHash, status, ps.SszSignedBeaconBlock, ps.SszBeaconState, ps.Metrics) - if err != nil { - return dw, err - } - - return dw, nil + return blockRoot, stateRoot, eth1BlockHash, nil } From 87aa87cb51960ed6775b1c2cd9e14f73e4fa965b Mon Sep 17 00:00:00 2001 From: i-norden Date: Mon, 6 Jun 2022 13:10:09 -0500 Subject: [PATCH 7/9] update multihash prefix --- pkg/beaconclient/multihash.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/beaconclient/multihash.go b/pkg/beaconclient/multihash.go index a9918b7..1407046 100644 --- a/pkg/beaconclient/multihash.go +++ b/pkg/beaconclient/multihash.go @@ -23,7 +23,7 @@ import ( "github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper" ) -const SSZ_SHA2_256_PREFIX uint64 = 0xb501 +const SSZ_SHA2_256_PREFIX uint64 = 0xb502 // MultihashKeyFromSSZRoot converts a SSZ-SHA2-256 root hash into a blockstore prefixed multihash key func MultihashKeyFromSSZRoot(root []byte) (string, error) { From 24fc6358d66807ec3f6a621ac73590eb5dc69247 Mon Sep 17 00:00:00 2001 From: Abdul Rabbani <58230246+abdulrabbani00@users.noreply.github.com> Date: Thu, 9 Jun 2022 17:32:46 -0400 Subject: [PATCH 8/9] Testing for Batch Processing (#56) * Set starting slot and improve error gap capturing * Set starting slot and improve error gap capturing * Tests + Significant Refactor The code for historical processing has been significantly refactored to use a context to signify a shutdown. There have also been many tests added for historical and knownGaps processing. * Update MhKeys in test * Update correct values * Update Max Retry Genesis is not working as expected. * Ensure we release locks properly * Add ordered testing * Include system tests * Update workflow calls * Add secrets * Add required secrets * update path * Try using the absolute path * Remove volumes at the end. * Update system-tests.yml * Update system-tests.yml * Update test err * Update and test the shutdown * rename ethcl --> eth-beacon * Try forcing /bin/bash for docker-compose * Update system-tests.yml * Update system-tests.yml * Update system-tests.yml * Update system-tests.yml * Update system-tests.yml * Update system-tests.yml * Use single quote cron * Dont run generic on schedule --- .../{tests.yml => generic-testing.yml} | 74 +- .github/workflows/on-pr.yml | 19 +- .github/workflows/on-publish.yml | 26 +- .github/workflows/system-tests.yml | 94 + Dockerfile | 8 +- Makefile | 20 +- README.md | 10 +- application_component.md | 2 +- cmd/boot.go | 10 +- cmd/capture.go | 6 +- cmd/full.go | 118 ++ cmd/head.go | 15 +- cmd/historic.go | 22 +- cmd/root.go | 10 +- cmd/version.go | 4 +- entrypoint.sh | 10 +- ...xample.ipld-eth-beacon-indexer-config.json | 4 +- go.mod | 2 +- internal/boot/boot.go | 6 +- internal/boot/boot_test.go | 2 +- internal/shutdown/shutdown.go | 45 +- internal/shutdown/shutdown_test.go | 19 +- ipld-eth-beacon-indexer.log | 1611 +++++++++++++++++ main.go | 2 +- pkg/beaconclient/beaconclient.go | 5 +- pkg/beaconclient/capturehead.go | 2 +- pkg/beaconclient/capturehead_test.go | 144 +- pkg/beaconclient/capturehistoric.go | 82 +- pkg/beaconclient/capturehistoric_test.go | 272 ++- pkg/beaconclient/checkbeaconserverstatus.go | 2 +- pkg/beaconclient/databasewrite.go | 135 +- pkg/beaconclient/healthcheck.go | 2 +- pkg/beaconclient/healthcheck_test.go | 2 +- pkg/beaconclient/incomingsse.go | 2 +- pkg/beaconclient/metrics.go | 53 +- pkg/beaconclient/models.go | 8 +- pkg/beaconclient/multihash.go | 2 +- pkg/beaconclient/processevents.go | 10 +- pkg/beaconclient/processhistoric.go | 299 +-- pkg/beaconclient/processknowngaps.go | 103 +- pkg/beaconclient/processslot.go | 189 +- pkg/beaconclient/queryserver.go | 2 +- pkg/beaconclient/systemvalidation_test.go | 69 + pkg/database/sql/postgres/database.go | 4 +- pkg/database/sql/postgres/pgx.go | 2 +- pkg/database/sql/postgres/pgx_test.go | 6 +- pkg/gracefulshutdown/gracefulshutdown.go | 2 +- 47 files changed, 2908 insertions(+), 628 deletions(-) rename .github/workflows/{tests.yml => generic-testing.yml} (66%) create mode 100644 .github/workflows/system-tests.yml create mode 100644 cmd/full.go rename example.ipld-ethcl-indexer-config.json => example.ipld-eth-beacon-indexer-config.json (90%) create mode 100644 ipld-eth-beacon-indexer.log create mode 100644 pkg/beaconclient/systemvalidation_test.go diff --git a/.github/workflows/tests.yml b/.github/workflows/generic-testing.yml similarity index 66% rename from .github/workflows/tests.yml rename to .github/workflows/generic-testing.yml index 8077c67..c1b56cd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/generic-testing.yml @@ -5,7 +5,7 @@ on: stack-orchestrator-ref: required: false type: string - ipld-ethcl-db-ref: + ipld-eth-beacon-db-ref: required: false type: string ssz-data-ref: @@ -16,8 +16,8 @@ on: required: true env: - stack-orchestrator-ref: ${{ inputs.stack-orchestrator-ref || 'develop' }} - ipld-ethcl-db-ref: ${{ inputs.ipld-ethcl-db-ref || 'feature/historic-processing' }} + stack-orchestrator-ref: ${{ inputs.stack-orchestrator-ref || '3048a224100ceb122d6da71328bf3803dff72a01' }} + ipld-eth-beacon-db-ref: ${{ inputs.ipld-eth-beacon-db-ref || '3dfe416302d553f8240f6051c08a7899b0e39e12' }} ssz-data-ref: ${{ inputs.ssz-data-ref || 'main' }} GOPATH: /tmp/go jobs: @@ -27,7 +27,7 @@ jobs: steps: - uses: actions/checkout@v2 with: - path: "./ipld-ethcl-indexer" + path: "./ipld-eth-beacon-indexer" - uses: actions/checkout@v3 with: @@ -38,36 +38,36 @@ jobs: - uses: actions/checkout@v3 with: - ref: ${{ env.ipld-ethcl-db-ref }} - repository: vulcanize/ipld-ethcl-db - path: "./ipld-ethcl-db/" + ref: ${{ env.ipld-eth-beacon-db-ref }} + repository: vulcanize/ipld-eth-beacon-db + path: "./ipld-eth-beacon-db/" ssh-key: ${{secrets.GHA_KEY}} fetch-depth: 0 - name: Create config file run: | - echo vulcanize_ipld_ethcl_db=$GITHUB_WORKSPACE/ipld-ethcl-db/ > ./config.sh - echo vulcanize_ipld_ethcl_indexer=$GITHUB_WORKSPACE/ipld-ethcl-indexer >> ./config.sh - echo ethcl_capture_mode=boot >> ./config.sh - echo ethcl_skip_sync=true >> ./config.sh - echo ethcl_known_gap_increment=1000000 >> ./config.sh + echo vulcanize_ipld_eth_beacon_db=$GITHUB_WORKSPACE/ipld-eth-beacon-db/ > ./config.sh + echo vulcanize_ipld_eth_beacon_indexer=$GITHUB_WORKSPACE/ipld-eth-beacon-indexer >> ./config.sh + echo eth_beacon_capture_mode=boot >> ./config.sh + echo eth_beacon_skip_sync=true >> ./config.sh + echo eth_beacon_known_gap_increment=1000000 >> ./config.sh cat ./config.sh - name: Run docker compose run: | docker-compose \ - -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-ethcl-db.yml" \ + -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-ipld-eth-beacon-db.yml" \ -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/latest/docker-compose-lighthouse.yml" \ - -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-ipld-ethcl-indexer.yml" \ + -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-ipld-eth-beacon-indexer.yml" \ --env-file ./config.sh \ up -d --build - name: Check to make sure HEALTH file is present shell: bash run: | - until $(docker compose -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-ipld-ethcl-indexer.yml" cp ipld-ethcl-indexer:/root/HEALTH ./HEALTH) ; do sleep 10; done + until $(docker compose -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-ipld-eth-beacon-indexer.yml" cp ipld-eth-beacon-indexer:/root/HEALTH ./HEALTH) ; do sleep 10; done cat ./HEALTH - if [[ "$(cat ./HEALTH)" -eq "0" ]]; then echo "Application boot successful" && (exit 0); else docker compose -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-ipld-ethcl-indexer.yml" cp ipld-ethcl-indexer:/root/ipld-ethcl-indexer.log . && cat ipld-ethcl-indexer.log && (exit 1); fi + if [[ "$(cat ./HEALTH)" -eq "0" ]]; then echo "Application boot successful" && (exit 0); else docker compose -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-ipld-eth-beacon-indexer.yml" cp ipld-eth-beacon-indexer:/root/ipld-eth-beacon-indexer.log . && cat ipld-eth-beacon-indexer.log && (exit 1); fi unit-test: name: Run Unit Tests @@ -79,7 +79,7 @@ jobs: - uses: actions/checkout@v2 with: - path: "./ipld-ethcl-indexer" + path: "./ipld-eth-beacon-indexer" - uses: actions/checkout@v3 with: @@ -90,9 +90,9 @@ jobs: - uses: actions/checkout@v3 with: - ref: ${{ env.ipld-ethcl-db-ref }} - repository: vulcanize/ipld-ethcl-db - path: "./ipld-ethcl-db/" + ref: ${{ env.ipld-eth-beacon-db-ref }} + repository: vulcanize/ipld-eth-beacon-db + path: "./ipld-eth-beacon-db/" ssh-key: ${{ secrets.GHA_KEY }} fetch-depth: 0 @@ -100,25 +100,25 @@ jobs: with: ref: ${{ env.ssz-data-ref }} repository: vulcanize/ssz-data - path: "./ipld-ethcl-indexer/pkg/beaconclient/ssz-data" + path: "./ipld-eth-beacon-indexer/pkg/beaconclient/ssz-data" fetch-depth: 0 - name: Create config file run: | - echo vulcanize_ipld_ethcl_db=$GITHUB_WORKSPACE/ipld-ethcl-db/ > ./config.sh - echo vulcanize_ipld_ethcl_indexer=$GITHUB_WORKSPACE/ipld-ethcl-indexer >> ./config.sh + echo vulcanize_ipld_eth_beacon_db=$GITHUB_WORKSPACE/ipld-eth-beacon-db/ > ./config.sh + echo vulcanize_ipld_eth_beacon_indexer=$GITHUB_WORKSPACE/ipld-eth-beacon-indexer >> ./config.sh cat ./config.sh - name: Run docker compose run: | docker-compose \ - -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-ethcl-db.yml" \ + -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-ipld-eth-beacon-db.yml" \ --env-file ./config.sh \ up -d --build - uses: actions/setup-go@v3 with: - go-version: ">=1.17.0" + go-version: ">=1.18.0" check-latest: true - name: Install packages @@ -128,7 +128,7 @@ jobs: - name: Run the tests using Make run: | - cd ipld-ethcl-indexer + cd ipld-eth-beacon-indexer make unit-test-ci integration-test: @@ -140,7 +140,7 @@ jobs: - uses: actions/checkout@v2 with: - path: "./ipld-ethcl-indexer" + path: "./ipld-eth-beacon-indexer" - uses: actions/checkout@v3 with: @@ -151,30 +151,30 @@ jobs: - uses: actions/checkout@v3 with: - ref: ${{ env.ipld-ethcl-db-ref }} - repository: vulcanize/ipld-ethcl-db - path: "./ipld-ethcl-db/" + ref: ${{ env.ipld-eth-beacon-db-ref }} + repository: vulcanize/ipld-eth-beacon-db + path: "./ipld-eth-beacon-db/" ssh-key: ${{secrets.GHA_KEY}} fetch-depth: 0 - name: Create config file run: | - echo vulcanize_ipld_ethcl_db=$GITHUB_WORKSPACE/ipld-ethcl-db/ > ./config.sh - echo vulcanize_ipld_ethcl_indexer=$GITHUB_WORKSPACE/ipld-ethcl-indexer >> ./config.sh - echo ethcl_capture_mode=boot >> ./config.sh + echo vulcanize_ipld_eth_beacon_db=$GITHUB_WORKSPACE/ipld-eth-beacon-db/ > ./config.sh + echo vulcanize_ipld_eth_beacon_indexer=$GITHUB_WORKSPACE/ipld-eth-beacon-indexer >> ./config.sh + echo eth_beacon_capture_mode=boot >> ./config.sh cat ./config.sh - name: Run docker compose run: | docker-compose \ - -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-ethcl-db.yml" \ + -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-ipld-eth-beacon-db.yml" \ -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/latest/docker-compose-lighthouse.yml" \ --env-file ./config.sh \ up -d --build - uses: actions/setup-go@v3 with: - go-version: ">=1.17.0" + go-version: ">=1.18.0" check-latest: true - name: Install packages @@ -184,7 +184,7 @@ jobs: - name: Run the tests using Make run: | - cd ipld-ethcl-indexer + cd ipld-eth-beacon-indexer make integration-test-ci golangci: @@ -192,7 +192,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: ">=1.17.0" + go-version: ">=1.18.0" - uses: actions/checkout@v3 - name: golangci-lint uses: golangci/golangci-lint-action@v3 diff --git a/.github/workflows/on-pr.yml b/.github/workflows/on-pr.yml index ac5b146..f3254a0 100644 --- a/.github/workflows/on-pr.yml +++ b/.github/workflows/on-pr.yml @@ -7,8 +7,8 @@ on: description: "The branch, commit or sha from stack-orchestrator to checkout" required: false default: "main" - ipld-ethcl-db-ref: - description: "The branch, commit or sha from ipld-ethcl-db to checkout" + ipld-eth-beacon-db-ref: + description: "The branch, commit or sha from ipld-eth-beacon-db to checkout" required: false default: "main" ssz-data-ref: @@ -24,13 +24,24 @@ on: - ".github/workflows/on-pr.yml" - ".github/workflows/tests.yml" - "**" + schedule: + - cron: '0 13 * * *' # Must be single quotes!! jobs: trigger-tests: - uses: ./.github/workflows/tests.yml + if: github.event_name != 'schedule' + uses: ./.github/workflows/generic-testing.yml with: stack-orchestrator-ref: ${{ github.event.inputs.stack-orchestrator-ref }} - ipld-ethcl-db-ref: ${{ github.event.inputs.ipld-ethcl-db-ref }} + ipld-eth-beacon-db-ref: ${{ github.event.inputs.ipld-eth-beacon-db-ref }} ssz-data-ref: ${{ github.event.inputs.ssz-data-ref }} secrets: GHA_KEY: ${{secrets.GHA_KEY}} + system-testing: + uses: ./.github/workflows/system-tests.yml + with: + stack-orchestrator-ref: ${{ github.event.inputs.stack-orchestrator-ref }} + ipld-eth-beacon-db-ref: ${{ github.event.inputs.ipld-eth-beacon-db-ref }} + secrets: + GHA_KEY: ${{secrets.GHA_KEY}} + BC_ADDRESS: ${{secrets.BC_ADDRESS}} diff --git a/.github/workflows/on-publish.yml b/.github/workflows/on-publish.yml index 11ffbaa..7ed6b38 100644 --- a/.github/workflows/on-publish.yml +++ b/.github/workflows/on-publish.yml @@ -4,17 +4,27 @@ on: types: [published, edited] jobs: trigger-tests: - uses: ./.github/workflows/tests.yml + uses: ./.github/workflows/generic-testing.yml with: stack-orchestrator-ref: ${{ github.event.inputs.stack-orchestrator-ref }} - ipld-ethcl-db-ref: ${{ github.event.inputs.ipld-ethcl-db-ref }} + ipld-eth-beacon-db-ref: ${{ github.event.inputs.ipld-eth-beacon-db-ref }} ssz-data-ref: ${{ github.event.inputs.ssz-data-ref }} secrets: GHA_KEY: ${{secrets.GHA_KEY}} + system-testing: + uses: ./.github/workflows/system-tests.yml + with: + stack-orchestrator-ref: ${{ github.event.inputs.stack-orchestrator-ref }} + ipld-eth-beacon-db-ref: ${{ github.event.inputs.ipld-eth-beacon-db-ref }} + secrets: + GHA_KEY: ${{secrets.GHA_KEY}} + BC_ADDRESS: ${{secrets.BC_ADDRESS}} build: name: Run docker build runs-on: ubuntu-latest - needs: trigger-tests + needs: + - trigger-tests + - system-testing steps: - uses: actions/checkout@v2 - name: Get the version @@ -23,11 +33,11 @@ jobs: - name: Run docker build run: make docker-build - name: Tag docker image - run: docker tag vulcanize/ipld-ethcl-indexer docker.pkg.github.com/vulcanize/ipld-ethcl-indexer/ipld-ethcl-indexer:${{steps.vars.outputs.sha}} + run: docker tag vulcanize/ipld-eth-beacon-indexer docker.pkg.github.com/vulcanize/ipld-eth-beacon-indexer/ipld-eth-beacon-indexer:${{steps.vars.outputs.sha}} - name: Docker Login run: echo ${{ secrets.GITHUB_TOKEN }} | docker login https://docker.pkg.github.com -u vulcanize --password-stdin - name: Docker Push - run: docker push docker.pkg.github.com/vulcanize/ipld-ethcl-indexer/ipld-ethcl-indexer:${{steps.vars.outputs.sha}} + run: docker push docker.pkg.github.com/vulcanize/ipld-eth-beacon-indexer/ipld-eth-beacon-indexer:${{steps.vars.outputs.sha}} push_to_registries: name: Push Docker image to Docker Hub runs-on: ubuntu-latest @@ -41,10 +51,10 @@ jobs: - name: Docker Login to Github Registry run: echo ${{ secrets.GITHUB_TOKEN }} | docker login https://docker.pkg.github.com -u vulcanize --password-stdin - name: Docker Pull - run: docker pull docker.pkg.github.com/vulcanize/ipld-ethcl-indexer/ipld-ethcl-indexer:${{steps.vars.outputs.sha}} + run: docker pull docker.pkg.github.com/vulcanize/ipld-eth-beacon-indexer/ipld-eth-beacon-indexer:${{steps.vars.outputs.sha}} - name: Docker Login to Docker Registry run: echo ${{ secrets.VULCANIZEJENKINS_PAT }} | docker login -u vulcanizejenkins --password-stdin - name: Tag docker image - run: docker tag docker.pkg.github.com/vulcanize/ipld-ethcl-indexer/ipld-ethcl-indexer:${{steps.vars.outputs.sha}} vulcanize/ipld-ethcl-indexer:${{steps.vars.outputs.tag}} + run: docker tag docker.pkg.github.com/vulcanize/ipld-eth-beacon-indexer/ipld-eth-beacon-indexer:${{steps.vars.outputs.sha}} vulcanize/ipld-eth-beacon-indexer:${{steps.vars.outputs.tag}} - name: Docker Push to Docker Hub - run: docker push vulcanize/ipld-ethcl-indexer:${{steps.vars.outputs.tag}} + run: docker push vulcanize/ipld-eth-beacon-indexer:${{steps.vars.outputs.tag}} diff --git a/.github/workflows/system-tests.yml b/.github/workflows/system-tests.yml new file mode 100644 index 0000000..aff86f9 --- /dev/null +++ b/.github/workflows/system-tests.yml @@ -0,0 +1,94 @@ +name: System Testing for the stack. +on: + workflow_call: + inputs: + stack-orchestrator-ref: + required: false + type: string + ipld-eth-beacon-db-ref: + required: false + type: string + secrets: + GHA_KEY: + required: true + BC_ADDRESS: + required: true +env: + stack-orchestrator-ref: ${{ inputs.stack-orchestrator-ref || '3048a224100ceb122d6da71328bf3803dff72a01' }} + ipld-eth-beacon-db-ref: ${{ inputs.ipld-eth-beacon-db-ref || '3dfe416302d553f8240f6051c08a7899b0e39e12' }} + GOPATH: /tmp/go + bc_protocol: "http" + bc_address: ${{secrets.BC_ADDRESS}} + bc_port: 5052 + db_host: localhost + db_port: 8076 + db_name: vulcanize_testing + db_user: vdbm + db_password: password + db_driver: "pgx" + +jobs: + system-testing: + runs-on: self-hosted + steps: + - name: Create GOPATH + run: mkdir -p /tmp/go + + - uses: actions/checkout@v2 + with: + path: "./ipld-eth-beacon-indexer" + + - uses: actions/checkout@v3 + with: + ref: ${{ env.stack-orchestrator-ref }} + path: "./stack-orchestrator/" + repository: vulcanize/stack-orchestrator + fetch-depth: 0 + + - uses: actions/checkout@v3 + with: + ref: ${{ env.ipld-eth-beacon-db-ref }} + repository: vulcanize/ipld-eth-beacon-db + path: "./ipld-eth-beacon-db/" + ssh-key: ${{secrets.GHA_KEY}} + fetch-depth: 0 + + - name: Create config file + run: | + echo vulcanize_ipld_eth_beacon_db=$(pwd)/ipld-eth-beacon-db > ./config.sh + cat ./config.sh + + - name: Run docker compose + id: compose + shell: bash + run: | + ls "./stack-orchestrator/docker/local/docker-compose-ipld-eth-beacon-db.yml" + whoami + /usr/local/bin/docker-compose \ + -f "./stack-orchestrator/docker/local/docker-compose-ipld-eth-beacon-db.yml" \ + --env-file ./config.sh \ + up -d --build + + - uses: actions/setup-go@v3 + with: + go-version: ">=1.18.0" + check-latest: true + + - name: Install packages + run: | + go install github.com/onsi/ginkgo/v2/ginkgo@latest + which ginkgo + + - name: Run the tests using Make + run: | + cd ipld-eth-beacon-indexer + make system-test-ci + + - name: Clean up the docker containers + if: steps.compose.outcome == 'success' + shell: bash + run: | + /usr/local/bin/docker-compose \ + -f "./stack-orchestrator/docker/local/docker-compose-ipld-eth-beacon-db.yml" \ + --env-file ./config.sh \ + down -v diff --git a/Dockerfile b/Dockerfile index a9a2c58..908313d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM golang:1.18-alpine as builder -WORKDIR /go/src/github.com/vulcanize/ipld-ethcl-indexer +WORKDIR /go/src/github.com/vulcanize/ipld-eth-beacon-indexer RUN apk --no-cache add ca-certificates make git g++ linux-headers ENV GO111MODULE=on @@ -9,12 +9,12 @@ COPY go.sum . RUN go mod tidy; go mod download COPY . . -RUN GCO_ENABLED=0 GOOS=linux go build -race -a -installsuffix cgo -ldflags '-extldflags "-static"' -o ipld-ethcl-indexer . -RUN chmod +x ipld-ethcl-indexer +RUN GCO_ENABLED=0 GOOS=linux go build -race -a -installsuffix cgo -ldflags '-extldflags "-static"' -o ipld-eth-beacon-indexer . +RUN chmod +x ipld-eth-beacon-indexer FROM frolvlad/alpine-bash:latest RUN apk --no-cache add ca-certificates WORKDIR /root/ -COPY --from=builder /go/src/github.com/vulcanize/ipld-ethcl-indexer/ipld-ethcl-indexer /root/ipld-ethcl-indexer +COPY --from=builder /go/src/github.com/vulcanize/ipld-eth-beacon-indexer/ipld-eth-beacon-indexer /root/ipld-eth-beacon-indexer ADD entrypoint.sh . ENTRYPOINT ["./entrypoint.sh"] \ No newline at end of file diff --git a/Makefile b/Makefile index e9ed9b4..4306273 100644 --- a/Makefile +++ b/Makefile @@ -80,6 +80,24 @@ unit-test-ci: --cover --coverprofile=cover.profile \ --trace --json-report=report.json +.PHONY: system-test-ci +system-test-ci: + go vet ./... + go fmt ./... + $(GINKGO) -r --label-filter system \ + --randomize-all --randomize-suites \ + --fail-on-pending --keep-going \ + --cover --coverprofile=cover.profile \ + --trace --json-report=report.json + +.PHONY: system-test-local +system-test-local: + go vet ./... + go fmt ./... + $(GINKGO) -r --label-filter system \ + --randomize-all --randomize-suites \ + --fail-on-pending --keep-going \ + --trace .PHONY: build build: @@ -89,4 +107,4 @@ build: ## Build docker image .PHONY: docker-build docker-build: - docker build -t vulcanize/ipld-ethcl-indexer . \ No newline at end of file + docker build -t vulcanize/ipld-eth-beacon-indexer . \ No newline at end of file diff --git a/README.md b/README.md index 9096054..0f5a3a2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -- [ipld-ethcl-indexer](#ipld-ethcl-indexer) +- [ipld-eth-beacon-indexer](#ipld-eth-beacon-indexer) - [Running the Application](#running-the-application) - [Development Patterns](#development-patterns) - [Logging](#logging) @@ -8,7 +8,7 @@ Table of contents generated with markdown-toc -# ipld-ethcl-indexer +# ipld-eth-beacon-indexer This application will capture all the `BeaconState`'s and `SignedBeaconBlock`'s from the consensus chain on Ethereum. This application is going to connect to the lighthouse client, but hypothetically speaking, it should be interchangeable with any eth2 beacon node. @@ -22,12 +22,12 @@ To run the application, do as follows: 1. Setup the prerequisite applications. a. Run a beacon client (such as lighthouse). - b. Run a postgres DB for ethcl. + b. Run a postgres DB for eth-beacon. c. You can utilize the `stack-orchestrator` [repository](https://github.com/vulcanize/stack-orchestrato). ``` ./wrapper.sh -e skip \ - -d ../docker/local/docker-compose-ethcl-db.yml \ + -d ../docker/local/docker-compose-eth-beacon-db.yml \ -d ../docker/latest/docker-compose-lighthouse.yml \ -v remove \ -p ../local-config.sh @@ -37,7 +37,7 @@ To run the application, do as follows: 2. Run the start up command. ``` -go run -race main.go capture historic --config ./example.ipld-ethcl-indexer-config.json +go run -race main.go capture historic --config ./example.ipld-eth-beacon-indexer-config.json ``` ## Running Tests diff --git a/application_component.md b/application_component.md index d4cba2f..05b5bb2 100644 --- a/application_component.md +++ b/application_component.md @@ -51,4 +51,4 @@ This package contains useful functions for logging. ## `internal/shutdown` -This package is used to shutdown the `ipld-ethcl-indexer`. It calls the `pkg/gracefulshutdown` package. +This package is used to shutdown the `ipld-eth-beacon-indexer`. It calls the `pkg/gracefulshutdown` package. diff --git a/cmd/boot.go b/cmd/boot.go index 18dc6dd..63e15b9 100644 --- a/cmd/boot.go +++ b/cmd/boot.go @@ -24,9 +24,9 @@ import ( log "github.com/sirupsen/logrus" "github.com/spf13/cobra" "github.com/spf13/viper" - "github.com/vulcanize/ipld-ethcl-indexer/internal/boot" - "github.com/vulcanize/ipld-ethcl-indexer/internal/shutdown" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper" + "github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot" + "github.com/vulcanize/ipld-eth-beacon-indexer/internal/shutdown" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/loghelper" ) // bootCmd represents the boot command @@ -62,9 +62,9 @@ func bootApp() { err = shutdown.ShutdownBoot(ctx, notifierCh, maxWaitSecondsShutdown, Db, Bc) if err != nil { - loghelper.LogError(err).Error("Ungracefully Shutdown ipld-ethcl-indexer!") + loghelper.LogError(err).Error("Ungracefully Shutdown ipld-eth-beacon-indexer!") } else { - log.Info("Gracefully shutdown ipld-ethcl-indexer") + log.Info("Gracefully shutdown ipld-eth-beacon-indexer") } } diff --git a/cmd/capture.go b/cmd/capture.go index 5735b11..f5693a6 100644 --- a/cmd/capture.go +++ b/cmd/capture.go @@ -94,7 +94,7 @@ func init() { captureCmd.PersistentFlags().StringVarP(&bcConnectionProtocol, "bc.connectionProtocol", "", "http", "protocol for connecting to the beacon node.") captureCmd.PersistentFlags().IntVarP(&bcBootRetryInterval, "bc.bootRetryInterval", "", 30, "The amount of time to wait between retries while booting the application") captureCmd.PersistentFlags().IntVarP(&bcBootMaxRetry, "bc.bootMaxRetry", "", 5, "The amount of time to wait between retries while booting the application") - captureCmd.PersistentFlags().IntVarP(&bcMaxHistoricProcessWorker, "bc.maxHistoricProcessWorker", "", 30, "The number of workers that should be actively processing slots from the ethcl.historic_process table. Be careful of system memory.") + captureCmd.PersistentFlags().IntVarP(&bcMaxHistoricProcessWorker, "bc.maxHistoricProcessWorker", "", 30, "The number of workers that should be actively processing slots from the eth-beacon.historic_process table. Be careful of system memory.") captureCmd.PersistentFlags().IntVarP(&bcUniqueNodeIdentifier, "bc.uniqueNodeIdentifier", "", 0, "The unique identifier of this application. Each application connecting to the DB should have a unique identifier.") captureCmd.PersistentFlags().BoolVarP(&bcCheckDb, "bc.checkDb", "", true, "Should we check to see if the slot exists in the DB before writing it?") // err = captureCmd.MarkPersistentFlagRequired("bc.address") @@ -103,9 +103,9 @@ func init() { // exitErr(err) //// Known Gaps specific - captureCmd.PersistentFlags().BoolVarP(&kgProcessGaps, "kg.processKnownGaps", "", true, "Should we process the slots within the ethcl.known_gaps table.") + captureCmd.PersistentFlags().BoolVarP(&kgProcessGaps, "kg.processKnownGaps", "", true, "Should we process the slots within the eth-beacon.known_gaps table.") captureCmd.PersistentFlags().IntVarP(&kgTableIncrement, "kg.increment", "", 10000, "The max slots within a single entry to the known_gaps table.") - captureCmd.PersistentFlags().IntVarP(&kgMaxWorker, "kg.maxKnownGapsWorker", "", 30, "The number of workers that should be actively processing slots from the ethcl.known_gaps table. Be careful of system memory.") + captureCmd.PersistentFlags().IntVarP(&kgMaxWorker, "kg.maxKnownGapsWorker", "", 30, "The number of workers that should be actively processing slots from the eth-beacon.known_gaps table. Be careful of system memory.") // Prometheus Specific captureCmd.PersistentFlags().BoolVarP(&pmMetrics, "pm.metrics", "", true, "Should we capture prometheus metrics.") diff --git a/cmd/full.go b/cmd/full.go new file mode 100644 index 0000000..0c4b9d2 --- /dev/null +++ b/cmd/full.go @@ -0,0 +1,118 @@ +// VulcanizeDB +// Copyright © 2022 Vulcanize + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. + +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +package cmd + +import ( + "context" + "fmt" + "strconv" + + log "github.com/sirupsen/logrus" + "github.com/spf13/cobra" + "github.com/spf13/viper" + "github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot" + "github.com/vulcanize/ipld-eth-beacon-indexer/internal/shutdown" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/loghelper" + "golang.org/x/sync/errgroup" +) + +// fullCmd represents the full command +var fullCmd = &cobra.Command{ + Use: "full", + Short: "Capture all components of the application (head and historical)", + Long: `Capture all components of the application (head and historical`, + Run: func(cmd *cobra.Command, args []string) { + startFullProcessing() + }, +} + +func init() { + captureCmd.AddCommand(fullCmd) + + // Here you will define your flags and configuration settings. + + // Cobra supports Persistent Flags which will work for this command + // and all subcommands, e.g.: + // fullCmd.PersistentFlags().String("foo", "", "A help for foo") + + // Cobra supports local flags which will only run when this command + // is called directly, e.g.: + // fullCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle") +} + +// Start the application to track at head and historical processing. +func startFullProcessing() { + // Boot the application + log.Info("Starting the application in head tracking mode.") + ctx := context.Background() + + Bc, Db, err := boot.BootApplicationWithRetry(ctx, viper.GetString("db.address"), viper.GetInt("db.port"), viper.GetString("db.name"), viper.GetString("db.username"), viper.GetString("db.password"), viper.GetString("db.driver"), + viper.GetString("bc.address"), viper.GetInt("bc.port"), viper.GetString("bc.connectionProtocol"), viper.GetString("bc.type"), viper.GetInt("bc.bootRetryInterval"), viper.GetInt("bc.bootMaxRetry"), + viper.GetInt("kg.increment"), "head", viper.GetBool("t.skipSync"), viper.GetInt("bc.uniqueNodeIdentifier"), viper.GetBool("bc.checkDb")) + if err != nil { + StopApplicationPreBoot(err, Db) + } + + if viper.GetBool("pm.metrics") { + addr := viper.GetString("pm.address") + ":" + strconv.Itoa(viper.GetInt("pm.port")) + serveProm(addr) + } + + log.Info("The Beacon Client has booted successfully!") + // Capture head blocks + go Bc.CaptureHead() + + hpContext, hpCancel := context.WithCancel(context.Background()) + + errG, _ := errgroup.WithContext(context.Background()) + errG.Go(func() error { + errs := Bc.CaptureHistoric(hpContext, viper.GetInt("bc.maxHistoricProcessWorker")) + if len(errs) != 0 { + if len(errs) != 0 { + log.WithFields(log.Fields{"errs": errs}).Error("All errors when processing historic events") + return fmt.Errorf("Application ended because there were too many error when attempting to process historic") + } + } + return nil + }) + kgCtx, KgCancel := context.WithCancel(context.Background()) + if viper.GetBool("kg.processKnownGaps") { + go func() { + errG := new(errgroup.Group) + errG.Go(func() error { + errs := Bc.ProcessKnownGaps(kgCtx, viper.GetInt("kg.maxKnownGapsWorker")) + if len(errs) != 0 { + log.WithFields(log.Fields{"errs": errs}).Error("All errors when processing knownGaps") + return fmt.Errorf("Application ended because there were too many error when attempting to process knownGaps") + } + return nil + }) + if err := errG.Wait(); err != nil { + loghelper.LogError(err).Error("Error with knownGaps processing") + } + }() + } + + // Shutdown when the time is right. + err = shutdown.ShutdownFull(ctx, KgCancel, hpCancel, notifierCh, maxWaitSecondsShutdown, Db, Bc) + if err != nil { + loghelper.LogError(err).Error("Ungracefully Shutdown ipld-eth-beacon-indexer!") + } else { + log.Info("Gracefully shutdown ipld-eth-beacon-indexer") + } + +} diff --git a/cmd/head.go b/cmd/head.go index fa7aa6a..ba70f8c 100644 --- a/cmd/head.go +++ b/cmd/head.go @@ -26,9 +26,9 @@ import ( log "github.com/sirupsen/logrus" "github.com/spf13/cobra" "github.com/spf13/viper" - "github.com/vulcanize/ipld-ethcl-indexer/internal/boot" - "github.com/vulcanize/ipld-ethcl-indexer/internal/shutdown" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper" + "github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot" + "github.com/vulcanize/ipld-eth-beacon-indexer/internal/shutdown" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/loghelper" "golang.org/x/sync/errgroup" ) @@ -63,11 +63,12 @@ func startHeadTracking() { log.Info("The Beacon Client has booted successfully!") // Capture head blocks go Bc.CaptureHead() + kgCtx, KgCancel := context.WithCancel(context.Background()) if viper.GetBool("kg.processKnownGaps") { go func() { errG := new(errgroup.Group) errG.Go(func() error { - errs := Bc.ProcessKnownGaps(viper.GetInt("kg.maxKnownGapsWorker")) + errs := Bc.ProcessKnownGaps(kgCtx, viper.GetInt("kg.maxKnownGapsWorker")) if len(errs) != 0 { log.WithFields(log.Fields{"errs": errs}).Error("All errors when processing knownGaps") return fmt.Errorf("Application ended because there were too many error when attempting to process knownGaps") @@ -81,11 +82,11 @@ func startHeadTracking() { } // Shutdown when the time is right. - err = shutdown.ShutdownHeadTracking(ctx, notifierCh, maxWaitSecondsShutdown, Db, Bc) + err = shutdown.ShutdownHeadTracking(ctx, KgCancel, notifierCh, maxWaitSecondsShutdown, Db, Bc) if err != nil { - loghelper.LogError(err).Error("Ungracefully Shutdown ipld-ethcl-indexer!") + loghelper.LogError(err).Error("Ungracefully Shutdown ipld-eth-beacon-indexer!") } else { - log.Info("Gracefully shutdown ipld-ethcl-indexer") + log.Info("Gracefully shutdown ipld-eth-beacon-indexer") } } diff --git a/cmd/historic.go b/cmd/historic.go index 34ad1b5..1c6b653 100644 --- a/cmd/historic.go +++ b/cmd/historic.go @@ -25,10 +25,10 @@ import ( log "github.com/sirupsen/logrus" "github.com/spf13/cobra" "github.com/spf13/viper" - "github.com/vulcanize/ipld-ethcl-indexer/internal/boot" - "github.com/vulcanize/ipld-ethcl-indexer/internal/shutdown" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/database/sql" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper" + "github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot" + "github.com/vulcanize/ipld-eth-beacon-indexer/internal/shutdown" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/loghelper" "golang.org/x/sync/errgroup" ) @@ -60,10 +60,11 @@ func startHistoricProcessing() { serveProm(addr) } - errG, _ := errgroup.WithContext(context.Background()) + hpContext, hpCancel := context.WithCancel(context.Background()) + errG, _ := errgroup.WithContext(context.Background()) errG.Go(func() error { - errs := Bc.CaptureHistoric(viper.GetInt("bc.maxHistoricProcessWorker")) + errs := Bc.CaptureHistoric(hpContext, viper.GetInt("bc.maxHistoricProcessWorker")) if len(errs) != 0 { if len(errs) != 0 { log.WithFields(log.Fields{"errs": errs}).Error("All errors when processing historic events") @@ -73,11 +74,12 @@ func startHistoricProcessing() { return nil }) + kgContext, kgCancel := context.WithCancel(context.Background()) if viper.GetBool("kg.processKnownGaps") { go func() { errG := new(errgroup.Group) errG.Go(func() error { - errs := Bc.ProcessKnownGaps(viper.GetInt("kg.maxKnownGapsWorker")) + errs := Bc.ProcessKnownGaps(kgContext, viper.GetInt("kg.maxKnownGapsWorker")) if len(errs) != 0 { log.WithFields(log.Fields{"errs": errs}).Error("All errors when processing knownGaps") return fmt.Errorf("Application ended because there were too many error when attempting to process knownGaps") @@ -91,11 +93,11 @@ func startHistoricProcessing() { } // Shutdown when the time is right. - err = shutdown.ShutdownHistoricProcessing(ctx, notifierCh, maxWaitSecondsShutdown, Db, Bc) + err = shutdown.ShutdownHistoricProcessing(ctx, kgCancel, hpCancel, notifierCh, maxWaitSecondsShutdown, Db, Bc) if err != nil { - loghelper.LogError(err).Error("Ungracefully Shutdown ipld-ethcl-indexer!") + loghelper.LogError(err).Error("Ungracefully Shutdown ipld-eth-beacon-indexer!") } else { - log.Info("Gracefully shutdown ipld-ethcl-indexer") + log.Info("Gracefully shutdown ipld-eth-beacon-indexer") } } diff --git a/cmd/root.go b/cmd/root.go index 68e8e78..0073871 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -32,7 +32,7 @@ var ( // rootCmd represents the base command when called without any subcommands var rootCmd = &cobra.Command{ - Use: "ipld-ethcl-indexer", + Use: "ipld-eth-beacon-indexer", Short: "This application will keep track of all BeaconState's and SignedBeaconBlock's on the Beacon Chain.", Long: `This is an application that will capture the BeaconState's and SignedBeaconBlock's on the Beacon Chain. It can either do this will keeping track of head, or backfilling historic data.`, @@ -127,9 +127,9 @@ func init() { // will be global for your application. // Optional Flags - rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.ipld-ethcl-indexer.yaml)") + rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.ipld-eth-beacon-indexer.yaml)") rootCmd.PersistentFlags().String("log.level", log.InfoLevel.String(), "log level (trace, debug, info, warn, error, fatal, panic)") - rootCmd.PersistentFlags().String("log.file", "ipld-ethcl-indexer.log", "file path for logging") + rootCmd.PersistentFlags().String("log.file", "ipld-eth-beacon-indexer.log", "file path for logging") rootCmd.PersistentFlags().Bool("log.output", true, "Should we log to STDOUT") rootCmd.PersistentFlags().String("log.format", "json", "json or text") @@ -160,10 +160,10 @@ func initConfig() { home, err := os.UserHomeDir() cobra.CheckErr(err) - // Search config in home directory with name ".ipld-ethcl-indexer" (without extension). + // Search config in home directory with name ".ipld-eth-beacon-indexer" (without extension). viper.AddConfigPath(home) viper.SetConfigType("yaml") - viper.SetConfigName(".ipld-ethcl-indexer") + viper.SetConfigName(".ipld-eth-beacon-indexer") } viper.AutomaticEnv() // read in environment variables that match diff --git a/cmd/version.go b/cmd/version.go index ff10f6e..5aaf719 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -20,7 +20,7 @@ import ( log "github.com/sirupsen/logrus" "github.com/spf13/cobra" - v "github.com/vulcanize/ipld-ethcl-indexer/pkg/version" + v "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/version" ) var ( @@ -47,7 +47,7 @@ to quickly create a Cobra application.`, Patch: Patch, Meta: Meta, } - log.Infof("ipld-ethcl-indexer version: %s", version.GetVersionWithMeta()) + log.Infof("ipld-eth-beacon-indexer version: %s", version.GetVersionWithMeta()) fmt.Println(version.GetVersionWithMeta()) }, } diff --git a/entrypoint.sh b/entrypoint.sh index 6dc5eb6..8477d08 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,9 +1,9 @@ #!/bin/bash sleep 10 -echo "Starting ipld-ethcl-indexer" +echo "Starting ipld-eth-beacon-indexer" -echo /root/ipld-ethcl-indexer capture ${CAPTURE_MODE} --db.address $DB_ADDRESS \ +echo /root/ipld-eth-beacon-indexer capture ${CAPTURE_MODE} --db.address $DB_ADDRESS \ --db.password $DB_PASSWORD \ --db.port $DB_PORT \ --db.username $DB_USER \ @@ -15,7 +15,7 @@ echo /root/ipld-ethcl-indexer capture ${CAPTURE_MODE} --db.address $DB_ADDRESS \ --t.skipSync=$SKIP_SYNC \ --kg.increment $KNOWN_GAP_INCREMENT -/root/ipld-ethcl-indexer capture ${CAPTURE_MODE} --db.address $DB_ADDRESS \ +/root/ipld-eth-beacon-indexer capture ${CAPTURE_MODE} --db.address $DB_ADDRESS \ --db.password $DB_PASSWORD \ --db.port $DB_PORT \ --db.username $DB_USER \ @@ -30,10 +30,10 @@ echo /root/ipld-ethcl-indexer capture ${CAPTURE_MODE} --db.address $DB_ADDRESS \ rv=$? if [ $rv != 0 ]; then - echo "ipld-ethcl-indexer startup failed" + echo "ipld-eth-beacon-indexer startup failed" echo 1 > /root/HEALTH else - echo "ipld-ethcl-indexer startup succeeded" + echo "ipld-eth-beacon-indexer startup succeeded" echo 0 > /root/HEALTH fi diff --git a/example.ipld-ethcl-indexer-config.json b/example.ipld-eth-beacon-indexer-config.json similarity index 90% rename from example.ipld-ethcl-indexer-config.json rename to example.ipld-eth-beacon-indexer-config.json index 96c2c6f..eaf06af 100644 --- a/example.ipld-ethcl-indexer-config.json +++ b/example.ipld-eth-beacon-indexer-config.json @@ -8,7 +8,7 @@ "driver": "PGX" }, "bc": { - "address": "localhost", + "address": "10.203.8.51", "port": 5052, "type": "lighthouse", "bootRetryInterval": 30, @@ -24,7 +24,7 @@ "log": { "level": "debug", "output": true, - "file": "./ipld-ethcl-indexer.log", + "file": "./ipld-eth-beacon-indexer.log", "format": "json" }, "kg": { diff --git a/go.mod b/go.mod index 3c844c8..f3082d4 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/vulcanize/ipld-ethcl-indexer +module github.com/vulcanize/ipld-eth-beacon-indexer go 1.18 diff --git a/internal/boot/boot.go b/internal/boot/boot.go index 1e42cce..b407562 100644 --- a/internal/boot/boot.go +++ b/internal/boot/boot.go @@ -22,9 +22,9 @@ import ( "time" log "github.com/sirupsen/logrus" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/beaconclient" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/database/sql" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/database/sql/postgres" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql/postgres" ) var ( diff --git a/internal/boot/boot_test.go b/internal/boot/boot_test.go index fe8933f..8cb6977 100644 --- a/internal/boot/boot_test.go +++ b/internal/boot/boot_test.go @@ -20,7 +20,7 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - "github.com/vulcanize/ipld-ethcl-indexer/internal/boot" + "github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot" ) var _ = Describe("Boot", func() { diff --git a/internal/shutdown/shutdown.go b/internal/shutdown/shutdown.go index 228b760..13181b4 100644 --- a/internal/shutdown/shutdown.go +++ b/internal/shutdown/shutdown.go @@ -20,10 +20,10 @@ import ( "os" "time" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/beaconclient" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/database/sql" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/gracefulshutdown" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/gracefulshutdown" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/loghelper" ) // Shutdown all the internal services for the application. @@ -40,7 +40,7 @@ func ShutdownServices(ctx context.Context, notifierCh chan os.Signal, waitTime t } // Wrapper function for shutting down the head tracking process. -func ShutdownHeadTracking(ctx context.Context, notifierCh chan os.Signal, waitTime time.Duration, DB sql.Database, BC *beaconclient.BeaconClient) error { +func ShutdownHeadTracking(ctx context.Context, kgCancel context.CancelFunc, notifierCh chan os.Signal, waitTime time.Duration, DB sql.Database, BC *beaconclient.BeaconClient) error { return ShutdownServices(ctx, notifierCh, waitTime, DB, BC, map[string]gracefulshutdown.Operation{ // Combining DB shutdown with BC because BC needs DB open to cleanly shutdown. "beaconClient": func(ctx context.Context) error { @@ -50,7 +50,7 @@ func ShutdownHeadTracking(ctx context.Context, notifierCh chan os.Signal, waitTi loghelper.LogError(err).Error("Unable to trigger shutdown of head tracking") } if BC.KnownGapsProcess != (beaconclient.KnownGapsProcessing{}) { - err = BC.StopKnownGapsProcessing() + err = BC.StopKnownGapsProcessing(kgCancel) if err != nil { loghelper.LogError(err).Error("Unable to stop processing known gaps") } @@ -61,17 +61,17 @@ func ShutdownHeadTracking(ctx context.Context, notifierCh chan os.Signal, waitTi } // Wrapper function for shutting down the head tracking process. -func ShutdownHistoricProcessing(ctx context.Context, notifierCh chan os.Signal, waitTime time.Duration, DB sql.Database, BC *beaconclient.BeaconClient) error { +func ShutdownHistoricProcessing(ctx context.Context, kgCancel, hpCancel context.CancelFunc, notifierCh chan os.Signal, waitTime time.Duration, DB sql.Database, BC *beaconclient.BeaconClient) error { return ShutdownServices(ctx, notifierCh, waitTime, DB, BC, map[string]gracefulshutdown.Operation{ // Combining DB shutdown with BC because BC needs DB open to cleanly shutdown. "beaconClient": func(ctx context.Context) error { defer DB.Close() - err := BC.StopHistoric() + err := BC.StopHistoric(hpCancel) if err != nil { loghelper.LogError(err).Error("Unable to stop processing historic") } if BC.KnownGapsProcess != (beaconclient.KnownGapsProcessing{}) { - err = BC.StopKnownGapsProcessing() + err = BC.StopKnownGapsProcessing(kgCancel) if err != nil { loghelper.LogError(err).Error("Unable to stop processing known gaps") } @@ -81,6 +81,33 @@ func ShutdownHistoricProcessing(ctx context.Context, notifierCh chan os.Signal, }) } +// Shutdown the head and historical processing +func ShutdownFull(ctx context.Context, kgCancel, hpCancel context.CancelFunc, notifierCh chan os.Signal, waitTime time.Duration, DB sql.Database, BC *beaconclient.BeaconClient) error { + return ShutdownServices(ctx, notifierCh, waitTime, DB, BC, map[string]gracefulshutdown.Operation{ + // Combining DB shutdown with BC because BC needs DB open to cleanly shutdown. + "beaconClient": func(ctx context.Context) error { + defer DB.Close() + err := BC.StopHistoric(hpCancel) + if err != nil { + loghelper.LogError(err).Error("Unable to stop processing historic") + } + if BC.KnownGapsProcess != (beaconclient.KnownGapsProcessing{}) { + err = BC.StopKnownGapsProcessing(kgCancel) + if err != nil { + loghelper.LogError(err).Error("Unable to stop processing known gaps") + } + } + err = BC.StopHeadTracking() + if err != nil { + loghelper.LogError(err).Error("Unable to trigger shutdown of head tracking") + } + + return err + }, + }) + +} + // Wrapper function for shutting down the application in boot mode. func ShutdownBoot(ctx context.Context, notifierCh chan os.Signal, waitTime time.Duration, DB sql.Database, BC *beaconclient.BeaconClient) error { return ShutdownServices(ctx, notifierCh, waitTime, DB, BC, map[string]gracefulshutdown.Operation{ diff --git a/internal/shutdown/shutdown_test.go b/internal/shutdown/shutdown_test.go index 9dbb94d..97d83af 100644 --- a/internal/shutdown/shutdown_test.go +++ b/internal/shutdown/shutdown_test.go @@ -28,11 +28,11 @@ import ( . "github.com/onsi/gomega" "github.com/r3labs/sse" log "github.com/sirupsen/logrus" - "github.com/vulcanize/ipld-ethcl-indexer/internal/boot" - "github.com/vulcanize/ipld-ethcl-indexer/internal/shutdown" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/beaconclient" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/database/sql" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/gracefulshutdown" + "github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot" + "github.com/vulcanize/ipld-eth-beacon-indexer/internal/shutdown" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/gracefulshutdown" ) var ( @@ -72,8 +72,9 @@ var _ = Describe("Shutdown", func() { Context("When Channels are empty,", func() { It("Should Shutdown Successfully.", func() { go func() { + _, cancel := context.WithCancel(context.Background()) log.Debug("Starting shutdown chan") - err = shutdown.ShutdownHeadTracking(ctx, notifierCh, maxWaitSecondsShutdown, DB, BC) + err = shutdown.ShutdownHeadTracking(ctx, cancel, notifierCh, maxWaitSecondsShutdown, DB, BC) log.Debug("We have completed the shutdown...") Expect(err).ToNot(HaveOccurred()) }() @@ -84,8 +85,9 @@ var _ = Describe("Shutdown", func() { shutdownCh := make(chan bool) //log.SetLevel(log.DebugLevel) go func() { + _, cancel := context.WithCancel(context.Background()) log.Debug("Starting shutdown chan") - err = shutdown.ShutdownHeadTracking(ctx, notifierCh, maxWaitSecondsShutdown, DB, BC) + err = shutdown.ShutdownHeadTracking(ctx, cancel, notifierCh, maxWaitSecondsShutdown, DB, BC) log.Debug("We have completed the shutdown...") Expect(err).ToNot(HaveOccurred()) shutdownCh <- true @@ -118,7 +120,8 @@ var _ = Describe("Shutdown", func() { //log.SetLevel(log.DebugLevel) go func() { log.Debug("Starting shutdown chan") - err = shutdown.ShutdownHeadTracking(ctx, notifierCh, maxWaitSecondsShutdown, DB, BC) + _, cancel := context.WithCancel(context.Background()) + err = shutdown.ShutdownHeadTracking(ctx, cancel, notifierCh, maxWaitSecondsShutdown, DB, BC) log.Debug("We have completed the shutdown...") Expect(err).To(MatchError(gracefulshutdown.TimeoutErr(maxWaitSecondsShutdown.String()))) shutdownCh <- true diff --git a/ipld-eth-beacon-indexer.log b/ipld-eth-beacon-indexer.log new file mode 100644 index 0000000..a01b36f --- /dev/null +++ b/ipld-eth-beacon-indexer.log @@ -0,0 +1,1611 @@ +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/cmd/root.go:80","func":"github.com/vulcanize/ipld-eth-beacon-indexer/cmd.logLevel","level":"info","msg":"Log level set to debug","time":"2022-06-09T15:55:35-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/cmd/historic.go:48","func":"github.com/vulcanize/ipld-eth-beacon-indexer/cmd.startHistoricProcessing","level":"info","msg":"Starting the application in head tracking mode.","time":"2022-06-09T15:55:35-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/internal/boot/boot.go:46","func":"github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot.BootApplication","level":"info","msg":"Booting the Application","time":"2022-06-09T15:55:35-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/internal/boot/boot.go:48","func":"github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot.BootApplication","level":"debug","msg":"Creating the Beacon Client","time":"2022-06-09T15:55:35-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/beaconclient.go:103","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.CreateBeaconClient","level":"info","msg":"Creating the BeaconClient","time":"2022-06-09T15:55:35-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=head","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/beaconclient.go:126","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.createSseEvent[...].func1","level":"info","msg":"Creating SSE client","time":"2022-06-09T15:55:35-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=chain_reorg","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/beaconclient.go:126","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.createSseEvent[...].func1","level":"info","msg":"Creating SSE client","time":"2022-06-09T15:55:35-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/internal/boot/boot.go:54","func":"github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot.BootApplication","level":"debug","msg":"Checking Beacon Client","time":"2022-06-09T15:55:35-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/healthcheck.go:31","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.BeaconClient.CheckBeaconClient","level":"debug","msg":"Attempting to connect to the beacon client","time":"2022-06-09T15:55:35-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/healthcheck.go:45","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.BeaconClient.CheckBeaconClient","level":"info","msg":"We can successfully reach the beacon client.","time":"2022-06-09T15:55:35-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/internal/boot/boot.go:60","func":"github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot.BootApplication","level":"debug","msg":"Setting up DB connection","time":"2022-06-09T15:55:35-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/database/sql/postgres/database.go:44","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql/postgres.SetupPostgresDb","level":"debug","msg":"Resolving Driver Type","time":"2022-06-09T15:55:35-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/database/sql/postgres/database.go:52","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql/postgres.SetupPostgresDb","level":"info","msg":"Using Driver: PGX","time":"2022-06-09T15:55:35-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/database/sql/postgres/database.go:75","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql/postgres.createDriver","level":"debug","msg":"Creating New Driver","time":"2022-06-09T15:55:35-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/database/sql/postgres/database.go:80","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql/postgres.createDriver","level":"info","msg":"Successfully created a driver for PGX","time":"2022-06-09T15:55:35-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/internal/boot/boot.go:81","func":"github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot.BootApplication","level":"warning","msg":"We are not checking to see if the node has synced to head.","time":"2022-06-09T15:55:35-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/internal/boot/boot.go:128","func":"github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot.BootApplicationWithRetry","level":"debug","msg":"Performing additional boot steps for historical processing","time":"2022-06-09T15:55:35-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/checkbeaconserverstatus.go:184","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.BeaconClient.GetLatestSlotInBeaconServer","headSlot":3998375,"level":"info","msg":"Anchor is nil, the lighthouse client has all the nodes from genesis to head.","time":"2022-06-09T15:55:37-04:00"} +{"New Latest Slot":3998375,"Previous Latest Slot":0,"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/checkbeaconserverstatus.go:205","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.BeaconClient.UpdateLatestSlotInBeaconServer","level":"debug","msg":"Swapping Head Slot","time":"2022-06-09T15:55:37-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).CaptureHistoric","level":"info","msg":"We are starting the historical processing service.","time":"2022-06-09T15:55:37-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:102","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","maxWorkers":2,"msg":"Starting batch processing workers","time":"2022-06-09T15:55:37-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:102","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","maxWorkers":2,"msg":"Starting batch processing workers","time":"2022-06-09T15:55:37-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:162","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","msg":"Waiting for shutdown signal from channel","time":"2022-06-09T15:55:37-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).ProcessKnownGaps","level":"info","msg":"We are starting the known gaps processing service.","time":"2022-06-09T15:55:37-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:102","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","maxWorkers":2,"msg":"Starting batch processing workers","time":"2022-06-09T15:55:37-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:102","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","maxWorkers":2,"msg":"Starting batch processing workers","time":"2022-06-09T15:55:37-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:162","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","msg":"Waiting for shutdown signal from channel","time":"2022-06-09T15:55:37-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:38-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:38-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:39-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:39-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:40-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:40-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:41-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:41-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:42-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:42-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:43-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:43-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:44-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:44-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:45-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:45-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:46-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:46-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:47-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:47-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:48-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:48-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:49-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:49-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:50-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:50-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:51-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:51-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:52-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:52-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:53-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:53-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:55-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:55-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:56-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:56-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:57-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:57-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:58-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:58-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:59-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:59-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:00-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:00-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:01-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:01-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:02-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:02-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:03-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:03-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:04-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:04-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:05-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:05-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:06-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:06-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:07-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:07-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:08-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:08-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:09-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:09-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:10-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:10-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:11-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:11-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:12-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:12-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/gracefulshutdown/gracefulshutdown.go:50","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/gracefulshutdown.Shutdown.func1","level":"info","msg":"Shutting Down your application","time":"2022-06-09T15:56:12-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/gracefulshutdown/gracefulshutdown.go:70","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/gracefulshutdown.Shutdown.func1.2","level":"info","msg":"cleaning up: beaconClient","time":"2022-06-09T15:56:12-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:41","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).StopHistoric","level":"info","msg":"We are stopping the historical processing service.","time":"2022-06-09T15:56:12-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:86","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.HistoricProcessing.releaseDbLocks","level":"debug","msg":"Updating all the entries to eth_beacon.historical processing","time":"2022-06-09T15:56:12-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:87","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.HistoricProcessing.releaseDbLocks","level":"debug","msg":"Db: \u0026{0xc0002836c8}","time":"2022-06-09T15:56:12-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:88","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.HistoricProcessing.releaseDbLocks","level":"debug","msg":"hp.uniqueNodeIdentifier 100","time":"2022-06-09T15:56:12-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:165","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","msg":"Received shutdown signal from channel","time":"2022-06-09T15:56:12-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:35","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).CaptureHistoric","level":"debug","msg":"Exiting Historical","time":"2022-06-09T15:56:12-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:93","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.HistoricProcessing.releaseDbLocks","level":"debug","msg":"Update all the entries to eth_beacon.historical processing","time":"2022-06-09T15:56:12-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:98","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.HistoricProcessing.releaseDbLocks","level":"info","msg":"Released historicalProcess locks for specified rows.","rowCount":0,"time":"2022-06-09T15:56:12-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:71","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).StopKnownGapsProcessing","level":"info","msg":"We are stopping the known gaps processing service.","time":"2022-06-09T15:56:12-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:126","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.KnownGapsProcessing.releaseDbLocks","level":"debug","msg":"Updating all the entries to eth_beacon.known_gaps","time":"2022-06-09T15:56:12-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:127","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.KnownGapsProcessing.releaseDbLocks","level":"debug","msg":"Db: \u0026{0xc0002836c8}","time":"2022-06-09T15:56:12-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:128","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.KnownGapsProcessing.releaseDbLocks","level":"debug","msg":"kgp.uniqueNodeIdentifier 100","time":"2022-06-09T15:56:12-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:165","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","msg":"Received shutdown signal from channel","time":"2022-06-09T15:56:12-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:65","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).ProcessKnownGaps","level":"debug","msg":"Exiting known gaps processing service","time":"2022-06-09T15:56:12-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:137","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.KnownGapsProcessing.releaseDbLocks","level":"info","msg":"Released knownGaps locks for specified rows.","rowCount":0,"time":"2022-06-09T15:56:12-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/gracefulshutdown/gracefulshutdown.go:76","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/gracefulshutdown.Shutdown.func1.2","level":"info","msg":"beaconClient was shutdown gracefully","time":"2022-06-09T15:56:12-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/cmd/historic.go:100","func":"github.com/vulcanize/ipld-eth-beacon-indexer/cmd.startHistoricProcessing","level":"info","msg":"Gracefully shutdown ipld-eth-beacon-indexer","time":"2022-06-09T15:56:12-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/cmd/root.go:80","func":"github.com/vulcanize/ipld-eth-beacon-indexer/cmd.logLevel","level":"info","msg":"Log level set to debug","time":"2022-06-09T15:56:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/cmd/full.go:60","func":"github.com/vulcanize/ipld-eth-beacon-indexer/cmd.startFullProcessing","level":"info","msg":"Starting the application in head tracking mode.","time":"2022-06-09T15:56:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/internal/boot/boot.go:46","func":"github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot.BootApplication","level":"info","msg":"Booting the Application","time":"2022-06-09T15:56:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/internal/boot/boot.go:48","func":"github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot.BootApplication","level":"debug","msg":"Creating the Beacon Client","time":"2022-06-09T15:56:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/beaconclient.go:103","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.CreateBeaconClient","level":"info","msg":"Creating the BeaconClient","time":"2022-06-09T15:56:17-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=head","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/beaconclient.go:126","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.createSseEvent[...].func1","level":"info","msg":"Creating SSE client","time":"2022-06-09T15:56:17-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=chain_reorg","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/beaconclient.go:126","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.createSseEvent[...].func1","level":"info","msg":"Creating SSE client","time":"2022-06-09T15:56:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/internal/boot/boot.go:54","func":"github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot.BootApplication","level":"debug","msg":"Checking Beacon Client","time":"2022-06-09T15:56:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/healthcheck.go:31","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.BeaconClient.CheckBeaconClient","level":"debug","msg":"Attempting to connect to the beacon client","time":"2022-06-09T15:56:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/healthcheck.go:45","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.BeaconClient.CheckBeaconClient","level":"info","msg":"We can successfully reach the beacon client.","time":"2022-06-09T15:56:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/internal/boot/boot.go:60","func":"github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot.BootApplication","level":"debug","msg":"Setting up DB connection","time":"2022-06-09T15:56:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/database/sql/postgres/database.go:44","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql/postgres.SetupPostgresDb","level":"debug","msg":"Resolving Driver Type","time":"2022-06-09T15:56:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/database/sql/postgres/database.go:52","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql/postgres.SetupPostgresDb","level":"info","msg":"Using Driver: PGX","time":"2022-06-09T15:56:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/database/sql/postgres/database.go:75","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql/postgres.createDriver","level":"debug","msg":"Creating New Driver","time":"2022-06-09T15:56:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/database/sql/postgres/database.go:80","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql/postgres.createDriver","level":"info","msg":"Successfully created a driver for PGX","time":"2022-06-09T15:56:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/internal/boot/boot.go:81","func":"github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot.BootApplication","level":"warning","msg":"We are not checking to see if the node has synced to head.","time":"2022-06-09T15:56:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/cmd/full.go:75","func":"github.com/vulcanize/ipld-eth-beacon-indexer/cmd.startFullProcessing","level":"info","msg":"The Beacon Client has booted successfully!","time":"2022-06-09T15:56:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehead.go:29","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).CaptureHead","level":"info","msg":"We are tracking the head of the chain.","time":"2022-06-09T15:56:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/incomingsse.go:95","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).captureEventTopic","level":"info","msg":"We are capturing all SSE events","time":"2022-06-09T15:56:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:30","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleReorg","level":"info","msg":"Starting to process reorgs.","time":"2022-06-09T15:56:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).CaptureHistoric","level":"info","msg":"We are starting the historical processing service.","time":"2022-06-09T15:56:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:102","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","maxWorkers":2,"msg":"Starting batch processing workers","time":"2022-06-09T15:56:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:102","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","maxWorkers":2,"msg":"Starting batch processing workers","time":"2022-06-09T15:56:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:162","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","msg":"Waiting for shutdown signal from channel","time":"2022-06-09T15:56:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:40","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","level":"info","msg":"Starting to process head.","time":"2022-06-09T15:56:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).ProcessKnownGaps","level":"info","msg":"We are starting the known gaps processing service.","time":"2022-06-09T15:56:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:102","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","maxWorkers":2,"msg":"Starting batch processing workers","time":"2022-06-09T15:56:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:102","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","maxWorkers":2,"msg":"Starting batch processing workers","time":"2022-06-09T15:56:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:162","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","msg":"Waiting for shutdown signal from channel","time":"2022-06-09T15:56:17-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=chain_reorg","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/incomingsse.go:53","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleIncomingSseEvent[...].func1","level":"info","msg":"Successfully subscribed to the event stream.","time":"2022-06-09T15:56:17-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=head","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/incomingsse.go:53","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleIncomingSseEvent[...].func1","level":"info","msg":"Successfully subscribed to the event stream.","time":"2022-06-09T15:56:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:18-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:18-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:19-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:19-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:20-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:20-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:21-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:21-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:22-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:22-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:23-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:23-04:00"} +{"fields.msg":"{\"slot\":\"3998380\",\"block\":\"0x959e29d0e0dd4770ef64c2f2f473488ab224328638ee500c5f197f36d396db4a\",\"state\":\"0x209a7ae490b5cfef56a6d982ab5000fa36e6a2a62f5b8ed53f6bb852813319eb\",\"current_duty_dependent_root\":\"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5\",\"previous_duty_dependent_root\":\"0x13dd484c3c8462b617222375d850667982ed9944e8f358857405dcadf301ccd4\",\"epoch_transition\":false}","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/incomingsse.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleIncomingSseEvent[...]","level":"debug","msg":"We are going to send the following message to be processed.","time":"2022-06-09T15:56:24-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":{"slot":"3998380","block":"0x959e29d0e0dd4770ef64c2f2f473488ab224328638ee500c5f197f36d396db4a","state":"0x209a7ae490b5cfef56a6d982ab5000fa36e6a2a62f5b8ed53f6bb852813319eb","current_duty_dependent_root":"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5","previous_duty_dependent_root":"0x13dd484c3c8462b617222375d850667982ed9944e8f358857405dcadf301ccd4","epoch_transition":false,"execution_optimistic":false},"level":"debug","msg":"We are going to start processing the slot.","time":"2022-06-09T15:56:24-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:71","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":"3998380","level":"debug","msg":"We finished calling processHeadSlot.","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"10000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"0","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"20000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"10000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"30000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"20000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"40000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"30000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"50000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"40000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"60000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"50000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"70000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"60000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"80000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"70000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"90000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"80000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"100000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"90000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"110000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"100000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"120000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"110000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"130000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"120000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"140000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"130000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"150000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"140000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"160000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"150000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"170000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"160000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"180000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"170000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"190000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"180000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"200000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"190000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"210000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"200000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"220000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"210000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"230000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"220000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"240000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"230000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"250000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"240000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"260000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"250000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"270000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"260000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"280000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"270000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"290000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"280000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"300000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"290000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"310000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"300000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"320000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"310000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"330000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"320000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"340000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"330000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"350000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"340000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"360000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"350000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"370000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"360000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"380000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"370000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"390000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"380000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"400000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"390000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"410000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"400000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"420000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"410000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"430000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"420000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"440000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"430000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"450000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"440000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"460000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"450000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"470000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"460000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"480000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"470000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"490000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"480000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"500000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"490000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"510000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"500000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"520000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"510000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"530000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"520000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"540000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"530000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"550000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"540000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"560000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"550000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"570000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"560000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"580000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"570000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"590000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"580000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"600000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"590000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"610000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"600000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"620000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"610000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"630000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"620000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"640000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"630000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"650000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"640000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"660000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"650000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"670000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"660000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"680000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"670000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"690000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"680000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"700000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"690000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"710000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"700000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"720000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"710000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"730000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"720000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"740000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"730000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"750000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"740000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"760000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"750000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"770000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"760000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"780000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"770000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"790000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"780000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"800000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"790000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"810000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"800000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"820000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"810000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"830000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"820000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"840000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"830000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"850000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"840000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"860000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"850000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"870000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"860000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"880000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"870000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"890000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"880000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"900000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"890000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"910000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"900000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"920000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"910000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"930000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"920000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"940000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"930000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"950000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"940000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"960000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"950000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"970000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"960000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"980000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"970000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"990000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"980000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1000000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"990000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1010000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1000000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1020000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1010000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1030000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1020000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1040000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1030000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1050000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1040000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1060000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1050000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1070000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1060000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1080000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1070000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1090000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1080000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1100000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1090000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1110000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1100000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1120000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1110000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1130000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1120000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1140000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1130000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1150000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1140000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1160000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1150000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1170000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1160000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1180000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1170000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1190000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1180000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1200000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1190000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1210000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1200000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1220000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1210000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1230000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1220000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1240000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1230000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1250000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1240000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1260000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1250000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1270000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1260000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1280000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1270000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1290000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1280000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1300000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1290000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1310000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1300000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1320000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1310000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1330000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1320000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1340000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1330000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1350000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1340000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1360000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1350000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1370000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1360000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1380000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1370000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1390000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1380000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1400000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1390000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1410000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1400000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1420000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1410000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1430000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1420000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1440000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1430000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1450000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1440000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1460000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1450000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1470000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1460000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1480000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1470000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1490000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1480000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1500000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1490000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1510000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1500000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1520000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1510000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1530000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1520000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1540000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1530000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1550000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1540000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1560000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1550000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1570000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1560000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1580000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1570000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1590000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1580000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1600000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1590000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1610000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1600000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1620000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1610000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1630000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1620000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1640000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1630000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1650000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1640000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1660000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1650000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1670000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1660000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1680000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1670000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1690000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1680000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1700000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1690000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1710000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1700000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1720000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1710000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1730000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1720000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1740000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1730000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1750000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1740000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1760000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1750000","time":"2022-06-09T15:56:24-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1770000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1760000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1780000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1770000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1790000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1780000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1800000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1790000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1810000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1800000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1820000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1810000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1830000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1820000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1840000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1830000","time":"2022-06-09T15:56:24-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1850000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1840000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1860000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1850000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1870000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1860000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1880000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1870000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1890000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1880000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1900000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1890000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1910000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1900000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1920000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1910000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1930000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1920000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1940000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1930000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1950000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1940000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1960000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1950000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1970000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1960000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1980000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1970000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"1990000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1980000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"2000000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1990000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"2010000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2000000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"2020000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2010000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"2030000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2020000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"2040000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2030000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"2050000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2040000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"2060000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2050000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"2070000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2060000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"2080000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2070000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"2090000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2080000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"2100000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2090000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"2110000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2100000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"2120000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2110000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"2130000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2120000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"2140000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2130000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"2150000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2140000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"2160000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2150000","time":"2022-06-09T15:56:24-04:00"} +{"endSlot":"2170000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2160000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2180000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2170000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2190000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2180000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2200000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2190000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2210000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2200000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2220000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2210000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2230000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2220000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2240000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2230000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2250000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2240000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2260000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2250000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2270000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2260000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2280000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2270000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2290000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2280000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2300000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2290000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2310000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2300000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2320000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2310000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2330000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2320000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2340000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2330000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2350000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2340000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2360000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2350000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2370000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2360000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2380000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2370000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2390000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2380000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2400000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2390000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2410000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2400000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2420000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2410000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2430000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2420000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2440000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2430000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2450000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2440000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2460000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2450000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2470000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2460000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2480000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2470000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2490000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2480000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2500000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2490000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2510000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2500000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2520000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2510000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2530000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2520000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2540000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2530000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2550000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2540000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2560000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2550000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2570000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2560000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2580000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2570000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2590000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2580000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2600000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2590000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2610000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2600000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2620000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2610000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2630000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2620000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2640000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2630000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2650000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2640000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2660000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2650000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2670000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2660000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2680000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2670000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2690000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2680000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2700000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2690000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2710000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2700000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2720000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2710000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2730000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2720000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2740000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2730000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2750000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2740000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2760000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2750000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2770000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2760000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2780000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2770000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2790000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2780000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2800000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2790000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2810000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2800000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2820000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2810000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2830000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2820000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2840000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2830000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2850000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2840000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2860000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2850000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2870000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2860000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2880000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2870000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2890000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2880000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2900000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2890000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2910000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2900000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2920000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2910000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2930000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2920000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2940000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2930000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2950000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2940000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2960000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2950000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2970000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2960000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2980000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2970000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"2990000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2980000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3000000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2990000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3010000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3000000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3020000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3010000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3030000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3020000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3040000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3030000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3050000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3040000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3060000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3050000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3070000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3060000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3080000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3070000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3090000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3080000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3100000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3090000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3110000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3100000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3120000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3110000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3130000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3120000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3140000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3130000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3150000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3140000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3160000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3150000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3170000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3160000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3180000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3170000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3190000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3180000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3200000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3190000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3210000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3200000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3220000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3210000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3230000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3220000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3240000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3230000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3250000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3240000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3260000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3250000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3270000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3260000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3280000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3270000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3290000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3280000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3300000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3290000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3310000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3300000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3320000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3310000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3330000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3320000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3340000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3330000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3350000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3340000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3360000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3350000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3370000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3360000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3380000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3370000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3390000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3380000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3400000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3390000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3410000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3400000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3420000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3410000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3430000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3420000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3440000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3430000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3450000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3440000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3460000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3450000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3470000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3460000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3480000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3470000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3490000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3480000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3500000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3490000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3510000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3500000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3520000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3510000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3530000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3520000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3540000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3530000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3550000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3540000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3560000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3550000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3570000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3560000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3580000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3570000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3590000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3580000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3600000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3590000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3610000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3600000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3620000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3610000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3630000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3620000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3640000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3630000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3650000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3640000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3660000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3650000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3670000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3660000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3680000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3670000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3690000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3680000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3700000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3690000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3710000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3700000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3720000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3710000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3730000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3720000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3740000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3730000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3750000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3740000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3760000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3750000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3770000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3760000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3780000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3770000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3790000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3780000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3800000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3790000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3810000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3800000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3820000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3810000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3830000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3820000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3840000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3830000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3850000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3840000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3860000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3850000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3870000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3860000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3880000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3870000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3890000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3880000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3900000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3890000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3910000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3900000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3920000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3910000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3930000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3920000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3940000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3930000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3950000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3940000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3960000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3950000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3970000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3960000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3980000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3970000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3990000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3980000","time":"2022-06-09T15:56:25-04:00"} +{"endSlot":"3998379","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3990000","time":"2022-06-09T15:56:25-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/0x959e29d0e0dd4770ef64c2f2f473488ab224328638ee500c5f197f36d396db4a","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:25-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/0x209a7ae490b5cfef56a6d982ab5000fa36e6a2a62f5b8ed53f6bb852813319eb","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:25-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:25-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:25-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:156","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We found a new row","time":"2022-06-09T15:56:25-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:220","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"Added a new slots to be processed","slots":{},"time":"2022-06-09T15:56:25-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 0","time":"2022-06-09T15:56:25-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":0,"time":"2022-06-09T15:56:25-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":1,"time":"2022-06-09T15:56:25-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 1","time":"2022-06-09T15:56:25-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/0","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:25-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/0","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:25-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/1","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:25-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/1","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:25-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:156","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We found a new row","time":"2022-06-09T15:56:25-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:220","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"Added a new slots to be processed","slots":{},"time":"2022-06-09T15:56:25-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:26-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:27-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0x7e76880eb67bbdc86250aa578958e9d0675e64e714337855204fb5abaaf82c2b","time":"2022-06-09T15:56:28-04:00"} +{"blockRoot":"0x4d611d5b93fdab69013a7f0a2f961caca0c853f87cfe9595fe50038163079360","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T15:56:28-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 0 0x4d611d5b93fdab69013a7f0a2f961caca0c853f87cfe9595fe50038163079360 0x7e76880eb67bbdc86250aa578958e9d0675e64e714337855204fb5abaaf82c2b proposed}","time":"2022-06-09T15:56:28-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA2GINRRGFSDKYRZGNTGIYLCGY4TAMJTME3WMMDBGJTDSNRRMNQWGYJQMM4DKM3GHA3WGZTFHE2TSNLGMU2TAMBTHAYTMMZQG44TGNRQ","msg":"The MHKEY","time":"2022-06-09T15:56:28-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{0 0x4d611d5b93fdab69013a7f0a2f961caca0c853f87cfe9595fe50038163079360 0x0000000000000000000000000000000000000000000000000000000000000000 0x0000000000000000000000000000000000000000000000000000000000000000 /blocks/QLVAEQRQPA2GINRRGFSDKYRZGNTGIYLCGY4TAMJTME3WMMDBGJTDSNRRMNQWGYJQMM4DKM3GHA3WGZTFHE2TSNLGMU2TAMBTHAYTMMZQG44TGNRQ}","time":"2022-06-09T15:56:28-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA3WKNZWHA4DAZLCGY3WEYTEMM4DMMRVGBQWCNJXHA4TKODFHFSDANRXGVSTMNDFG4YTIMZTG44DKNJSGA2GMYRVMFRGCYLGHAZGGMTC","msg":"The MHKEY","time":"2022-06-09T15:56:28-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{0 0x7e76880eb67bbdc86250aa578958e9d0675e64e714337855204fb5abaaf82c2b /blocks/QLVAEQRQPA3WKNZWHA4DAZLCGY3WEYTEMM4DMMRVGBQWCNJXHA4TKODFHFSDANRXGVSTMNDFG4YTIMZTG44DKNJSGA2GMYRVMFRGCYLGHAZGGMTC}","time":"2022-06-09T15:56:28-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"0","time":"2022-06-09T15:56:28-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:56:28-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0x71ddf39322af21eeabda04f605992ab5027533eb8e9ab915075d432a886c6e51","time":"2022-06-09T15:56:28-04:00"} +{"blockRoot":"0xbacd20f09da907734434f052bd4c9503aa16bab1960e89ea20610d08d064481c","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T15:56:28-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 1 0xbacd20f09da907734434f052bd4c9503aa16bab1960e89ea20610d08d064481c 0x71ddf39322af21eeabda04f605992ab5027533eb8e9ab915075d432a886c6e51 proposed}","time":"2022-06-09T15:56:28-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBRGCY3EGIYGMMBZMRQTSMBXG4ZTINBTGRTDANJSMJSDIYZZGUYDGYLBGE3GEYLCGE4TMMDFHA4WKYJSGA3DCMDEGA4GIMBWGQ2DQMLD","msg":"The MHKEY","time":"2022-06-09T15:56:28-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{1 0xbacd20f09da907734434f052bd4c9503aa16bab1960e89ea20610d08d064481c 0x4d611d5b93fdab69013a7f0a2f961caca0c853f87cfe9595fe50038163079360 0x8d3f027beef5cbd4f8b29fc831aba67a5d74768edca529f5596f07fd207865e1 /blocks/QLVAEQRQPBRGCY3EGIYGMMBZMRQTSMBXG4ZTINBTGRTDANJSMJSDIYZZGUYDGYLBGE3GEYLCGE4TMMDFHA4WKYJSGA3DCMDEGA4GIMBWGQ2DQMLD}","time":"2022-06-09T15:56:28-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA3TCZDEMYZTSMZSGJQWMMRRMVSWCYTEMEYDIZRWGA2TSOJSMFRDKMBSG42TGM3FMI4GKOLBMI4TCNJQG42WINBTGJQTQOBWMM3GKNJR","msg":"The MHKEY","time":"2022-06-09T15:56:28-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{1 0x71ddf39322af21eeabda04f605992ab5027533eb8e9ab915075d432a886c6e51 /blocks/QLVAEQRQPA3TCZDEMYZTSMZSGJQWMMRRMVSWCYTEMEYDIZRWGA2TSOJSMFRDKMBSG42TGM3FMI4GKOLBMI4TCNJQG42WINBTGJQTQOBWMM3GKNJR}","time":"2022-06-09T15:56:28-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"1","time":"2022-06-09T15:56:28-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:56:28-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:28-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:29-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T15:56:30-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 2","time":"2022-06-09T15:56:30-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":2,"time":"2022-06-09T15:56:30-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/2","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:30-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/2","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:30-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T15:56:30-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 3","time":"2022-06-09T15:56:30-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/3","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:30-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":3,"time":"2022-06-09T15:56:30-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/3","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:30-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:30-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:31-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0x850bbbc29a57458784f92d2cabe51a6dd3e514a691b4849f888040770f37afee","time":"2022-06-09T15:56:32-04:00"} +{"blockRoot":"0x2757f6fd8590925cd000a86a3e543f98a93eae23781783a33e34504729a8ad0c","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T15:56:32-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 2 0x2757f6fd8590925cd000a86a3e543f98a93eae23781783a33e34504729a8ad0c 0x850bbbc29a57458784f92d2cabe51a6dd3e514a691b4849f888040770f37afee proposed}","time":"2022-06-09T15:56:32-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPAZDONJXMY3GMZBYGU4TAOJSGVRWIMBQGBQTQNTBGNSTKNBTMY4TQYJZGNSWCZJSGM3TQMJXHAZWCMZTMUZTINJQGQ3TEOLBHBQWIMDD","msg":"The MHKEY","time":"2022-06-09T15:56:32-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{2 0x2757f6fd8590925cd000a86a3e543f98a93eae23781783a33e34504729a8ad0c 0xbacd20f09da907734434f052bd4c9503aa16bab1960e89ea20610d08d064481c 0x8d3f027beef5cbd4f8b29fc831aba67a5d74768edca529f5596f07fd207865e1 /blocks/QLVAEQRQPAZDONJXMY3GMZBYGU4TAOJSGVRWIMBQGBQTQNTBGNSTKNBTMY4TQYJZGNSWCZJSGM3TQMJXHAZWCMZTMUZTINJQGQ3TEOLBHBQWIMDD}","time":"2022-06-09T15:56:32-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA4DKMDCMJRGGMRZME2TONBVHA3TQNDGHEZGIMTDMFRGKNJRME3GIZBTMU2TCNDBGY4TCYRUHA2DSZRYHA4DANBQG43TAZRTG5QWMZLF","msg":"The MHKEY","time":"2022-06-09T15:56:32-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{2 0x850bbbc29a57458784f92d2cabe51a6dd3e514a691b4849f888040770f37afee /blocks/QLVAEQRQPA4DKMDCMJRGGMRZME2TONBVHA3TQNDGHEZGIMTDMFRGKNJRME3GIZBTMU2TCNDBGY4TCYRUHA2DSZRYHA4DANBQG43TAZRTG5QWMZLF}","time":"2022-06-09T15:56:32-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"2","time":"2022-06-09T15:56:32-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:56:32-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0xea80b8dfdde8331107e3021390b16544b60021e31b9c7d4192a28e1f661c1e85","time":"2022-06-09T15:56:32-04:00"} +{"blockRoot":"0xb6c2a16aa85959604baba5344e869cabe1d096bb179d57e61fdca933f5ec7bf5","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T15:56:32-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 3 0xb6c2a16aa85959604baba5344e869cabe1d096bb179d57e61fdca933f5ec7bf5 0xea80b8dfdde8331107e3021390b16544b60021e31b9c7d4192a28e1f661c1e85 proposed}","time":"2022-06-09T15:56:32-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBRDMYZSMEYTMYLBHA2TSNJZGYYDIYTBMJQTKMZUGRSTQNRZMNQWEZJRMQYDSNTCMIYTOOLEGU3WKNRRMZSGGYJZGMZWMNLFMM3WEZRV","msg":"The MHKEY","time":"2022-06-09T15:56:32-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{3 0xb6c2a16aa85959604baba5344e869cabe1d096bb179d57e61fdca933f5ec7bf5 0x2757f6fd8590925cd000a86a3e543f98a93eae23781783a33e34504729a8ad0c 0x8d3f027beef5cbd4f8b29fc831aba67a5d74768edca529f5596f07fd207865e1 /blocks/QLVAEQRQPBRDMYZSMEYTMYLBHA2TSNJZGYYDIYTBMJQTKMZUGRSTQNRZMNQWEZJRMQYDSNTCMIYTOOLEGU3WKNRRMZSGGYJZGMZWMNLFMM3WEZRV}","time":"2022-06-09T15:56:32-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBSWCOBQMI4GIZTEMRSTQMZTGEYTAN3FGMYDEMJTHEYGEMJWGU2DIYRWGAYDEMLFGMYWEOLDG5SDIMJZGJQTEODFGFTDMNRRMMYWKOBV","msg":"The MHKEY","time":"2022-06-09T15:56:32-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{3 0xea80b8dfdde8331107e3021390b16544b60021e31b9c7d4192a28e1f661c1e85 /blocks/QLVAEQRQPBSWCOBQMI4GIZTEMRSTQMZTGEYTAN3FGMYDEMJTHEYGEMJWGU2DIYRWGAYDEMLFGMYWEOLDG5SDIMJZGJQTEODFGFTDMNRRMMYWKOBV}","time":"2022-06-09T15:56:32-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"3","time":"2022-06-09T15:56:32-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:56:32-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:32-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:33-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T15:56:34-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 4","time":"2022-06-09T15:56:34-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":4,"time":"2022-06-09T15:56:34-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/4","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:34-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/4","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:34-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:35-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T15:56:35-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":5,"time":"2022-06-09T15:56:35-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 5","time":"2022-06-09T15:56:35-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/5","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:35-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/5","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:35-04:00"} +{"fields.msg":"{\"slot\":\"3998381\",\"block\":\"0x9eb982e96973660c4b8f74fccd1d4e4e433280b92a7031e16c1f8dac19ca52b0\",\"state\":\"0xe333ac417c75dbb7c5af1877944a8b70635e89675ac1631f06c53dcc3101ec1e\",\"current_duty_dependent_root\":\"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5\",\"previous_duty_dependent_root\":\"0x13dd484c3c8462b617222375d850667982ed9944e8f358857405dcadf301ccd4\",\"epoch_transition\":false}","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/incomingsse.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleIncomingSseEvent[...]","level":"debug","msg":"We are going to send the following message to be processed.","time":"2022-06-09T15:56:35-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":{"slot":"3998381","block":"0x9eb982e96973660c4b8f74fccd1d4e4e433280b92a7031e16c1f8dac19ca52b0","state":"0xe333ac417c75dbb7c5af1877944a8b70635e89675ac1631f06c53dcc3101ec1e","current_duty_dependent_root":"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5","previous_duty_dependent_root":"0x13dd484c3c8462b617222375d850667982ed9944e8f358857405dcadf301ccd4","epoch_transition":false,"execution_optimistic":false},"level":"debug","msg":"We are going to start processing the slot.","time":"2022-06-09T15:56:35-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:71","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":"3998381","level":"debug","msg":"We finished calling processHeadSlot.","time":"2022-06-09T15:56:35-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/0x9eb982e96973660c4b8f74fccd1d4e4e433280b92a7031e16c1f8dac19ca52b0","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:35-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/0xe333ac417c75dbb7c5af1877944a8b70635e89675ac1631f06c53dcc3101ec1e","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:35-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:36-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:37-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 5 skipped}","time":"2022-06-09T15:56:37-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":0,"level":"debug","mhKey":"/blocks/QLVAEAA","msg":"The MHKEY","time":"2022-06-09T15:56:37-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{5 /blocks/QLVAEAA}","time":"2022-06-09T15:56:37-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":0,"level":"debug","mhKey":"/blocks/QLVAEAA","msg":"The MHKEY","time":"2022-06-09T15:56:37-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{5 /blocks/QLVAEAA}","time":"2022-06-09T15:56:37-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"5","time":"2022-06-09T15:56:37-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:56:37-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T15:56:37-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 6","time":"2022-06-09T15:56:37-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":6,"time":"2022-06-09T15:56:37-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/6","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:37-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/6","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:37-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:38-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0xf87def8c708f47cb1ed5e02bd92f28af0e209e52d6c2769e04ba1d84d78f9207","time":"2022-06-09T15:56:38-04:00"} +{"blockRoot":"0x5c6b778730425b5f102675563ed4495e2392ffec3d98df32a1f92502a2cb8d2f","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T15:56:38-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 4 0x5c6b778730425b5f102675563ed4495e2392ffec3d98df32a1f92502a2cb8d2f 0xf87def8c708f47cb1ed5e02bd92f28af0e209e52d6c2769e04ba1d84d78f9207 proposed}","time":"2022-06-09T15:56:38-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA2WGNTCG43TQNZTGA2DENLCGVTDCMBSGY3TKNJWGNSWINBUHE2WKMRTHEZGMZTFMMZWIOJYMRTDGMTBGFTDSMRVGAZGCMTDMI4GIMTG","msg":"The MHKEY","time":"2022-06-09T15:56:38-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{4 0x5c6b778730425b5f102675563ed4495e2392ffec3d98df32a1f92502a2cb8d2f 0xb6c2a16aa85959604baba5344e869cabe1d096bb179d57e61fdca933f5ec7bf5 0x8d3f027beef5cbd4f8b29fc831aba67a5d74768edca529f5596f07fd207865e1 /blocks/QLVAEQRQPA2WGNTCG43TQNZTGA2DENLCGVTDCMBSGY3TKNJWGNSWINBUHE2WKMRTHEZGMZTFMMZWIOJYMRTDGMTBGFTDSMRVGAZGCMTDMI4GIMTG}","time":"2022-06-09T15:56:38-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBTDQN3EMVTDQYZXGA4GMNBXMNRDCZLEGVSTAMTCMQ4TEZRSHBQWMMDFGIYDSZJVGJSDMYZSG43DSZJQGRRGCMLEHA2GINZYMY4TEMBX","msg":"The MHKEY","time":"2022-06-09T15:56:38-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{4 0xf87def8c708f47cb1ed5e02bd92f28af0e209e52d6c2769e04ba1d84d78f9207 /blocks/QLVAEQRQPBTDQN3EMVTDQYZXGA4GMNBXMNRDCZLEGVSTAMTCMQ4TEZRSHBQWMMDFGIYDSZJVGJSDMYZSG43DSZJQGRRGCMLEHA2GINZYMY4TEMBX}","time":"2022-06-09T15:56:38-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"4","time":"2022-06-09T15:56:38-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:56:38-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:39-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:40-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T15:56:40-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0x62a39b4397c2de8e7f3168a0f727a0a33d92cd1c401674dcefb74de9aeb7f62b","time":"2022-06-09T15:56:40-04:00"} +{"blockRoot":"0x336fa27c77036379a5764bce7b208b3cffeea8b0e8cda4efb2893259646403d4","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T15:56:40-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 6 0x336fa27c77036379a5764bce7b208b3cffeea8b0e8cda4efb2893259646403d4 0x62a39b4397c2de8e7f3168a0f727a0a33d92cd1c401674dcefb74de9aeb7f62b proposed}","time":"2022-06-09T15:56:40-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPAZTGNTGMEZDOYZXG4YDGNRTG44WCNJXGY2GEY3FG5RDEMBYMIZWGZTGMVSWCODCGBSTQY3EME2GKZTCGI4DSMZSGU4TMNBWGQYDGZBU","msg":"The MHKEY","time":"2022-06-09T15:56:40-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{6 0x336fa27c77036379a5764bce7b208b3cffeea8b0e8cda4efb2893259646403d4 0x5c6b778730425b5f102675563ed4495e2392ffec3d98df32a1f92502a2cb8d2f 0x8d3f027beef5cbd4f8b29fc831aba67a5d74768edca529f5596f07fd207865e1 /blocks/QLVAEQRQPAZTGNTGMEZDOYZXG4YDGNRTG44WCNJXGY2GEY3FG5RDEMBYMIZWGZTGMVSWCODCGBSTQY3EME2GKZTCGI4DSMZSGU4TMNBWGQYDGZBU}","time":"2022-06-09T15:56:40-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA3DEYJTHFRDIMZZG5RTEZDFHBSTOZRTGE3DQYJQMY3TEN3BGBQTGM3EHEZGGZBRMM2DAMJWG42GIY3FMZRDONDEMU4WCZLCG5TDMMTC","msg":"The MHKEY","time":"2022-06-09T15:56:40-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{6 0x62a39b4397c2de8e7f3168a0f727a0a33d92cd1c401674dcefb74de9aeb7f62b /blocks/QLVAEQRQPA3DEYJTHFRDIMZZG5RTEZDFHBSTOZRTGE3DQYJQMY3TEN3BGBQTGM3EHEZGGZBRMM2DAMJWG42GIY3FMZRDONDEMU4WCZLCG5TDMMTC}","time":"2022-06-09T15:56:40-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"6","time":"2022-06-09T15:56:40-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:56:40-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 7","time":"2022-06-09T15:56:40-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/7","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:40-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":7,"time":"2022-06-09T15:56:40-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/7","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:40-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:41-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T15:56:42-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 8","time":"2022-06-09T15:56:42-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/8","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:42-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":8,"time":"2022-06-09T15:56:42-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/8","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:42-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:42-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 7 skipped}","time":"2022-06-09T15:56:43-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":0,"level":"debug","mhKey":"/blocks/QLVAEAA","msg":"The MHKEY","time":"2022-06-09T15:56:43-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{7 /blocks/QLVAEAA}","time":"2022-06-09T15:56:43-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":0,"level":"debug","mhKey":"/blocks/QLVAEAA","msg":"The MHKEY","time":"2022-06-09T15:56:43-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{7 /blocks/QLVAEAA}","time":"2022-06-09T15:56:43-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"7","time":"2022-06-09T15:56:43-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:56:43-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T15:56:43-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 9","time":"2022-06-09T15:56:43-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/9","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:43-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/9","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:43-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":9,"time":"2022-06-09T15:56:43-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:43-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{124949 3998380 0x959e29d0e0dd4770ef64c2f2f473488ab224328638ee500c5f197f36d396db4a 0x209a7ae490b5cfef56a6d982ab5000fa36e6a2a62f5b8ed53f6bb852813319eb proposed}","time":"2022-06-09T15:56:43-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA4TKOLFGI4WIMDFGBSGINBXG4YGKZRWGRRTEZRSMY2DOMZUHA4GCYRSGI2DGMRYGYZTQZLFGUYDAYZVMYYTSN3GGM3GIMZZGZSGENDB","msg":"The MHKEY","time":"2022-06-09T15:56:43-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{3998380 0x959e29d0e0dd4770ef64c2f2f473488ab224328638ee500c5f197f36d396db4a 0xe013cbc74358148a6b34dcfca7916d28452dfd61ac54968eeebabf9352d45925 0xdeb4f8e03e3281723be9b2942ebcc95930de2ee252d90329bee61580cb8bce6c /blocks/QLVAEQRQPA4TKOLFGI4WIMDFGBSGINBXG4YGKZRWGRRTEZRSMY2DOMZUHA4GCYRSGI2DGMRYGYZTQZLFGUYDAYZVMYYTSN3GGM3GIMZZGZSGENDB}","time":"2022-06-09T15:56:43-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPAZDAOLBG5QWKNBZGBRDKY3GMVTDKNTBGZSDSOBSMFRDKMBQGBTGCMZWMU3GCMTBGYZGMNLCHBSWINJTMY3GEYRYGUZDQMJTGMYTSZLC","msg":"The MHKEY","time":"2022-06-09T15:56:43-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{3998380 0x209a7ae490b5cfef56a6d982ab5000fa36e6a2a62f5b8ed53f6bb852813319eb /blocks/QLVAEQRQPAZDAOLBG5QWKNBZGBRDKY3GMVTDKNTBGZSDSOBSMFRDKMBQGBTGCMZWMU3GCMTBGYZGMNLCHBSWINJTMY3GEYRYGUZDQMJTGMYTSZLC}","time":"2022-06-09T15:56:43-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"3998380","time":"2022-06-09T15:56:43-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:56:43-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:44-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0xfaa5a988e4a890e8dd1b4d5c3735141dbefde87d052dd223de89257279651afb","time":"2022-06-09T15:56:44-04:00"} +{"blockRoot":"0x8425c842669d35758baedd7295ebe289eaccb8a67f084d408f8040c654be934d","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T15:56:44-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 8 0x8425c842669d35758baedd7295ebe289eaccb8a67f084d408f8040c654be934d 0xfaa5a988e4a890e8dd1b4d5c3735141dbefde87d052dd223de89257279651afb proposed}","time":"2022-06-09T15:56:44-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA4DIMRVMM4DIMRWGY4WIMZVG42TQYTBMVSGINZSHE2WKYTFGI4DSZLBMNRWEODBGY3WMMBYGRSDIMBYMY4DANBQMM3DKNDCMU4TGNDE","msg":"The MHKEY","time":"2022-06-09T15:56:44-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{8 0x8425c842669d35758baedd7295ebe289eaccb8a67f084d408f8040c654be934d 0x336fa27c77036379a5764bce7b208b3cffeea8b0e8cda4efb2893259646403d4 0x8d3f027beef5cbd4f8b29fc831aba67a5d74768edca529f5596f07fd207865e1 /blocks/QLVAEQRQPA4DIMRVMM4DIMRWGY4WIMZVG42TQYTBMVSGINZSHE2WKYTFGI4DSZLBMNRWEODBGY3WMMBYGRSDIMBYMY4DANBQMM3DKNDCMU4TGNDE}","time":"2022-06-09T15:56:44-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBTGCYJVME4TQODFGRQTQOJQMU4GIZBRMI2GINLDGM3TGNJRGQYWIYTFMZSGKOBXMQYDKMTEMQZDEM3EMU4DSMRVG4ZDOOJWGUYWCZTC","msg":"The MHKEY","time":"2022-06-09T15:56:44-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{8 0xfaa5a988e4a890e8dd1b4d5c3735141dbefde87d052dd223de89257279651afb /blocks/QLVAEQRQPBTGCYJVME4TQODFGRQTQOJQMU4GIZBRMI2GINLDGM3TGNJRGQYWIYTFMZSGKOBXMQYDKMTEMQZDEM3EMU4DSMRVG4ZDOOJWGUYWCZTC}","time":"2022-06-09T15:56:44-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"8","time":"2022-06-09T15:56:44-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:56:44-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:45-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0xd9124dd802914a03e871719f5b30f127b7184d0f46fe42885e54e7d8ce7609fa","time":"2022-06-09T15:56:46-04:00"} +{"blockRoot":"0x63ead762e41bc0162b5942ddcdd589a6006a9d5a07fc72026a0f4833406cad14","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T15:56:46-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:46-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 9 0x63ead762e41bc0162b5942ddcdd589a6006a9d5a07fc72026a0f4833406cad14 0xd9124dd802914a03e871719f5b30f127b7184d0f46fe42885e54e7d8ce7609fa proposed}","time":"2022-06-09T15:56:46-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA3DGZLBMQ3TMMTFGQYWEYZQGE3DEYRVHE2DEZDEMNSGINJYHFQTMMBQGZQTSZBVMEYDOZTDG4ZDAMRWMEYGMNBYGMZTIMBWMNQWIMJU","msg":"The MHKEY","time":"2022-06-09T15:56:46-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{9 0x63ead762e41bc0162b5942ddcdd589a6006a9d5a07fc72026a0f4833406cad14 0x8425c842669d35758baedd7295ebe289eaccb8a67f084d408f8040c654be934d 0x8d3f027beef5cbd4f8b29fc831aba67a5d74768edca529f5596f07fd207865e1 /blocks/QLVAEQRQPA3DGZLBMQ3TMMTFGQYWEYZQGE3DEYRVHE2DEZDEMNSGINJYHFQTMMBQGZQTSZBVMEYDOZTDG4ZDAMRWMEYGMNBYGMZTIMBWMNQWIMJU}","time":"2022-06-09T15:56:46-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBSDSMJSGRSGIOBQGI4TCNDBGAZWKOBXGE3TCOLGGVRDGMDGGEZDOYRXGE4DIZBQMY2DMZTFGQZDQOBVMU2TIZJXMQ4GGZJXGYYDSZTB","msg":"The MHKEY","time":"2022-06-09T15:56:46-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{9 0xd9124dd802914a03e871719f5b30f127b7184d0f46fe42885e54e7d8ce7609fa /blocks/QLVAEQRQPBSDSMJSGRSGIOBQGI4TCNDBGAZWKOBXGE3TCOLGGVRDGMDGGEZDOYRXGE4DIZBQMY2DMZTFGQZDQOBVMU2TIZJXMQ4GGZJXGYYDSZTB}","time":"2022-06-09T15:56:46-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"9","time":"2022-06-09T15:56:46-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:56:46-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T15:56:46-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 10","time":"2022-06-09T15:56:46-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/10","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:46-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/10","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:46-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":10,"time":"2022-06-09T15:56:46-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:47-04:00"} +{"fields.msg":"{\"slot\":\"3998382\",\"block\":\"0xf311e00bed3323c0707056f313ef8f4fadedb00ce207b77727ccfba60d41be8e\",\"state\":\"0xf2662f3d1a528982f6b79d25aaefc96c0e95a480d1120168ec9c6d14737e8e98\",\"current_duty_dependent_root\":\"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5\",\"previous_duty_dependent_root\":\"0x13dd484c3c8462b617222375d850667982ed9944e8f358857405dcadf301ccd4\",\"epoch_transition\":false}","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/incomingsse.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleIncomingSseEvent[...]","level":"debug","msg":"We are going to send the following message to be processed.","time":"2022-06-09T15:56:47-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":{"slot":"3998382","block":"0xf311e00bed3323c0707056f313ef8f4fadedb00ce207b77727ccfba60d41be8e","state":"0xf2662f3d1a528982f6b79d25aaefc96c0e95a480d1120168ec9c6d14737e8e98","current_duty_dependent_root":"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5","previous_duty_dependent_root":"0x13dd484c3c8462b617222375d850667982ed9944e8f358857405dcadf301ccd4","epoch_transition":false,"execution_optimistic":false},"level":"debug","msg":"We are going to start processing the slot.","time":"2022-06-09T15:56:47-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:71","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":"3998382","level":"debug","msg":"We finished calling processHeadSlot.","time":"2022-06-09T15:56:47-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/0xf2662f3d1a528982f6b79d25aaefc96c0e95a480d1120168ec9c6d14737e8e98","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:47-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/0xf311e00bed3323c0707056f313ef8f4fadedb00ce207b77727ccfba60d41be8e","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:47-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:48-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0x18013e8208e6f19f1c065b1d2391795f7796db32d6a3c3fbd914ca401c58e0c0","time":"2022-06-09T15:56:48-04:00"} +{"blockRoot":"0x1e9fba478d3993e5ba1e06e5b27a9596f492906285aa8fac4a39eb38f06bde17","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T15:56:48-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 10 0x1e9fba478d3993e5ba1e06e5b27a9596f492906285aa8fac4a39eb38f06bde17 0x18013e8208e6f19f1c065b1d2391795f7796db32d6a3c3fbd914ca401c58e0c0 proposed}","time":"2022-06-09T15:56:48-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPAYWKOLGMJQTINZYMQZTSOJTMU2WEYJRMUYDMZJVMIZDOYJZGU4TMZRUHEZDSMBWGI4DKYLBHBTGCYZUMEZTSZLCGM4GMMBWMJSGKMJX","msg":"The MHKEY","time":"2022-06-09T15:56:48-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{10 0x1e9fba478d3993e5ba1e06e5b27a9596f492906285aa8fac4a39eb38f06bde17 0x63ead762e41bc0162b5942ddcdd589a6006a9d5a07fc72026a0f4833406cad14 0x8d3f027beef5cbd4f8b29fc831aba67a5d74768edca529f5596f07fd207865e1 /blocks/QLVAEQRQPAYWKOLGMJQTINZYMQZTSOJTMU2WEYJRMUYDMZJVMIZDOYJZGU4TMZRUHEZDSMBWGI4DKYLBHBTGCYZUMEZTSZLCGM4GMMBWMJSGKMJX}","time":"2022-06-09T15:56:48-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPAYTQMBRGNSTQMRQHBSTMZRRHFTDCYZQGY2WEMLEGIZTSMJXHE2WMNZXHE3GIYRTGJSDMYJTMMZWMYTEHEYTIY3BGQYDCYZVHBSTAYZQ","msg":"The MHKEY","time":"2022-06-09T15:56:48-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{10 0x18013e8208e6f19f1c065b1d2391795f7796db32d6a3c3fbd914ca401c58e0c0 /blocks/QLVAEQRQPAYTQMBRGNSTQMRQHBSTMZRRHFTDCYZQGY2WEMLEGIZTSMJXHE2WMNZXHE3GIYRTGJSDMYJTMMZWMYTEHEYTIY3BGQYDCYZVHBSTAYZQ}","time":"2022-06-09T15:56:48-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"10","time":"2022-06-09T15:56:48-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:56:49-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:49-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T15:56:49-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":11,"time":"2022-06-09T15:56:49-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 11","time":"2022-06-09T15:56:49-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/11","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:49-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/11","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:49-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:50-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:51-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0x2449cae7f9b6400b406c3f55a23c69fd032aceff3156b03c40217dad9e918dad","time":"2022-06-09T15:56:52-04:00"} +{"blockRoot":"0xa8a43b6d105ecdbe4b65849c3300715ffa83e2232150d86b163fe3b53ce446ad","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T15:56:52-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 11 0xa8a43b6d105ecdbe4b65849c3300715ffa83e2232150d86b163fe3b53ce446ad 0x2449cae7f9b6400b406c3f55a23c69fd032aceff3156b03c40217dad9e918dad proposed}","time":"2022-06-09T15:56:52-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBQTQYJUGNRDMZBRGA2WKY3EMJSTIYRWGU4DIOLDGMZTAMBXGE2WMZTBHAZWKMRSGMZDCNJQMQ4DMYRRGYZWMZJTMI2TGY3FGQ2DMYLE","msg":"The MHKEY","time":"2022-06-09T15:56:52-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{11 0xa8a43b6d105ecdbe4b65849c3300715ffa83e2232150d86b163fe3b53ce446ad 0x1e9fba478d3993e5ba1e06e5b27a9596f492906285aa8fac4a39eb38f06bde17 0x8d3f027beef5cbd4f8b29fc831aba67a5d74768edca529f5596f07fd207865e1 /blocks/QLVAEQRQPBQTQYJUGNRDMZBRGA2WKY3EMJSTIYRWGU4DIOLDGMZTAMBXGE2WMZTBHAZWKMRSGMZDCNJQMQ4DMYRRGYZWMZJTMI2TGY3FGQ2DMYLE}","time":"2022-06-09T15:56:52-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPAZDINBZMNQWKN3GHFRDMNBQGBRDIMBWMMZWMNJVMEZDGYZWHFTGIMBTGJQWGZLGMYZTCNJWMIYDGYZUGAZDCN3EMFSDSZJZGE4GIYLE","msg":"The MHKEY","time":"2022-06-09T15:56:52-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{11 0x2449cae7f9b6400b406c3f55a23c69fd032aceff3156b03c40217dad9e918dad /blocks/QLVAEQRQPAZDINBZMNQWKN3GHFRDMNBQGBRDIMBWMMZWMNJVMEZDGYZWHFTGIMBTGJQWGZLGMYZTCNJWMIYDGYZUGAZDCN3EMFSDSZJZGE4GIYLE}","time":"2022-06-09T15:56:52-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"11","time":"2022-06-09T15:56:52-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:56:52-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T15:56:53-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 12","time":"2022-06-09T15:56:53-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":12,"time":"2022-06-09T15:56:53-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/12","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:53-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/12","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:53-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:53-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:55-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0xcfcce6ed2f590af192d32f5f89e4e4bf24cecc4ef2c5aaefb60a53997c1b3b67","time":"2022-06-09T15:56:56-04:00"} +{"blockRoot":"0xa357624018f8332ec983c1217ae3d5a44573de2c9fbfa9ba24f9ec7ff797d48d","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T15:56:56-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 12 0xa357624018f8332ec983c1217ae3d5a44573de2c9fbfa9ba24f9ec7ff797d48d 0xcfcce6ed2f590af192d32f5f89e4e4bf24cecc4ef2c5aaefb60a53997c1b3b67 proposed}","time":"2022-06-09T15:56:56-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBQTGNJXGYZDIMBRHBTDQMZTGJSWGOJYGNRTCMRRG5QWKM3EGVQTINBVG4ZWIZJSMM4WMYTGME4WEYJSGRTDSZLDG5TGMNZZG5SDIODE","msg":"The MHKEY","time":"2022-06-09T15:56:56-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{12 0xa357624018f8332ec983c1217ae3d5a44573de2c9fbfa9ba24f9ec7ff797d48d 0xa8a43b6d105ecdbe4b65849c3300715ffa83e2232150d86b163fe3b53ce446ad 0x8d3f027beef5cbd4f8b29fc831aba67a5d74768edca529f5596f07fd207865e1 /blocks/QLVAEQRQPBQTGNJXGYZDIMBRHBTDQMZTGJSWGOJYGNRTCMRRG5QWKM3EGVQTINBVG4ZWIZJSMM4WMYTGME4WEYJSGRTDSZLDG5TGMNZZG5SDIODE}","time":"2022-06-09T15:56:56-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBRWMY3DMU3GKZBSMY2TSMDBMYYTSMTEGMZGMNLGHA4WKNDFGRRGMMRUMNSWGYZUMVTDEYZVMFQWKZTCGYYGCNJTHE4TOYZRMIZWENRX","msg":"The MHKEY","time":"2022-06-09T15:56:56-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{12 0xcfcce6ed2f590af192d32f5f89e4e4bf24cecc4ef2c5aaefb60a53997c1b3b67 /blocks/QLVAEQRQPBRWMY3DMU3GKZBSMY2TSMDBMYYTSMTEGMZGMNLGHA4WKNDFGRRGMMRUMNSWGYZUMVTDEYZVMFQWKZTCGYYGCNJTHE4TOYZRMIZWENRX}","time":"2022-06-09T15:56:56-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"12","time":"2022-06-09T15:56:56-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:56:56-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T15:56:56-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 13","time":"2022-06-09T15:56:56-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":13,"time":"2022-06-09T15:56:56-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/13","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:56-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/13","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:56-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:56-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:57-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:58-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0xc84102eebc40921de9e1614ac4a26122305bff6ffb2e73e20b54453a94731642","time":"2022-06-09T15:56:58-04:00"} +{"blockRoot":"0xefbad73735df30abbca525d8ef0cd4b3d7c78fedad87920bbe9fa28e9328e3a9","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T15:56:58-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 13 0xefbad73735df30abbca525d8ef0cd4b3d7c78fedad87920bbe9fa28e9328e3a9 0xc84102eebc40921de9e1614ac4a26122305bff6ffb2e73e20b54453a94731642 proposed}","time":"2022-06-09T15:56:59-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBSWMYTBMQ3TGNZTGVSGMMZQMFRGEY3BGUZDKZBYMVTDAY3EGRRDGZBXMM3TQZTFMRQWIOBXHEZDAYTCMU4WMYJSHBSTSMZSHBSTGYJZ","msg":"The MHKEY","time":"2022-06-09T15:56:59-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{13 0xefbad73735df30abbca525d8ef0cd4b3d7c78fedad87920bbe9fa28e9328e3a9 0xa357624018f8332ec983c1217ae3d5a44573de2c9fbfa9ba24f9ec7ff797d48d 0x8d3f027beef5cbd4f8b29fc831aba67a5d74768edca529f5596f07fd207865e1 /blocks/QLVAEQRQPBSWMYTBMQ3TGNZTGVSGMMZQMFRGEY3BGUZDKZBYMVTDAY3EGRRDGZBXMM3TQZTFMRQWIOBXHEZDAYTCMU4WMYJSHBSTSMZSHBSTGYJZ}","time":"2022-06-09T15:56:59-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBRTQNBRGAZGKZLCMM2DAOJSGFSGKOLFGE3DCNDBMM2GCMRWGEZDEMZQGVRGMZRWMZTGEMTFG4ZWKMRQMI2TINBVGNQTSNBXGMYTMNBS","msg":"The MHKEY","time":"2022-06-09T15:56:59-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{13 0xc84102eebc40921de9e1614ac4a26122305bff6ffb2e73e20b54453a94731642 /blocks/QLVAEQRQPBRTQNBRGAZGKZLCMM2DAOJSGFSGKOLFGE3DCNDBMM2GCMRWGEZDEMZQGVRGMZRWMZTGEMTFG4ZWKMRQMI2TINBVGNQTSNBXGMYTMNBS}","time":"2022-06-09T15:56:59-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"13","time":"2022-06-09T15:56:59-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:56:59-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:59-04:00"} +{"fields.msg":"{\"slot\":\"3998383\",\"block\":\"0xed3acfe4432f4c547461ed007b01639038f25a1bc45a911e742f2cd6b069acca\",\"state\":\"0xda37de6e0fd53a180e18518c0e98c2787d71c580103c453c58e05d34cfb43c51\",\"current_duty_dependent_root\":\"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5\",\"previous_duty_dependent_root\":\"0x13dd484c3c8462b617222375d850667982ed9944e8f358857405dcadf301ccd4\",\"epoch_transition\":false}","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/incomingsse.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleIncomingSseEvent[...]","level":"debug","msg":"We are going to send the following message to be processed.","time":"2022-06-09T15:57:00-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":{"slot":"3998383","block":"0xed3acfe4432f4c547461ed007b01639038f25a1bc45a911e742f2cd6b069acca","state":"0xda37de6e0fd53a180e18518c0e98c2787d71c580103c453c58e05d34cfb43c51","current_duty_dependent_root":"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5","previous_duty_dependent_root":"0x13dd484c3c8462b617222375d850667982ed9944e8f358857405dcadf301ccd4","epoch_transition":false,"execution_optimistic":false},"level":"debug","msg":"We are going to start processing the slot.","time":"2022-06-09T15:57:00-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:71","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":"3998383","level":"debug","msg":"We finished calling processHeadSlot.","time":"2022-06-09T15:57:00-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/0xda37de6e0fd53a180e18518c0e98c2787d71c580103c453c58e05d34cfb43c51","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:57:00-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/0xed3acfe4432f4c547461ed007b01639038f25a1bc45a911e742f2cd6b069acca","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:57:00-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:00-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T15:57:00-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 14","time":"2022-06-09T15:57:00-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":14,"time":"2022-06-09T15:57:00-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/14","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:57:00-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/14","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:57:00-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:01-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:03-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{124949 3998381 0x9eb982e96973660c4b8f74fccd1d4e4e433280b92a7031e16c1f8dac19ca52b0 0xe333ac417c75dbb7c5af1877944a8b70635e89675ac1631f06c53dcc3101ec1e proposed}","time":"2022-06-09T15:57:04-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA4WKYRZHAZGKOJWHE3TGNRWGBRTIYRYMY3TIZTDMNSDCZBUMU2GKNBTGMZDQMDCHEZGCNZQGMYWKMJWMMYWMODEMFRTCOLDME2TEYRQ","msg":"The MHKEY","time":"2022-06-09T15:57:04-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{3998381 0x9eb982e96973660c4b8f74fccd1d4e4e433280b92a7031e16c1f8dac19ca52b0 0x959e29d0e0dd4770ef64c2f2f473488ab224328638ee500c5f197f36d396db4a 0xdeb4f8e03e3281723be9b2942ebcc95930de2ee252d90329bee61580cb8bce6c /blocks/QLVAEQRQPA4WKYRZHAZGKOJWHE3TGNRWGBRTIYRYMY3TIZTDMNSDCZBUMU2GKNBTGMZDQMDCHEZGCNZQGMYWKMJWMMYWMODEMFRTCOLDME2TEYRQ}","time":"2022-06-09T15:57:04-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBSTGMZTMFRTIMJXMM3TKZDCMI3WGNLBMYYTQNZXHE2DIYJYMI3TANRTGVSTQOJWG42WCYZRGYZTCZRQGZRTKM3EMNRTGMJQGFSWGMLF","msg":"The MHKEY","time":"2022-06-09T15:57:04-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{3998381 0xe333ac417c75dbb7c5af1877944a8b70635e89675ac1631f06c53dcc3101ec1e /blocks/QLVAEQRQPBSTGMZTMFRTIMJXMM3TKZDCMI3WGNLBMYYTQNZXHE2DIYJYMI3TANRTGVSTQOJWG42WCYZRGYZTCZRQGZRTKM3EMNRTGMJQGFSWGMLF}","time":"2022-06-09T15:57:04-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"3998381","time":"2022-06-09T15:57:04-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:57:04-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:04-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T15:57:04-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 15","time":"2022-06-09T15:57:04-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/15","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:57:04-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/15","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:57:04-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":15,"time":"2022-06-09T15:57:04-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0xaca207005375d4a60618a1135b3081a4628f0b526c52d69291ab864f32501e63","time":"2022-06-09T15:57:05-04:00"} +{"blockRoot":"0xce8705f118066636e1e8fc089cce898eb85bea31abee4728582eb2f280d29d6b","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T15:57:05-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 14 0xce8705f118066636e1e8fc089cce898eb85bea31abee4728582eb2f280d29d6b 0xaca207005375d4a60618a1135b3081a4628f0b526c52d69291ab864f32501e63 proposed}","time":"2022-06-09T15:57:05-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBRWKOBXGA2WMMJRHAYDMNRWGM3GKMLFHBTGGMBYHFRWGZJYHE4GKYRYGVRGKYJTGFQWEZLFGQ3TEOBVHAZGKYRSMYZDQMDEGI4WINTC","msg":"The MHKEY","time":"2022-06-09T15:57:05-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{14 0xce8705f118066636e1e8fc089cce898eb85bea31abee4728582eb2f280d29d6b 0xefbad73735df30abbca525d8ef0cd4b3d7c78fedad87920bbe9fa28e9328e3a9 0x8d3f027beef5cbd4f8b29fc831aba67a5d74768edca529f5596f07fd207865e1 /blocks/QLVAEQRQPBRWKOBXGA2WMMJRHAYDMNRWGM3GKMLFHBTGGMBYHFRWGZJYHE4GKYRYGVRGKYJTGFQWEZLFGQ3TEOBVHAZGKYRSMYZDQMDEGI4WINTC}","time":"2022-06-09T15:57:05-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBQWGYJSGA3TAMBVGM3TKZBUME3DANRRHBQTCMJTGVRDGMBYGFQTINRSHBTDAYRVGI3GGNJSMQ3DSMRZGFQWEOBWGRTDGMRVGAYWKNRT","msg":"The MHKEY","time":"2022-06-09T15:57:05-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{14 0xaca207005375d4a60618a1135b3081a4628f0b526c52d69291ab864f32501e63 /blocks/QLVAEQRQPBQWGYJSGA3TAMBVGM3TKZBUME3DANRRHBQTCMJTGVRDGMBYGFQTINRSHBTDAYRVGI3GGNJSMQ3DSMRZGFQWEOBWGRTDGMRVGAYWKNRT}","time":"2022-06-09T15:57:05-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"14","time":"2022-06-09T15:57:05-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:05-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:57:05-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:06-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 15 skipped}","time":"2022-06-09T15:57:07-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":0,"level":"debug","mhKey":"/blocks/QLVAEAA","msg":"The MHKEY","time":"2022-06-09T15:57:07-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{15 /blocks/QLVAEAA}","time":"2022-06-09T15:57:07-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":0,"level":"debug","mhKey":"/blocks/QLVAEAA","msg":"The MHKEY","time":"2022-06-09T15:57:07-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{15 /blocks/QLVAEAA}","time":"2022-06-09T15:57:07-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"15","time":"2022-06-09T15:57:07-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:57:07-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T15:57:07-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":16,"time":"2022-06-09T15:57:07-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 16","time":"2022-06-09T15:57:07-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/16","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:57:07-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/16","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:57:07-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:08-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:09-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:10-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 16 skipped}","time":"2022-06-09T15:57:10-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":0,"level":"debug","mhKey":"/blocks/QLVAEAA","msg":"The MHKEY","time":"2022-06-09T15:57:10-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{16 /blocks/QLVAEAA}","time":"2022-06-09T15:57:10-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":0,"level":"debug","mhKey":"/blocks/QLVAEAA","msg":"The MHKEY","time":"2022-06-09T15:57:10-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{16 /blocks/QLVAEAA}","time":"2022-06-09T15:57:10-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"16","time":"2022-06-09T15:57:10-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:57:10-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T15:57:10-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 17","time":"2022-06-09T15:57:11-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":17,"time":"2022-06-09T15:57:11-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/17","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:57:11-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/17","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:57:11-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:11-04:00"} +{"fields.msg":"{\"slot\":\"3998384\",\"block\":\"0xbe5c776e1ca3cafaa7491513e8e8cdfdae38b348cb3a4f71b58317e6c979a207\",\"state\":\"0x8978b5e89638210c9ed9ed10b544aef4bae0668f07fed79ecbac0f290cc9ae03\",\"current_duty_dependent_root\":\"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5\",\"previous_duty_dependent_root\":\"0x13dd484c3c8462b617222375d850667982ed9944e8f358857405dcadf301ccd4\",\"epoch_transition\":false}","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/incomingsse.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleIncomingSseEvent[...]","level":"debug","msg":"We are going to send the following message to be processed.","time":"2022-06-09T15:57:11-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":{"slot":"3998384","block":"0xbe5c776e1ca3cafaa7491513e8e8cdfdae38b348cb3a4f71b58317e6c979a207","state":"0x8978b5e89638210c9ed9ed10b544aef4bae0668f07fed79ecbac0f290cc9ae03","current_duty_dependent_root":"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5","previous_duty_dependent_root":"0x13dd484c3c8462b617222375d850667982ed9944e8f358857405dcadf301ccd4","epoch_transition":false,"execution_optimistic":false},"level":"debug","msg":"We are going to start processing the slot.","time":"2022-06-09T15:57:11-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:71","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":"3998384","level":"debug","msg":"We finished calling processHeadSlot.","time":"2022-06-09T15:57:11-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/0xbe5c776e1ca3cafaa7491513e8e8cdfdae38b348cb3a4f71b58317e6c979a207","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:57:11-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/0x8978b5e89638210c9ed9ed10b544aef4bae0668f07fed79ecbac0f290cc9ae03","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:57:11-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:12-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T15:57:13-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":18,"time":"2022-06-09T15:57:13-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 18","time":"2022-06-09T15:57:13-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/18","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:57:13-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/18","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:57:13-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:13-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:14-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:16-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0xcd02b93416c5630937a90de7850e8deaa8393b98851f2483bb83a4f71addf930","time":"2022-06-09T15:57:16-04:00"} +{"blockRoot":"0x61dbe9fd766caf39a251b2c3064ae7417be9e2f07eb9e62b599146f6f87cc02f","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T15:57:16-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 17 0x61dbe9fd766caf39a251b2c3064ae7417be9e2f07eb9e62b599146f6f87cc02f 0xcd02b93416c5630937a90de7850e8deaa8393b98851f2483bb83a4f71addf930 proposed}","time":"2022-06-09T15:57:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA3DCZDCMU4WMZBXGY3GGYLGGM4WCMRVGFRDEYZTGA3DIYLFG42DCN3CMU4WKMTGGA3WKYRZMU3DEYRVHE4TCNBWMY3GMOBXMNRTAMTG","msg":"The MHKEY","time":"2022-06-09T15:57:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{17 0x61dbe9fd766caf39a251b2c3064ae7417be9e2f07eb9e62b599146f6f87cc02f 0xce8705f118066636e1e8fc089cce898eb85bea31abee4728582eb2f280d29d6b 0xeeea1373d4aa9e099d7c9deddb694db9aeb4577755ef83f9b6345ce4357d9abf /blocks/QLVAEQRQPA3DCZDCMU4WMZBXGY3GGYLGGM4WCMRVGFRDEYZTGA3DIYLFG42DCN3CMU4WKMTGGA3WKYRZMU3DEYRVHE4TCNBWMY3GMOBXMNRTAMTG}","time":"2022-06-09T15:57:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBRWIMBSMI4TGNBRGZRTKNRTGA4TGN3BHEYGIZJXHA2TAZJYMRSWCYJYGM4TGYRZHA4DKMLGGI2DQM3CMI4DGYJUMY3TCYLEMRTDSMZQ","msg":"The MHKEY","time":"2022-06-09T15:57:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{17 0xcd02b93416c5630937a90de7850e8deaa8393b98851f2483bb83a4f71addf930 /blocks/QLVAEQRQPBRWIMBSMI4TGNBRGZRTKNRTGA4TGN3BHEYGIZJXHA2TAZJYMRSWCYJYGM4TGYRZHA4DKMLGGI2DQM3CMI4DGYJUMY3TCYLEMRTDSMZQ}","time":"2022-06-09T15:57:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"17","time":"2022-06-09T15:57:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:57:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:18-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0x6fa0651786ef27ce36b825758e723f8fa635cbc0b0449607d3a266e65bc8cff2","time":"2022-06-09T15:57:20-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:20-04:00"} +{"blockRoot":"0x10735d2493202e440e32295cd11760c0b4235837be13889a7a72efd1e265a6e9","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T15:57:20-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 18 0x10735d2493202e440e32295cd11760c0b4235837be13889a7a72efd1e265a6e9 0x6fa0651786ef27ce36b825758e723f8fa635cbc0b0449607d3a266e65bc8cff2 proposed}","time":"2022-06-09T15:57:20-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPAYTANZTGVSDENBZGMZDAMTFGQ2DAZJTGIZDSNLDMQYTCNZWGBRTAYRUGIZTKOBTG5RGKMJTHA4DSYJXME3TEZLGMQYWKMRWGVQTMZJZ","msg":"The MHKEY","time":"2022-06-09T15:57:20-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{18 0x10735d2493202e440e32295cd11760c0b4235837be13889a7a72efd1e265a6e9 0x61dbe9fd766caf39a251b2c3064ae7417be9e2f07eb9e62b599146f6f87cc02f 0x8d3f027beef5cbd4f8b29fc831aba67a5d74768edca529f5596f07fd207865e1 /blocks/QLVAEQRQPAYTANZTGVSDENBZGMZDAMTFGQ2DAZJTGIZDSNLDMQYTCNZWGBRTAYRUGIZTKOBTG5RGKMJTHA4DSYJXME3TEZLGMQYWKMRWGVQTMZJZ}","time":"2022-06-09T15:57:20-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA3GMYJQGY2TCNZYGZSWMMRXMNSTGNTCHAZDKNZVHBSTOMRTMY4GMYJWGM2WGYTDGBRDANBUHE3DAN3EGNQTENRWMU3DKYTDHBRWMZRS","msg":"The MHKEY","time":"2022-06-09T15:57:20-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{18 0x6fa0651786ef27ce36b825758e723f8fa635cbc0b0449607d3a266e65bc8cff2 /blocks/QLVAEQRQPA3GMYJQGY2TCNZYGZSWMMRXMNSTGNTCHAZDKNZVHBSTOMRTMY4GMYJWGM2WGYTDGBRDANBUHE3DAN3EGNQTENRWMU3DKYTDHBRWMZRS}","time":"2022-06-09T15:57:20-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"18","time":"2022-06-09T15:57:20-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:57:20-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:21-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:22-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:23-04:00"} +{"fields.msg":"{\"slot\":\"3998385\",\"block\":\"0x1e22cb566f9b9bf9415977a568ca3f250892381594f005f9d4cae7bd740eb9ba\",\"state\":\"0x5c37c8cdcdc5fe6d368369cc45b69e0e3c7dec2adc582ad27518a309792152e9\",\"current_duty_dependent_root\":\"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5\",\"previous_duty_dependent_root\":\"0x13dd484c3c8462b617222375d850667982ed9944e8f358857405dcadf301ccd4\",\"epoch_transition\":false}","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/incomingsse.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleIncomingSseEvent[...]","level":"debug","msg":"We are going to send the following message to be processed.","time":"2022-06-09T15:57:23-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":{"slot":"3998385","block":"0x1e22cb566f9b9bf9415977a568ca3f250892381594f005f9d4cae7bd740eb9ba","state":"0x5c37c8cdcdc5fe6d368369cc45b69e0e3c7dec2adc582ad27518a309792152e9","current_duty_dependent_root":"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5","previous_duty_dependent_root":"0x13dd484c3c8462b617222375d850667982ed9944e8f358857405dcadf301ccd4","epoch_transition":false,"execution_optimistic":false},"level":"debug","msg":"We are going to start processing the slot.","time":"2022-06-09T15:57:23-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:71","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":"3998385","level":"debug","msg":"We finished calling processHeadSlot.","time":"2022-06-09T15:57:23-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/0x5c37c8cdcdc5fe6d368369cc45b69e0e3c7dec2adc582ad27518a309792152e9","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:57:23-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/0x1e22cb566f9b9bf9415977a568ca3f250892381594f005f9d4cae7bd740eb9ba","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:57:23-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:24-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/gracefulshutdown/gracefulshutdown.go:50","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/gracefulshutdown.Shutdown.func1","level":"info","msg":"Shutting Down your application","time":"2022-06-09T15:57:24-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/gracefulshutdown/gracefulshutdown.go:70","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/gracefulshutdown.Shutdown.func1.2","level":"info","msg":"cleaning up: beaconClient","time":"2022-06-09T15:57:24-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:41","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).StopHistoric","level":"info","msg":"We are stopping the historical processing service.","time":"2022-06-09T15:57:24-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:165","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","msg":"Received shutdown signal from channel","time":"2022-06-09T15:57:24-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:86","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.HistoricProcessing.releaseDbLocks","level":"debug","msg":"Updating all the entries to eth_beacon.historical processing","time":"2022-06-09T15:57:24-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:87","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.HistoricProcessing.releaseDbLocks","level":"debug","msg":"Db: \u0026{0xc000288fc0}","time":"2022-06-09T15:57:24-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:35","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).CaptureHistoric","level":"debug","msg":"Exiting Historical","time":"2022-06-09T15:57:24-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:88","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.HistoricProcessing.releaseDbLocks","level":"debug","msg":"hp.uniqueNodeIdentifier 100","time":"2022-06-09T15:57:24-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:93","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.HistoricProcessing.releaseDbLocks","level":"debug","msg":"Update all the entries to eth_beacon.historical processing","time":"2022-06-09T15:57:24-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:98","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.HistoricProcessing.releaseDbLocks","level":"info","msg":"Released historicalProcess locks for specified rows.","rowCount":0,"time":"2022-06-09T15:57:24-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:71","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).StopKnownGapsProcessing","level":"info","msg":"We are stopping the known gaps processing service.","time":"2022-06-09T15:57:24-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:126","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.KnownGapsProcessing.releaseDbLocks","level":"debug","msg":"Updating all the entries to eth_beacon.known_gaps","time":"2022-06-09T15:57:24-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:127","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.KnownGapsProcessing.releaseDbLocks","level":"debug","msg":"Db: \u0026{0xc000288fc0}","time":"2022-06-09T15:57:24-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:128","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.KnownGapsProcessing.releaseDbLocks","level":"debug","msg":"kgp.uniqueNodeIdentifier 100","time":"2022-06-09T15:57:24-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:165","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","msg":"Received shutdown signal from channel","time":"2022-06-09T15:57:24-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:65","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).ProcessKnownGaps","level":"debug","msg":"Exiting known gaps processing service","time":"2022-06-09T15:57:24-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:137","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.KnownGapsProcessing.releaseDbLocks","level":"info","msg":"Released knownGaps locks for specified rows.","rowCount":2,"time":"2022-06-09T15:57:24-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehead.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).StopHeadTracking","level":"info","msg":"We are going to stop tracking the head of chain because of the shutdown signal.","time":"2022-06-09T15:57:24-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=head","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehead.go:52","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*SseEvents[...]).finishProcessingChannel","level":"info","msg":"Received a close event.","time":"2022-06-09T15:57:24-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=chain_reorg","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehead.go:52","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*SseEvents[...]).finishProcessingChannel","level":"info","msg":"Received a close event.","time":"2022-06-09T15:57:24-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=head","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehead.go:57","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*SseEvents[...]).finishProcessingChannel","level":"info","msg":"Done processing all messages, ready for shutdown","time":"2022-06-09T15:57:24-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=chain_reorg","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehead.go:57","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*SseEvents[...]).finishProcessingChannel","level":"info","msg":"Done processing all messages, ready for shutdown","time":"2022-06-09T15:57:24-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehead.go:46","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).StopHeadTracking","level":"info","msg":"Successfully stopped the head tracking service.","time":"2022-06-09T15:57:24-04:00"} +{"err":"closed pool","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:570","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.IsSlotInDb.func2","level":"error","msg":"Unable to check if the slot and block_root exist in eth_beacon.signed_block","time":"2022-06-09T15:57:25-04:00"} +{"err":"closed pool","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:558","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.IsSlotInDb.func1","level":"error","msg":"Unable to check if the slot and stateroot exist in eth_beacon.state","time":"2022-06-09T15:57:25-04:00"} +{"endSlot":"3998382","err":"closed pool","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:436","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.writeKnownGaps","level":"fatal","msg":"Unable to create a new transaction for knownGaps","startSlot":"3998382","time":"2022-06-09T15:57:25-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/cmd/root.go:80","func":"github.com/vulcanize/ipld-eth-beacon-indexer/cmd.logLevel","level":"info","msg":"Log level set to debug","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/cmd/full.go:60","func":"github.com/vulcanize/ipld-eth-beacon-indexer/cmd.startFullProcessing","level":"info","msg":"Starting the application in head tracking mode.","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/internal/boot/boot.go:46","func":"github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot.BootApplication","level":"info","msg":"Booting the Application","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/internal/boot/boot.go:48","func":"github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot.BootApplication","level":"debug","msg":"Creating the Beacon Client","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/beaconclient.go:103","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.CreateBeaconClient","level":"info","msg":"Creating the BeaconClient","time":"2022-06-09T15:59:54-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=head","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/beaconclient.go:126","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.createSseEvent[...].func1","level":"info","msg":"Creating SSE client","time":"2022-06-09T15:59:54-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=chain_reorg","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/beaconclient.go:126","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.createSseEvent[...].func1","level":"info","msg":"Creating SSE client","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/internal/boot/boot.go:54","func":"github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot.BootApplication","level":"debug","msg":"Checking Beacon Client","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/healthcheck.go:31","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.BeaconClient.CheckBeaconClient","level":"debug","msg":"Attempting to connect to the beacon client","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/healthcheck.go:45","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.BeaconClient.CheckBeaconClient","level":"info","msg":"We can successfully reach the beacon client.","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/internal/boot/boot.go:60","func":"github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot.BootApplication","level":"debug","msg":"Setting up DB connection","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/database/sql/postgres/database.go:44","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql/postgres.SetupPostgresDb","level":"debug","msg":"Resolving Driver Type","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/database/sql/postgres/database.go:52","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql/postgres.SetupPostgresDb","level":"info","msg":"Using Driver: PGX","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/database/sql/postgres/database.go:75","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql/postgres.createDriver","level":"debug","msg":"Creating New Driver","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/database/sql/postgres/database.go:80","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql/postgres.createDriver","level":"info","msg":"Successfully created a driver for PGX","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/internal/boot/boot.go:81","func":"github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot.BootApplication","level":"warning","msg":"We are not checking to see if the node has synced to head.","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/cmd/full.go:75","func":"github.com/vulcanize/ipld-eth-beacon-indexer/cmd.startFullProcessing","level":"info","msg":"The Beacon Client has booted successfully!","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehead.go:29","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).CaptureHead","level":"info","msg":"We are tracking the head of the chain.","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/incomingsse.go:95","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).captureEventTopic","level":"info","msg":"We are capturing all SSE events","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).CaptureHistoric","level":"info","msg":"We are starting the historical processing service.","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:102","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","maxWorkers":2,"msg":"Starting batch processing workers","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:40","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","level":"info","msg":"Starting to process head.","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:30","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleReorg","level":"info","msg":"Starting to process reorgs.","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).ProcessKnownGaps","level":"info","msg":"We are starting the known gaps processing service.","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:102","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","maxWorkers":2,"msg":"Starting batch processing workers","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:102","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","maxWorkers":2,"msg":"Starting batch processing workers","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:162","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","msg":"Waiting for shutdown signal from channel","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:102","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","maxWorkers":2,"msg":"Starting batch processing workers","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:162","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","msg":"Waiting for shutdown signal from channel","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:156","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We found a new row","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:156","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We found a new row","time":"2022-06-09T15:59:54-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=chain_reorg","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/incomingsse.go:53","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleIncomingSseEvent[...].func1","level":"info","msg":"Successfully subscribed to the event stream.","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:220","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"Added a new slots to be processed","slots":{},"time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":20000,"time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":20001,"time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 20000","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 20001","time":"2022-06-09T15:59:54-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/20000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:59:54-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/20000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:59:54-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/20001","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:59:54-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/20001","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:156","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We found a new row","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:220","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"Added a new slots to be processed","slots":{},"time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":1000000,"time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":1000001,"time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 1000001","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 1000000","time":"2022-06-09T15:59:54-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/1000000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:59:54-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/1000000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:59:54-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/1000001","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:59:54-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/1000001","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:220","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"Added a new slots to be processed","slots":{},"time":"2022-06-09T15:59:54-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=head","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/incomingsse.go:53","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleIncomingSseEvent[...].func1","level":"info","msg":"Successfully subscribed to the event stream.","time":"2022-06-09T15:59:54-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:59:55-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:59:56-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:59:57-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:59:58-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:59:59-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:00-04:00"} +{"fields.msg":"{\"slot\":\"3998398\",\"block\":\"0x002e9430569ef2e27d60bbf5861a736bd29bf8d89d8d0df363350d5a3446330b\",\"state\":\"0x59152c3f04b670227d999d4977fc581c556c6da0f69f36f089e0fa3a874e2f01\",\"current_duty_dependent_root\":\"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5\",\"previous_duty_dependent_root\":\"0x13dd484c3c8462b617222375d850667982ed9944e8f358857405dcadf301ccd4\",\"epoch_transition\":false}","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/incomingsse.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleIncomingSseEvent[...]","level":"debug","msg":"We are going to send the following message to be processed.","time":"2022-06-09T16:00:01-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":{"slot":"3998398","block":"0x002e9430569ef2e27d60bbf5861a736bd29bf8d89d8d0df363350d5a3446330b","state":"0x59152c3f04b670227d999d4977fc581c556c6da0f69f36f089e0fa3a874e2f01","current_duty_dependent_root":"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5","previous_duty_dependent_root":"0x13dd484c3c8462b617222375d850667982ed9944e8f358857405dcadf301ccd4","epoch_transition":false,"execution_optimistic":false},"level":"debug","msg":"We are going to start processing the slot.","time":"2022-06-09T16:00:01-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:71","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":"3998398","level":"debug","msg":"We finished calling processHeadSlot.","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"10017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"17","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"20017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"10017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"30017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"20017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"40017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"30017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"50017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"40017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"60017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"50017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"70017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"60017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"80017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"70017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"90017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"80017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"100017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"90017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"110017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"100017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"120017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"110017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"130017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"120017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"140017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"130017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"150017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"140017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"160017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"150017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"170017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"160017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"180017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"170017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"190017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"180017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"200017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"190017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"210017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"200017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"220017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"210017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"230017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"220017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"240017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"230017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"250017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"240017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"260017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"250017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"270017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"260017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"280017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"270017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"290017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"280017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"300017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"290017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"310017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"300017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"320017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"310017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"330017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"320017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"340017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"330017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"350017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"340017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"360017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"350017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"370017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"360017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"380017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"370017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"390017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"380017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"400017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"390017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"410017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"400017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"420017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"410017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"430017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"420017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"440017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"430017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"450017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"440017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"460017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"450017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"470017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"460017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"480017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"470017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"490017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"480017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"500017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"490017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"510017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"500017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"520017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"510017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"530017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"520017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"540017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"530017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"550017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"540017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"560017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"550017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"570017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"560017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"580017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"570017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"590017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"580017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"600017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"590017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"610017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"600017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"620017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"610017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"630017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"620017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"640017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"630017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"650017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"640017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"660017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"650017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"670017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"660017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"680017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"670017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"690017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"680017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"700017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"690017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"710017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"700017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"720017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"710017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"730017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"720017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"740017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"730017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"750017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"740017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"760017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"750017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"770017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"760017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"780017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"770017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"790017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"780017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"800017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"790017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"810017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"800017","time":"2022-06-09T16:00:01-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"820017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"810017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"830017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"820017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"840017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"830017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"850017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"840017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"860017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"850017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"870017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"860017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"880017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"870017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"890017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"880017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"900017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"890017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"910017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"900017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"920017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"910017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"930017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"920017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"940017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"930017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"950017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"940017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"960017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"950017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"970017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"960017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"980017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"970017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"990017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"980017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1000017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"990017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1010017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1000017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1020017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1010017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1030017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1020017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1040017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1030017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1050017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1040017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1060017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1050017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1070017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1060017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1080017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1070017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1090017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1080017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1100017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1090017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1110017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1100017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1120017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1110017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1130017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1120017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1140017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1130017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1150017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1140017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1160017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1150017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1170017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1160017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1180017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1170017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1190017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1180017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1200017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1190017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1210017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1200017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1220017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1210017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1230017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1220017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1240017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1230017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1250017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1240017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1260017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1250017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1270017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1260017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1280017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1270017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1290017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1280017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1300017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1290017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1310017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1300017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1320017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1310017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1330017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1320017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1340017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1330017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1350017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1340017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1360017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1350017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1370017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1360017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1380017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1370017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1390017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1380017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1400017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1390017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1410017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1400017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1420017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1410017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1430017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1420017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1440017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1430017","time":"2022-06-09T16:00:01-04:00"} +{"endSlot":"1450017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1440017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1460017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1450017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1470017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1460017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1480017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1470017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1490017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1480017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1500017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1490017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1510017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1500017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1520017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1510017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1530017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1520017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1540017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1530017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1550017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1540017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1560017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1550017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1570017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1560017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1580017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1570017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1590017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1580017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1600017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1590017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1610017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1600017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1620017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1610017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1630017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1620017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1640017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1630017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1650017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1640017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1660017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1650017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1670017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1660017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1680017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1670017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1690017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1680017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1700017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1690017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1710017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1700017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1720017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1710017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1730017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1720017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1740017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1730017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1750017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1740017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1760017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1750017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1770017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1760017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1780017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1770017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1790017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1780017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1800017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1790017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1810017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1800017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1820017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1810017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1830017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1820017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1840017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1830017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1850017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1840017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1860017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1850017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1870017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1860017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1880017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1870017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1890017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1880017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1900017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1890017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1910017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1900017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1920017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1910017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1930017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1920017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1940017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1930017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1950017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1940017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1960017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1950017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1970017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1960017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1980017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1970017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"1990017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1980017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2000017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1990017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2010017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2000017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2020017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2010017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2030017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2020017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2040017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2030017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2050017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2040017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2060017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2050017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2070017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2060017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2080017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2070017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2090017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2080017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2100017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2090017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2110017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2100017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2120017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2110017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2130017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2120017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2140017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2130017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2150017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2140017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2160017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2150017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2170017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2160017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2180017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2170017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2190017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2180017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2200017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2190017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2210017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2200017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2220017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2210017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2230017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2220017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2240017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2230017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2250017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2240017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2260017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2250017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2270017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2260017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2280017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2270017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2290017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2280017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2300017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2290017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2310017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2300017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2320017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2310017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2330017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2320017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2340017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2330017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2350017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2340017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2360017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2350017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2370017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2360017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2380017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2370017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2390017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2380017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2400017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2390017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2410017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2400017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2420017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2410017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2430017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2420017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2440017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2430017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2450017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2440017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2460017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2450017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2470017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2460017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2480017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2470017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2490017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2480017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2500017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2490017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2510017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2500017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2520017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2510017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2530017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2520017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2540017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2530017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2550017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2540017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2560017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2550017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2570017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2560017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2580017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2570017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2590017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2580017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2600017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2590017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2610017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2600017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2620017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2610017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2630017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2620017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2640017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2630017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2650017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2640017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2660017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2650017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2670017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2660017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2680017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2670017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2690017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2680017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2700017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2690017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2710017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2700017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2720017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2710017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2730017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2720017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2740017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2730017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2750017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2740017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2760017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2750017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2770017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2760017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2780017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2770017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2790017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2780017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2800017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2790017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2810017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2800017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2820017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2810017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2830017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2820017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2840017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2830017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2850017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2840017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2860017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2850017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2870017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2860017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2880017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2870017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2890017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2880017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2900017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2890017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2910017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2900017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2920017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2910017","time":"2022-06-09T16:00:02-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2930017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2920017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2940017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2930017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2950017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2940017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2960017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2950017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2970017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2960017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2980017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2970017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"2990017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2980017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"3000017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2990017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"3010017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3000017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"3020017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3010017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"3030017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3020017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"3040017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3030017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"3050017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3040017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"3060017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3050017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"3070017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3060017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"3080017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3070017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"3090017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3080017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"3100017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3090017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"3110017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3100017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"3120017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3110017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"3130017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3120017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"3140017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3130017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"3150017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3140017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"3160017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3150017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"3170017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3160017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"3180017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3170017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"3190017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3180017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"3200017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3190017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"3210017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3200017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"3220017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3210017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"3230017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3220017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"3240017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3230017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"3250017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3240017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"3260017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3250017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"3270017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3260017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"3280017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3270017","time":"2022-06-09T16:00:02-04:00"} +{"endSlot":"3290017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3280017","time":"2022-06-09T16:00:02-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3300017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3290017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3310017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3300017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3320017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3310017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3330017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3320017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3340017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3330017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3350017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3340017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3360017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3350017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3370017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3360017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3380017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3370017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3390017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3380017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3400017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3390017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3410017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3400017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3420017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3410017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3430017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3420017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3440017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3430017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3450017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3440017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3460017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3450017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3470017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3460017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3480017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3470017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3490017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3480017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3500017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3490017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3510017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3500017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3520017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3510017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3530017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3520017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3540017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3530017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3550017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3540017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3560017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3550017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3570017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3560017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3580017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3570017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3590017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3580017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3600017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3590017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3610017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3600017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3620017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3610017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3630017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3620017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3640017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3630017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3650017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3640017","time":"2022-06-09T16:00:03-04:00"} +{"endSlot":"3660017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3650017","time":"2022-06-09T16:00:04-04:00"} +{"endSlot":"3670017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3660017","time":"2022-06-09T16:00:04-04:00"} +{"endSlot":"3680017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3670017","time":"2022-06-09T16:00:04-04:00"} +{"endSlot":"3690017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3680017","time":"2022-06-09T16:00:04-04:00"} +{"endSlot":"3700017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3690017","time":"2022-06-09T16:00:04-04:00"} +{"endSlot":"3710017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3700017","time":"2022-06-09T16:00:04-04:00"} +{"endSlot":"3720017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3710017","time":"2022-06-09T16:00:04-04:00"} +{"endSlot":"3730017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3720017","time":"2022-06-09T16:00:04-04:00"} +{"endSlot":"3740017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3730017","time":"2022-06-09T16:00:04-04:00"} +{"endSlot":"3750017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3740017","time":"2022-06-09T16:00:04-04:00"} +{"endSlot":"3760017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3750017","time":"2022-06-09T16:00:04-04:00"} +{"endSlot":"3770017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3760017","time":"2022-06-09T16:00:04-04:00"} +{"endSlot":"3780017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3770017","time":"2022-06-09T16:00:04-04:00"} +{"endSlot":"3790017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3780017","time":"2022-06-09T16:00:04-04:00"} +{"endSlot":"3800017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3790017","time":"2022-06-09T16:00:04-04:00"} +{"endSlot":"3810017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3800017","time":"2022-06-09T16:00:04-04:00"} +{"endSlot":"3820017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3810017","time":"2022-06-09T16:00:04-04:00"} +{"endSlot":"3830017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3820017","time":"2022-06-09T16:00:04-04:00"} +{"endSlot":"3840017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3830017","time":"2022-06-09T16:00:04-04:00"} +{"endSlot":"3850017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3840017","time":"2022-06-09T16:00:04-04:00"} +{"endSlot":"3860017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3850017","time":"2022-06-09T16:00:04-04:00"} +{"endSlot":"3870017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3860017","time":"2022-06-09T16:00:04-04:00"} +{"endSlot":"3880017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3870017","time":"2022-06-09T16:00:04-04:00"} +{"endSlot":"3890017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3880017","time":"2022-06-09T16:00:04-04:00"} +{"endSlot":"3900017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3890017","time":"2022-06-09T16:00:04-04:00"} +{"endSlot":"3910017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3900017","time":"2022-06-09T16:00:04-04:00"} +{"endSlot":"3920017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3910017","time":"2022-06-09T16:00:04-04:00"} +{"endSlot":"3930017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3920017","time":"2022-06-09T16:00:04-04:00"} +{"endSlot":"3940017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3930017","time":"2022-06-09T16:00:04-04:00"} +{"endSlot":"3950017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3940017","time":"2022-06-09T16:00:04-04:00"} +{"endSlot":"3960017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3950017","time":"2022-06-09T16:00:04-04:00"} +{"endSlot":"3970017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3960017","time":"2022-06-09T16:00:04-04:00"} +{"endSlot":"3980017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3970017","time":"2022-06-09T16:00:04-04:00"} +{"endSlot":"3990017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3980017","time":"2022-06-09T16:00:04-04:00"} +{"endSlot":"3998397","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3990017","time":"2022-06-09T16:00:04-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/0x59152c3f04b670227d999d4977fc581c556c6da0f69f36f089e0fa3a874e2f01","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:04-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/0x002e9430569ef2e27d60bbf5861a736bd29bf8d89d8d0df363350d5a3446330b","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:04-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:04-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:05-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:06-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0xf20d57686a39a33e5bbbc6e4ca133850afaa3ba5f7af620437146c218fb5d9b0","time":"2022-06-09T16:00:07-04:00"} +{"blockRoot":"0x4bebbc3b561baf6ce5efc51ca8902f2fa872538918741e192484632d10cccae7","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T16:00:07-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{625 20000 0x4bebbc3b561baf6ce5efc51ca8902f2fa872538918741e192484632d10cccae7 0xf20d57686a39a33e5bbbc6e4ca133850afaa3ba5f7af620437146c218fb5d9b0 proposed}","time":"2022-06-09T16:00:07-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA2GEZLCMJRTGYRVGYYWEYLGGZRWKNLFMZRTKMLDME4DSMBSMYZGMYJYG4ZDKMZYHEYTQNZUGFSTCOJSGQ4DINRTGJSDCMDDMNRWCZJX","msg":"The MHKEY","time":"2022-06-09T16:00:07-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{20000 0x4bebbc3b561baf6ce5efc51ca8902f2fa872538918741e192484632d10cccae7 0xad1f73d92eb840a4f4feb95eecb9f08db7eef699ad961a8b38b7d995a5c999e3 0x6c61c04fb352e1f2769bc15e112b35ddb69b29e3c461fd27979ee6cf6dfb6c3f /blocks/QLVAEQRQPA2GEZLCMJRTGYRVGYYWEYLGGZRWKNLFMZRTKMLDME4DSMBSMYZGMYJYG4ZDKMZYHEYTQNZUGFSTCOJSGQ4DINRTGJSDCMDDMNRWCZJX}","time":"2022-06-09T16:00:07-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBTDEMDEGU3TMOBWMEZTSYJTGNSTKYTCMJRTMZJUMNQTCMZTHA2TAYLGMFQTGYTBGVTDOYLGGYZDANBTG4YTINTDGIYTQZTCGVSDSYRQ","msg":"The MHKEY","time":"2022-06-09T16:00:07-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{20000 0xf20d57686a39a33e5bbbc6e4ca133850afaa3ba5f7af620437146c218fb5d9b0 /blocks/QLVAEQRQPBTDEMDEGU3TMOBWMEZTSYJTGNSTKYTCMJRTMZJUMNQTCMZTHA2TAYLGMFQTGYTBGVTDOYLGGYZDANBTG4YTINTDGIYTQZTCGVSDSYRQ}","time":"2022-06-09T16:00:07-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"20000","time":"2022-06-09T16:00:07-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T16:00:07-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:07-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T16:00:08-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 20002","time":"2022-06-09T16:00:08-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":20002,"time":"2022-06-09T16:00:08-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/20002","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:08-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/20002","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:08-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0x5d24bbe4dbfc64fe12136a2119dba9c83e2b865ef9e59e47a4057ee105f22cb2","time":"2022-06-09T16:00:08-04:00"} +{"blockRoot":"0x3efcebd23c3122657e457f106dae1b78f259e0d26268ef6e97de35d79d8257b0","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T16:00:08-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{625 20001 0x3efcebd23c3122657e457f106dae1b78f259e0d26268ef6e97de35d79d8257b0 0x5d24bbe4dbfc64fe12136a2119dba9c83e2b865ef9e59e47a4057ee105f22cb2 proposed}","time":"2022-06-09T16:00:08-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPAZWKZTDMVRGIMRTMMZTCMRSGY2TOZJUGU3WMMJQGZSGCZJRMI3TQZRSGU4WKMDEGI3DENRYMVTDMZJZG5SGKMZVMQ3TSZBYGI2TOYRQ","msg":"The MHKEY","time":"2022-06-09T16:00:08-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{20001 0x3efcebd23c3122657e457f106dae1b78f259e0d26268ef6e97de35d79d8257b0 0x4bebbc3b561baf6ce5efc51ca8902f2fa872538918741e192484632d10cccae7 0x6c61c04fb352e1f2769bc15e112b35ddb69b29e3c461fd27979ee6cf6dfb6c3f /blocks/QLVAEQRQPAZWKZTDMVRGIMRTMMZTCMRSGY2TOZJUGU3WMMJQGZSGCZJRMI3TQZRSGU4WKMDEGI3DENRYMVTDMZJZG5SGKMZVMQ3TSZBYGI2TOYRQ}","time":"2022-06-09T16:00:08-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA2WIMRUMJRGKNDEMJTGGNRUMZSTCMRRGM3GCMRRGE4WIYTBHFRTQM3FGJRDQNRVMVTDSZJVHFSTIN3BGQYDKN3FMUYTANLGGIZGGYRS","msg":"The MHKEY","time":"2022-06-09T16:00:08-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{20001 0x5d24bbe4dbfc64fe12136a2119dba9c83e2b865ef9e59e47a4057ee105f22cb2 /blocks/QLVAEQRQPA2WIMRUMJRGKNDEMJTGGNRUMZSTCMRRGM3GCMRRGE4WIYTBHFRTQM3FGJRDQNRVMVTDSZJVHFSTIN3BGQYDKN3FMUYTANLGGIZGGYRS}","time":"2022-06-09T16:00:08-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"20001","time":"2022-06-09T16:00:08-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T16:00:08-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:08-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:09-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:10-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T16:00:10-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 20003","time":"2022-06-09T16:00:10-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":20003,"time":"2022-06-09T16:00:10-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/20003","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:10-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/20003","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:10-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:11-04:00"} +{"fields.msg":"{\"slot\":\"3998399\",\"block\":\"0x836904c7d2716a1704d2c808a1fa592dbf8a743b811a9bc27b085119ca1e0dc3\",\"state\":\"0xecd70a63cc0bf183207fc56e14880bac00395dd6e1d521fa6f785345b823c13c\",\"current_duty_dependent_root\":\"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5\",\"previous_duty_dependent_root\":\"0x13dd484c3c8462b617222375d850667982ed9944e8f358857405dcadf301ccd4\",\"epoch_transition\":false}","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/incomingsse.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleIncomingSseEvent[...]","level":"debug","msg":"We are going to send the following message to be processed.","time":"2022-06-09T16:00:12-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":{"slot":"3998399","block":"0x836904c7d2716a1704d2c808a1fa592dbf8a743b811a9bc27b085119ca1e0dc3","state":"0xecd70a63cc0bf183207fc56e14880bac00395dd6e1d521fa6f785345b823c13c","current_duty_dependent_root":"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5","previous_duty_dependent_root":"0x13dd484c3c8462b617222375d850667982ed9944e8f358857405dcadf301ccd4","epoch_transition":false,"execution_optimistic":false},"level":"debug","msg":"We are going to start processing the slot.","time":"2022-06-09T16:00:12-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:71","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":"3998399","level":"debug","msg":"We finished calling processHeadSlot.","time":"2022-06-09T16:00:12-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/0xecd70a63cc0bf183207fc56e14880bac00395dd6e1d521fa6f785345b823c13c","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:12-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/0x836904c7d2716a1704d2c808a1fa592dbf8a743b811a9bc27b085119ca1e0dc3","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:12-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:12-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:14-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:15-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:16-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:17-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:18-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:19-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0xd7345f2ba6d7078e0212b48bc78b02639c65c8a0eb99e4e058e67c39aba0a47c","time":"2022-06-09T16:00:19-04:00"} +{"blockRoot":"0x1ba80e7a4177d3d5d531dd2c33f230cc4f4fc71a7de844fd6f9fbe471768611e","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T16:00:19-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{625 20002 0x1ba80e7a4177d3d5d531dd2c33f230cc4f4fc71a7de844fd6f9fbe471768611e 0xd7345f2ba6d7078e0212b48bc78b02639c65c8a0eb99e4e058e67c39aba0a47c proposed}","time":"2022-06-09T16:00:19-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPAYWEYJYGBSTOYJUGE3TOZBTMQ2WINJTGFSGIMTDGMZWMMRTGBRWGNDGGRTGGNZRME3WIZJYGQ2GMZBWMY4WMYTFGQ3TCNZWHA3DCMLF","msg":"The MHKEY","time":"2022-06-09T16:00:19-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{20002 0x1ba80e7a4177d3d5d531dd2c33f230cc4f4fc71a7de844fd6f9fbe471768611e 0x3efcebd23c3122657e457f106dae1b78f259e0d26268ef6e97de35d79d8257b0 0x6c61c04fb352e1f2769bc15e112b35ddb69b29e3c461fd27979ee6cf6dfb6c3f /blocks/QLVAEQRQPAYWEYJYGBSTOYJUGE3TOZBTMQ2WINJTGFSGIMTDGMZWMMRTGBRWGNDGGRTGGNZRME3WIZJYGQ2GMZBWMY4WMYTFGQ3TCNZWHA3DCMLF}","time":"2022-06-09T16:00:19-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBSDOMZUGVTDEYTBGZSDOMBXHBSTAMRRGJRDIODCMM3TQYRQGI3DGOLDGY2WGODBGBSWEOJZMU2GKMBVHBSTMN3DGM4WCYTBGBQTIN3D","msg":"The MHKEY","time":"2022-06-09T16:00:19-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{20002 0xd7345f2ba6d7078e0212b48bc78b02639c65c8a0eb99e4e058e67c39aba0a47c /blocks/QLVAEQRQPBSDOMZUGVTDEYTBGZSDOMBXHBSTAMRRGJRDIODCMM3TQYRQGI3DGOLDGY2WGODBGBSWEOJZMU2GKMBVHBSTMN3DGM4WCYTBGBQTIN3D}","time":"2022-06-09T16:00:19-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"20002","time":"2022-06-09T16:00:19-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T16:00:19-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:20-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:21-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T16:00:22-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:22-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":20004,"time":"2022-06-09T16:00:22-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 20004","time":"2022-06-09T16:00:22-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/20004","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:22-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/20004","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:22-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{124949 3998398 0x002e9430569ef2e27d60bbf5861a736bd29bf8d89d8d0df363350d5a3446330b 0x59152c3f04b670227d999d4977fc581c556c6da0f69f36f089e0fa3a874e2f01 proposed}","time":"2022-06-09T16:00:23-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPAYDAMTFHE2DGMBVGY4WKZRSMUZDOZBWGBRGEZRVHA3DCYJXGM3GEZBSHFRGMODEHA4WIODEGBSGMMZWGMZTKMDEGVQTGNBUGYZTGMDC","msg":"The MHKEY","time":"2022-06-09T16:00:23-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{3998398 0x002e9430569ef2e27d60bbf5861a736bd29bf8d89d8d0df363350d5a3446330b 0x842ce4ffcf963d545157f1eb2ca63b1058316472e6350e9ef8b6ca529136b6be 0xdeb4f8e03e3281723be9b2942ebcc95930de2ee252d90329bee61580cb8bce6c /blocks/QLVAEQRQPAYDAMTFHE2DGMBVGY4WKZRSMUZDOZBWGBRGEZRVHA3DCYJXGM3GEZBSHFRGMODEHA4WIODEGBSGMMZWGMZTKMDEGVQTGNBUGYZTGMDC}","time":"2022-06-09T16:00:23-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA2TSMJVGJRTGZRQGRRDMNZQGIZDOZBZHE4WINBZG43WMYZVHAYWGNJVGZRTMZDBGBTDMOLGGM3GMMBYHFSTAZTBGNQTQNZUMUZGMMBR","msg":"The MHKEY","time":"2022-06-09T16:00:23-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{3998398 0x59152c3f04b670227d999d4977fc581c556c6da0f69f36f089e0fa3a874e2f01 /blocks/QLVAEQRQPA2TSMJVGJRTGZRQGRRDMNZQGIZDOZBZHE4WINBZG43WMYZVHAYWGNJVGZRTMZDBGBTDMOLGGM3GMMBYHFSTAZTBGNQTQNZUMUZGMMBR}","time":"2022-06-09T16:00:23-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"3998398","time":"2022-06-09T16:00:23-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T16:00:23-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:24-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:25-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:26-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0xa6fe1c51f6cc8cd18b773ef8d25444fffaf3b3f51526fcf556ce43edc90051cb","time":"2022-06-09T16:00:26-04:00"} +{"blockRoot":"0xbe0db3f29f03ab2fb6704810b93b4e9cc57b67fb298bca54fa25914bb1ab6bdd","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T16:00:26-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{625 20003 0xbe0db3f29f03ab2fb6704810b93b4e9cc57b67fb298bca54fa25914bb1ab6bdd 0xa6fe1c51f6cc8cd18b773ef8d25444fffaf3b3f51526fcf556ce43edc90051cb proposed}","time":"2022-06-09T16:00:26-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBRGKMDEMIZWMMRZMYYDGYLCGJTGENRXGA2DQMJQMI4TGYRUMU4WGYZVG5RDMN3GMIZDSODCMNQTKNDGMEZDKOJRGRRGEMLBMI3GEZDE","msg":"The MHKEY","time":"2022-06-09T16:00:26-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{20003 0xbe0db3f29f03ab2fb6704810b93b4e9cc57b67fb298bca54fa25914bb1ab6bdd 0x1ba80e7a4177d3d5d531dd2c33f230cc4f4fc71a7de844fd6f9fbe471768611e 0x6c61c04fb352e1f2769bc15e112b35ddb69b29e3c461fd27979ee6cf6dfb6c3f /blocks/QLVAEQRQPBRGKMDEMIZWMMRZMYYDGYLCGJTGENRXGA2DQMJQMI4TGYRUMU4WGYZVG5RDMN3GMIZDSODCMNQTKNDGMEZDKOJRGRRGEMLBMI3GEZDE}","time":"2022-06-09T16:00:26-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBQTMZTFGFRTKMLGGZRWGODDMQYTQYRXG4ZWKZRYMQZDKNBUGRTGMZTBMYZWEM3GGUYTKMRWMZRWMNJVGZRWKNBTMVSGGOJQGA2TCY3C","msg":"The MHKEY","time":"2022-06-09T16:00:26-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{20003 0xa6fe1c51f6cc8cd18b773ef8d25444fffaf3b3f51526fcf556ce43edc90051cb /blocks/QLVAEQRQPBQTMZTFGFRTKMLGGZRWGODDMQYTQYRXG4ZWKZRYMQZDKNBUGRTGMZTBMYZWEM3GGUYTKMRWMZRWMNJVGZRWKNBTMVSGGOJQGA2TCY3C}","time":"2022-06-09T16:00:26-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"20003","time":"2022-06-09T16:00:26-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T16:00:26-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:27-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:28-04:00"} +{"fields.msg":"{\"slot\":\"3998400\",\"block\":\"0x4877ea08b46f732a2a047ba65e0d743c0250f3c742731355ce0b36ded9a3abf5\",\"state\":\"0xba24e96cb65d61250e036d8d14e3efa057ac0ac4d990db53fc707359a5834a16\",\"current_duty_dependent_root\":\"0x836904c7d2716a1704d2c808a1fa592dbf8a743b811a9bc27b085119ca1e0dc3\",\"previous_duty_dependent_root\":\"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5\",\"epoch_transition\":true}","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/incomingsse.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleIncomingSseEvent[...]","level":"debug","msg":"We are going to send the following message to be processed.","time":"2022-06-09T16:00:28-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":{"slot":"3998400","block":"0x4877ea08b46f732a2a047ba65e0d743c0250f3c742731355ce0b36ded9a3abf5","state":"0xba24e96cb65d61250e036d8d14e3efa057ac0ac4d990db53fc707359a5834a16","current_duty_dependent_root":"0x836904c7d2716a1704d2c808a1fa592dbf8a743b811a9bc27b085119ca1e0dc3","previous_duty_dependent_root":"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5","epoch_transition":true,"execution_optimistic":false},"level":"debug","msg":"We are going to start processing the slot.","time":"2022-06-09T16:00:28-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:71","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":"3998400","level":"debug","msg":"We finished calling processHeadSlot.","time":"2022-06-09T16:00:28-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/0xba24e96cb65d61250e036d8d14e3efa057ac0ac4d990db53fc707359a5834a16","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:28-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/0x4877ea08b46f732a2a047ba65e0d743c0250f3c742731355ce0b36ded9a3abf5","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:28-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:29-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:30-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T16:00:30-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 20005","time":"2022-06-09T16:00:30-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/20005","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:30-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":20005,"time":"2022-06-09T16:00:30-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/20005","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:30-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:31-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:32-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{124949 3998399 0x836904c7d2716a1704d2c808a1fa592dbf8a743b811a9bc27b085119ca1e0dc3 0xecd70a63cc0bf183207fc56e14880bac00395dd6e1d521fa6f785345b823c13c proposed}","time":"2022-06-09T16:00:33-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA4DGNRZGA2GGN3EGI3TCNTBGE3TANDEGJRTQMBYMEYWMYJVHEZGIYTGHBQTONBTMI4DCMLBHFRGGMRXMIYDQNJRGE4WGYJRMUYGIYZT","msg":"The MHKEY","time":"2022-06-09T16:00:33-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{3998399 0x836904c7d2716a1704d2c808a1fa592dbf8a743b811a9bc27b085119ca1e0dc3 0x002e9430569ef2e27d60bbf5861a736bd29bf8d89d8d0df363350d5a3446330b 0xdeb4f8e03e3281723be9b2942ebcc95930de2ee252d90329bee61580cb8bce6c /blocks/QLVAEQRQPA4DGNRZGA2GGN3EGI3TCNTBGE3TANDEGJRTQMBYMEYWMYJVHEZGIYTGHBQTONBTMI4DCMLBHFRGGMRXMIYDQNJRGE4WGYJRMUYGIYZT}","time":"2022-06-09T16:00:33-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBSWGZBXGBQTMM3DMMYGEZRRHAZTEMBXMZRTKNTFGE2DQOBQMJQWGMBQGM4TKZDEGZSTCZBVGIYWMYJWMY3TQNJTGQ2WEOBSGNRTCM3D","msg":"The MHKEY","time":"2022-06-09T16:00:33-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{3998399 0xecd70a63cc0bf183207fc56e14880bac00395dd6e1d521fa6f785345b823c13c /blocks/QLVAEQRQPBSWGZBXGBQTMM3DMMYGEZRRHAZTEMBXMZRTKNTFGE2DQOBQMJQWGMBQGM4TKZDEGZSTCZBVGIYWMYJWMY3TQNJTGQ2WEOBSGNRTCM3D}","time":"2022-06-09T16:00:33-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"3998399","time":"2022-06-09T16:00:33-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T16:00:33-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:33-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:34-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:35-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0xf6fd70af6eeb66e35d7a79d66b62949f258d62684c9e9beb12f7fc69bd32e060","time":"2022-06-09T16:00:36-04:00"} +{"blockRoot":"0x7189fef680589fd8f68df1c5bb490627dafe6aa4521a918dd73f772bc8d4758f","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T16:00:36-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{625 20004 0x7189fef680589fd8f68df1c5bb490627dafe6aa4521a918dd73f772bc8d4758f 0xf6fd70af6eeb66e35d7a79d66b62949f258d62684c9e9beb12f7fc69bd32e060 proposed}","time":"2022-06-09T16:00:36-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA3TCOBZMZSWMNRYGA2TQOLGMQ4GMNRYMRTDCYZVMJRDIOJQGYZDOZDBMZSTMYLBGQ2TEMLBHEYTQZDEG4ZWMNZXGJRGGODEGQ3TKODG","msg":"The MHKEY","time":"2022-06-09T16:00:36-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{20004 0x7189fef680589fd8f68df1c5bb490627dafe6aa4521a918dd73f772bc8d4758f 0xbe0db3f29f03ab2fb6704810b93b4e9cc57b67fb298bca54fa25914bb1ab6bdd 0x6c61c04fb352e1f2769bc15e112b35ddb69b29e3c461fd27979ee6cf6dfb6c3f /blocks/QLVAEQRQPA3TCOBZMZSWMNRYGA2TQOLGMQ4GMNRYMRTDCYZVMJRDIOJQGYZDOZDBMZSTMYLBGQ2TEMLBHEYTQZDEG4ZWMNZXGJRGGODEGQ3TKODG}","time":"2022-06-09T16:00:36-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBTDMZTEG4YGCZRWMVSWENRWMUZTKZBXME3TSZBWGZRDMMRZGQ4WMMRVHBSDMMRWHA2GGOLFHFRGKYRRGJTDOZTDGY4WEZBTGJSTANRQ","msg":"The MHKEY","time":"2022-06-09T16:00:36-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{20004 0xf6fd70af6eeb66e35d7a79d66b62949f258d62684c9e9beb12f7fc69bd32e060 /blocks/QLVAEQRQPBTDMZTEG4YGCZRWMVSWENRWMUZTKZBXME3TSZBWGZRDMMRZGQ4WMMRVHBSDMMRWHA2GGOLFHFRGKYRRGJTDOZTDGY4WEZBTGJSTANRQ}","time":"2022-06-09T16:00:36-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"20004","time":"2022-06-09T16:00:36-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T16:00:37-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:37-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:38-04:00"} +{"fields.msg":"{\"slot\":\"3998401\",\"block\":\"0x394f1bfbf817f2ecd7e435aa1fec64be90bb61b06ebe762ab572393ca05c0d93\",\"state\":\"0x3b4a834c4602a07a175c4177e335243d790b9a6ed80d96e1125c6a0655a021e1\",\"current_duty_dependent_root\":\"0x836904c7d2716a1704d2c808a1fa592dbf8a743b811a9bc27b085119ca1e0dc3\",\"previous_duty_dependent_root\":\"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5\",\"epoch_transition\":false}","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/incomingsse.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleIncomingSseEvent[...]","level":"debug","msg":"We are going to send the following message to be processed.","time":"2022-06-09T16:00:38-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":{"slot":"3998401","block":"0x394f1bfbf817f2ecd7e435aa1fec64be90bb61b06ebe762ab572393ca05c0d93","state":"0x3b4a834c4602a07a175c4177e335243d790b9a6ed80d96e1125c6a0655a021e1","current_duty_dependent_root":"0x836904c7d2716a1704d2c808a1fa592dbf8a743b811a9bc27b085119ca1e0dc3","previous_duty_dependent_root":"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5","epoch_transition":false,"execution_optimistic":false},"level":"debug","msg":"We are going to start processing the slot.","time":"2022-06-09T16:00:38-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:71","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":"3998401","level":"debug","msg":"We finished calling processHeadSlot.","time":"2022-06-09T16:00:38-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/0x394f1bfbf817f2ecd7e435aa1fec64be90bb61b06ebe762ab572393ca05c0d93","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:38-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/0x3b4a834c4602a07a175c4177e335243d790b9a6ed80d96e1125c6a0655a021e1","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:38-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:39-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:40-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0x6bf2d741d748a689060702c2537fe733a83db6dd7280e6ac0b714e11eea41823","time":"2022-06-09T16:00:41-04:00"} +{"blockRoot":"0x5fbd11a39ade323001b808d21b60f488e4df3adf96c2382b41adbfe520141a27","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T16:00:41-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:41-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{625 20005 0x5fbd11a39ade323001b808d21b60f488e4df3adf96c2382b41adbfe520141a27 0x6bf2d741d748a689060702c2537fe733a83db6dd7280e6ac0b714e11eea41823 proposed}","time":"2022-06-09T16:00:42-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA2WMYTEGEYWCMZZMFSGKMZSGMYDAMLCHAYDQZBSGFRDMMDGGQ4DQZJUMRTDGYLEMY4TMYZSGM4DEYRUGFQWIYTGMU2TEMBRGQYWCMRX","msg":"The MHKEY","time":"2022-06-09T16:00:42-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{20005 0x5fbd11a39ade323001b808d21b60f488e4df3adf96c2382b41adbfe520141a27 0x7189fef680589fd8f68df1c5bb490627dafe6aa4521a918dd73f772bc8d4758f 0x6c61c04fb352e1f2769bc15e112b35ddb69b29e3c461fd27979ee6cf6dfb6c3f /blocks/QLVAEQRQPA2WMYTEGEYWCMZZMFSGKMZSGMYDAMLCHAYDQZBSGFRDMMDGGQ4DQZJUMRTDGYLEMY4TMYZSGM4DEYRUGFQWIYTGMU2TEMBRGQYWCMRX}","time":"2022-06-09T16:00:42-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA3GEZRSMQ3TIMLEG42DQYJWHA4TANRQG4YDEYZSGUZTOZTFG4ZTGYJYGNSGENTEMQ3TEOBQMU3GCYZQMI3TCNDFGEYWKZLBGQYTQMRT","msg":"The MHKEY","time":"2022-06-09T16:00:42-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{20005 0x6bf2d741d748a689060702c2537fe733a83db6dd7280e6ac0b714e11eea41823 /blocks/QLVAEQRQPA3GEZRSMQ3TIMLEG42DQYJWHA4TANRQG4YDEYZSGUZTOZTFG4ZTGYJYGNSGENTEMQ3TEOBQMU3GCYZQMI3TCNDFGEYWKZLBGQYTQMRT}","time":"2022-06-09T16:00:42-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"20005","time":"2022-06-09T16:00:42-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T16:00:42-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:43-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T16:00:44-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:44-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":20006,"time":"2022-06-09T16:00:44-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 20006","time":"2022-06-09T16:00:44-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/20006","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:44-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/20006","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:44-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:45-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:47-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:48-04:00"} +{"fields.msg":"{\"slot\":\"3998402\",\"block\":\"0xa405f1e459c064699ac049962715c3b6e8ed0fe1a46776a0a88990e5e237895b\",\"state\":\"0x930a7eeab6b73e442fb9acfa5d1e118d95021b7df99e704a53462f189de0d420\",\"current_duty_dependent_root\":\"0x836904c7d2716a1704d2c808a1fa592dbf8a743b811a9bc27b085119ca1e0dc3\",\"previous_duty_dependent_root\":\"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5\",\"epoch_transition\":false}","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/incomingsse.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleIncomingSseEvent[...]","level":"debug","msg":"We are going to send the following message to be processed.","time":"2022-06-09T16:00:48-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":{"slot":"3998402","block":"0xa405f1e459c064699ac049962715c3b6e8ed0fe1a46776a0a88990e5e237895b","state":"0x930a7eeab6b73e442fb9acfa5d1e118d95021b7df99e704a53462f189de0d420","current_duty_dependent_root":"0x836904c7d2716a1704d2c808a1fa592dbf8a743b811a9bc27b085119ca1e0dc3","previous_duty_dependent_root":"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5","epoch_transition":false,"execution_optimistic":false},"level":"debug","msg":"We are going to start processing the slot.","time":"2022-06-09T16:00:48-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:71","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":"3998402","level":"debug","msg":"We finished calling processHeadSlot.","time":"2022-06-09T16:00:48-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/0x930a7eeab6b73e442fb9acfa5d1e118d95021b7df99e704a53462f189de0d420","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:48-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/0xa405f1e459c064699ac049962715c3b6e8ed0fe1a46776a0a88990e5e237895b","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:48-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:49-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:50-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/gracefulshutdown/gracefulshutdown.go:50","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/gracefulshutdown.Shutdown.func1","level":"info","msg":"Shutting Down your application","time":"2022-06-09T16:00:51-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/gracefulshutdown/gracefulshutdown.go:70","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/gracefulshutdown.Shutdown.func1.2","level":"info","msg":"cleaning up: beaconClient","time":"2022-06-09T16:00:51-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:41","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).StopHistoric","level":"info","msg":"We are stopping the historical processing service.","time":"2022-06-09T16:00:51-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:86","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.HistoricProcessing.releaseDbLocks","level":"debug","msg":"Updating all the entries to eth_beacon.historical processing","time":"2022-06-09T16:00:51-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:87","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.HistoricProcessing.releaseDbLocks","level":"debug","msg":"Db: \u0026{0xc00000e048}","time":"2022-06-09T16:00:51-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:88","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.HistoricProcessing.releaseDbLocks","level":"debug","msg":"hp.uniqueNodeIdentifier 100","time":"2022-06-09T16:00:51-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:165","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","msg":"Received shutdown signal from channel","time":"2022-06-09T16:00:51-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:35","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).CaptureHistoric","level":"debug","msg":"Exiting Historical","time":"2022-06-09T16:00:51-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:93","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.HistoricProcessing.releaseDbLocks","level":"debug","msg":"Update all the entries to eth_beacon.historical processing","time":"2022-06-09T16:00:52-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:98","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.HistoricProcessing.releaseDbLocks","level":"info","msg":"Released historicalProcess locks for specified rows.","rowCount":1,"time":"2022-06-09T16:00:52-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:71","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).StopKnownGapsProcessing","level":"info","msg":"We are stopping the known gaps processing service.","time":"2022-06-09T16:00:52-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:165","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","msg":"Received shutdown signal from channel","time":"2022-06-09T16:00:52-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:65","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).ProcessKnownGaps","level":"debug","msg":"Exiting known gaps processing service","time":"2022-06-09T16:00:52-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:126","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.KnownGapsProcessing.releaseDbLocks","level":"debug","msg":"Updating all the entries to eth_beacon.known_gaps","time":"2022-06-09T16:00:52-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:127","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.KnownGapsProcessing.releaseDbLocks","level":"debug","msg":"Db: \u0026{0xc00000e048}","time":"2022-06-09T16:00:52-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:128","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.KnownGapsProcessing.releaseDbLocks","level":"debug","msg":"kgp.uniqueNodeIdentifier 100","time":"2022-06-09T16:00:52-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:52-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:137","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.KnownGapsProcessing.releaseDbLocks","level":"info","msg":"Released knownGaps locks for specified rows.","rowCount":2,"time":"2022-06-09T16:00:52-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehead.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).StopHeadTracking","level":"info","msg":"We are going to stop tracking the head of chain because of the shutdown signal.","time":"2022-06-09T16:00:52-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=head","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehead.go:52","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*SseEvents[...]).finishProcessingChannel","level":"info","msg":"Received a close event.","time":"2022-06-09T16:00:52-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=head","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehead.go:57","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*SseEvents[...]).finishProcessingChannel","level":"info","msg":"Done processing all messages, ready for shutdown","time":"2022-06-09T16:00:52-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=chain_reorg","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehead.go:52","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*SseEvents[...]).finishProcessingChannel","level":"info","msg":"Received a close event.","time":"2022-06-09T16:00:52-04:00"} +{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=chain_reorg","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehead.go:57","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*SseEvents[...]).finishProcessingChannel","level":"info","msg":"Done processing all messages, ready for shutdown","time":"2022-06-09T16:00:52-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehead.go:46","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).StopHeadTracking","level":"info","msg":"Successfully stopped the head tracking service.","time":"2022-06-09T16:00:52-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{124950 3998400 0x4877ea08b46f732a2a047ba65e0d743c0250f3c742731355ce0b36ded9a3abf5 0xba24e96cb65d61250e036d8d14e3efa057ac0ac4d990db53fc707359a5834a16 proposed}","time":"2022-06-09T16:00:52-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA2DQNZXMVQTAODCGQ3GMNZTGJQTEYJQGQ3WEYJWGVSTAZBXGQZWGMBSGUYGMM3DG42DENZTGEZTKNLDMUYGEMZWMRSWIOLBGNQWEZRV","msg":"The MHKEY","time":"2022-06-09T16:00:52-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{3998400 0x4877ea08b46f732a2a047ba65e0d743c0250f3c742731355ce0b36ded9a3abf5 0x836904c7d2716a1704d2c808a1fa592dbf8a743b811a9bc27b085119ca1e0dc3 0xdeb4f8e03e3281723be9b2942ebcc95930de2ee252d90329bee61580cb8bce6c /blocks/QLVAEQRQPA2DQNZXMVQTAODCGQ3GMNZTGJQTEYJQGQ3WEYJWGVSTAZBXGQZWGMBSGUYGMM3DG42DENZTGEZTKNLDMUYGEMZWMRSWIOLBGNQWEZRV}","time":"2022-06-09T16:00:52-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBRGCMRUMU4TMY3CGY2WINRRGI2TAZJQGM3GIODEGE2GKM3FMZQTANJXMFRTAYLDGRSDSOJQMRRDKM3GMM3TANZTGU4WCNJYGM2GCMJW","msg":"The MHKEY","time":"2022-06-09T16:00:52-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{3998400 0xba24e96cb65d61250e036d8d14e3efa057ac0ac4d990db53fc707359a5834a16 /blocks/QLVAEQRQPBRGCMRUMU4TMY3CGY2WINRRGI2TAZJQGM3GIODEGE2GKM3FMZQTANJXMFRTAYLDGRSDSOJQMRRDKM3GMM3TANZTGU4WCNJYGM2GCMJW}","time":"2022-06-09T16:00:52-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"3998400","time":"2022-06-09T16:00:52-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T16:00:52-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T16:00:52-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 20007","time":"2022-06-09T16:00:52-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":20007,"time":"2022-06-09T16:00:52-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0xad2310af2c94d86b6a6791ae365212bee5b303a38c1dfa06a1d002736ace9fad","time":"2022-06-09T16:00:53-04:00"} +{"blockRoot":"0xb9a2ebe230a8570c4dc9db6269f39450fce027f43aceb28cf1f0c4e02848b24a","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T16:00:53-04:00"} +{"err":"closed pool","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:102","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.CreateDatabaseWrite","level":"error","msg":"We are unable to Begin a SQL transaction","time":"2022-06-09T16:00:53-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{625 20006 0xb9a2ebe230a8570c4dc9db6269f39450fce027f43aceb28cf1f0c4e02848b24a 0xad2310af2c94d86b6a6791ae365212bee5b303a38c1dfa06a1d002736ace9fad proposed}","time":"2022-06-09T16:00:53-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBRDSYJSMVRGKMRTGBQTQNJXGBRTIZDDHFSGENRSGY4WMMZZGQ2TAZTDMUYDEN3GGQZWCY3FMIZDQY3GGFTDAYZUMUYDEOBUHBRDENDB","msg":"The MHKEY","time":"2022-06-09T16:00:53-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{20006 0xb9a2ebe230a8570c4dc9db6269f39450fce027f43aceb28cf1f0c4e02848b24a 0x5fbd11a39ade323001b808d21b60f488e4df3adf96c2382b41adbfe520141a27 0x6c61c04fb352e1f2769bc15e112b35ddb69b29e3c461fd27979ee6cf6dfb6c3f /blocks/QLVAEQRQPBRDSYJSMVRGKMRTGBQTQNJXGBRTIZDDHFSGENRSGY4WMMZZGQ2TAZTDMUYDEN3GGQZWCY3FMIZDQY3GGFTDAYZUMUYDEOBUHBRDENDB}","time":"2022-06-09T16:00:53-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBQWIMRTGEYGCZRSMM4TIZBYGZRDMYJWG44TCYLFGM3DKMRRGJRGKZJVMIZTAM3BGM4GGMLEMZQTANTBGFSDAMBSG4ZTMYLDMU4WMYLE","msg":"The MHKEY","time":"2022-06-09T16:00:53-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{20006 0xad2310af2c94d86b6a6791ae365212bee5b303a38c1dfa06a1d002736ace9fad /blocks/QLVAEQRQPBQWIMRTGEYGCZRSMM4TIZBYGZRDMYJWG44TCYLFGM3DKMRRGJRGKZJVMIZTAM3BGM4GGMLEMZQTANTBGFSDAMBSG4ZTMYLDMU4WMYLE}","time":"2022-06-09T16:00:53-04:00"} +{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"20006","time":"2022-06-09T16:00:53-04:00"} diff --git a/main.go b/main.go index 2c366f3..a115417 100644 --- a/main.go +++ b/main.go @@ -19,7 +19,7 @@ Copyright © 2022 NAME HERE */ package main -import "github.com/vulcanize/ipld-ethcl-indexer/cmd" +import "github.com/vulcanize/ipld-eth-beacon-indexer/cmd" func main() { cmd.Execute() diff --git a/pkg/beaconclient/beaconclient.go b/pkg/beaconclient/beaconclient.go index 8f24207..4f959e3 100644 --- a/pkg/beaconclient/beaconclient.go +++ b/pkg/beaconclient/beaconclient.go @@ -22,7 +22,7 @@ import ( "github.com/r3labs/sse" log "github.com/sirupsen/logrus" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/database/sql" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql" ) // TODO: Use prysms config values instead of hardcoding them here. @@ -59,7 +59,6 @@ type BeaconClient struct { StartingSlot int // If we're performing head tracking. What is the first slot we processed. PreviousSlot int // Whats the previous slot we processed PreviousBlockRoot string // Whats the previous block root, used to check the next blocks parent. - CheckKnownGaps bool // Should we check for gaps at start up. HeadTracking *SseEvents[Head] // Track the head block ReOrgTracking *SseEvents[ChainReorg] // Track all Reorgs //FinalizationTracking *SseEvents[FinalizedCheckpoint] // Track all finalization checkpoints @@ -70,7 +69,7 @@ type BeaconClient struct { // This value is lazily updated. Therefore at times it will be outdated. LatestSlotInBeaconServer int64 PerformHistoricalProcessing bool // Should we perform historical processing? - HistoricalProcess historicProcessing // object keeping track of historical processing + HistoricalProcess HistoricProcessing // object keeping track of historical processing } // A struct to keep track of relevant the head event topic. diff --git a/pkg/beaconclient/capturehead.go b/pkg/beaconclient/capturehead.go index 328fad9..a0b6e6b 100644 --- a/pkg/beaconclient/capturehead.go +++ b/pkg/beaconclient/capturehead.go @@ -21,7 +21,7 @@ import ( "time" log "github.com/sirupsen/logrus" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/loghelper" ) // This function will perform all the heavy lifting for tracking the head of the chain. diff --git a/pkg/beaconclient/capturehead_test.go b/pkg/beaconclient/capturehead_test.go index 0561913..1c569df 100644 --- a/pkg/beaconclient/capturehead_test.go +++ b/pkg/beaconclient/capturehead_test.go @@ -39,9 +39,9 @@ import ( . "github.com/onsi/gomega" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/beaconclient" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/database/sql" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/database/sql/postgres" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql/postgres" ) var ( @@ -57,9 +57,26 @@ var ( bcUniqueIdentifier int = 100 dummyParentRoot string = "46f98c08b54a71dfda4d56e29ec3952b8300cd8d6b67a9b6c562ae96a7a25a42" knownGapsTableIncrement int = 100000 - maxRetry int = 120 + maxRetry int = 160 TestEvents = map[string]Message{ + "0": { + HeadMessage: beaconclient.Head{ + Slot: "0", + Block: "0x4d611d5b93fdab69013a7f0a2f961caca0c853f87cfe9595fe50038163079360", + State: "0x7e76880eb67bbdc86250aa578958e9d0675e64e714337855204fb5abaaf82c2b", + CurrentDutyDependentRoot: "", + PreviousDutyDependentRoot: "", + EpochTransition: false, + ExecutionOptimistic: false, + }, + SignedBeaconBlock: filepath.Join("ssz-data", "0", "signed-beacon-block.ssz"), + BeaconState: filepath.Join("ssz-data", "0", "beacon-state.ssz"), + CorrectSignedBeaconBlockMhKey: "/blocks/QLVAEQRQPA2GINRRGFSDKYRZGNTGIYLCGY4TAMJTME3WMMDBGJTDSNRRMNQWGYJQMM4DKM3GHA3WGZTFHE2TSNLGMU2TAMBTHAYTMMZQG44TGNRQ", + CorrectBeaconStateMhKey: "/blocks/QLVAEQRQPA3WKNZWHA4DAZLCGY3WEYTEMM4DMMRVGBQWCNJXHA4TKODFHFSDANRXGVSTMNDFG4YTIMZTG44DKNJSGA2GMYRVMFRGCYLGHAZGGMTC", + CorrectParentRoot: "0x0000000000000000000000000000000000000000000000000000000000000000", + CorrectEth1BlockHash: "0x0000000000000000000000000000000000000000000000000000000000000000", + }, "100-dummy": { HeadMessage: beaconclient.Head{ Slot: "100", @@ -118,9 +135,13 @@ var ( EpochTransition: false, ExecutionOptimistic: false, }, - TestNotes: "An easy to process Phase 0 block", - SignedBeaconBlock: filepath.Join("ssz-data", "100", "signed-beacon-block.ssz"), - BeaconState: filepath.Join("ssz-data", "100", "beacon-state.ssz"), + TestNotes: "An easy to process Phase 0 block", + SignedBeaconBlock: filepath.Join("ssz-data", "100", "signed-beacon-block.ssz"), + BeaconState: filepath.Join("ssz-data", "100", "beacon-state.ssz"), + CorrectSignedBeaconBlockMhKey: "/blocks/QLVAEQRQPA2TQMRRHA3WKOJXMY3TKMRQMJRDMOLFMVQTAMJUMMZTQMZUMM4TMNDDGQ2TENJZGM3TEYJQMVQWCZLBGNTDAMZSGAYTGNZZG44TSNTC", + CorrectBeaconStateMhKey: "/blocks/QLVAEQRQPBTDEOBWMEYDGNZZMMYDGOBWMEZWGN3CMUZDQZBQGVSDQMRZMY4GKYRXMIZDQMDDMM4WKZDFGE2TINBZMFTDEMDFMJRWIMBWME3WCNJW", + CorrectParentRoot: "0x629ae1587895043076500f4f5dcb202a47c2fc95d5b5c548cb83bc97bd2dbfe1", + CorrectEth1BlockHash: "0x8d3f027beef5cbd4f8b29fc831aba67a5d74768edca529f5596f07fd207865e1", }, "101": { HeadMessage: beaconclient.Head{ @@ -132,9 +153,12 @@ var ( EpochTransition: false, ExecutionOptimistic: false, }, - TestNotes: "An easy to process Phase 0 block", - SignedBeaconBlock: filepath.Join("ssz-data", "101", "signed-beacon-block.ssz"), - BeaconState: filepath.Join("ssz-data", "101", "beacon-state.ssz"), + TestNotes: "An easy to process Phase 0 block", + SignedBeaconBlock: filepath.Join("ssz-data", "101", "signed-beacon-block.ssz"), + BeaconState: filepath.Join("ssz-data", "101", "beacon-state.ssz"), + CorrectEth1BlockHash: "0x8d3f027beef5cbd4f8b29fc831aba67a5d74768edca529f5596f07fd207865e1", + CorrectSignedBeaconBlockMhKey: "/blocks/QLVAEQRQPBQWEZJRME4TOMTFGUYTEMJYGJSDANDGGBSDIYJVMM4WGMRVMY4WKZJVG5RTEZJZMQYGMZRTMY2GGNDDHAZGMZBUGJSDCM3EGMYTAOBT", + CorrectBeaconStateMhKey: "/blocks/QLVAEQRQPBRWEMBUMFQTEZLEMJTDCM3DG5RGEN3FG5RGIOLCGYZDCY3FMQ3DQMZSMUYDANZVMU4DSMJUG4ZTKMTFMFRTGMBRHFQTQMRUMNSTQNBX", }, "2375703-dummy": { HeadMessage: beaconclient.Head{ @@ -176,19 +200,24 @@ var ( Block: "0x4392372c5f6e39499e31bf924388b5815639103149f0f54f8a453773b1802301", State: "0xb6215b560273af63ec7e011572b60ec1ca0b0232f8ff44fcd4ed55c7526e964e", CurrentDutyDependentRoot: "", PreviousDutyDependentRoot: "", EpochTransition: false, ExecutionOptimistic: false}, - TestNotes: "An easy to process Altair Block", - SignedBeaconBlock: filepath.Join("ssz-data", "2375703", "signed-beacon-block.ssz"), - BeaconState: filepath.Join("ssz-data", "2375703", "beacon-state.ssz"), + TestNotes: "An easy to process Altair Block", + SignedBeaconBlock: filepath.Join("ssz-data", "2375703", "signed-beacon-block.ssz"), + BeaconState: filepath.Join("ssz-data", "2375703", "beacon-state.ssz"), + CorrectEth1BlockHash: "0xd74b1c60423651624de6bb301ac25808951c167ba6ecdd9b2e79b4315aee8202", + CorrectParentRoot: "0x08736ddc20b77f65d1aa6301f7e6e856a820ff3ce6430ed2c3694ae35580e740", + CorrectSignedBeaconBlockMhKey: "/blocks/QLVAEQRQPA2DGOJSGM3TEYZVMY3GKMZZGQ4TSZJTGFRGMOJSGQZTQODCGU4DCNJWGM4TCMBTGE2DSZRQMY2TIZRYME2DKMZXG4ZWEMJYGAZDGMBR", + CorrectBeaconStateMhKey: "/blocks/QLVAEQRQPBRDMMRRGVRDKNRQGI3TGYLGGYZWKYZXMUYDCMJVG4ZGENRQMVRTCY3BGBRDAMRTGJTDQZTGGQ2GMY3EGRSWINJVMM3TKMRWMU4TMNDF", }, "3797056": { HeadMessage: beaconclient.Head{ Slot: "3797056", Block: "", - State: "0xb6215b560273af63ec7e011572b60ec1ca0b0232f8ff44fcd4ed55c7526e964e", + State: "", CurrentDutyDependentRoot: "", PreviousDutyDependentRoot: "", EpochTransition: false, ExecutionOptimistic: false}, - TestNotes: "An easy to process Altair Block", - SignedBeaconBlock: filepath.Join("ssz-data", "2375703", "signed-beacon-block.ssz"), - BeaconState: filepath.Join("ssz-data", "2375703", "beacon-state.ssz"), + TestNotes: "An easy to process Altair Block", + // The file below should not exist, this will trigger an error message and 404 response from the mock. + SignedBeaconBlock: filepath.Join("ssz-data", "3797056", "should-not-exist.txt"), + BeaconState: filepath.Join("ssz-data", "3797056", "beacon-state.ssz"), }, } TestConfig = Config{ @@ -214,11 +243,15 @@ var ( ) type Message struct { - HeadMessage beaconclient.Head // The head messsage that will be streamed to the BeaconClient - TestNotes string // A small explanation of the purpose this structure plays in the testing landscape. - MimicConfig *MimicConfig // A configuration of parameters that you are trying to - SignedBeaconBlock string // The file path output of an SSZ encoded SignedBeaconBlock. - BeaconState string // The file path output of an SSZ encoded BeaconState. + HeadMessage beaconclient.Head // The head messsage that will be streamed to the BeaconClient + TestNotes string // A small explanation of the purpose this structure plays in the testing landscape. + MimicConfig *MimicConfig // A configuration of parameters that you are trying to + SignedBeaconBlock string // The file path output of an SSZ encoded SignedBeaconBlock. + BeaconState string // The file path output of an SSZ encoded BeaconState. + CorrectSignedBeaconBlockMhKey string // The correct MhKey for the signedBeaconBlock + CorrectBeaconStateMhKey string // The correct MhKey beaconState + CorrectParentRoot string // The correct parent root + CorrectEth1BlockHash string // The correct eth1blockHash } // A structure that can be utilized to mimic and existing SSZ object but change it ever so slightly. @@ -228,7 +261,7 @@ type MimicConfig struct { ForkVersion string // Specify the fork version. This is needed as a workaround to create dummy SignedBeaconBlocks. } -var _ = Describe("Capturehead", func() { +var _ = Describe("Capturehead", Label("head"), func() { Describe("Receiving New Head SSE messages", Label("unit", "behavioral"), func() { Context("Correctly formatted Phase0 Block", func() { @@ -237,8 +270,8 @@ var _ = Describe("Capturehead", func() { BeaconNodeTester.SetupBeaconNodeMock(BeaconNodeTester.TestEvents, BeaconNodeTester.TestConfig.protocol, BeaconNodeTester.TestConfig.address, BeaconNodeTester.TestConfig.port, BeaconNodeTester.TestConfig.dummyParentRoot) defer httpmock.DeactivateAndReset() BeaconNodeTester.testProcessBlock(bc, BeaconNodeTester.TestEvents["100"].HeadMessage, 3, maxRetry, 1, 0, 0) - validateSignedBeaconBlock(bc, BeaconNodeTester.TestEvents["100"].HeadMessage, "0x629ae1587895043076500f4f5dcb202a47c2fc95d5b5c548cb83bc97bd2dbfe1", "0x8d3f027beef5cbd4f8b29fc831aba67a5d74768edca529f5596f07fd207865e1", "/blocks/QHVAEQBQGQ4TKNJUGAYDGNZRGM2DOZJSGZTDMMLEG5QTIYTCMRQTKYRSGNTGCMDCGI2WINLGMM2DMNJRGYYGMMTBHEZGINJSME3DGYRZGE4WE") - validateBeaconState(bc, BeaconNodeTester.TestEvents["100"].HeadMessage, "/blocks/QHVAEQRQPBTDEOBWMEYDGNZZMMYDGOBWMEZWGN3CMUZDQZBQGVSDQMRZMY4GKYRXMIZDQMDDMM4WKZDFGE2TINBZMFTDEMDFMJRWIMBWME3WCNJW") + validateSignedBeaconBlock(bc, BeaconNodeTester.TestEvents["100"].HeadMessage, BeaconNodeTester.TestEvents["100"].CorrectParentRoot, BeaconNodeTester.TestEvents["100"].CorrectEth1BlockHash, BeaconNodeTester.TestEvents["100"].CorrectSignedBeaconBlockMhKey) + validateBeaconState(bc, BeaconNodeTester.TestEvents["100"].HeadMessage, BeaconNodeTester.TestEvents["100"].CorrectBeaconStateMhKey) }) }) @@ -248,8 +281,8 @@ var _ = Describe("Capturehead", func() { BeaconNodeTester.SetupBeaconNodeMock(BeaconNodeTester.TestEvents, BeaconNodeTester.TestConfig.protocol, BeaconNodeTester.TestConfig.address, BeaconNodeTester.TestConfig.port, BeaconNodeTester.TestConfig.dummyParentRoot) defer httpmock.DeactivateAndReset() BeaconNodeTester.testProcessBlock(bc, BeaconNodeTester.TestEvents["2375703"].HeadMessage, 74240, maxRetry, 1, 0, 0) - validateSignedBeaconBlock(bc, BeaconNodeTester.TestEvents["2375703"].HeadMessage, "0x83154c692b9cce50bdf56af5a933da0a020ed7ff809a6a8236301094c7f25276", "0xd74b1c60423651624de6bb301ac25808951c167ba6ecdd9b2e79b4315aee8202", "/blocks/QHVAEQRQPA2DGOJSGM3TEYZVMY3GKMZZGQ4TSZJTGFRGMOJSGQZTQODCGU4DCNJWGM4TCMBTGE2DSZRQMY2TIZRYME2DKMZXG4ZWEMJYGAZDGMBR") - validateBeaconState(bc, BeaconNodeTester.TestEvents["2375703"].HeadMessage, "/blocks/QHVAEQRQPBRDMMRRGVRDKNRQGI3TGYLGGYZWKYZXMUYDCMJVG4ZGENRQMVRTCY3BGBRDAMRTGJTDQZTGGQ2GMY3EGRSWINJVMM3TKMRWMU4TMNDF") + validateSignedBeaconBlock(bc, BeaconNodeTester.TestEvents["2375703"].HeadMessage, BeaconNodeTester.TestEvents["2375703"].CorrectParentRoot, BeaconNodeTester.TestEvents["2375703"].CorrectEth1BlockHash, BeaconNodeTester.TestEvents["2375703"].CorrectSignedBeaconBlockMhKey) + validateBeaconState(bc, BeaconNodeTester.TestEvents["2375703"].HeadMessage, BeaconNodeTester.TestEvents["2375703"].CorrectBeaconStateMhKey) }) }) Context("Correctly formatted Altair Test Blocks", func() { @@ -441,18 +474,19 @@ func setUpTest(config Config, maxSlot string) *beaconclient.BeaconClient { Expect(err).ToNot(HaveOccurred()) // Drop all records from the DB. - clearEthclDbTables(db) + clearEthBeaconDbTables(db) - // Add an slot to the ethcl.slots table so it we can control how known_gaps are handled. + // Add an slot to the eth_beacon.slots table so it we can control how known_gaps are handled. writeSlot(db, maxSlot) bc.Db = db return bc } -// A helper function to validate the expected output from the ethcl.slots table. +// A helper function to validate the expected output from the eth_beacon.slots table. func validateSlot(bc *beaconclient.BeaconClient, headMessage beaconclient.Head, correctEpoch int, correctStatus string) { epoch, dbSlot, blockRoot, stateRoot, status := queryDbSlotAndBlock(bc.Db, headMessage.Slot, headMessage.Block) + log.Info("validateSlot: ", headMessage) baseSlot, err := strconv.Atoi(headMessage.Slot) Expect(err).ToNot(HaveOccurred()) Expect(dbSlot).To(Equal(baseSlot)) @@ -462,27 +496,29 @@ func validateSlot(bc *beaconclient.BeaconClient, headMessage beaconclient.Head, Expect(status).To(Equal(correctStatus)) } -// A helper function to validate the expected output from the ethcl.signed_beacon_block table. +// A helper function to validate the expected output from the eth_beacon.signed_block table. func validateSignedBeaconBlock(bc *beaconclient.BeaconClient, headMessage beaconclient.Head, correctParentRoot string, correctEth1BlockHash string, correctMhKey string) { dbSlot, blockRoot, parentRoot, eth1BlockHash, mhKey := queryDbSignedBeaconBlock(bc.Db, headMessage.Slot, headMessage.Block) + log.Info("validateSignedBeaconBlock: ", headMessage) baseSlot, err := strconv.Atoi(headMessage.Slot) Expect(err).ToNot(HaveOccurred()) Expect(dbSlot).To(Equal(baseSlot)) Expect(blockRoot).To(Equal(headMessage.Block)) - Expect(parentRoot, correctParentRoot) - Expect(eth1BlockHash, correctEth1BlockHash) - Expect(mhKey, correctMhKey) + Expect(parentRoot).To(Equal(correctParentRoot)) + Expect(eth1BlockHash).To(Equal(correctEth1BlockHash)) + Expect(mhKey).To(Equal(correctMhKey)) } -// A helper function to validate the expected output from the ethcl.beacon_state table. +// A helper function to validate the expected output from the eth_beacon.state table. func validateBeaconState(bc *beaconclient.BeaconClient, headMessage beaconclient.Head, correctMhKey string) { dbSlot, stateRoot, mhKey := queryDbBeaconState(bc.Db, headMessage.Slot, headMessage.State) + log.Info("validateBeaconState: ", headMessage) baseSlot, err := strconv.Atoi(headMessage.Slot) Expect(err).ToNot(HaveOccurred()) Expect(dbSlot).To(Equal(baseSlot)) Expect(stateRoot).To(Equal(headMessage.State)) - Expect(mhKey, correctMhKey) + Expect(mhKey).To(Equal(correctMhKey)) } @@ -514,21 +550,21 @@ func sendHeadMessage(bc *beaconclient.BeaconClient, head beaconclient.Head, maxR } } -// A helper function to query the ethcl.slots table based on the slot and block_root +// A helper function to query the eth_beacon.slots table based on the slot and block_root func queryDbSlotAndBlock(db sql.Database, querySlot string, queryBlockRoot string) (int, int, string, string, string) { - sqlStatement := `SELECT epoch, slot, block_root, state_root, status FROM ethcl.slots WHERE slot=$1 AND block_root=$2;` + sqlStatement := `SELECT epoch, slot, block_root, state_root, status FROM eth_beacon.slots WHERE slot=$1 AND block_root=$2;` var epoch, slot int var blockRoot, stateRoot, status string - log.Debug("Starting to query the ethcl.slots table, ", querySlot, " ", queryBlockRoot) + log.Debug("Starting to query the eth_beacon.slots table, ", querySlot, " ", queryBlockRoot) err := db.QueryRow(context.Background(), sqlStatement, querySlot, queryBlockRoot).Scan(&epoch, &slot, &blockRoot, &stateRoot, &status) Expect(err).ToNot(HaveOccurred()) - log.Debug("Querying the ethcl.slots table complete") + log.Debug("Querying the eth_beacon.slots table complete") return epoch, slot, blockRoot, stateRoot, status } -// A helper function to query the ethcl.signed_beacon_block table based on the slot and block_root. +// A helper function to query the eth_beacon.signed_block table based on the slot and block_root. func queryDbSignedBeaconBlock(db sql.Database, querySlot string, queryBlockRoot string) (int, string, string, string, string) { - sqlStatement := `SELECT slot, block_root, parent_block_root, eth1_block_hash, mh_key FROM ethcl.signed_beacon_block WHERE slot=$1 AND block_root=$2;` + sqlStatement := `SELECT slot, block_root, parent_block_root, eth1_block_hash, mh_key FROM eth_beacon.signed_block WHERE slot=$1 AND block_root=$2;` var slot int var blockRoot, parent_block_root, eth1_block_hash, mh_key string row := db.QueryRow(context.Background(), sqlStatement, querySlot, queryBlockRoot) @@ -537,9 +573,9 @@ func queryDbSignedBeaconBlock(db sql.Database, querySlot string, queryBlockRoot return slot, blockRoot, parent_block_root, eth1_block_hash, mh_key } -// A helper function to query the ethcl.signed_beacon_block table based on the slot and block_root. +// A helper function to query the eth_beacon.signed_block table based on the slot and block_root. func queryDbBeaconState(db sql.Database, querySlot string, queryStateRoot string) (int, string, string) { - sqlStatement := `SELECT slot, state_root, mh_key FROM ethcl.beacon_state WHERE slot=$1 AND state_root=$2;` + sqlStatement := `SELECT slot, state_root, mh_key FROM eth_beacon.state WHERE slot=$1 AND state_root=$2;` var slot int var stateRoot, mh_key string row := db.QueryRow(context.Background(), sqlStatement, querySlot, queryStateRoot) @@ -551,7 +587,7 @@ func queryDbBeaconState(db sql.Database, querySlot string, queryStateRoot string // Count the entries in the knownGaps table. func countKnownGapsTable(db sql.Database) int { var count int - sqlStatement := "SELECT COUNT(*) FROM ethcl.known_gaps" + sqlStatement := "SELECT COUNT(*) FROM eth_beacon.known_gaps" err := db.QueryRow(context.Background(), sqlStatement).Scan(&count) Expect(err).ToNot(HaveOccurred()) return count @@ -559,25 +595,24 @@ func countKnownGapsTable(db sql.Database) int { // Return the start and end slot func queryKnownGaps(db sql.Database, queryStartGap string, QueryEndGap string) (int, int) { - sqlStatement := `SELECT start_slot, end_slot FROM ethcl.known_gaps WHERE start_slot=$1 AND end_slot=$2;` + sqlStatement := `SELECT start_slot, end_slot FROM eth_beacon.known_gaps WHERE start_slot=$1 AND end_slot=$2;` var startGap, endGap int row := db.QueryRow(context.Background(), sqlStatement, queryStartGap, QueryEndGap) err := row.Scan(&startGap, &endGap) Expect(err).ToNot(HaveOccurred()) return startGap, endGap - } -// A function that will remove all entries from the ethcl tables for you. -func clearEthclDbTables(db sql.Database) { - deleteQueries := []string{"DELETE FROM ethcl.slots;", "DELETE FROM ethcl.signed_beacon_block;", "DELETE FROM ethcl.beacon_state;", "DELETE FROM ethcl.known_gaps;", "DELETE FROM ethcl.historic_process;"} +// A function that will remove all entries from the eth_beacon tables for you. +func clearEthBeaconDbTables(db sql.Database) { + deleteQueries := []string{"DELETE FROM eth_beacon.slots;", "DELETE FROM eth_beacon.signed_block;", "DELETE FROM eth_beacon.state;", "DELETE FROM eth_beacon.known_gaps;", "DELETE FROM eth_beacon.historic_process;", "DELETE FROM public.blocks;"} for _, queries := range deleteQueries { _, err := db.Exec(context.Background(), queries) Expect(err).ToNot(HaveOccurred()) } } -// Write an entry to the ethcl.slots table with just a slot number +// Write an entry to the eth_beacon.slots table with just a slot number func writeSlot(db sql.Database, slot string) { _, err := db.Exec(context.Background(), beaconclient.UpsertSlotsStmt, "0", slot, "", "", "") Expect(err).ToNot(HaveOccurred()) @@ -653,8 +688,7 @@ func (tbc TestBeaconNode) SetupBeaconNodeMock(TestEvents map[string]Message, pro id := httpmock.MustGetSubmatch(req, 1) dat, err := tbc.provideSsz(id, "state", dummyParentRoot) if err != nil { - Expect(err).NotTo(HaveOccurred()) - return httpmock.NewStringResponse(404, fmt.Sprintf("Unable to find file for %s", id)), err + return httpmock.NewStringResponse(404, fmt.Sprintf("Unable to find file for %s", id)), nil } return httpmock.NewBytesResponse(200, dat), nil }, @@ -667,8 +701,7 @@ func (tbc TestBeaconNode) SetupBeaconNodeMock(TestEvents map[string]Message, pro id := httpmock.MustGetSubmatch(req, 1) dat, err := tbc.provideSsz(id, "block", dummyParentRoot) if err != nil { - Expect(err).NotTo(HaveOccurred()) - return httpmock.NewStringResponse(404, fmt.Sprintf("Unable to find file for %s", id)), err + return httpmock.NewStringResponse(404, fmt.Sprintf("Unable to find file for %s", id)), nil } return httpmock.NewBytesResponse(200, dat), nil }, @@ -691,7 +724,6 @@ func (tbc TestBeaconNode) SetupBeaconNodeMock(TestEvents map[string]Message, pro // Provide the Block root func (tbc TestBeaconNode) provideBlockRoot(slot string) ([]byte, error) { - for _, val := range tbc.TestEvents { if val.HeadMessage.Slot == slot && val.MimicConfig == nil { block, err := hex.DecodeString(val.HeadMessage.Block[2:]) diff --git a/pkg/beaconclient/capturehistoric.go b/pkg/beaconclient/capturehistoric.go index a569568..a6764db 100644 --- a/pkg/beaconclient/capturehistoric.go +++ b/pkg/beaconclient/capturehistoric.go @@ -18,29 +18,30 @@ package beaconclient import ( + "context" "fmt" log "github.com/sirupsen/logrus" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/database/sql" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/loghelper" "golang.org/x/sync/errgroup" ) // This function will perform all the heavy lifting for tracking the head of the chain. -func (bc *BeaconClient) CaptureHistoric(maxWorkers int) []error { +func (bc *BeaconClient) CaptureHistoric(ctx context.Context, maxWorkers int) []error { log.Info("We are starting the historical processing service.") - bc.HistoricalProcess = historicProcessing{db: bc.Db, metrics: bc.Metrics} - errs := handleBatchProcess(maxWorkers, bc.HistoricalProcess, bc.HistoricalProcess.finishProcessing, bc.HistoricalProcess.db, bc.ServerEndpoint, bc.Metrics, bc.CheckDb) + bc.HistoricalProcess = HistoricProcessing{db: bc.Db, metrics: bc.Metrics, uniqueNodeIdentifier: bc.UniqueNodeIdentifier} + errs := handleBatchProcess(ctx, maxWorkers, bc.HistoricalProcess, bc.HistoricalProcess.db, bc.ServerEndpoint, bc.Metrics, bc.CheckDb) log.Debug("Exiting Historical") return errs } // This function will perform all the necessary clean up tasks for stopping historical processing. -func (bc *BeaconClient) StopHistoric() error { +func (bc *BeaconClient) StopHistoric(cancel context.CancelFunc) error { log.Info("We are stopping the historical processing service.") - err := bc.HistoricalProcess.releaseDbLocks() + err := bc.HistoricalProcess.releaseDbLocks(cancel) if err != nil { - loghelper.LogError(err).WithField("uniqueIdentifier", bc.UniqueNodeIdentifier).Error("We were unable to remove the locks from the ethcl.historic_processing table. Manual Intervention is needed!") + loghelper.LogError(err).WithField("uniqueIdentifier", bc.UniqueNodeIdentifier).Error("We were unable to remove the locks from the eth_beacon.historic_processing table. Manual Intervention is needed!") } return nil } @@ -51,10 +52,10 @@ func (bc *BeaconClient) StopHistoric() error { // // 2. Known Gaps Processing type BatchProcessing interface { - getSlotRange(chan<- slotsToProcess) []error // Write the slots to process in a channel, return an error if you cant get the next slots to write. - handleProcessingErrors(<-chan batchHistoricError) // Custom logic to handle errors. - removeTableEntry(<-chan slotsToProcess) error // With the provided start and end slot, remove the entry from the database. - releaseDbLocks() error // Update the checked_out column to false for whatever table is being updated. + getSlotRange(context.Context, chan<- slotsToProcess) []error // Write the slots to process in a channel, return an error if you cant get the next slots to write. + handleProcessingErrors(context.Context, <-chan batchHistoricError) // Custom logic to handle errors. + removeTableEntry(context.Context, <-chan slotsToProcess) error // With the provided start and end slot, remove the entry from the database. + releaseDbLocks(context.CancelFunc) error // Update the checked_out column to false for whatever table is being updated. } /// ^^^ @@ -89,7 +90,7 @@ type batchHistoricError struct { // 4. Remove the slot entry from the DB. // // 5. Handle any errors. -func handleBatchProcess(maxWorkers int, bp BatchProcessing, finishCh chan int, db sql.Database, serverEndpoint string, metrics *BeaconClientMetrics, checkDb bool) []error { +func handleBatchProcess(ctx context.Context, maxWorkers int, bp BatchProcessing, db sql.Database, serverEndpoint string, metrics *BeaconClientMetrics, checkDb bool) []error { slotsCh := make(chan slotsToProcess) workCh := make(chan int) processedCh := make(chan slotsToProcess) @@ -99,30 +100,40 @@ func handleBatchProcess(maxWorkers int, bp BatchProcessing, finishCh chan int, d // Start workers for w := 1; w <= maxWorkers; w++ { log.WithFields(log.Fields{"maxWorkers": maxWorkers}).Debug("Starting batch processing workers") - go processSlotRangeWorker(workCh, errCh, db, serverEndpoint, metrics, checkDb) + go processSlotRangeWorker(ctx, workCh, errCh, db, serverEndpoint, metrics, checkDb) } // Process all ranges and send each individual slot to the worker. go func() { - for slots := range slotsCh { - if slots.startSlot > slots.endSlot { - log.Error("We received a batch process request where the startSlot is greater than the end slot.") - errCh <- batchHistoricError{ - err: fmt.Errorf("We received a startSlot where the start was greater than the end."), - errProcess: "RangeOrder", - slot: slots.startSlot, + for { + select { + case <-ctx.Done(): + return + case slots := <-slotsCh: + if slots.startSlot > slots.endSlot { + log.Error("We received a batch process request where the startSlot is greater than the end slot.") + errCh <- batchHistoricError{ + err: fmt.Errorf("We received a startSlot where the start was greater than the end."), + errProcess: "RangeOrder", + slot: slots.startSlot, + } + errCh <- batchHistoricError{ + err: fmt.Errorf("We received a endSlot where the start was greater than the end."), + errProcess: "RangeOrder", + slot: slots.endSlot, + } + } else if slots.startSlot == slots.endSlot { + log.WithField("slot", slots.startSlot).Debug("Added new slot to workCh") + workCh <- slots.startSlot + } else { + for i := slots.startSlot; i <= slots.endSlot; i++ { + workCh <- i + log.WithField("slot", i).Debug("Added new slot to workCh") + } + processedCh <- slots } - errCh <- batchHistoricError{ - err: fmt.Errorf("We received a endSlot where the start was greater than the end."), - errProcess: "RangeOrder", - slot: slots.endSlot, - } - } else { - for i := slots.startSlot; i <= slots.endSlot; i++ { - workCh <- i - } - processedCh <- slots } + } }() @@ -130,26 +141,27 @@ func handleBatchProcess(maxWorkers int, bp BatchProcessing, finishCh chan int, d go func() { errG := new(errgroup.Group) errG.Go(func() error { - return bp.removeTableEntry(processedCh) + return bp.removeTableEntry(ctx, processedCh) }) if err := errG.Wait(); err != nil { finalErrCh <- []error{err} } }() // Process errors from slot processing. - go bp.handleProcessingErrors(errCh) + go bp.handleProcessingErrors(ctx, errCh) // Get slots from the DB. go func() { - errs := bp.getSlotRange(slotsCh) // Periodically adds new entries.... + errs := bp.getSlotRange(ctx, slotsCh) // Periodically adds new entries.... if errs != nil { finalErrCh <- errs } finalErrCh <- nil + log.Debug("We are stopping the processing of adding new entries") }() log.Debug("Waiting for shutdown signal from channel") select { - case <-finishCh: + case <-ctx.Done(): log.Debug("Received shutdown signal from channel") return nil case errs := <-finalErrCh: diff --git a/pkg/beaconclient/capturehistoric_test.go b/pkg/beaconclient/capturehistoric_test.go index d69f306..5571a7e 100644 --- a/pkg/beaconclient/capturehistoric_test.go +++ b/pkg/beaconclient/capturehistoric_test.go @@ -10,61 +10,281 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" log "github.com/sirupsen/logrus" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/beaconclient" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql" +) + +var ( + kgCheckCheckedOutStmt = `SELECT * FROM eth_beacon.known_gaps WHERE checked_out=true ` + hpCheckCheckedOutStmt = `SELECT * FROM eth_beacon.historic_process WHERE checked_out=true ` ) var _ = Describe("Capturehistoric", func() { - Describe("Run the application in historic mode", Label("unit", "behavioral"), func() { - Context("Phase0: When we need to process a single block in the ethcl.historic_process table.", func() { - It("Successfully Process the Block", func() { + Describe("Run the application in historic mode", Label("unit", "behavioral", "historical"), func() { + Context("Phase0 + Altairs: When we need to process a multiple blocks in a multiple entries in the eth_beacon.historic_process table.", Label("deb"), func() { + It("Successfully Process the Blocks", func() { bc := setUpTest(BeaconNodeTester.TestConfig, "99") BeaconNodeTester.SetupBeaconNodeMock(BeaconNodeTester.TestEvents, BeaconNodeTester.TestConfig.protocol, BeaconNodeTester.TestConfig.address, BeaconNodeTester.TestConfig.port, BeaconNodeTester.TestConfig.dummyParentRoot) defer httpmock.DeactivateAndReset() BeaconNodeTester.writeEventToHistoricProcess(bc, 100, 101, 10) - BeaconNodeTester.runBatchProcess(bc, 2, 100, 101, 0, 0) + BeaconNodeTester.runHistoricalProcess(bc, 2, 2, 0, 0, 0) + // Run Two seperate processes + BeaconNodeTester.writeEventToHistoricProcess(bc, 2375703, 2375703, 10) + BeaconNodeTester.runHistoricalProcess(bc, 2, 3, 0, 0, 0) time.Sleep(2 * time.Second) - validateSlot(bc, BeaconNodeTester.TestEvents["100"].HeadMessage, 3, "proposed") - validateSignedBeaconBlock(bc, BeaconNodeTester.TestEvents["100"].HeadMessage, "0x629ae1587895043076500f4f5dcb202a47c2fc95d5b5c548cb83bc97bd2dbfe1", "0x8d3f027beef5cbd4f8b29fc831aba67a5d74768edca529f5596f07fd207865e1", "/blocks/QHVAEQBQGQ4TKNJUGAYDGNZRGM2DOZJSGZTDMMLEG5QTIYTCMRQTKYRSGNTGCMDCGI2WINLGMM2DMNJRGYYGMMTBHEZGINJSME3DGYRZGE4WE") - validateBeaconState(bc, BeaconNodeTester.TestEvents["100"].HeadMessage, "/blocks/QHVAEQRQPBTDEOBWMEYDGNZZMMYDGOBWMEZWGN3CMUZDQZBQGVSDQMRZMY4GKYRXMIZDQMDDMM4WKZDFGE2TINBZMFTDEMDFMJRWIMBWME3WCNJW") + validatePopularBatchBlocks(bc) + }) + }) + Context("When the start block is greater than the endBlock", func() { + It("Should Add two entries to the knownGaps table", func() { + bc := setUpTest(BeaconNodeTester.TestConfig, "99") + BeaconNodeTester.SetupBeaconNodeMock(BeaconNodeTester.TestEvents, BeaconNodeTester.TestConfig.protocol, BeaconNodeTester.TestConfig.address, BeaconNodeTester.TestConfig.port, BeaconNodeTester.TestConfig.dummyParentRoot) + defer httpmock.DeactivateAndReset() + BeaconNodeTester.writeEventToHistoricProcess(bc, 101, 100, 10) + BeaconNodeTester.runHistoricalProcess(bc, 2, 0, 0, 2, 0) + }) + }) + Context("Processing the Genesis block", Label("genesis"), func() { + It("Should Process properly", func() { + bc := setUpTest(BeaconNodeTester.TestConfig, "100") + BeaconNodeTester.SetupBeaconNodeMock(BeaconNodeTester.TestEvents, BeaconNodeTester.TestConfig.protocol, BeaconNodeTester.TestConfig.address, BeaconNodeTester.TestConfig.port, BeaconNodeTester.TestConfig.dummyParentRoot) + defer httpmock.DeactivateAndReset() + BeaconNodeTester.writeEventToHistoricProcess(bc, 0, 0, 10) + BeaconNodeTester.runHistoricalProcess(bc, 2, 1, 0, 0, 0) + validateSlot(bc, BeaconNodeTester.TestEvents["0"].HeadMessage, 0, "proposed") + validateSignedBeaconBlock(bc, BeaconNodeTester.TestEvents["0"].HeadMessage, BeaconNodeTester.TestEvents["0"].CorrectParentRoot, BeaconNodeTester.TestEvents["0"].CorrectEth1BlockHash, BeaconNodeTester.TestEvents["0"].CorrectSignedBeaconBlockMhKey) + validateBeaconState(bc, BeaconNodeTester.TestEvents["0"].HeadMessage, BeaconNodeTester.TestEvents["0"].CorrectBeaconStateMhKey) + }) + }) + Context("When there is a skipped slot", func() { + It("Should process the slot properly.", func() { + bc := setUpTest(BeaconNodeTester.TestConfig, "3797055") + BeaconNodeTester.SetupBeaconNodeMock(BeaconNodeTester.TestEvents, BeaconNodeTester.TestConfig.protocol, BeaconNodeTester.TestConfig.address, BeaconNodeTester.TestConfig.port, BeaconNodeTester.TestConfig.dummyParentRoot) + defer httpmock.DeactivateAndReset() + BeaconNodeTester.writeEventToHistoricProcess(bc, 3797056, 3797056, 10) + BeaconNodeTester.runHistoricalProcess(bc, 2, 1, 0, 0, 0) + validateSlot(bc, BeaconNodeTester.TestEvents["3797056"].HeadMessage, 118658, "skipped") + }) + }) + }) + Describe("Running the Application to process Known Gaps", Label("unit", "behavioral", "knownGaps"), func() { + Context("Phase0 + Altairs: When we need to process a multiple blocks in a multiple entries in the eth_beacon.known_gaps table.", func() { + It("Successfully Process the Blocks", func() { + bc := setUpTest(BeaconNodeTester.TestConfig, "99") + BeaconNodeTester.SetupBeaconNodeMock(BeaconNodeTester.TestEvents, BeaconNodeTester.TestConfig.protocol, BeaconNodeTester.TestConfig.address, BeaconNodeTester.TestConfig.port, BeaconNodeTester.TestConfig.dummyParentRoot) + defer httpmock.DeactivateAndReset() + BeaconNodeTester.writeEventToKnownGaps(bc, 100, 101) + BeaconNodeTester.runKnownGapsProcess(bc, 2, 2, 0, 0, 0) + // Run Two seperate processes + BeaconNodeTester.writeEventToKnownGaps(bc, 2375703, 2375703) + BeaconNodeTester.runKnownGapsProcess(bc, 2, 3, 0, 0, 0) - //validateSignedBeaconBlock(bc, BeaconNodeTester.TestEvents["101"].HeadMessage, "0x629ae1587895043076500f4f5dcb202a47c2fc95d5b5c548cb83bc97bd2dbfe1", "0x8d3f027beef5cbd4f8b29fc831aba67a5d74768edca529f5596f07fd207865e1", "/blocks/QHVAEQBQGQ4TKNJUGAYDGNZRGM2DOZJSGZTDMMLEG5QTIYTCMRQTKYRSGNTGCMDCGI2WINLGMM2DMNJRGYYGMMTBHEZGINJSME3DGYRZGE4WE") - //validateBeaconState(bc, BeaconNodeTester.TestEvents["101"].HeadMessage, "/blocks/QHVAEQRQPBTDEOBWMEYDGNZZMMYDGOBWMEZWGN3CMUZDQZBQGVSDQMRZMY4GKYRXMIZDQMDDMM4WKZDFGE2TINBZMFTDEMDFMJRWIMBWME3WCNJW") + time.Sleep(2 * time.Second) + validatePopularBatchBlocks(bc) + }) + }) + Context("When the start block is greater than the endBlock", func() { + It("Should Add two entries to the knownGaps table", func() { + bc := setUpTest(BeaconNodeTester.TestConfig, "104") + BeaconNodeTester.SetupBeaconNodeMock(BeaconNodeTester.TestEvents, BeaconNodeTester.TestConfig.protocol, BeaconNodeTester.TestConfig.address, BeaconNodeTester.TestConfig.port, BeaconNodeTester.TestConfig.dummyParentRoot) + defer httpmock.DeactivateAndReset() + BeaconNodeTester.writeEventToKnownGaps(bc, 101, 100) + BeaconNodeTester.runKnownGapsProcess(bc, 2, 2, 0, 2, 0) + }) + }) + Context("When theres a reprocessing error", Label("reprocessingError"), func() { + It("Should update the reprocessing error.", func() { + bc := setUpTest(BeaconNodeTester.TestConfig, "99") + BeaconNodeTester.SetupBeaconNodeMock(BeaconNodeTester.TestEvents, BeaconNodeTester.TestConfig.protocol, BeaconNodeTester.TestConfig.address, BeaconNodeTester.TestConfig.port, BeaconNodeTester.TestConfig.dummyParentRoot) + defer httpmock.DeactivateAndReset() + // We dont have an entry in the BeaconNodeTester for this slot + BeaconNodeTester.writeEventToHistoricProcess(bc, 105, 105, 10) + BeaconNodeTester.runHistoricalProcess(bc, 2, 0, 0, 1, 0) + BeaconNodeTester.runKnownGapsProcess(bc, 2, 0, 0, 1, 1) + }) + }) + }) + Describe("Running the application in Historic, Head, and KnownGaps mode", Label("unit", "historical", "full"), func() { + Context("When it recieves a head, historic and known Gaps message (in order)", func() { + It("Should process them all successfully.", func() { + bc := setUpTest(BeaconNodeTester.TestConfig, "2375702") + BeaconNodeTester.SetupBeaconNodeMock(BeaconNodeTester.TestEvents, BeaconNodeTester.TestConfig.protocol, BeaconNodeTester.TestConfig.address, BeaconNodeTester.TestConfig.port, BeaconNodeTester.TestConfig.dummyParentRoot) + defer httpmock.DeactivateAndReset() + // Head + BeaconNodeTester.testProcessBlock(bc, BeaconNodeTester.TestEvents["2375703"].HeadMessage, 74240, maxRetry, 1, 0, 0) + // Historical + BeaconNodeTester.writeEventToHistoricProcess(bc, 100, 100, 10) + BeaconNodeTester.runHistoricalProcess(bc, 2, 2, 0, 0, 0) + + // Known Gaps + BeaconNodeTester.writeEventToKnownGaps(bc, 101, 101) + BeaconNodeTester.runKnownGapsProcess(bc, 2, 3, 0, 0, 0) + + time.Sleep(2 * time.Second) + validatePopularBatchBlocks(bc) + }) + }) + Context("When it recieves a historic, head and known Gaps message (in order)", func() { + It("Should process them all successfully.", func() { + bc := setUpTest(BeaconNodeTester.TestConfig, "2375702") + BeaconNodeTester.SetupBeaconNodeMock(BeaconNodeTester.TestEvents, BeaconNodeTester.TestConfig.protocol, BeaconNodeTester.TestConfig.address, BeaconNodeTester.TestConfig.port, BeaconNodeTester.TestConfig.dummyParentRoot) + defer httpmock.DeactivateAndReset() + // Historical + BeaconNodeTester.writeEventToHistoricProcess(bc, 100, 100, 10) + BeaconNodeTester.runHistoricalProcess(bc, 2, 1, 0, 0, 0) + + // Head + BeaconNodeTester.testProcessBlock(bc, BeaconNodeTester.TestEvents["2375703"].HeadMessage, 74240, maxRetry, 1, 0, 0) + + // Known Gaps + BeaconNodeTester.writeEventToKnownGaps(bc, 101, 101) + BeaconNodeTester.runKnownGapsProcess(bc, 2, 3, 0, 0, 0) + + time.Sleep(2 * time.Second) + validatePopularBatchBlocks(bc) + }) + }) + Context("When it recieves a known Gaps, historic and head message (in order)", func() { + It("Should process them all successfully.", func() { + bc := setUpTest(BeaconNodeTester.TestConfig, "2375702") + BeaconNodeTester.SetupBeaconNodeMock(BeaconNodeTester.TestEvents, BeaconNodeTester.TestConfig.protocol, BeaconNodeTester.TestConfig.address, BeaconNodeTester.TestConfig.port, BeaconNodeTester.TestConfig.dummyParentRoot) + defer httpmock.DeactivateAndReset() + // Known Gaps + BeaconNodeTester.writeEventToKnownGaps(bc, 101, 101) + BeaconNodeTester.runKnownGapsProcess(bc, 2, 1, 0, 0, 0) + + // Historical + BeaconNodeTester.writeEventToHistoricProcess(bc, 100, 100, 10) + BeaconNodeTester.runHistoricalProcess(bc, 2, 2, 0, 0, 0) + + // Head + BeaconNodeTester.testProcessBlock(bc, BeaconNodeTester.TestEvents["2375703"].HeadMessage, 74240, maxRetry, 1, 0, 0) + + time.Sleep(2 * time.Second) + validatePopularBatchBlocks(bc) }) }) }) }) -// This function will write an even to the ethcl.historic_process table -func (tbc TestBeaconNode) writeEventToHistoricProcess(bc *beaconclient.BeaconClient, startSlot, endSlot, priority int) { +// This function will write an even to the eth_beacon.known_gaps table +func (tbc TestBeaconNode) writeEventToKnownGaps(bc *beaconclient.BeaconClient, startSlot, endSlot int) { log.Debug("We are writing the necessary events to batch process") - insertHistoricProcessingStmt := `INSERT INTO ethcl.historic_process (start_slot, end_slot, priority) - VALUES ($1, $2, $3);` - res, err := bc.Db.Exec(context.Background(), insertHistoricProcessingStmt, startSlot, endSlot, priority) - Expect(err) + insertKnownGapsStmt := `INSERT INTO eth_beacon.known_gaps (start_slot, end_slot) + VALUES ($1, $2);` + res, err := bc.Db.Exec(context.Background(), insertKnownGapsStmt, startSlot, endSlot) + Expect(err).ToNot(HaveOccurred()) rows, err := res.RowsAffected() if rows != 1 { Fail("We didnt write...") } - Expect(err) + Expect(err).ToNot(HaveOccurred()) } -// Start the batch processing function, and check for the correct inserted slots. -func (tbc TestBeaconNode) runBatchProcess(bc *beaconclient.BeaconClient, maxWorkers int, startSlot uint64, endSlot uint64, expectedReorgs uint64, expectedKnownGaps uint64) { - go bc.CaptureHistoric(maxWorkers) - diff := endSlot - startSlot + 1 +// This function will write an even to the eth_beacon.known_gaps table +func (tbc TestBeaconNode) writeEventToHistoricProcess(bc *beaconclient.BeaconClient, startSlot, endSlot, priority int) { + log.Debug("We are writing the necessary events to batch process") + insertHistoricProcessingStmt := `INSERT INTO eth_beacon.historic_process (start_slot, end_slot, priority) + VALUES ($1, $2, $3);` + res, err := bc.Db.Exec(context.Background(), insertHistoricProcessingStmt, startSlot, endSlot, priority) + Expect(err).ToNot(HaveOccurred()) + rows, err := res.RowsAffected() + if rows != 1 { + Fail("We didnt write...") + } + Expect(err).ToNot(HaveOccurred()) +} +// Start the CaptureHistoric function, and check for the correct inserted slots. +func (tbc TestBeaconNode) runHistoricalProcess(bc *beaconclient.BeaconClient, maxWorkers int, expectedInserts, expectedReorgs, expectedKnownGaps, expectedKnownGapsReprocessError uint64) { + ctx, cancel := context.WithCancel(context.Background()) + go bc.CaptureHistoric(ctx, maxWorkers) + validateMetrics(bc, expectedInserts, expectedReorgs, expectedKnownGaps, expectedKnownGapsReprocessError) + log.Debug("Calling the stop function for historical processing..") + err := bc.StopHistoric(cancel) + time.Sleep(5 * time.Second) + Expect(err).ToNot(HaveOccurred()) + validateAllRowsCheckedOut(bc.Db, hpCheckCheckedOutStmt) +} + +// Wrapper function that processes knownGaps +func (tbc TestBeaconNode) runKnownGapsProcess(bc *beaconclient.BeaconClient, maxWorkers int, expectedInserts, expectedReorgs, expectedKnownGaps, expectedKnownGapsReprocessError uint64) { + ctx, cancel := context.WithCancel(context.Background()) + go bc.ProcessKnownGaps(ctx, maxWorkers) + validateMetrics(bc, expectedInserts, expectedReorgs, expectedKnownGaps, expectedKnownGapsReprocessError) + err := bc.StopKnownGapsProcessing(cancel) + time.Sleep(5 * time.Second) + Expect(err).ToNot(HaveOccurred()) + validateAllRowsCheckedOut(bc.Db, kgCheckCheckedOutStmt) +} + +func validateMetrics(bc *beaconclient.BeaconClient, expectedInserts, expectedReorgs, expectedKnownGaps, expectedKnownGapsReprocessError uint64) { curRetry := 0 - for atomic.LoadUint64(&bc.Metrics.SlotInserts) != diff { + value := atomic.LoadUint64(&bc.Metrics.SlotInserts) + for value != expectedInserts { time.Sleep(1 * time.Second) curRetry = curRetry + 1 if curRetry == maxRetry { - Fail(fmt.Sprintf("Too many retries have occurred. The number of inserts expects %d, the number that actually occurred, %d", atomic.LoadUint64(&bc.Metrics.SlotInserts), diff)) + Fail(fmt.Sprintf("Too many retries have occurred. The number of inserts expected %d, the number that actually occurred, %d", expectedInserts, atomic.LoadUint64(&bc.Metrics.SlotInserts))) } + value = atomic.LoadUint64(&bc.Metrics.SlotInserts) + } + curRetry = 0 + value = atomic.LoadUint64(&bc.Metrics.KnownGapsInserts) + for value != expectedKnownGaps { + time.Sleep(1 * time.Second) + curRetry = curRetry + 1 + if curRetry == maxRetry { + Fail(fmt.Sprintf("Too many retries have occurred. The number of knownGaps expected %d, the number that actually occurred, %d", expectedKnownGaps, atomic.LoadUint64(&bc.Metrics.KnownGapsInserts))) + } + value = atomic.LoadUint64(&bc.Metrics.KnownGapsInserts) + } + curRetry = 0 + value = atomic.LoadUint64(&bc.Metrics.KnownGapsReprocessError) + for value != expectedKnownGapsReprocessError { + time.Sleep(1 * time.Second) + curRetry = curRetry + 1 + if curRetry == maxRetry { + Fail(fmt.Sprintf("Too many retries have occurred. The number of knownGapsReprocessingErrors expected %d, the number that actually occurred, %d", expectedKnownGapsReprocessError, value)) + } + log.Debug("&bc.Metrics.KnownGapsReprocessError: ", &bc.Metrics.KnownGapsReprocessError) + value = atomic.LoadUint64(&bc.Metrics.KnownGapsReprocessError) + } + curRetry = 0 + value = atomic.LoadUint64(&bc.Metrics.ReorgInserts) + for value != expectedReorgs { + time.Sleep(1 * time.Second) + curRetry = curRetry + 1 + if curRetry == maxRetry { + Fail(fmt.Sprintf("Too many retries have occurred. The number of Reorgs expected %d, the number that actually occurred, %d", expectedReorgs, atomic.LoadUint64(&bc.Metrics.ReorgInserts))) + } + value = atomic.LoadUint64(&bc.Metrics.ReorgInserts) } - - Expect(atomic.LoadUint64(&bc.Metrics.KnownGapsInserts)).To(Equal(expectedKnownGaps)) - Expect(atomic.LoadUint64(&bc.Metrics.ReorgInserts)).To(Equal(expectedKnownGaps)) +} + +// A wrapper function to validate a few popular blocks +func validatePopularBatchBlocks(bc *beaconclient.BeaconClient) { + validateSlot(bc, BeaconNodeTester.TestEvents["100"].HeadMessage, 3, "proposed") + validateSignedBeaconBlock(bc, BeaconNodeTester.TestEvents["100"].HeadMessage, BeaconNodeTester.TestEvents["100"].CorrectParentRoot, BeaconNodeTester.TestEvents["100"].CorrectEth1BlockHash, BeaconNodeTester.TestEvents["100"].CorrectSignedBeaconBlockMhKey) + validateBeaconState(bc, BeaconNodeTester.TestEvents["100"].HeadMessage, BeaconNodeTester.TestEvents["100"].CorrectBeaconStateMhKey) + + validateSlot(bc, BeaconNodeTester.TestEvents["101"].HeadMessage, 3, "proposed") + validateSignedBeaconBlock(bc, BeaconNodeTester.TestEvents["101"].HeadMessage, BeaconNodeTester.TestEvents["100"].HeadMessage.Block, BeaconNodeTester.TestEvents["101"].CorrectEth1BlockHash, BeaconNodeTester.TestEvents["101"].CorrectSignedBeaconBlockMhKey) + validateBeaconState(bc, BeaconNodeTester.TestEvents["101"].HeadMessage, BeaconNodeTester.TestEvents["101"].CorrectBeaconStateMhKey) + + validateSlot(bc, BeaconNodeTester.TestEvents["2375703"].HeadMessage, 74240, "proposed") + validateSignedBeaconBlock(bc, BeaconNodeTester.TestEvents["2375703"].HeadMessage, BeaconNodeTester.TestEvents["2375703"].CorrectParentRoot, BeaconNodeTester.TestEvents["2375703"].CorrectEth1BlockHash, BeaconNodeTester.TestEvents["2375703"].CorrectSignedBeaconBlockMhKey) + validateBeaconState(bc, BeaconNodeTester.TestEvents["2375703"].HeadMessage, BeaconNodeTester.TestEvents["2375703"].CorrectBeaconStateMhKey) +} + +// Make sure all rows have checked_out as false. +func validateAllRowsCheckedOut(db sql.Database, checkStmt string) { + res, err := db.Exec(context.Background(), checkStmt) + Expect(err).ToNot(HaveOccurred()) + rows, err := res.RowsAffected() + Expect(err).ToNot(HaveOccurred()) + Expect(rows).To(Equal(int64(0))) } diff --git a/pkg/beaconclient/checkbeaconserverstatus.go b/pkg/beaconclient/checkbeaconserverstatus.go index 0d39498..55b3305 100644 --- a/pkg/beaconclient/checkbeaconserverstatus.go +++ b/pkg/beaconclient/checkbeaconserverstatus.go @@ -25,7 +25,7 @@ import ( "sync/atomic" log "github.com/sirupsen/logrus" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/loghelper" ) var ( diff --git a/pkg/beaconclient/databasewrite.go b/pkg/beaconclient/databasewrite.go index cc53646..b8f8aaf 100644 --- a/pkg/beaconclient/databasewrite.go +++ b/pkg/beaconclient/databasewrite.go @@ -22,61 +22,61 @@ import ( "github.com/jackc/pgx/v4" log "github.com/sirupsen/logrus" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/database/sql" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/loghelper" "golang.org/x/sync/errgroup" ) var ( - // Statement to upsert to the ethcl.slots table. + // Statement to upsert to the eth_beacon.slots table. UpsertSlotsStmt string = ` -INSERT INTO ethcl.slots (epoch, slot, block_root, state_root, status) +INSERT INTO eth_beacon.slots (epoch, slot, block_root, state_root, status) VALUES ($1, $2, $3, $4, $5) ON CONFLICT (slot, block_root) DO NOTHING` - // Statement to upsert to the ethcl.signed_beacon_blocks table. + // Statement to upsert to the eth_beacon.signed_blocks table. UpsertSignedBeaconBlockStmt string = ` -INSERT INTO ethcl.signed_beacon_block (slot, block_root, parent_block_root, eth1_block_hash, mh_key) +INSERT INTO eth_beacon.signed_block (slot, block_root, parent_block_root, eth1_block_hash, mh_key) VALUES ($1, $2, $3, $4, $5) ON CONFLICT (slot, block_root) DO NOTHING` - // Statement to upsert to the ethcl.beacon_state table. + // Statement to upsert to the eth_beacon.state table. UpsertBeaconState string = ` -INSERT INTO ethcl.beacon_state (slot, state_root, mh_key) +INSERT INTO eth_beacon.state (slot, state_root, mh_key) VALUES ($1, $2, $3) ON CONFLICT (slot, state_root) DO NOTHING` // Statement to upsert to the public.blocks table. UpsertBlocksStmt string = ` INSERT INTO public.blocks (key, data) VALUES ($1, $2) ON CONFLICT (key) DO NOTHING` - UpdateForkedStmt string = `UPDATE ethcl.slots + UpdateForkedStmt string = `UPDATE eth_beacon.slots SET status='forked' WHERE slot=$1 AND block_root<>$2 RETURNING block_root;` - UpdateProposedStmt string = `UPDATE ethcl.slots + UpdateProposedStmt string = `UPDATE eth_beacon.slots SET status='proposed' WHERE slot=$1 AND block_root=$2 RETURNING block_root;` CheckProposedStmt string = `SELECT slot, block_root - FROM ethcl.slots + FROM eth_beacon.slots WHERE slot=$1 AND block_root=$2;` - // Check to see if the slot and block_root exist in ethcl.signed_beacon_block + // Check to see if the slot and block_root exist in eth_beacon.signed_block CheckSignedBeaconBlockStmt string = `SELECT slot, block_root - FROM ethcl.signed_beacon_block + FROM eth_beacon.signed_block WHERE slot=$1 AND block_root=$2` - // Check to see if the slot and state_root exist in ethcl.beacon_state + // Check to see if the slot and state_root exist in eth_beacon.state CheckBeaconStateStmt string = `SELECT slot, state_root - FROM ethcl.beacon_state + FROM eth_beacon.state WHERE slot=$1 AND state_root=$2` // Used to get a single slot from the table if it exists QueryBySlotStmt string = `SELECT slot - FROM ethcl.slots + FROM eth_beacon.slots WHERE slot=$1` // Statement to insert known_gaps. We don't pass in timestamp, we let the server take care of that one. UpsertKnownGapsStmt string = ` -INSERT INTO ethcl.known_gaps (start_slot, end_slot, checked_out, reprocessing_error, entry_error, entry_process) +INSERT INTO eth_beacon.known_gaps (start_slot, end_slot, checked_out, reprocessing_error, entry_error, entry_process) VALUES ($1, $2, $3, $4, $5, $6) on CONFLICT (start_slot, end_slot) DO NOTHING` UpsertKnownGapsErrorStmt string = ` - UPDATE ethcl.known_gaps - SET reprocessing_error=$3 + UPDATE eth_beacon.known_gaps + SET reprocessing_error=$3, priority=priority+1 WHERE start_slot=$1 AND end_slot=$2;` // Get the highest slot if one exists - QueryHighestSlotStmt string = "SELECT COALESCE(MAX(slot), 0) FROM ethcl.slots" + QueryHighestSlotStmt string = "SELECT COALESCE(MAX(slot), 0) FROM eth_beacon.slots" ) // Put all functionality to prepare the write object @@ -123,7 +123,7 @@ func CreateDatabaseWrite(db sql.Database, slot int, stateRoot string, blockRoot // Write functions to write each all together... // Should I do one atomic write? -// Create the model for the ethcl.slots table +// Create the model for the eth_beacon.slots table func (dw *DatabaseWriter) prepareSlotsModel(slot int, stateRoot string, blockRoot string, status string) { dw.DbSlots = &DbSlots{ Epoch: calculateEpoch(slot, bcSlotsPerEpoch), @@ -136,7 +136,7 @@ func (dw *DatabaseWriter) prepareSlotsModel(slot int, stateRoot string, blockRoo } -// Create the model for the ethcl.signed_beacon_block table. +// Create the model for the eth_beacon.signed_block table. func (dw *DatabaseWriter) prepareSignedBeaconBlockModel(slot int, blockRoot string, parentBlockRoot string, eth1BlockHash string) error { mhKey, err := MultihashKeyFromSSZRoot([]byte(dw.DbSlots.BlockRoot)) if err != nil { @@ -153,7 +153,7 @@ func (dw *DatabaseWriter) prepareSignedBeaconBlockModel(slot int, blockRoot stri return nil } -// Create the model for the ethcl.beacon_state table. +// Create the model for the eth_beacon.state table. func (dw *DatabaseWriter) prepareBeaconStateModel(slot int, stateRoot string) error { mhKey, err := MultihashKeyFromSSZRoot([]byte(dw.DbSlots.StateRoot)) if err != nil { @@ -177,10 +177,10 @@ func (dw *DatabaseWriter) transactFullSlot() error { }).Debug("Starting to write to the DB.") err := dw.transactSlots() if err != nil { - loghelper.LogSlotError(dw.DbSlots.Slot, err).Error("We couldn't write to the ethcl.slots table...") + loghelper.LogSlotError(dw.DbSlots.Slot, err).Error("We couldn't write to the eth_beacon.slots table...") return err } - log.Debug("We finished writing to the ethcl.slots table.") + log.Debug("We finished writing to the eth_beacon.slots table.") if dw.DbSlots.Status != "skipped" { //errG, _ := errgroup.WithContext(context.Background()) //errG.Go(func() error { @@ -190,18 +190,18 @@ func (dw *DatabaseWriter) transactFullSlot() error { // return dw.transactBeaconState() //}) //if err := errG.Wait(); err != nil { - // loghelper.LogSlotError(dw.DbSlots.Slot, err).Error("We couldn't write to the ethcl block or state table...") + // loghelper.LogSlotError(dw.DbSlots.Slot, err).Error("We couldn't write to the eth_beacon block or state table...") // return err //} // Might want to seperate writing to public.blocks so we can do this concurrently... err := dw.transactSignedBeaconBlocks() if err != nil { - loghelper.LogSlotError(dw.DbSlots.Slot, err).Error("We couldn't write to the ethcl block table...") + loghelper.LogSlotError(dw.DbSlots.Slot, err).Error("We couldn't write to the eth_beacon block table...") return err } err = dw.transactBeaconState() if err != nil { - loghelper.LogSlotError(dw.DbSlots.Slot, err).Error("We couldn't write to the ethcl state table...") + loghelper.LogSlotError(dw.DbSlots.Slot, err).Error("We couldn't write to the eth_beacon state table...") return err } } @@ -209,24 +209,24 @@ func (dw *DatabaseWriter) transactFullSlot() error { return nil } -// Add data for the ethcl.slots table to a transaction. For now this is only one function. +// Add data for the eth_beacon.slots table to a transaction. For now this is only one function. // But in the future if we need to incorporate any FK's or perform any actions to write to the // slots table we can do it all here. func (dw *DatabaseWriter) transactSlots() error { return dw.upsertSlots() } -// Upsert to the ethcl.slots table. +// Upsert to the eth_beacon.slots table. func (dw *DatabaseWriter) upsertSlots() error { _, err := dw.Tx.Exec(dw.Ctx, UpsertSlotsStmt, dw.DbSlots.Epoch, dw.DbSlots.Slot, dw.DbSlots.BlockRoot, dw.DbSlots.StateRoot, dw.DbSlots.Status) if err != nil { - loghelper.LogSlotError(dw.DbSlots.Slot, err).Error("Unable to write to the slot to the ethcl.slots table") + loghelper.LogSlotError(dw.DbSlots.Slot, err).Error("Unable to write to the slot to the eth_beacon.slots table") return err } return nil } -// Add the information for the signed_beacon_block to a transaction. +// Add the information for the signed_block to a transaction. func (dw *DatabaseWriter) transactSignedBeaconBlocks() error { err := dw.upsertPublicBlocks(dw.DbSignedBeaconBlock.MhKey, dw.rawSignedBeaconBlock) if err != nil { @@ -249,17 +249,17 @@ func (dw *DatabaseWriter) upsertPublicBlocks(key string, data []byte) error { return nil } -// Upsert to the ethcl.signed_beacon_block table. +// Upsert to the eth_beacon.signed_block table. func (dw *DatabaseWriter) upsertSignedBeaconBlock() error { _, err := dw.Tx.Exec(dw.Ctx, UpsertSignedBeaconBlockStmt, dw.DbSignedBeaconBlock.Slot, dw.DbSignedBeaconBlock.BlockRoot, dw.DbSignedBeaconBlock.ParentBlock, dw.DbSignedBeaconBlock.Eth1BlockHash, dw.DbSignedBeaconBlock.MhKey) if err != nil { - loghelper.LogSlotError(dw.DbSlots.Slot, err).WithFields(log.Fields{"block_root": dw.DbSignedBeaconBlock.BlockRoot}).Error("Unable to write to the slot to the ethcl.signed_beacon_block table") + loghelper.LogSlotError(dw.DbSlots.Slot, err).WithFields(log.Fields{"block_root": dw.DbSignedBeaconBlock.BlockRoot}).Error("Unable to write to the slot to the eth_beacon.signed_block table") return err } return nil } -// Add the information for the beacon_state to a transaction. +// Add the information for the state to a transaction. func (dw *DatabaseWriter) transactBeaconState() error { err := dw.upsertPublicBlocks(dw.DbBeaconState.MhKey, dw.rawBeaconState) if err != nil { @@ -272,11 +272,11 @@ func (dw *DatabaseWriter) transactBeaconState() error { return nil } -// Upsert to the ethcl.beacon_state table. +// Upsert to the eth_beacon.state table. func (dw *DatabaseWriter) upsertBeaconState() error { _, err := dw.Tx.Exec(dw.Ctx, UpsertBeaconState, dw.DbBeaconState.Slot, dw.DbBeaconState.StateRoot, dw.DbBeaconState.MhKey) if err != nil { - loghelper.LogSlotError(dw.DbSlots.Slot, err).Error("Unable to write to the slot to the ethcl.beacon_state table") + loghelper.LogSlotError(dw.DbSlots.Slot, err).Error("Unable to write to the slot to the eth_beacon.state table") return err } return nil @@ -351,7 +351,7 @@ func writeReorgs(db sql.Database, slot string, latestBlockRoot string, metrics * func updateForked(tx sql.Tx, ctx context.Context, slot string, latestBlockRoot string) (int64, error) { res, err := tx.Exec(ctx, UpdateForkedStmt, slot, latestBlockRoot) if err != nil { - loghelper.LogReorgError(slot, latestBlockRoot, err).Error("We are unable to update the ethcl.slots table with the forked slots") + loghelper.LogReorgError(slot, latestBlockRoot, err).Error("We are unable to update the eth_beacon.slots table with the forked slots") return 0, err } count, err := res.RowsAffected() @@ -366,7 +366,7 @@ func updateForked(tx sql.Tx, ctx context.Context, slot string, latestBlockRoot s func updateProposed(tx sql.Tx, ctx context.Context, slot string, latestBlockRoot string) (int64, error) { res, err := tx.Exec(ctx, UpdateProposedStmt, slot, latestBlockRoot) if err != nil { - loghelper.LogReorgError(slot, latestBlockRoot, err).Error("We are unable to update the ethcl.slots table with the proposed slot.") + loghelper.LogReorgError(slot, latestBlockRoot, err).Error("We are unable to update the eth_beacon.slots table with the proposed slot.") return 0, err } count, err := res.RowsAffected() @@ -447,7 +447,7 @@ func writeKnownGaps(db sql.Database, tableIncrement int, startSlot int, endSlot } } -// A function to upsert a single entry to the ethcl.known_gaps table. +// A function to upsert a single entry to the eth_beacon.known_gaps table. func upsertKnownGaps(tx sql.Tx, ctx context.Context, knModel DbKnownGaps, metric *BeaconClientMetrics) { _, err := tx.Exec(ctx, UpsertKnownGapsStmt, knModel.StartSlot, knModel.EndSlot, knModel.CheckedOut, knModel.ReprocessingError, knModel.EntryError, knModel.EntryProcess) @@ -456,12 +456,12 @@ func upsertKnownGaps(tx sql.Tx, ctx context.Context, knModel DbKnownGaps, metric "err": err, "startSlot": knModel.StartSlot, "endSlot": knModel.EndSlot, - }).Fatal("We are unable to write to the ethcl.known_gaps table!!! We will stop the application because of that.") + }).Fatal("We are unable to write to the eth_beacon.known_gaps table!!! We will stop the application because of that.") } log.WithFields(log.Fields{ "startSlot": knModel.StartSlot, "endSlot": knModel.EndSlot, - }).Warn("A new gap has been added to the ethcl.known_gaps table.") + }).Warn("A new gap has been added to the eth_beacon.known_gaps table.") metric.IncrementKnownGapsInserts(1) } @@ -479,7 +479,18 @@ func writeStartUpGaps(db sql.Database, tableIncrement int, firstSlot int, metric }).Fatal("Unable to get convert max block from DB to int. We must close the application or we might have undetected gaps.") } if maxSlot != firstSlot-1 { - writeKnownGaps(db, tableIncrement, maxSlot+1, firstSlot-1, fmt.Errorf(""), "startup", metric) + if maxSlot < firstSlot-1 { + if maxSlot == 0 { + writeKnownGaps(db, tableIncrement, maxSlot, firstSlot-1, fmt.Errorf(""), "startup", metric) + } else { + writeKnownGaps(db, tableIncrement, maxSlot+1, firstSlot-1, fmt.Errorf(""), "startup", metric) + } + } else { + log.WithFields(log.Fields{ + "maxSlot": maxSlot, + "firstSlot": firstSlot, + }).Warn("The maxSlot in the DB is greater than or equal to the first Slot we are processing.") + } } } @@ -488,23 +499,21 @@ func updateKnownGapErrors(db sql.Database, startSlot int, endSlot int, reprocess res, err := db.Exec(context.Background(), UpsertKnownGapsErrorStmt, startSlot, endSlot, reprocessingErr.Error()) if err != nil { loghelper.LogSlotRangeError(strconv.Itoa(startSlot), strconv.Itoa(endSlot), err).Error("Unable to update reprocessing_error") - metric.IncrementKnownGapsProcessingError(1) return err } row, err := res.RowsAffected() if err != nil { loghelper.LogSlotRangeError(strconv.Itoa(startSlot), strconv.Itoa(endSlot), err).Error("Unable to count rows affected when trying to update reprocessing_error.") - metric.IncrementKnownGapsProcessingError(1) return err } if row != 1 { loghelper.LogSlotRangeError(strconv.Itoa(startSlot), strconv.Itoa(endSlot), err).WithFields(log.Fields{ "rowCount": row, }).Error("The rows affected by the upsert for reprocessing_error is not 1.") - metric.IncrementKnownGapsProcessingError(1) + metric.IncrementKnownGapsReprocessError(1) return err } - metric.IncrementKnownGapsProcessed(1) + metric.IncrementKnownGapsReprocessError(1) return nil } @@ -530,9 +539,9 @@ func isSlotProcessed(db sql.Database, checkProcessStmt string, slot string) (boo return false, nil } -// Check to see if this slot is in the DB. Check ethcl.slots, ethcl.signed_beacon_block -// and ethcl.beacon_state. If the slot exists, return true -func IsSlotInDb(db sql.Database, slot string, blockRoot string, stateRoot string) (bool, error) { +// Check to see if this slot is in the DB. Check eth_beacon.slots, eth_beacon.signed_block +// and eth_beacon.state. If the slot exists, return true +func IsSlotInDb(ctx context.Context, db sql.Database, slot string, blockRoot string, stateRoot string) (bool, error) { var ( isInBeaconState bool isInSignedBeaconBlock bool @@ -540,18 +549,28 @@ func IsSlotInDb(db sql.Database, slot string, blockRoot string, stateRoot string ) errG, _ := errgroup.WithContext(context.Background()) errG.Go(func() error { - isInBeaconState, err = checkSlotAndRoot(db, CheckBeaconStateStmt, slot, stateRoot) - if err != nil { - loghelper.LogError(err).Error("Unable to check if the slot and stateroot exist in ethcl.beacon_state") + select { + case <-ctx.Done(): + return nil + default: + isInBeaconState, err = checkSlotAndRoot(db, CheckBeaconStateStmt, slot, stateRoot) + if err != nil { + loghelper.LogError(err).Error("Unable to check if the slot and stateroot exist in eth_beacon.state") + } + return err } - return err }) errG.Go(func() error { - isInSignedBeaconBlock, err = checkSlotAndRoot(db, CheckSignedBeaconBlockStmt, slot, blockRoot) - if err != nil { - loghelper.LogError(err).Error("Unable to check if the slot and block_root exist in ethcl.signed_beacon_block") + select { + case <-ctx.Done(): + return nil + default: + isInSignedBeaconBlock, err = checkSlotAndRoot(db, CheckSignedBeaconBlockStmt, slot, blockRoot) + if err != nil { + loghelper.LogError(err).Error("Unable to check if the slot and block_root exist in eth_beacon.signed_block") + } + return err } - return err }) if err := errG.Wait(); err != nil { return false, err diff --git a/pkg/beaconclient/healthcheck.go b/pkg/beaconclient/healthcheck.go index fb0a0e5..57ced99 100644 --- a/pkg/beaconclient/healthcheck.go +++ b/pkg/beaconclient/healthcheck.go @@ -20,7 +20,7 @@ import ( "net/http" log "github.com/sirupsen/logrus" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/loghelper" ) // This function will ensure that we can connect to the beacon client. diff --git a/pkg/beaconclient/healthcheck_test.go b/pkg/beaconclient/healthcheck_test.go index 23d55cc..c7a642a 100644 --- a/pkg/beaconclient/healthcheck_test.go +++ b/pkg/beaconclient/healthcheck_test.go @@ -20,7 +20,7 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - beaconclient "github.com/vulcanize/ipld-ethcl-indexer/pkg/beaconclient" + beaconclient "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient" ) var _ = Describe("Healthcheck", func() { diff --git a/pkg/beaconclient/incomingsse.go b/pkg/beaconclient/incomingsse.go index 98e44b6..cdb4891 100644 --- a/pkg/beaconclient/incomingsse.go +++ b/pkg/beaconclient/incomingsse.go @@ -22,7 +22,7 @@ import ( "time" log "github.com/sirupsen/logrus" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/loghelper" "golang.org/x/sync/errgroup" ) diff --git a/pkg/beaconclient/metrics.go b/pkg/beaconclient/metrics.go index 086d7a7..d704f1f 100644 --- a/pkg/beaconclient/metrics.go +++ b/pkg/beaconclient/metrics.go @@ -19,20 +19,20 @@ import ( "sync/atomic" "github.com/prometheus/client_golang/prometheus" - "github.com/sirupsen/logrus" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper" + log "github.com/sirupsen/logrus" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/loghelper" ) //Create a metric struct and register each channel with prometheus func CreateBeaconClientMetrics() (*BeaconClientMetrics, error) { metrics := &BeaconClientMetrics{ - SlotInserts: 0, - ReorgInserts: 0, - KnownGapsInserts: 0, - knownGapsProcessed: 0, - KnownGapsProcessingError: 0, - HeadError: 0, - HeadReorgError: 0, + SlotInserts: 0, + ReorgInserts: 0, + KnownGapsInserts: 0, + KnownGapsProcessed: 0, + KnownGapsReprocessError: 0, + HeadError: 0, + HeadReorgError: 0, } err := prometheusRegisterHelper("slot_inserts", "Keeps track of the number of slots we have inserted.", &metrics.SlotInserts) if err != nil { @@ -46,11 +46,11 @@ func CreateBeaconClientMetrics() (*BeaconClientMetrics, error) { if err != nil { return nil, err } - err = prometheusRegisterHelper("known_gaps_processed", "Keeps track of the number of known gaps we processed.", &metrics.knownGapsProcessed) + err = prometheusRegisterHelper("known_gaps_reprocess_error", "Keeps track of the number of known gaps that had errors when reprocessing, but the error was updated successfully.", &metrics.KnownGapsReprocessError) if err != nil { return nil, err } - err = prometheusRegisterHelper("known_gaps_processing_error", "Keeps track of the number of known gaps we had errors processing.", &metrics.KnownGapsProcessingError) + err = prometheusRegisterHelper("known_gaps_processed", "Keeps track of the number of known gaps we successfully processed.", &metrics.KnownGapsProcessed) if err != nil { return nil, err } @@ -86,19 +86,19 @@ func prometheusRegisterHelper(name string, help string, varPointer *uint64) erro // A structure utilized for keeping track of various metrics. Currently, mostly used in testing. type BeaconClientMetrics struct { - SlotInserts uint64 // Number of head events we successfully wrote to the DB. - ReorgInserts uint64 // Number of reorg events we successfully wrote to the DB. - KnownGapsInserts uint64 // Number of known_gaps we successfully wrote to the DB. - knownGapsProcessed uint64 // Number of knownGaps processed. - KnownGapsProcessingError uint64 // Number of errors that occurred while processing a knownGap - HeadError uint64 // Number of errors that occurred when decoding the head message. - HeadReorgError uint64 // Number of errors that occurred when decoding the reorg message. + SlotInserts uint64 // Number of head events we successfully wrote to the DB. + ReorgInserts uint64 // Number of reorg events we successfully wrote to the DB. + KnownGapsInserts uint64 // Number of known_gaps we successfully wrote to the DB. + KnownGapsProcessed uint64 // Number of knownGaps processed. + KnownGapsReprocessError uint64 // Number of knownGaps that were updated with an error. + HeadError uint64 // Number of errors that occurred when decoding the head message. + HeadReorgError uint64 // Number of errors that occurred when decoding the reorg message. } // Wrapper function to increment inserts. If we want to use mutexes later we can easily update all // occurrences here. func (m *BeaconClientMetrics) IncrementSlotInserts(inc uint64) { - logrus.Debug("Incrementing Slot Insert") + log.Debug("Incrementing Slot Insert") atomic.AddUint64(&m.SlotInserts, inc) } @@ -117,13 +117,7 @@ func (m *BeaconClientMetrics) IncrementKnownGapsInserts(inc uint64) { // Wrapper function to increment known gaps processed. If we want to use mutexes later we can easily update all // occurrences here. func (m *BeaconClientMetrics) IncrementKnownGapsProcessed(inc uint64) { - atomic.AddUint64(&m.knownGapsProcessed, inc) -} - -// Wrapper function to increment known gaps processing error. If we want to use mutexes later we can easily update all -// occurrences here. -func (m *BeaconClientMetrics) IncrementKnownGapsProcessingError(inc uint64) { - atomic.AddUint64(&m.KnownGapsProcessingError, inc) + atomic.AddUint64(&m.KnownGapsProcessed, inc) } // Wrapper function to increment head errors. If we want to use mutexes later we can easily update all @@ -137,3 +131,10 @@ func (m *BeaconClientMetrics) IncrementHeadError(inc uint64) { func (m *BeaconClientMetrics) IncrementReorgError(inc uint64) { atomic.AddUint64(&m.HeadReorgError, inc) } + +// Wrapper function to increment the number of knownGaps that were updated with reprocessing errors. +//If we want to use mutexes later we can easily update all occurrences here. +func (m *BeaconClientMetrics) IncrementKnownGapsReprocessError(inc uint64) { + log.Debug("Incrementing Known Gap Reprocessing: ", &m.KnownGapsReprocessError) + atomic.AddUint64(&m.KnownGapsReprocessError, inc) +} diff --git a/pkg/beaconclient/models.go b/pkg/beaconclient/models.go index a80f15c..b36faff 100644 --- a/pkg/beaconclient/models.go +++ b/pkg/beaconclient/models.go @@ -51,7 +51,7 @@ type ChainReorg struct { ExecutionOptimistic bool `json:"execution_optimistic"` } -// A struct to capture whats being written to the ethcl.slots table. +// A struct to capture whats being written to the eth-beacon.slots table. type DbSlots struct { Epoch string // The epoch. Slot string // The slot. @@ -60,7 +60,7 @@ type DbSlots struct { Status string // The status, it can be proposed | forked | skipped. } -// A struct to capture whats being written to ethcl.signed_beacon_block table. +// A struct to capture whats being written to eth-beacon.signed_block table. type DbSignedBeaconBlock struct { Slot string // The slot. BlockRoot string // The block root @@ -70,14 +70,14 @@ type DbSignedBeaconBlock struct { } -// A struct to capture whats being written to ethcl.beacon_state table. +// A struct to capture whats being written to eth-beacon.state table. type DbBeaconState struct { Slot string // The slot. StateRoot string // The state root MhKey string // The ipld multihash key. } -// A structure to capture whats being written to the ethcl.known_gaps table. +// A structure to capture whats being written to the eth-beacon.known_gaps table. type DbKnownGaps struct { StartSlot string // The start slot for known_gaps, inclusive. EndSlot string // The end slot for known_gaps, inclusive. diff --git a/pkg/beaconclient/multihash.go b/pkg/beaconclient/multihash.go index 1407046..875018b 100644 --- a/pkg/beaconclient/multihash.go +++ b/pkg/beaconclient/multihash.go @@ -20,7 +20,7 @@ import ( dshelp "github.com/ipfs/go-ipfs-ds-help" "github.com/multiformats/go-multihash" log "github.com/sirupsen/logrus" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/loghelper" ) const SSZ_SHA2_256_PREFIX uint64 = 0xb502 diff --git a/pkg/beaconclient/processevents.go b/pkg/beaconclient/processevents.go index 457a116..8dd5520 100644 --- a/pkg/beaconclient/processevents.go +++ b/pkg/beaconclient/processevents.go @@ -53,13 +53,19 @@ func (bc *BeaconClient) handleHead() { if errorSlots != 0 && bc.PreviousSlot != 0 { log.WithFields(log.Fields{ "lastProcessedSlot": bc.PreviousSlot, - "errorMessages": errorSlots, + "errorSlots": errorSlots, }).Warn("We added slots to the knownGaps table because we got bad head messages.") - writeKnownGaps(bc.Db, bc.KnownGapTableIncrement, bc.PreviousSlot, bcSlotsPerEpoch+errorSlots, fmt.Errorf("Bad Head Messages"), "headProcessing", bc.Metrics) + writeKnownGaps(bc.Db, bc.KnownGapTableIncrement, bc.PreviousSlot+1, slot, fmt.Errorf("Bad Head Messages"), "headProcessing", bc.Metrics) + errorSlots = 0 } log.WithFields(log.Fields{"head": head}).Debug("We are going to start processing the slot.") + // Not used anywhere yet but might be useful to have. + if bc.PreviousSlot == 0 && bc.PreviousBlockRoot == "" { + bc.StartingSlot = slot + } + go processHeadSlot(bc.Db, bc.ServerEndpoint, slot, head.Block, head.State, bc.PreviousSlot, bc.PreviousBlockRoot, bc.Metrics, bc.KnownGapTableIncrement, bc.CheckDb) log.WithFields(log.Fields{"head": head.Slot}).Debug("We finished calling processHeadSlot.") diff --git a/pkg/beaconclient/processhistoric.go b/pkg/beaconclient/processhistoric.go index af6e735..dcff8f4 100644 --- a/pkg/beaconclient/processhistoric.go +++ b/pkg/beaconclient/processhistoric.go @@ -26,85 +26,96 @@ import ( "github.com/jackc/pgx/v4" log "github.com/sirupsen/logrus" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/database/sql" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/loghelper" ) var ( - // Get a single highest priority and non-checked out row row from ethcl.historical_process - getHpEntryStmt string = `SELECT start_slot, end_slot FROM ethcl.historic_process + // Get a single highest priority and non-checked out row row from eth_beacon.historical_process + getHpEntryStmt string = `SELECT start_slot, end_slot FROM eth_beacon.historic_process WHERE checked_out=false ORDER BY priority ASC LIMIT 1;` - // Used to periodically check to see if there is a new entry in the ethcl.historic_process table. - checkHpEntryStmt string = `SELECT * FROM ethcl.historic_process WHERE checked_out=false;` - // Used to checkout a row from the ethcl.historic_process table - lockHpEntryStmt string = `UPDATE ethcl.historic_process + // Used to periodically check to see if there is a new entry in the eth_beacon.historic_process table. + checkHpEntryStmt string = `SELECT * FROM eth_beacon.historic_process WHERE checked_out=false;` + // Used to checkout a row from the eth_beacon.historic_process table + lockHpEntryStmt string = `UPDATE eth_beacon.historic_process SET checked_out=true, checked_out_by=$3 WHERE start_slot=$1 AND end_slot=$2;` - // Used to delete an entry from the ethcl.historic_process table - deleteHpEntryStmt string = `DELETE FROM ethcl.historic_process + // Used to delete an entry from the eth_beacon.historic_process table + deleteHpEntryStmt string = `DELETE FROM eth_beacon.historic_process WHERE start_slot=$1 AND end_slot=$2;` // Used to update every single row that this node has checked out. - releaseHpLockStmt string = `UPDATE ethcl.historic_process - SET checked_out=false + releaseHpLockStmt string = `UPDATE eth_beacon.historic_process + SET checked_out=false, checked_out_by=null WHERE checked_out_by=$1` ) -type historicProcessing struct { +type HistoricProcessing struct { db sql.Database //db connection metrics *BeaconClientMetrics // metrics for beaconclient uniqueNodeIdentifier int // node unique identifier. - finishProcessing chan int // A channel which indicates to the process handleBatchProcess function that its time to end. } // Get a single row of historical slots from the table. -func (hp historicProcessing) getSlotRange(slotCh chan<- slotsToProcess) []error { - return getBatchProcessRow(hp.db, getHpEntryStmt, checkHpEntryStmt, lockHpEntryStmt, slotCh, strconv.Itoa(hp.uniqueNodeIdentifier)) +func (hp HistoricProcessing) getSlotRange(ctx context.Context, slotCh chan<- slotsToProcess) []error { + return getBatchProcessRow(ctx, hp.db, getHpEntryStmt, checkHpEntryStmt, lockHpEntryStmt, slotCh, strconv.Itoa(hp.uniqueNodeIdentifier)) } // Remove the table entry. -func (hp historicProcessing) removeTableEntry(processCh <-chan slotsToProcess) error { - return removeRowPostProcess(hp.db, processCh, QueryBySlotStmt, deleteHpEntryStmt) +func (hp HistoricProcessing) removeTableEntry(ctx context.Context, processCh <-chan slotsToProcess) error { + return removeRowPostProcess(ctx, hp.db, processCh, QueryBySlotStmt, deleteHpEntryStmt) } // Remove the table entry. -func (hp historicProcessing) handleProcessingErrors(errMessages <-chan batchHistoricError) { +func (hp HistoricProcessing) handleProcessingErrors(ctx context.Context, errMessages <-chan batchHistoricError) { for { - errMs := <-errMessages - loghelper.LogSlotError(strconv.Itoa(errMs.slot), errMs.err) - writeKnownGaps(hp.db, 1, errMs.slot, errMs.slot, errMs.err, errMs.errProcess, hp.metrics) + select { + case <-ctx.Done(): + return + case errMs := <-errMessages: + loghelper.LogSlotError(strconv.Itoa(errMs.slot), errMs.err) + writeKnownGaps(hp.db, 1, errMs.slot, errMs.slot, errMs.err, errMs.errProcess, hp.metrics) + } } } -func (hp historicProcessing) releaseDbLocks() error { - go func() { hp.finishProcessing <- 1 }() - log.Debug("Updating all the entries to ethcl.historical processing") +// "un"-checkout the rows held by this DB in the eth_beacon.historical_process table. +func (hp HistoricProcessing) releaseDbLocks(cancel context.CancelFunc) error { + cancel() + log.Debug("Updating all the entries to eth_beacon.historical processing") + log.Debug("Db: ", hp.db) + log.Debug("hp.uniqueNodeIdentifier ", hp.uniqueNodeIdentifier) res, err := hp.db.Exec(context.Background(), releaseHpLockStmt, hp.uniqueNodeIdentifier) if err != nil { - return fmt.Errorf("Unable to remove lock from ethcl.historical_processing table for node %d, error is %e", hp.uniqueNodeIdentifier, err) + return fmt.Errorf("Unable to remove lock from eth_beacon.historical_processing table for node %d, error is %e", hp.uniqueNodeIdentifier, err) } - log.Debug("Update all the entries to ethcl.historical processing") + log.Debug("Update all the entries to eth_beacon.historical processing") rows, err := res.RowsAffected() if err != nil { - return fmt.Errorf("Unable to calculated number of rows affected by releasing locks from ethcl.historical_processing table for node %d, error is %e", hp.uniqueNodeIdentifier, err) + return fmt.Errorf("Unable to calculated number of rows affected by releasing locks from eth_beacon.historical_processing table for node %d, error is %e", hp.uniqueNodeIdentifier, err) } log.WithField("rowCount", rows).Info("Released historicalProcess locks for specified rows.") return nil } // Process the slot range. -func processSlotRangeWorker(workCh <-chan int, errCh chan<- batchHistoricError, db sql.Database, serverAddress string, metrics *BeaconClientMetrics, checkDb bool) { - for slot := range workCh { - log.Debug("Handling slot: ", slot) - err, errProcess := handleHistoricSlot(db, serverAddress, slot, metrics, checkDb) - if err != nil { - errMs := batchHistoricError{ - err: err, - errProcess: errProcess, - slot: slot, +func processSlotRangeWorker(ctx context.Context, workCh <-chan int, errCh chan<- batchHistoricError, db sql.Database, serverAddress string, metrics *BeaconClientMetrics, checkDb bool) { + for { + select { + case <-ctx.Done(): + return + case slot := <-workCh: + log.Debug("Handling slot: ", slot) + err, errProcess := handleHistoricSlot(ctx, db, serverAddress, slot, metrics, checkDb) + if err != nil { + errMs := batchHistoricError{ + err: err, + errProcess: errProcess, + slot: slot, + } + errCh <- errMs } - errCh <- errMs } } } @@ -113,96 +124,102 @@ func processSlotRangeWorker(workCh <-chan int, errCh chan<- batchHistoricError, // It also locks the row by updating the checked_out column. // The statement for getting the start_slot and end_slot must be provided. // The statement for "locking" the row must also be provided. -func getBatchProcessRow(db sql.Database, getStartEndSlotStmt string, checkNewRowsStmt string, checkOutRowStmt string, slotCh chan<- slotsToProcess, uniqueNodeIdentifier string) []error { +func getBatchProcessRow(ctx context.Context, db sql.Database, getStartEndSlotStmt string, checkNewRowsStmt string, checkOutRowStmt string, slotCh chan<- slotsToProcess, uniqueNodeIdentifier string) []error { errCount := make([]error, 0) // 5 is an arbitrary number. It allows us to retry a few times before // ending the application. prevErrCount := 0 for len(errCount) < 5 { - if len(errCount) != prevErrCount { - log.WithFields(log.Fields{ - "errCount": errCount, - }).Error("New error entry added") - } - processRow, err := db.Exec(context.Background(), checkNewRowsStmt) - if err != nil { - errCount = append(errCount, err) - } - row, err := processRow.RowsAffected() - if err != nil { - errCount = append(errCount, err) - } - if row < 1 { - time.Sleep(1000 * time.Millisecond) - log.Debug("We are checking rows, be patient") - continue - } - log.Debug("We found a new row") - ctx := context.Background() - - // Setup TX - tx, err := db.Begin(ctx) - if err != nil { - loghelper.LogError(err).Error("We are unable to Begin a SQL transaction") - errCount = append(errCount, err) - continue - } - defer func() { - err := tx.Rollback(ctx) - if err != nil && err != pgx.ErrTxClosed { - loghelper.LogError(err).Error("We were unable to Rollback a transaction") + select { + case <-ctx.Done(): + return errCount + default: + if len(errCount) != prevErrCount { + log.WithFields(log.Fields{ + "errCount": errCount, + }).Error("New error entry added") + } + processRow, err := db.Exec(context.Background(), checkNewRowsStmt) + if err != nil { errCount = append(errCount, err) } - }() - - // Query the DB for slots. - sp := slotsToProcess{} - err = tx.QueryRow(ctx, getStartEndSlotStmt).Scan(&sp.startSlot, &sp.endSlot) - if err != nil { - if err == pgx.ErrNoRows { - time.Sleep(100 * time.Millisecond) - continue + row, err := processRow.RowsAffected() + if err != nil { + errCount = append(errCount, err) } - loghelper.LogSlotRangeStatementError(strconv.Itoa(sp.startSlot), strconv.Itoa(sp.endSlot), getStartEndSlotStmt, err).Error("Unable to get a row") - errCount = append(errCount, err) - continue - } + if row < 1 { + time.Sleep(1000 * time.Millisecond) + log.Debug("We are checking rows, be patient") + break + } + log.Debug("We found a new row") + dbCtx := context.Background() - // Checkout the Row - res, err := tx.Exec(ctx, checkOutRowStmt, sp.startSlot, sp.endSlot, uniqueNodeIdentifier) - if err != nil { - loghelper.LogSlotRangeStatementError(strconv.Itoa(sp.startSlot), strconv.Itoa(sp.endSlot), checkOutRowStmt, err).Error("Unable to checkout the row") - errCount = append(errCount, err) - continue + // Setup TX + tx, err := db.Begin(dbCtx) + if err != nil { + loghelper.LogError(err).Error("We are unable to Begin a SQL transaction") + errCount = append(errCount, err) + break + } + defer func() { + err := tx.Rollback(dbCtx) + if err != nil && err != pgx.ErrTxClosed { + loghelper.LogError(err).Error("We were unable to Rollback a transaction") + errCount = append(errCount, err) + } + }() + + // Query the DB for slots. + sp := slotsToProcess{} + err = tx.QueryRow(dbCtx, getStartEndSlotStmt).Scan(&sp.startSlot, &sp.endSlot) + if err != nil { + if err == pgx.ErrNoRows { + time.Sleep(100 * time.Millisecond) + break + } + loghelper.LogSlotRangeStatementError(strconv.Itoa(sp.startSlot), strconv.Itoa(sp.endSlot), getStartEndSlotStmt, err).Error("Unable to get a row") + errCount = append(errCount, err) + break + } + + // Checkout the Row + res, err := tx.Exec(dbCtx, checkOutRowStmt, sp.startSlot, sp.endSlot, uniqueNodeIdentifier) + if err != nil { + loghelper.LogSlotRangeStatementError(strconv.Itoa(sp.startSlot), strconv.Itoa(sp.endSlot), checkOutRowStmt, err).Error("Unable to checkout the row") + errCount = append(errCount, err) + break + } + rows, err := res.RowsAffected() + if err != nil { + loghelper.LogSlotRangeStatementError(strconv.Itoa(sp.startSlot), strconv.Itoa(sp.endSlot), checkOutRowStmt, fmt.Errorf("Unable to determine the rows affected when trying to checkout a row.")) + errCount = append(errCount, err) + break + } + if rows > 1 { + loghelper.LogSlotRangeStatementError(strconv.Itoa(sp.startSlot), strconv.Itoa(sp.endSlot), checkOutRowStmt, err).WithFields(log.Fields{ + "rowsReturn": rows, + }).Error("We locked too many rows.....") + errCount = append(errCount, err) + break + } + if rows == 0 { + loghelper.LogSlotRangeStatementError(strconv.Itoa(sp.startSlot), strconv.Itoa(sp.endSlot), checkOutRowStmt, err).WithFields(log.Fields{ + "rowsReturn": rows, + }).Error("We did not lock a single row.") + errCount = append(errCount, err) + break + } + err = tx.Commit(dbCtx) + if err != nil { + loghelper.LogSlotRangeError(strconv.Itoa(sp.startSlot), strconv.Itoa(sp.endSlot), err).Error("Unable commit transactions.") + errCount = append(errCount, err) + break + } + log.WithField("slots", sp).Debug("Added a new slots to be processed") + slotCh <- sp } - rows, err := res.RowsAffected() - if err != nil { - loghelper.LogSlotRangeStatementError(strconv.Itoa(sp.startSlot), strconv.Itoa(sp.endSlot), checkOutRowStmt, fmt.Errorf("Unable to determine the rows affected when trying to checkout a row.")) - errCount = append(errCount, err) - continue - } - if rows > 1 { - loghelper.LogSlotRangeStatementError(strconv.Itoa(sp.startSlot), strconv.Itoa(sp.endSlot), checkOutRowStmt, err).WithFields(log.Fields{ - "rowsReturn": rows, - }).Error("We locked too many rows.....") - errCount = append(errCount, err) - continue - } - if rows == 0 { - loghelper.LogSlotRangeStatementError(strconv.Itoa(sp.startSlot), strconv.Itoa(sp.endSlot), checkOutRowStmt, err).WithFields(log.Fields{ - "rowsReturn": rows, - }).Error("We did not lock a single row.") - errCount = append(errCount, err) - continue - } - err = tx.Commit(ctx) - if err != nil { - loghelper.LogSlotRangeError(strconv.Itoa(sp.startSlot), strconv.Itoa(sp.endSlot), err).Error("Unable commit transactions.") - errCount = append(errCount, err) - continue - } - slotCh <- sp } log.WithFields(log.Fields{ "ErrCount": errCount, @@ -211,35 +228,39 @@ func getBatchProcessRow(db sql.Database, getStartEndSlotStmt string, checkNewRow } // After a row has been processed it should be removed from its appropriate table. -func removeRowPostProcess(db sql.Database, processCh <-chan slotsToProcess, checkProcessedStmt, removeStmt string) error { +func removeRowPostProcess(ctx context.Context, db sql.Database, processCh <-chan slotsToProcess, checkProcessedStmt, removeStmt string) error { errCh := make(chan error) for { - slots := <-processCh - // Make sure the start and end slot exist in the slots table. - go func() { - finishedProcess := false - for !finishedProcess { - isStartProcess, err := isSlotProcessed(db, checkProcessedStmt, strconv.Itoa(slots.startSlot)) + select { + case <-ctx.Done(): + return nil + case slots := <-processCh: + // Make sure the start and end slot exist in the slots table. + go func() { + finishedProcess := false + for !finishedProcess { + isStartProcess, err := isSlotProcessed(db, checkProcessedStmt, strconv.Itoa(slots.startSlot)) + if err != nil { + errCh <- err + } + isEndProcess, err := isSlotProcessed(db, checkProcessedStmt, strconv.Itoa(slots.endSlot)) + if err != nil { + errCh <- err + } + if isStartProcess && isEndProcess { + finishedProcess = true + } + } + + _, err := db.Exec(context.Background(), removeStmt, strconv.Itoa(slots.startSlot), strconv.Itoa(slots.endSlot)) if err != nil { errCh <- err } - isEndProcess, err := isSlotProcessed(db, checkProcessedStmt, strconv.Itoa(slots.endSlot)) - if err != nil { - errCh <- err - } - if isStartProcess && isEndProcess { - finishedProcess = true - } - } - _, err := db.Exec(context.Background(), removeStmt, strconv.Itoa(slots.startSlot), strconv.Itoa(slots.endSlot)) - if err != nil { - errCh <- err + }() + if len(errCh) != 0 { + return <-errCh } - - }() - if len(errCh) != 0 { - return <-errCh } } } diff --git a/pkg/beaconclient/processknowngaps.go b/pkg/beaconclient/processknowngaps.go index 85f2834..c54d37c 100644 --- a/pkg/beaconclient/processknowngaps.go +++ b/pkg/beaconclient/processknowngaps.go @@ -23,30 +23,31 @@ import ( "strconv" log "github.com/sirupsen/logrus" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/database/sql" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/loghelper" ) var ( - // Get a single non-checked out row row from ethcl.known_gaps. - getKgEntryStmt string = `SELECT start_slot, end_slot FROM ethcl.known_gaps + // Get a single non-checked out row row from eth_beacon.known_gaps. + getKgEntryStmt string = `SELECT start_slot, end_slot FROM eth_beacon.known_gaps WHERE checked_out=false + ORDER BY priority ASC LIMIT 1;` - // Used to periodically check to see if there is a new entry in the ethcl.known_gaps table. - checkKgEntryStmt string = `SELECT * FROM ethcl.known_gaps WHERE checked_out=false;` - // Used to checkout a row from the ethcl.known_gaps table - lockKgEntryStmt string = `UPDATE ethcl.known_gaps + // Used to periodically check to see if there is a new entry in the eth_beacon.known_gaps table. + checkKgEntryStmt string = `SELECT * FROM eth_beacon.known_gaps WHERE checked_out=false;` + // Used to checkout a row from the eth_beacon.known_gaps table + lockKgEntryStmt string = `UPDATE eth_beacon.known_gaps SET checked_out=true, checked_out_by=$3 WHERE start_slot=$1 AND end_slot=$2;` // Used to delete an entry from the knownGaps table - deleteKgEntryStmt string = `DELETE FROM ethcl.known_gaps + deleteKgEntryStmt string = `DELETE FROM eth_beacon.known_gaps WHERE start_slot=$1 AND end_slot=$2;` // Used to check to see if a single slot exists in the known_gaps table. - checkKgSingleSlotStmt string = `SELECT start_slot, end_slot FROM ethcl.known_gaps + checkKgSingleSlotStmt string = `SELECT start_slot, end_slot FROM eth_beacon.known_gaps WHERE start_slot=$1 AND end_slot=$2;` // Used to update every single row that this node has checked out. - releaseKgLockStmt string = `UPDATE ethcl.known_gaps - SET checked_out=false + releaseKgLockStmt string = `UPDATE eth_beacon.known_gaps + SET checked_out=false, checked_out_by=null WHERE checked_out_by=$1` ) @@ -54,71 +55,77 @@ type KnownGapsProcessing struct { db sql.Database //db connection metrics *BeaconClientMetrics // metrics for beaconclient uniqueNodeIdentifier int // node unique identifier. - finishProcessing chan int // A channel which indicates to the process handleBatchProcess function that its time to end. } // This function will perform all the heavy lifting for tracking the head of the chain. -func (bc *BeaconClient) ProcessKnownGaps(maxWorkers int) []error { +func (bc *BeaconClient) ProcessKnownGaps(ctx context.Context, maxWorkers int) []error { log.Info("We are starting the known gaps processing service.") - bc.KnownGapsProcess = KnownGapsProcessing{db: bc.Db, uniqueNodeIdentifier: bc.UniqueNodeIdentifier, metrics: bc.Metrics, finishProcessing: make(chan int)} - errs := handleBatchProcess(maxWorkers, bc.KnownGapsProcess, bc.KnownGapsProcess.finishProcessing, bc.KnownGapsProcess.db, bc.ServerEndpoint, bc.Metrics, bc.CheckDb) + bc.KnownGapsProcess = KnownGapsProcessing{db: bc.Db, uniqueNodeIdentifier: bc.UniqueNodeIdentifier, metrics: bc.Metrics} + errs := handleBatchProcess(ctx, maxWorkers, bc.KnownGapsProcess, bc.KnownGapsProcess.db, bc.ServerEndpoint, bc.Metrics, bc.CheckDb) log.Debug("Exiting known gaps processing service") return errs } // This function will perform all the necessary clean up tasks for stopping historical processing. -func (bc *BeaconClient) StopKnownGapsProcessing() error { - log.Info("We are stopping the historical processing service.") - err := bc.KnownGapsProcess.releaseDbLocks() +func (bc *BeaconClient) StopKnownGapsProcessing(cancel context.CancelFunc) error { + log.Info("We are stopping the known gaps processing service.") + err := bc.KnownGapsProcess.releaseDbLocks(cancel) if err != nil { - loghelper.LogError(err).WithField("uniqueIdentifier", bc.UniqueNodeIdentifier).Error("We were unable to remove the locks from the ethcl.known_gaps table. Manual Intervention is needed!") + loghelper.LogError(err).WithField("uniqueIdentifier", bc.UniqueNodeIdentifier).Error("We were unable to remove the locks from the eth_beacon.known_gaps table. Manual Intervention is needed!") } return nil } // Get a single row of historical slots from the table. -func (kgp KnownGapsProcessing) getSlotRange(slotCh chan<- slotsToProcess) []error { - return getBatchProcessRow(kgp.db, getKgEntryStmt, checkKgEntryStmt, lockKgEntryStmt, slotCh, strconv.Itoa(kgp.uniqueNodeIdentifier)) +func (kgp KnownGapsProcessing) getSlotRange(ctx context.Context, slotCh chan<- slotsToProcess) []error { + return getBatchProcessRow(ctx, kgp.db, getKgEntryStmt, checkKgEntryStmt, lockKgEntryStmt, slotCh, strconv.Itoa(kgp.uniqueNodeIdentifier)) } // Remove the table entry. -func (kgp KnownGapsProcessing) removeTableEntry(processCh <-chan slotsToProcess) error { - return removeRowPostProcess(kgp.db, processCh, QueryBySlotStmt, deleteKgEntryStmt) +func (kgp KnownGapsProcessing) removeTableEntry(ctx context.Context, processCh <-chan slotsToProcess) error { + return removeRowPostProcess(ctx, kgp.db, processCh, QueryBySlotStmt, deleteKgEntryStmt) } // Remove the table entry. -func (kgp KnownGapsProcessing) handleProcessingErrors(errMessages <-chan batchHistoricError) { +func (kgp KnownGapsProcessing) handleProcessingErrors(ctx context.Context, errMessages <-chan batchHistoricError) { for { - errMs := <-errMessages - - // Check to see if this if this entry already exists. - res, err := kgp.db.Exec(context.Background(), checkKgSingleSlotStmt, errMs.slot, errMs.slot) - if err != nil { - loghelper.LogSlotError(strconv.Itoa(errMs.slot), err).Error("Unable to see if this slot is in the ethcl.known_gaps table") - } - - rows, err := res.RowsAffected() - if err != nil { - loghelper.LogSlotError(strconv.Itoa(errMs.slot), err).WithFields(log.Fields{ - "queryStatement": checkKgSingleSlotStmt, - }).Error("Unable to get the number of rows affected by this statement.") - } - - if rows > 0 { - loghelper.LogSlotError(strconv.Itoa(errMs.slot), errMs.err).Error("We received an error when processing a knownGap") - err = updateKnownGapErrors(kgp.db, errMs.slot, errMs.slot, errMs.err, kgp.metrics) + select { + case <-ctx.Done(): + return + case errMs := <-errMessages: + // Check to see if this if this entry already exists. + res, err := kgp.db.Exec(context.Background(), checkKgSingleSlotStmt, errMs.slot, errMs.slot) if err != nil { - loghelper.LogSlotError(strconv.Itoa(errMs.slot), err).Error("Error processing known gap") + loghelper.LogSlotError(strconv.Itoa(errMs.slot), err).Error("Unable to see if this slot is in the eth_beacon.known_gaps table") + } + + rows, err := res.RowsAffected() + if err != nil { + loghelper.LogSlotError(strconv.Itoa(errMs.slot), err).WithFields(log.Fields{ + "queryStatement": checkKgSingleSlotStmt, + }).Error("Unable to get the number of rows affected by this statement.") + } + + if rows > 0 { + loghelper.LogSlotError(strconv.Itoa(errMs.slot), errMs.err).Error("We received an error when processing a knownGap") + err = updateKnownGapErrors(kgp.db, errMs.slot, errMs.slot, errMs.err, kgp.metrics) + if err != nil { + loghelper.LogSlotError(strconv.Itoa(errMs.slot), err).Error("Error processing known gap") + } + } else { + writeKnownGaps(kgp.db, 1, errMs.slot, errMs.slot, errMs.err, errMs.errProcess, kgp.metrics) } - } else { - writeKnownGaps(kgp.db, 1, errMs.slot, errMs.slot, errMs.err, errMs.errProcess, kgp.metrics) } } + } // Updated checked_out column for the uniqueNodeIdentifier. -func (kgp KnownGapsProcessing) releaseDbLocks() error { - go func() { kgp.finishProcessing <- 1 }() +func (kgp KnownGapsProcessing) releaseDbLocks(cancel context.CancelFunc) error { + cancel() + log.Debug("Updating all the entries to eth_beacon.known_gaps") + log.Debug("Db: ", kgp.db) + log.Debug("kgp.uniqueNodeIdentifier ", kgp.uniqueNodeIdentifier) res, err := kgp.db.Exec(context.Background(), releaseKgLockStmt, kgp.uniqueNodeIdentifier) if err != nil { return err diff --git a/pkg/beaconclient/processslot.go b/pkg/beaconclient/processslot.go index 80fb2d8..3fb9465 100644 --- a/pkg/beaconclient/processslot.go +++ b/pkg/beaconclient/processslot.go @@ -36,15 +36,12 @@ import ( state "github.com/prysmaticlabs/prysm/beacon-chain/state" log "github.com/sirupsen/logrus" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/database/sql" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/loghelper" "golang.org/x/sync/errgroup" ) var ( - SlotUnmarshalError = func(obj string) string { - return fmt.Sprintf("Unable to properly unmarshal the Slot field in the %s.", obj) - } ParentRootUnmarshalError = "Unable to properly unmarshal the ParentRoot field in the SignedBeaconBlock." MissingEth1Data = "Can't get the Eth1 block_hash" VersionedUnmarshalerError = "Unable to create a versioned unmarshaler" @@ -73,95 +70,110 @@ type ProcessSlot struct { // DB Write objects DbSlotsModel *DbSlots // The model being written to the slots table. - DbSignedBeaconBlockModel *DbSignedBeaconBlock // The model being written to the signed_beacon_block table. - DbBeaconState *DbBeaconState // The model being written to the beacon_state table. + DbSignedBeaconBlockModel *DbSignedBeaconBlock // The model being written to the signed_block table. + DbBeaconState *DbBeaconState // The model being written to the state table. } // This function will do all the work to process the slot and write it to the DB. // It will return the error and error process. The error process is used for providing reach detail to the // known_gaps table. -func processFullSlot(db sql.Database, serverAddress string, slot int, blockRoot string, stateRoot string, previousSlot int, previousBlockRoot string, headOrHistoric string, metrics *BeaconClientMetrics, knownGapsTableIncrement int, checkDb bool) (error, string) { - ps := &ProcessSlot{ - Slot: slot, - BlockRoot: blockRoot, - StateRoot: stateRoot, - HeadOrHistoric: headOrHistoric, - Db: db, - Metrics: metrics, - } +func processFullSlot(ctx context.Context, db sql.Database, serverAddress string, slot int, blockRoot string, stateRoot string, previousSlot int, previousBlockRoot string, headOrHistoric string, metrics *BeaconClientMetrics, knownGapsTableIncrement int, checkDb bool) (error, string) { + select { + case <-ctx.Done(): + return nil, "" + default: + ps := &ProcessSlot{ + Slot: slot, + BlockRoot: blockRoot, + StateRoot: stateRoot, + HeadOrHistoric: headOrHistoric, + Db: db, + Metrics: metrics, + } - g, _ := errgroup.WithContext(context.Background()) - vUnmarshalerCh := make(chan *dt.VersionedUnmarshaler, 1) + g, _ := errgroup.WithContext(context.Background()) + vUnmarshalerCh := make(chan *dt.VersionedUnmarshaler, 1) - // Get the BeaconState. - g.Go(func() error { - err := ps.getBeaconState(serverAddress, vUnmarshalerCh) + // Get the BeaconState. + g.Go(func() error { + select { + case <-ctx.Done(): + return nil + default: + err := ps.getBeaconState(serverAddress, vUnmarshalerCh) + if err != nil { + return err + } + return nil + } + }) + + // Get the SignedBeaconBlock. + g.Go(func() error { + select { + case <-ctx.Done(): + return nil + default: + err := ps.getSignedBeaconBlock(serverAddress, vUnmarshalerCh) + if err != nil { + return err + } + return nil + } + }) + + if err := g.Wait(); err != nil { + return err, "processSlot" + } + + finalBlockRoot, finalStateRoot, finalEth1BlockHash, err := ps.provideFinalHash() if err != nil { - return err + return err, "CalculateBlockRoot" + } + if checkDb { + inDb, err := IsSlotInDb(ctx, ps.Db, strconv.Itoa(ps.Slot), finalBlockRoot, finalStateRoot) + if err != nil { + return err, "checkDb" + } + if inDb { + log.WithField("slot", slot).Info("Slot already in the DB.") + return nil, "" + } } - return nil - }) - // Get the SignedBeaconBlock. - g.Go(func() error { - err := ps.getSignedBeaconBlock(serverAddress, vUnmarshalerCh) + // Get this object ready to write + dw, err := ps.createWriteObjects(finalBlockRoot, finalStateRoot, finalEth1BlockHash) if err != nil { - return err + return err, "blockRoot" } - return nil - }) - - if err := g.Wait(); err != nil { - return err, "processSlot" - } - - finalBlockRoot, finalStateRoot, finalEth1BlockHash, err := ps.provideFinalHash() - if err != nil { - return err, "CalculateBlockRoot" - } - if checkDb { - inDb, err := IsSlotInDb(ps.Db, strconv.Itoa(ps.Slot), finalBlockRoot, finalStateRoot) + // Write the object to the DB. + defer func() { + err := dw.Tx.Rollback(dw.Ctx) + if err != nil && err != pgx.ErrTxClosed { + loghelper.LogError(err).Error("We were unable to Rollback a transaction") + } + }() + err = dw.transactFullSlot() if err != nil { - return err, "checkDb" + return err, "processSlot" } - if inDb { - log.WithField("slot", slot).Info("Slot already in the DB.") - return nil, "" + + // Handle any reorgs or skipped slots. + headOrHistoric = strings.ToLower(headOrHistoric) + if headOrHistoric != "head" && headOrHistoric != "historic" { + return fmt.Errorf("headOrHistoric must be either historic or head!"), "" } - } - - // Get this object ready to write - dw, err := ps.createWriteObjects(finalBlockRoot, finalStateRoot, finalEth1BlockHash) - if err != nil { - return err, "blockRoot" - } - // Write the object to the DB. - defer func() { - err := dw.Tx.Rollback(dw.Ctx) - if err != nil && err != pgx.ErrTxClosed { - loghelper.LogError(err).Error("We were unable to Rollback a transaction") + if ps.HeadOrHistoric == "head" && previousSlot != 0 && previousBlockRoot != "" && ps.Status != "skipped" { + ps.checkPreviousSlot(dw.Tx, dw.Ctx, previousSlot, previousBlockRoot, knownGapsTableIncrement) } - }() - err = dw.transactFullSlot() - if err != nil { - return err, "processSlot" - } - // Handle any reorgs or skipped slots. - headOrHistoric = strings.ToLower(headOrHistoric) - if headOrHistoric != "head" && headOrHistoric != "historic" { - return fmt.Errorf("headOrHistoric must be either historic or head!"), "" - } - if ps.HeadOrHistoric == "head" && previousSlot != 0 && previousBlockRoot != "" && ps.Status != "skipped" { - ps.checkPreviousSlot(dw.Tx, dw.Ctx, previousSlot, previousBlockRoot, knownGapsTableIncrement) - } + // Commit the transaction + if err = dw.Tx.Commit(dw.Ctx); err != nil { + return err, "transactionCommit" + } - // Commit the transaction - if err = dw.Tx.Commit(dw.Ctx); err != nil { - return err, "transactionCommit" + return nil, "" } - - return nil, "" } // Handle a slot that is at head. A wrapper function for calling `handleFullSlot`. @@ -170,15 +182,15 @@ func processHeadSlot(db sql.Database, serverAddress string, slot int, blockRoot if previousSlot == 0 && previousBlockRoot == "" { writeStartUpGaps(db, knownGapsTableIncrement, slot, metrics) } - err, errReason := processFullSlot(db, serverAddress, slot, blockRoot, stateRoot, previousSlot, previousBlockRoot, "head", metrics, knownGapsTableIncrement, checkDb) + err, errReason := processFullSlot(context.Background(), db, serverAddress, slot, blockRoot, stateRoot, previousSlot, previousBlockRoot, "head", metrics, knownGapsTableIncrement, checkDb) if err != nil { writeKnownGaps(db, knownGapsTableIncrement, slot, slot, err, errReason, metrics) } } // Handle a historic slot. A wrapper function for calling `handleFullSlot`. -func handleHistoricSlot(db sql.Database, serverAddress string, slot int, metrics *BeaconClientMetrics, checkDb bool) (error, string) { - return processFullSlot(db, serverAddress, slot, "", "", 0, "", "historic", metrics, 1, checkDb) +func handleHistoricSlot(ctx context.Context, db sql.Database, serverAddress string, slot int, metrics *BeaconClientMetrics, checkDb bool) (error, string) { + return processFullSlot(ctx, db, serverAddress, slot, "", "", 0, "", "historic", metrics, 1, checkDb) } // Update the SszSignedBeaconBlock and FullSignedBeaconBlock object with their respective values. @@ -213,15 +225,8 @@ func (ps *ProcessSlot) getSignedBeaconBlock(serverAddress string, vmCh <-chan *d ps.FullSignedBeaconBlock, err = vm.UnmarshalBeaconBlock(ps.SszSignedBeaconBlock) if err != nil { - loghelper.LogSlotError(strconv.Itoa(ps.Slot), err).Error("We are getting an error message when unmarshalling the SignedBeaconBlock.") - if ps.FullSignedBeaconBlock.Block().Slot() == 0 { - loghelper.LogSlotError(strconv.Itoa(ps.Slot), err).Error(SlotUnmarshalError("SignedBeaconBlock")) - return fmt.Errorf(SlotUnmarshalError("SignedBeaconBlock")) - } else if ps.FullSignedBeaconBlock.Block().ParentRoot() == nil { - loghelper.LogSlotError(strconv.Itoa(ps.Slot), err).Error(ParentRootUnmarshalError) - return fmt.Errorf(ParentRootUnmarshalError) - } - log.Warn("We received a processing error: ", err) + loghelper.LogSlotError(strconv.Itoa(ps.Slot), err).Warn("Unable to process the slots SignedBeaconBlock") + return nil } ps.ParentBlockRoot = "0x" + hex.EncodeToString(ps.FullSignedBeaconBlock.Block().ParentRoot()) return nil @@ -247,14 +252,8 @@ func (ps *ProcessSlot) getBeaconState(serverEndpoint string, vmCh chan<- *dt.Ver vmCh <- versionedUnmarshaler ps.FullBeaconState, err = versionedUnmarshaler.UnmarshalBeaconState(ps.SszBeaconState) if err != nil { - loghelper.LogError(err).Error("We are getting an error message when unmarshalling the BeaconState") - if ps.FullBeaconState.Slot() == 0 { - loghelper.LogSlotError(strconv.Itoa(ps.Slot), err).Error(SlotUnmarshalError("BeaconState")) - return fmt.Errorf(SlotUnmarshalError("BeaconState")) - } else if hex.EncodeToString(ps.FullBeaconState.Eth1Data().BlockHash) == "" { - loghelper.LogSlotError(strconv.Itoa(ps.Slot), err).Error(MissingEth1Data) - return fmt.Errorf(MissingEth1Data) - } + loghelper.LogSlotError(strconv.Itoa(ps.Slot), err).Error("Unable to process the slots BeaconState") + return err } return nil } diff --git a/pkg/beaconclient/queryserver.go b/pkg/beaconclient/queryserver.go index b863c7b..5294335 100644 --- a/pkg/beaconclient/queryserver.go +++ b/pkg/beaconclient/queryserver.go @@ -24,7 +24,7 @@ import ( "net/http" log "github.com/sirupsen/logrus" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/loghelper" ) // A helper function to query endpoints that utilize slots. diff --git a/pkg/beaconclient/systemvalidation_test.go b/pkg/beaconclient/systemvalidation_test.go new file mode 100644 index 0000000..7aabd41 --- /dev/null +++ b/pkg/beaconclient/systemvalidation_test.go @@ -0,0 +1,69 @@ +package beaconclient_test + +import ( + "os" + "strconv" + "time" + + . "github.com/onsi/ginkgo/v2" + //. "github.com/onsi/gomega" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient" +) + +var ( + prodConfig = Config{ + protocol: os.Getenv("bc_protocol"), + address: os.Getenv("bc_address"), + port: getEnvInt(os.Getenv("bc_port")), + dbHost: os.Getenv("db_host"), + dbPort: getEnvInt(os.Getenv("db_port")), + dbName: os.Getenv("db_name"), + dbUser: os.Getenv("db_user"), + dbPassword: os.Getenv("db_password"), + dbDriver: os.Getenv("db_driver"), + knownGapsTableIncrement: 100000000, + bcUniqueIdentifier: 100, + checkDb: false, + } +) +var _ = Describe("Systemvalidation", Label("system"), func() { + Describe("Run the application against a running lighthouse node", func() { + Context("When we receive head messages", func() { + It("We should process the messages successfully", func() { + bc := setUpTest(prodConfig, "10000000000") + processProdHeadBlocks(bc, 3, 0, 0, 0) + }) + }) + Context("When we have historical and knownGaps slots to process", Label("system-batch"), func() { + It("Should process them successfully", func() { + bc := setUpTest(prodConfig, "10000000000") + //known Gaps + BeaconNodeTester.writeEventToKnownGaps(bc, 100, 101) + BeaconNodeTester.runKnownGapsProcess(bc, 2, 2, 0, 0, 0) + + // Historical + BeaconNodeTester.writeEventToHistoricProcess(bc, 2375703, 2375703, 10) + BeaconNodeTester.runHistoricalProcess(bc, 2, 3, 0, 0, 0) + + time.Sleep(2 * time.Second) + validatePopularBatchBlocks(bc) + }) + }) + }) +}) + +// Wrapper function to get int env variables. +func getEnvInt(envVar string) int { + val, err := strconv.Atoi(envVar) + if err != nil { + return 0 + } + return val +} + +// Start head tracking and wait for the expected results. +func processProdHeadBlocks(bc *beaconclient.BeaconClient, expectedInserts, expectedReorgs, expectedKnownGaps, expectedKnownGapsReprocessError uint64) { + go bc.CaptureHead() + time.Sleep(1 * time.Second) + validateMetrics(bc, expectedInserts, expectedReorgs, expectedKnownGaps, expectedKnownGapsReprocessError) +} diff --git a/pkg/database/sql/postgres/database.go b/pkg/database/sql/postgres/database.go index 16cb936..942d8f7 100644 --- a/pkg/database/sql/postgres/database.go +++ b/pkg/database/sql/postgres/database.go @@ -20,8 +20,8 @@ import ( "fmt" log "github.com/sirupsen/logrus" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/database/sql" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/loghelper" ) var _ sql.Database = &DB{} diff --git a/pkg/database/sql/postgres/pgx.go b/pkg/database/sql/postgres/pgx.go index 0845915..9ad6c69 100644 --- a/pkg/database/sql/postgres/pgx.go +++ b/pkg/database/sql/postgres/pgx.go @@ -23,7 +23,7 @@ import ( "github.com/jackc/pgconn" "github.com/jackc/pgx/v4" "github.com/jackc/pgx/v4/pgxpool" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/database/sql" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql" ) // pgxDriver driver, implements sql.Driver diff --git a/pkg/database/sql/postgres/pgx_test.go b/pkg/database/sql/postgres/pgx_test.go index f601abe..43266f3 100644 --- a/pkg/database/sql/postgres/pgx_test.go +++ b/pkg/database/sql/postgres/pgx_test.go @@ -23,9 +23,9 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/database/sql" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/database/sql/postgres" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/testhelpers" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql/postgres" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/testhelpers" ) var _ = Describe("Pgx", func() { diff --git a/pkg/gracefulshutdown/gracefulshutdown.go b/pkg/gracefulshutdown/gracefulshutdown.go index b8e7066..29fe19e 100644 --- a/pkg/gracefulshutdown/gracefulshutdown.go +++ b/pkg/gracefulshutdown/gracefulshutdown.go @@ -25,7 +25,7 @@ import ( "time" log "github.com/sirupsen/logrus" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper" + "github.com/vulcanize/ipld-eth-beacon-indexer/pkg/loghelper" ) // operation is a clean up function on shutting down From 72eea46babd22e44a093a47f64fb510c066f207d Mon Sep 17 00:00:00 2001 From: Abdul Rabbani <58230246+abdulrabbani00@users.noreply.github.com> Date: Fri, 10 Jun 2022 09:30:52 -0400 Subject: [PATCH 9/9] Update README and condition for cleanup (#58) * Update README and condition for cleanup * Utilize config file for ipld-eth-beacon * Update CICD to use config file on container build. * Add env file for build cp * Add a sleep before running the test --- .github/workflows/generic-testing.yml | 8 +- .github/workflows/system-tests.yml | 5 +- .gitignore | 3 +- README.md | 4 +- config/cicd/boot.ipld-eth-beacon-indexer.json | 40 + ...xample.ipld-eth-beacon-indexer-config.json | 2 +- entrypoint.sh | 25 +- ipld-eth-beacon-indexer.log | 1611 ----------------- 8 files changed, 53 insertions(+), 1645 deletions(-) create mode 100644 config/cicd/boot.ipld-eth-beacon-indexer.json rename example.ipld-eth-beacon-indexer-config.json => config/example.ipld-eth-beacon-indexer-config.json (96%) delete mode 100644 ipld-eth-beacon-indexer.log diff --git a/.github/workflows/generic-testing.yml b/.github/workflows/generic-testing.yml index c1b56cd..063360e 100644 --- a/.github/workflows/generic-testing.yml +++ b/.github/workflows/generic-testing.yml @@ -16,7 +16,7 @@ on: required: true env: - stack-orchestrator-ref: ${{ inputs.stack-orchestrator-ref || '3048a224100ceb122d6da71328bf3803dff72a01' }} + stack-orchestrator-ref: ${{ inputs.stack-orchestrator-ref || '7fb664270a0ba09e2caa3095e8c91f3fdb5b38af' }} ipld-eth-beacon-db-ref: ${{ inputs.ipld-eth-beacon-db-ref || '3dfe416302d553f8240f6051c08a7899b0e39e12' }} ssz-data-ref: ${{ inputs.ssz-data-ref || 'main' }} GOPATH: /tmp/go @@ -48,9 +48,7 @@ jobs: run: | echo vulcanize_ipld_eth_beacon_db=$GITHUB_WORKSPACE/ipld-eth-beacon-db/ > ./config.sh echo vulcanize_ipld_eth_beacon_indexer=$GITHUB_WORKSPACE/ipld-eth-beacon-indexer >> ./config.sh - echo eth_beacon_capture_mode=boot >> ./config.sh - echo eth_beacon_skip_sync=true >> ./config.sh - echo eth_beacon_known_gap_increment=1000000 >> ./config.sh + echo eth_beacon_config_file=$GITHUB_WORKSPACE/ipld-eth-beacon-indexer/config/cicd/boot.ipld-eth-beacon-indexer.json >> ./config.sh cat ./config.sh - name: Run docker compose @@ -65,7 +63,7 @@ jobs: - name: Check to make sure HEALTH file is present shell: bash run: | - until $(docker compose -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-ipld-eth-beacon-indexer.yml" cp ipld-eth-beacon-indexer:/root/HEALTH ./HEALTH) ; do sleep 10; done + until $(docker compose -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-ipld-eth-beacon-indexer.yml" --env-file ./config.sh cp ipld-eth-beacon-indexer:/root/HEALTH ./HEALTH) ; do sleep 10; done cat ./HEALTH if [[ "$(cat ./HEALTH)" -eq "0" ]]; then echo "Application boot successful" && (exit 0); else docker compose -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-ipld-eth-beacon-indexer.yml" cp ipld-eth-beacon-indexer:/root/ipld-eth-beacon-indexer.log . && cat ipld-eth-beacon-indexer.log && (exit 1); fi diff --git a/.github/workflows/system-tests.yml b/.github/workflows/system-tests.yml index aff86f9..c1be739 100644 --- a/.github/workflows/system-tests.yml +++ b/.github/workflows/system-tests.yml @@ -14,7 +14,7 @@ on: BC_ADDRESS: required: true env: - stack-orchestrator-ref: ${{ inputs.stack-orchestrator-ref || '3048a224100ceb122d6da71328bf3803dff72a01' }} + stack-orchestrator-ref: ${{ inputs.stack-orchestrator-ref || '7fb664270a0ba09e2caa3095e8c91f3fdb5b38af' }} ipld-eth-beacon-db-ref: ${{ inputs.ipld-eth-beacon-db-ref || '3dfe416302d553f8240f6051c08a7899b0e39e12' }} GOPATH: /tmp/go bc_protocol: "http" @@ -81,11 +81,12 @@ jobs: - name: Run the tests using Make run: | + sleep 20 cd ipld-eth-beacon-indexer make system-test-ci - name: Clean up the docker containers - if: steps.compose.outcome == 'success' + if: always() && steps.compose.outcome == 'success' shell: bash run: | /usr/local/bin/docker-compose \ diff --git a/.gitignore b/.gitignore index aa7c2e7..90badf2 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ cover.profile temp/* .vscode/* pkg/beaconclient/ssz-data/ -*.test \ No newline at end of file +*.test +ipld-eth-beacon-indexer.log diff --git a/README.md b/README.md index 0f5a3a2..98beecf 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ To run the application, do as follows: ``` ./wrapper.sh -e skip \ - -d ../docker/local/docker-compose-eth-beacon-db.yml \ + -d ../docker/local/docker-compose-ipld-eth-beacon-db.yml \ -d ../docker/latest/docker-compose-lighthouse.yml \ -v remove \ -p ../local-config.sh @@ -37,7 +37,7 @@ To run the application, do as follows: 2. Run the start up command. ``` -go run -race main.go capture historic --config ./example.ipld-eth-beacon-indexer-config.json +go run -race main.go capture full --config ./example.ipld-eth-beacon-indexer-config.json ``` ## Running Tests diff --git a/config/cicd/boot.ipld-eth-beacon-indexer.json b/config/cicd/boot.ipld-eth-beacon-indexer.json new file mode 100644 index 0000000..b10cc13 --- /dev/null +++ b/config/cicd/boot.ipld-eth-beacon-indexer.json @@ -0,0 +1,40 @@ +{ + "db": { + "address": "ipld-eth-beacon-db", + "password": "password", + "port": 5432, + "username": "vdbm", + "name": "vulcanize_testing", + "driver": "PGX" + }, + "bc": { + "address": "lighthouse", + "port": 5052, + "type": "lighthouse", + "bootRetryInterval": 30, + "bootMaxRetry": 5, + "maxHistoricProcessWorker": 2, + "connectionProtocol": "http", + "uniqueNodeIdentifier": 100, + "checkDb": true + }, + "t": { + "skipSync": true + }, + "log": { + "level": "debug", + "output": true, + "file": "./ipld-eth-beacon-indexer.log", + "format": "json" + }, + "kg": { + "increment": 10000, + "processKnownGaps": true, + "maxKnownGapsWorker": 2 + }, + "pm": { + "address": "localhost", + "port": 9000, + "metrics": true + } +} diff --git a/example.ipld-eth-beacon-indexer-config.json b/config/example.ipld-eth-beacon-indexer-config.json similarity index 96% rename from example.ipld-eth-beacon-indexer-config.json rename to config/example.ipld-eth-beacon-indexer-config.json index eaf06af..7481284 100644 --- a/example.ipld-eth-beacon-indexer-config.json +++ b/config/example.ipld-eth-beacon-indexer-config.json @@ -8,7 +8,7 @@ "driver": "PGX" }, "bc": { - "address": "10.203.8.51", + "address": "localhost", "port": 5052, "type": "lighthouse", "bootRetryInterval": 30, diff --git a/entrypoint.sh b/entrypoint.sh index 8477d08..13da8da 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -3,30 +3,9 @@ sleep 10 echo "Starting ipld-eth-beacon-indexer" -echo /root/ipld-eth-beacon-indexer capture ${CAPTURE_MODE} --db.address $DB_ADDRESS \ - --db.password $DB_PASSWORD \ - --db.port $DB_PORT \ - --db.username $DB_USER \ - --db.name $DB_NAME \ - --db.driver $DB_DRIVER \ - --bc.address $BC_ADDRESS \ - --bc.port $BC_PORT \ - --log.level $LOG_LEVEL\ - --t.skipSync=$SKIP_SYNC \ - --kg.increment $KNOWN_GAP_INCREMENT - -/root/ipld-eth-beacon-indexer capture ${CAPTURE_MODE} --db.address $DB_ADDRESS \ - --db.password $DB_PASSWORD \ - --db.port $DB_PORT \ - --db.username $DB_USER \ - --db.name $DB_NAME \ - --db.driver $DB_DRIVER \ - --bc.address $BC_ADDRESS \ - --bc.port $BC_PORT \ - --log.level $LOG_LEVEL \ - --t.skipSync=$SKIP_SYNC \ - --kg.increment $KNOWN_GAP_INCREMENT +echo /root/ipld-eth-beacon-indexer capture ${CAPTURE_MODE} --config /root/ipld-eth-beacon-config.json +/root/ipld-eth-beacon-indexer capture ${CAPTURE_MODE} --config /root/ipld-eth-beacon-config.json rv=$? if [ $rv != 0 ]; then diff --git a/ipld-eth-beacon-indexer.log b/ipld-eth-beacon-indexer.log deleted file mode 100644 index a01b36f..0000000 --- a/ipld-eth-beacon-indexer.log +++ /dev/null @@ -1,1611 +0,0 @@ -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/cmd/root.go:80","func":"github.com/vulcanize/ipld-eth-beacon-indexer/cmd.logLevel","level":"info","msg":"Log level set to debug","time":"2022-06-09T15:55:35-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/cmd/historic.go:48","func":"github.com/vulcanize/ipld-eth-beacon-indexer/cmd.startHistoricProcessing","level":"info","msg":"Starting the application in head tracking mode.","time":"2022-06-09T15:55:35-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/internal/boot/boot.go:46","func":"github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot.BootApplication","level":"info","msg":"Booting the Application","time":"2022-06-09T15:55:35-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/internal/boot/boot.go:48","func":"github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot.BootApplication","level":"debug","msg":"Creating the Beacon Client","time":"2022-06-09T15:55:35-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/beaconclient.go:103","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.CreateBeaconClient","level":"info","msg":"Creating the BeaconClient","time":"2022-06-09T15:55:35-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=head","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/beaconclient.go:126","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.createSseEvent[...].func1","level":"info","msg":"Creating SSE client","time":"2022-06-09T15:55:35-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=chain_reorg","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/beaconclient.go:126","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.createSseEvent[...].func1","level":"info","msg":"Creating SSE client","time":"2022-06-09T15:55:35-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/internal/boot/boot.go:54","func":"github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot.BootApplication","level":"debug","msg":"Checking Beacon Client","time":"2022-06-09T15:55:35-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/healthcheck.go:31","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.BeaconClient.CheckBeaconClient","level":"debug","msg":"Attempting to connect to the beacon client","time":"2022-06-09T15:55:35-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/healthcheck.go:45","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.BeaconClient.CheckBeaconClient","level":"info","msg":"We can successfully reach the beacon client.","time":"2022-06-09T15:55:35-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/internal/boot/boot.go:60","func":"github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot.BootApplication","level":"debug","msg":"Setting up DB connection","time":"2022-06-09T15:55:35-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/database/sql/postgres/database.go:44","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql/postgres.SetupPostgresDb","level":"debug","msg":"Resolving Driver Type","time":"2022-06-09T15:55:35-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/database/sql/postgres/database.go:52","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql/postgres.SetupPostgresDb","level":"info","msg":"Using Driver: PGX","time":"2022-06-09T15:55:35-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/database/sql/postgres/database.go:75","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql/postgres.createDriver","level":"debug","msg":"Creating New Driver","time":"2022-06-09T15:55:35-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/database/sql/postgres/database.go:80","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql/postgres.createDriver","level":"info","msg":"Successfully created a driver for PGX","time":"2022-06-09T15:55:35-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/internal/boot/boot.go:81","func":"github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot.BootApplication","level":"warning","msg":"We are not checking to see if the node has synced to head.","time":"2022-06-09T15:55:35-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/internal/boot/boot.go:128","func":"github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot.BootApplicationWithRetry","level":"debug","msg":"Performing additional boot steps for historical processing","time":"2022-06-09T15:55:35-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/checkbeaconserverstatus.go:184","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.BeaconClient.GetLatestSlotInBeaconServer","headSlot":3998375,"level":"info","msg":"Anchor is nil, the lighthouse client has all the nodes from genesis to head.","time":"2022-06-09T15:55:37-04:00"} -{"New Latest Slot":3998375,"Previous Latest Slot":0,"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/checkbeaconserverstatus.go:205","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.BeaconClient.UpdateLatestSlotInBeaconServer","level":"debug","msg":"Swapping Head Slot","time":"2022-06-09T15:55:37-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).CaptureHistoric","level":"info","msg":"We are starting the historical processing service.","time":"2022-06-09T15:55:37-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:102","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","maxWorkers":2,"msg":"Starting batch processing workers","time":"2022-06-09T15:55:37-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:102","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","maxWorkers":2,"msg":"Starting batch processing workers","time":"2022-06-09T15:55:37-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:162","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","msg":"Waiting for shutdown signal from channel","time":"2022-06-09T15:55:37-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).ProcessKnownGaps","level":"info","msg":"We are starting the known gaps processing service.","time":"2022-06-09T15:55:37-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:102","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","maxWorkers":2,"msg":"Starting batch processing workers","time":"2022-06-09T15:55:37-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:102","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","maxWorkers":2,"msg":"Starting batch processing workers","time":"2022-06-09T15:55:37-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:162","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","msg":"Waiting for shutdown signal from channel","time":"2022-06-09T15:55:37-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:38-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:38-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:39-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:39-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:40-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:40-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:41-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:41-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:42-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:42-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:43-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:43-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:44-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:44-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:45-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:45-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:46-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:46-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:47-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:47-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:48-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:48-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:49-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:49-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:50-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:50-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:51-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:51-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:52-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:52-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:53-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:53-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:55-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:55-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:56-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:56-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:57-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:57-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:58-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:58-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:59-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:55:59-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:00-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:00-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:01-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:01-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:02-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:02-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:03-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:03-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:04-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:04-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:05-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:05-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:06-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:06-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:07-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:07-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:08-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:08-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:09-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:09-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:10-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:10-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:11-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:11-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:12-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:12-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/gracefulshutdown/gracefulshutdown.go:50","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/gracefulshutdown.Shutdown.func1","level":"info","msg":"Shutting Down your application","time":"2022-06-09T15:56:12-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/gracefulshutdown/gracefulshutdown.go:70","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/gracefulshutdown.Shutdown.func1.2","level":"info","msg":"cleaning up: beaconClient","time":"2022-06-09T15:56:12-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:41","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).StopHistoric","level":"info","msg":"We are stopping the historical processing service.","time":"2022-06-09T15:56:12-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:86","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.HistoricProcessing.releaseDbLocks","level":"debug","msg":"Updating all the entries to eth_beacon.historical processing","time":"2022-06-09T15:56:12-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:87","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.HistoricProcessing.releaseDbLocks","level":"debug","msg":"Db: \u0026{0xc0002836c8}","time":"2022-06-09T15:56:12-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:88","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.HistoricProcessing.releaseDbLocks","level":"debug","msg":"hp.uniqueNodeIdentifier 100","time":"2022-06-09T15:56:12-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:165","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","msg":"Received shutdown signal from channel","time":"2022-06-09T15:56:12-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:35","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).CaptureHistoric","level":"debug","msg":"Exiting Historical","time":"2022-06-09T15:56:12-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:93","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.HistoricProcessing.releaseDbLocks","level":"debug","msg":"Update all the entries to eth_beacon.historical processing","time":"2022-06-09T15:56:12-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:98","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.HistoricProcessing.releaseDbLocks","level":"info","msg":"Released historicalProcess locks for specified rows.","rowCount":0,"time":"2022-06-09T15:56:12-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:71","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).StopKnownGapsProcessing","level":"info","msg":"We are stopping the known gaps processing service.","time":"2022-06-09T15:56:12-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:126","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.KnownGapsProcessing.releaseDbLocks","level":"debug","msg":"Updating all the entries to eth_beacon.known_gaps","time":"2022-06-09T15:56:12-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:127","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.KnownGapsProcessing.releaseDbLocks","level":"debug","msg":"Db: \u0026{0xc0002836c8}","time":"2022-06-09T15:56:12-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:128","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.KnownGapsProcessing.releaseDbLocks","level":"debug","msg":"kgp.uniqueNodeIdentifier 100","time":"2022-06-09T15:56:12-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:165","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","msg":"Received shutdown signal from channel","time":"2022-06-09T15:56:12-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:65","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).ProcessKnownGaps","level":"debug","msg":"Exiting known gaps processing service","time":"2022-06-09T15:56:12-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:137","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.KnownGapsProcessing.releaseDbLocks","level":"info","msg":"Released knownGaps locks for specified rows.","rowCount":0,"time":"2022-06-09T15:56:12-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/gracefulshutdown/gracefulshutdown.go:76","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/gracefulshutdown.Shutdown.func1.2","level":"info","msg":"beaconClient was shutdown gracefully","time":"2022-06-09T15:56:12-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/cmd/historic.go:100","func":"github.com/vulcanize/ipld-eth-beacon-indexer/cmd.startHistoricProcessing","level":"info","msg":"Gracefully shutdown ipld-eth-beacon-indexer","time":"2022-06-09T15:56:12-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/cmd/root.go:80","func":"github.com/vulcanize/ipld-eth-beacon-indexer/cmd.logLevel","level":"info","msg":"Log level set to debug","time":"2022-06-09T15:56:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/cmd/full.go:60","func":"github.com/vulcanize/ipld-eth-beacon-indexer/cmd.startFullProcessing","level":"info","msg":"Starting the application in head tracking mode.","time":"2022-06-09T15:56:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/internal/boot/boot.go:46","func":"github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot.BootApplication","level":"info","msg":"Booting the Application","time":"2022-06-09T15:56:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/internal/boot/boot.go:48","func":"github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot.BootApplication","level":"debug","msg":"Creating the Beacon Client","time":"2022-06-09T15:56:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/beaconclient.go:103","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.CreateBeaconClient","level":"info","msg":"Creating the BeaconClient","time":"2022-06-09T15:56:17-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=head","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/beaconclient.go:126","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.createSseEvent[...].func1","level":"info","msg":"Creating SSE client","time":"2022-06-09T15:56:17-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=chain_reorg","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/beaconclient.go:126","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.createSseEvent[...].func1","level":"info","msg":"Creating SSE client","time":"2022-06-09T15:56:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/internal/boot/boot.go:54","func":"github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot.BootApplication","level":"debug","msg":"Checking Beacon Client","time":"2022-06-09T15:56:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/healthcheck.go:31","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.BeaconClient.CheckBeaconClient","level":"debug","msg":"Attempting to connect to the beacon client","time":"2022-06-09T15:56:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/healthcheck.go:45","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.BeaconClient.CheckBeaconClient","level":"info","msg":"We can successfully reach the beacon client.","time":"2022-06-09T15:56:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/internal/boot/boot.go:60","func":"github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot.BootApplication","level":"debug","msg":"Setting up DB connection","time":"2022-06-09T15:56:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/database/sql/postgres/database.go:44","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql/postgres.SetupPostgresDb","level":"debug","msg":"Resolving Driver Type","time":"2022-06-09T15:56:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/database/sql/postgres/database.go:52","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql/postgres.SetupPostgresDb","level":"info","msg":"Using Driver: PGX","time":"2022-06-09T15:56:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/database/sql/postgres/database.go:75","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql/postgres.createDriver","level":"debug","msg":"Creating New Driver","time":"2022-06-09T15:56:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/database/sql/postgres/database.go:80","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql/postgres.createDriver","level":"info","msg":"Successfully created a driver for PGX","time":"2022-06-09T15:56:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/internal/boot/boot.go:81","func":"github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot.BootApplication","level":"warning","msg":"We are not checking to see if the node has synced to head.","time":"2022-06-09T15:56:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/cmd/full.go:75","func":"github.com/vulcanize/ipld-eth-beacon-indexer/cmd.startFullProcessing","level":"info","msg":"The Beacon Client has booted successfully!","time":"2022-06-09T15:56:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehead.go:29","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).CaptureHead","level":"info","msg":"We are tracking the head of the chain.","time":"2022-06-09T15:56:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/incomingsse.go:95","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).captureEventTopic","level":"info","msg":"We are capturing all SSE events","time":"2022-06-09T15:56:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:30","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleReorg","level":"info","msg":"Starting to process reorgs.","time":"2022-06-09T15:56:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).CaptureHistoric","level":"info","msg":"We are starting the historical processing service.","time":"2022-06-09T15:56:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:102","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","maxWorkers":2,"msg":"Starting batch processing workers","time":"2022-06-09T15:56:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:102","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","maxWorkers":2,"msg":"Starting batch processing workers","time":"2022-06-09T15:56:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:162","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","msg":"Waiting for shutdown signal from channel","time":"2022-06-09T15:56:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:40","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","level":"info","msg":"Starting to process head.","time":"2022-06-09T15:56:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).ProcessKnownGaps","level":"info","msg":"We are starting the known gaps processing service.","time":"2022-06-09T15:56:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:102","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","maxWorkers":2,"msg":"Starting batch processing workers","time":"2022-06-09T15:56:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:102","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","maxWorkers":2,"msg":"Starting batch processing workers","time":"2022-06-09T15:56:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:162","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","msg":"Waiting for shutdown signal from channel","time":"2022-06-09T15:56:17-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=chain_reorg","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/incomingsse.go:53","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleIncomingSseEvent[...].func1","level":"info","msg":"Successfully subscribed to the event stream.","time":"2022-06-09T15:56:17-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=head","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/incomingsse.go:53","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleIncomingSseEvent[...].func1","level":"info","msg":"Successfully subscribed to the event stream.","time":"2022-06-09T15:56:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:18-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:18-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:19-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:19-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:20-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:20-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:21-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:21-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:22-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:22-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:23-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:23-04:00"} -{"fields.msg":"{\"slot\":\"3998380\",\"block\":\"0x959e29d0e0dd4770ef64c2f2f473488ab224328638ee500c5f197f36d396db4a\",\"state\":\"0x209a7ae490b5cfef56a6d982ab5000fa36e6a2a62f5b8ed53f6bb852813319eb\",\"current_duty_dependent_root\":\"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5\",\"previous_duty_dependent_root\":\"0x13dd484c3c8462b617222375d850667982ed9944e8f358857405dcadf301ccd4\",\"epoch_transition\":false}","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/incomingsse.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleIncomingSseEvent[...]","level":"debug","msg":"We are going to send the following message to be processed.","time":"2022-06-09T15:56:24-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":{"slot":"3998380","block":"0x959e29d0e0dd4770ef64c2f2f473488ab224328638ee500c5f197f36d396db4a","state":"0x209a7ae490b5cfef56a6d982ab5000fa36e6a2a62f5b8ed53f6bb852813319eb","current_duty_dependent_root":"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5","previous_duty_dependent_root":"0x13dd484c3c8462b617222375d850667982ed9944e8f358857405dcadf301ccd4","epoch_transition":false,"execution_optimistic":false},"level":"debug","msg":"We are going to start processing the slot.","time":"2022-06-09T15:56:24-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:71","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":"3998380","level":"debug","msg":"We finished calling processHeadSlot.","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"10000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"0","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"20000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"10000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"30000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"20000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"40000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"30000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"50000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"40000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"60000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"50000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"70000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"60000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"80000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"70000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"90000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"80000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"100000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"90000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"110000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"100000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"120000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"110000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"130000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"120000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"140000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"130000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"150000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"140000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"160000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"150000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"170000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"160000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"180000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"170000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"190000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"180000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"200000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"190000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"210000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"200000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"220000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"210000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"230000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"220000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"240000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"230000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"250000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"240000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"260000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"250000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"270000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"260000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"280000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"270000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"290000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"280000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"300000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"290000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"310000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"300000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"320000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"310000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"330000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"320000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"340000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"330000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"350000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"340000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"360000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"350000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"370000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"360000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"380000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"370000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"390000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"380000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"400000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"390000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"410000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"400000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"420000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"410000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"430000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"420000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"440000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"430000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"450000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"440000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"460000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"450000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"470000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"460000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"480000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"470000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"490000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"480000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"500000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"490000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"510000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"500000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"520000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"510000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"530000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"520000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"540000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"530000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"550000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"540000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"560000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"550000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"570000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"560000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"580000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"570000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"590000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"580000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"600000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"590000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"610000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"600000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"620000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"610000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"630000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"620000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"640000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"630000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"650000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"640000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"660000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"650000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"670000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"660000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"680000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"670000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"690000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"680000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"700000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"690000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"710000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"700000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"720000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"710000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"730000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"720000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"740000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"730000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"750000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"740000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"760000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"750000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"770000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"760000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"780000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"770000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"790000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"780000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"800000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"790000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"810000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"800000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"820000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"810000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"830000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"820000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"840000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"830000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"850000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"840000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"860000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"850000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"870000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"860000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"880000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"870000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"890000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"880000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"900000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"890000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"910000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"900000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"920000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"910000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"930000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"920000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"940000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"930000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"950000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"940000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"960000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"950000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"970000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"960000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"980000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"970000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"990000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"980000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1000000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"990000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1010000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1000000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1020000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1010000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1030000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1020000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1040000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1030000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1050000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1040000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1060000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1050000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1070000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1060000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1080000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1070000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1090000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1080000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1100000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1090000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1110000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1100000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1120000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1110000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1130000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1120000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1140000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1130000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1150000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1140000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1160000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1150000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1170000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1160000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1180000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1170000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1190000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1180000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1200000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1190000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1210000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1200000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1220000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1210000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1230000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1220000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1240000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1230000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1250000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1240000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1260000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1250000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1270000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1260000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1280000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1270000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1290000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1280000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1300000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1290000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1310000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1300000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1320000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1310000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1330000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1320000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1340000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1330000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1350000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1340000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1360000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1350000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1370000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1360000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1380000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1370000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1390000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1380000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1400000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1390000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1410000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1400000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1420000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1410000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1430000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1420000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1440000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1430000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1450000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1440000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1460000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1450000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1470000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1460000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1480000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1470000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1490000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1480000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1500000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1490000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1510000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1500000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1520000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1510000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1530000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1520000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1540000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1530000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1550000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1540000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1560000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1550000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1570000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1560000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1580000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1570000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1590000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1580000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1600000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1590000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1610000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1600000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1620000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1610000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1630000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1620000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1640000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1630000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1650000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1640000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1660000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1650000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1670000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1660000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1680000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1670000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1690000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1680000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1700000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1690000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1710000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1700000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1720000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1710000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1730000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1720000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1740000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1730000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1750000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1740000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1760000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1750000","time":"2022-06-09T15:56:24-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1770000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1760000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1780000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1770000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1790000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1780000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1800000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1790000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1810000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1800000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1820000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1810000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1830000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1820000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1840000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1830000","time":"2022-06-09T15:56:24-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1850000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1840000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1860000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1850000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1870000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1860000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1880000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1870000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1890000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1880000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1900000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1890000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1910000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1900000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1920000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1910000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1930000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1920000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1940000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1930000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1950000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1940000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1960000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1950000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1970000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1960000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1980000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1970000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"1990000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1980000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"2000000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1990000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"2010000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2000000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"2020000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2010000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"2030000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2020000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"2040000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2030000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"2050000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2040000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"2060000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2050000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"2070000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2060000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"2080000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2070000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"2090000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2080000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"2100000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2090000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"2110000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2100000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"2120000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2110000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"2130000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2120000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"2140000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2130000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"2150000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2140000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"2160000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2150000","time":"2022-06-09T15:56:24-04:00"} -{"endSlot":"2170000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2160000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2180000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2170000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2190000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2180000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2200000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2190000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2210000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2200000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2220000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2210000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2230000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2220000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2240000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2230000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2250000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2240000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2260000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2250000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2270000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2260000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2280000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2270000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2290000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2280000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2300000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2290000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2310000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2300000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2320000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2310000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2330000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2320000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2340000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2330000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2350000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2340000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2360000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2350000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2370000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2360000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2380000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2370000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2390000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2380000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2400000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2390000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2410000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2400000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2420000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2410000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2430000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2420000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2440000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2430000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2450000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2440000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2460000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2450000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2470000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2460000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2480000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2470000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2490000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2480000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2500000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2490000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2510000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2500000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2520000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2510000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2530000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2520000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2540000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2530000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2550000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2540000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2560000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2550000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2570000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2560000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2580000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2570000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2590000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2580000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2600000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2590000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2610000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2600000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2620000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2610000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2630000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2620000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2640000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2630000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2650000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2640000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2660000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2650000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2670000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2660000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2680000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2670000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2690000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2680000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2700000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2690000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2710000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2700000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2720000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2710000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2730000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2720000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2740000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2730000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2750000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2740000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2760000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2750000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2770000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2760000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2780000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2770000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2790000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2780000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2800000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2790000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2810000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2800000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2820000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2810000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2830000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2820000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2840000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2830000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2850000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2840000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2860000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2850000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2870000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2860000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2880000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2870000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2890000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2880000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2900000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2890000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2910000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2900000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2920000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2910000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2930000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2920000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2940000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2930000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2950000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2940000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2960000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2950000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2970000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2960000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2980000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2970000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"2990000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2980000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3000000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2990000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3010000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3000000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3020000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3010000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3030000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3020000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3040000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3030000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3050000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3040000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3060000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3050000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3070000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3060000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3080000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3070000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3090000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3080000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3100000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3090000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3110000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3100000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3120000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3110000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3130000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3120000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3140000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3130000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3150000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3140000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3160000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3150000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3170000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3160000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3180000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3170000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3190000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3180000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3200000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3190000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3210000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3200000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3220000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3210000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3230000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3220000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3240000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3230000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3250000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3240000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3260000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3250000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3270000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3260000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3280000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3270000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3290000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3280000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3300000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3290000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3310000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3300000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3320000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3310000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3330000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3320000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3340000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3330000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3350000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3340000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3360000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3350000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3370000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3360000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3380000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3370000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3390000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3380000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3400000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3390000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3410000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3400000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3420000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3410000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3430000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3420000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3440000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3430000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3450000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3440000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3460000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3450000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3470000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3460000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3480000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3470000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3490000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3480000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3500000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3490000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3510000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3500000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3520000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3510000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3530000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3520000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3540000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3530000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3550000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3540000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3560000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3550000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3570000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3560000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3580000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3570000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3590000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3580000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3600000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3590000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3610000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3600000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3620000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3610000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3630000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3620000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3640000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3630000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3650000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3640000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3660000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3650000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3670000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3660000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3680000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3670000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3690000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3680000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3700000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3690000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3710000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3700000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3720000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3710000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3730000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3720000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3740000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3730000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3750000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3740000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3760000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3750000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3770000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3760000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3780000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3770000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3790000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3780000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3800000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3790000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3810000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3800000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3820000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3810000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3830000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3820000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3840000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3830000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3850000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3840000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3860000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3850000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3870000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3860000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3880000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3870000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3890000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3880000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3900000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3890000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3910000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3900000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3920000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3910000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3930000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3920000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3940000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3930000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3950000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3940000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3960000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3950000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3970000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3960000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3980000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3970000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3990000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3980000","time":"2022-06-09T15:56:25-04:00"} -{"endSlot":"3998379","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3990000","time":"2022-06-09T15:56:25-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/0x959e29d0e0dd4770ef64c2f2f473488ab224328638ee500c5f197f36d396db4a","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:25-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/0x209a7ae490b5cfef56a6d982ab5000fa36e6a2a62f5b8ed53f6bb852813319eb","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:25-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:25-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:25-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:156","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We found a new row","time":"2022-06-09T15:56:25-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:220","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"Added a new slots to be processed","slots":{},"time":"2022-06-09T15:56:25-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 0","time":"2022-06-09T15:56:25-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":0,"time":"2022-06-09T15:56:25-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":1,"time":"2022-06-09T15:56:25-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 1","time":"2022-06-09T15:56:25-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/0","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:25-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/0","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:25-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/1","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:25-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/1","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:25-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:156","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We found a new row","time":"2022-06-09T15:56:25-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:220","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"Added a new slots to be processed","slots":{},"time":"2022-06-09T15:56:25-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:26-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:27-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0x7e76880eb67bbdc86250aa578958e9d0675e64e714337855204fb5abaaf82c2b","time":"2022-06-09T15:56:28-04:00"} -{"blockRoot":"0x4d611d5b93fdab69013a7f0a2f961caca0c853f87cfe9595fe50038163079360","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T15:56:28-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 0 0x4d611d5b93fdab69013a7f0a2f961caca0c853f87cfe9595fe50038163079360 0x7e76880eb67bbdc86250aa578958e9d0675e64e714337855204fb5abaaf82c2b proposed}","time":"2022-06-09T15:56:28-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA2GINRRGFSDKYRZGNTGIYLCGY4TAMJTME3WMMDBGJTDSNRRMNQWGYJQMM4DKM3GHA3WGZTFHE2TSNLGMU2TAMBTHAYTMMZQG44TGNRQ","msg":"The MHKEY","time":"2022-06-09T15:56:28-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{0 0x4d611d5b93fdab69013a7f0a2f961caca0c853f87cfe9595fe50038163079360 0x0000000000000000000000000000000000000000000000000000000000000000 0x0000000000000000000000000000000000000000000000000000000000000000 /blocks/QLVAEQRQPA2GINRRGFSDKYRZGNTGIYLCGY4TAMJTME3WMMDBGJTDSNRRMNQWGYJQMM4DKM3GHA3WGZTFHE2TSNLGMU2TAMBTHAYTMMZQG44TGNRQ}","time":"2022-06-09T15:56:28-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA3WKNZWHA4DAZLCGY3WEYTEMM4DMMRVGBQWCNJXHA4TKODFHFSDANRXGVSTMNDFG4YTIMZTG44DKNJSGA2GMYRVMFRGCYLGHAZGGMTC","msg":"The MHKEY","time":"2022-06-09T15:56:28-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{0 0x7e76880eb67bbdc86250aa578958e9d0675e64e714337855204fb5abaaf82c2b /blocks/QLVAEQRQPA3WKNZWHA4DAZLCGY3WEYTEMM4DMMRVGBQWCNJXHA4TKODFHFSDANRXGVSTMNDFG4YTIMZTG44DKNJSGA2GMYRVMFRGCYLGHAZGGMTC}","time":"2022-06-09T15:56:28-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"0","time":"2022-06-09T15:56:28-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:56:28-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0x71ddf39322af21eeabda04f605992ab5027533eb8e9ab915075d432a886c6e51","time":"2022-06-09T15:56:28-04:00"} -{"blockRoot":"0xbacd20f09da907734434f052bd4c9503aa16bab1960e89ea20610d08d064481c","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T15:56:28-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 1 0xbacd20f09da907734434f052bd4c9503aa16bab1960e89ea20610d08d064481c 0x71ddf39322af21eeabda04f605992ab5027533eb8e9ab915075d432a886c6e51 proposed}","time":"2022-06-09T15:56:28-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBRGCY3EGIYGMMBZMRQTSMBXG4ZTINBTGRTDANJSMJSDIYZZGUYDGYLBGE3GEYLCGE4TMMDFHA4WKYJSGA3DCMDEGA4GIMBWGQ2DQMLD","msg":"The MHKEY","time":"2022-06-09T15:56:28-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{1 0xbacd20f09da907734434f052bd4c9503aa16bab1960e89ea20610d08d064481c 0x4d611d5b93fdab69013a7f0a2f961caca0c853f87cfe9595fe50038163079360 0x8d3f027beef5cbd4f8b29fc831aba67a5d74768edca529f5596f07fd207865e1 /blocks/QLVAEQRQPBRGCY3EGIYGMMBZMRQTSMBXG4ZTINBTGRTDANJSMJSDIYZZGUYDGYLBGE3GEYLCGE4TMMDFHA4WKYJSGA3DCMDEGA4GIMBWGQ2DQMLD}","time":"2022-06-09T15:56:28-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA3TCZDEMYZTSMZSGJQWMMRRMVSWCYTEMEYDIZRWGA2TSOJSMFRDKMBSG42TGM3FMI4GKOLBMI4TCNJQG42WINBTGJQTQOBWMM3GKNJR","msg":"The MHKEY","time":"2022-06-09T15:56:28-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{1 0x71ddf39322af21eeabda04f605992ab5027533eb8e9ab915075d432a886c6e51 /blocks/QLVAEQRQPA3TCZDEMYZTSMZSGJQWMMRRMVSWCYTEMEYDIZRWGA2TSOJSMFRDKMBSG42TGM3FMI4GKOLBMI4TCNJQG42WINBTGJQTQOBWMM3GKNJR}","time":"2022-06-09T15:56:28-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"1","time":"2022-06-09T15:56:28-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:56:28-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:28-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:29-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T15:56:30-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 2","time":"2022-06-09T15:56:30-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":2,"time":"2022-06-09T15:56:30-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/2","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:30-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/2","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:30-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T15:56:30-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 3","time":"2022-06-09T15:56:30-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/3","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:30-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":3,"time":"2022-06-09T15:56:30-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/3","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:30-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:30-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:31-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0x850bbbc29a57458784f92d2cabe51a6dd3e514a691b4849f888040770f37afee","time":"2022-06-09T15:56:32-04:00"} -{"blockRoot":"0x2757f6fd8590925cd000a86a3e543f98a93eae23781783a33e34504729a8ad0c","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T15:56:32-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 2 0x2757f6fd8590925cd000a86a3e543f98a93eae23781783a33e34504729a8ad0c 0x850bbbc29a57458784f92d2cabe51a6dd3e514a691b4849f888040770f37afee proposed}","time":"2022-06-09T15:56:32-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPAZDONJXMY3GMZBYGU4TAOJSGVRWIMBQGBQTQNTBGNSTKNBTMY4TQYJZGNSWCZJSGM3TQMJXHAZWCMZTMUZTINJQGQ3TEOLBHBQWIMDD","msg":"The MHKEY","time":"2022-06-09T15:56:32-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{2 0x2757f6fd8590925cd000a86a3e543f98a93eae23781783a33e34504729a8ad0c 0xbacd20f09da907734434f052bd4c9503aa16bab1960e89ea20610d08d064481c 0x8d3f027beef5cbd4f8b29fc831aba67a5d74768edca529f5596f07fd207865e1 /blocks/QLVAEQRQPAZDONJXMY3GMZBYGU4TAOJSGVRWIMBQGBQTQNTBGNSTKNBTMY4TQYJZGNSWCZJSGM3TQMJXHAZWCMZTMUZTINJQGQ3TEOLBHBQWIMDD}","time":"2022-06-09T15:56:32-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA4DKMDCMJRGGMRZME2TONBVHA3TQNDGHEZGIMTDMFRGKNJRME3GIZBTMU2TCNDBGY4TCYRUHA2DSZRYHA4DANBQG43TAZRTG5QWMZLF","msg":"The MHKEY","time":"2022-06-09T15:56:32-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{2 0x850bbbc29a57458784f92d2cabe51a6dd3e514a691b4849f888040770f37afee /blocks/QLVAEQRQPA4DKMDCMJRGGMRZME2TONBVHA3TQNDGHEZGIMTDMFRGKNJRME3GIZBTMU2TCNDBGY4TCYRUHA2DSZRYHA4DANBQG43TAZRTG5QWMZLF}","time":"2022-06-09T15:56:32-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"2","time":"2022-06-09T15:56:32-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:56:32-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0xea80b8dfdde8331107e3021390b16544b60021e31b9c7d4192a28e1f661c1e85","time":"2022-06-09T15:56:32-04:00"} -{"blockRoot":"0xb6c2a16aa85959604baba5344e869cabe1d096bb179d57e61fdca933f5ec7bf5","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T15:56:32-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 3 0xb6c2a16aa85959604baba5344e869cabe1d096bb179d57e61fdca933f5ec7bf5 0xea80b8dfdde8331107e3021390b16544b60021e31b9c7d4192a28e1f661c1e85 proposed}","time":"2022-06-09T15:56:32-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBRDMYZSMEYTMYLBHA2TSNJZGYYDIYTBMJQTKMZUGRSTQNRZMNQWEZJRMQYDSNTCMIYTOOLEGU3WKNRRMZSGGYJZGMZWMNLFMM3WEZRV","msg":"The MHKEY","time":"2022-06-09T15:56:32-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{3 0xb6c2a16aa85959604baba5344e869cabe1d096bb179d57e61fdca933f5ec7bf5 0x2757f6fd8590925cd000a86a3e543f98a93eae23781783a33e34504729a8ad0c 0x8d3f027beef5cbd4f8b29fc831aba67a5d74768edca529f5596f07fd207865e1 /blocks/QLVAEQRQPBRDMYZSMEYTMYLBHA2TSNJZGYYDIYTBMJQTKMZUGRSTQNRZMNQWEZJRMQYDSNTCMIYTOOLEGU3WKNRRMZSGGYJZGMZWMNLFMM3WEZRV}","time":"2022-06-09T15:56:32-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBSWCOBQMI4GIZTEMRSTQMZTGEYTAN3FGMYDEMJTHEYGEMJWGU2DIYRWGAYDEMLFGMYWEOLDG5SDIMJZGJQTEODFGFTDMNRRMMYWKOBV","msg":"The MHKEY","time":"2022-06-09T15:56:32-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{3 0xea80b8dfdde8331107e3021390b16544b60021e31b9c7d4192a28e1f661c1e85 /blocks/QLVAEQRQPBSWCOBQMI4GIZTEMRSTQMZTGEYTAN3FGMYDEMJTHEYGEMJWGU2DIYRWGAYDEMLFGMYWEOLDG5SDIMJZGJQTEODFGFTDMNRRMMYWKOBV}","time":"2022-06-09T15:56:32-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"3","time":"2022-06-09T15:56:32-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:56:32-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:32-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:33-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T15:56:34-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 4","time":"2022-06-09T15:56:34-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":4,"time":"2022-06-09T15:56:34-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/4","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:34-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/4","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:34-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:35-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T15:56:35-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":5,"time":"2022-06-09T15:56:35-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 5","time":"2022-06-09T15:56:35-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/5","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:35-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/5","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:35-04:00"} -{"fields.msg":"{\"slot\":\"3998381\",\"block\":\"0x9eb982e96973660c4b8f74fccd1d4e4e433280b92a7031e16c1f8dac19ca52b0\",\"state\":\"0xe333ac417c75dbb7c5af1877944a8b70635e89675ac1631f06c53dcc3101ec1e\",\"current_duty_dependent_root\":\"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5\",\"previous_duty_dependent_root\":\"0x13dd484c3c8462b617222375d850667982ed9944e8f358857405dcadf301ccd4\",\"epoch_transition\":false}","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/incomingsse.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleIncomingSseEvent[...]","level":"debug","msg":"We are going to send the following message to be processed.","time":"2022-06-09T15:56:35-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":{"slot":"3998381","block":"0x9eb982e96973660c4b8f74fccd1d4e4e433280b92a7031e16c1f8dac19ca52b0","state":"0xe333ac417c75dbb7c5af1877944a8b70635e89675ac1631f06c53dcc3101ec1e","current_duty_dependent_root":"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5","previous_duty_dependent_root":"0x13dd484c3c8462b617222375d850667982ed9944e8f358857405dcadf301ccd4","epoch_transition":false,"execution_optimistic":false},"level":"debug","msg":"We are going to start processing the slot.","time":"2022-06-09T15:56:35-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:71","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":"3998381","level":"debug","msg":"We finished calling processHeadSlot.","time":"2022-06-09T15:56:35-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/0x9eb982e96973660c4b8f74fccd1d4e4e433280b92a7031e16c1f8dac19ca52b0","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:35-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/0xe333ac417c75dbb7c5af1877944a8b70635e89675ac1631f06c53dcc3101ec1e","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:35-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:36-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:37-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 5 skipped}","time":"2022-06-09T15:56:37-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":0,"level":"debug","mhKey":"/blocks/QLVAEAA","msg":"The MHKEY","time":"2022-06-09T15:56:37-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{5 /blocks/QLVAEAA}","time":"2022-06-09T15:56:37-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":0,"level":"debug","mhKey":"/blocks/QLVAEAA","msg":"The MHKEY","time":"2022-06-09T15:56:37-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{5 /blocks/QLVAEAA}","time":"2022-06-09T15:56:37-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"5","time":"2022-06-09T15:56:37-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:56:37-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T15:56:37-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 6","time":"2022-06-09T15:56:37-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":6,"time":"2022-06-09T15:56:37-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/6","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:37-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/6","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:37-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:38-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0xf87def8c708f47cb1ed5e02bd92f28af0e209e52d6c2769e04ba1d84d78f9207","time":"2022-06-09T15:56:38-04:00"} -{"blockRoot":"0x5c6b778730425b5f102675563ed4495e2392ffec3d98df32a1f92502a2cb8d2f","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T15:56:38-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 4 0x5c6b778730425b5f102675563ed4495e2392ffec3d98df32a1f92502a2cb8d2f 0xf87def8c708f47cb1ed5e02bd92f28af0e209e52d6c2769e04ba1d84d78f9207 proposed}","time":"2022-06-09T15:56:38-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA2WGNTCG43TQNZTGA2DENLCGVTDCMBSGY3TKNJWGNSWINBUHE2WKMRTHEZGMZTFMMZWIOJYMRTDGMTBGFTDSMRVGAZGCMTDMI4GIMTG","msg":"The MHKEY","time":"2022-06-09T15:56:38-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{4 0x5c6b778730425b5f102675563ed4495e2392ffec3d98df32a1f92502a2cb8d2f 0xb6c2a16aa85959604baba5344e869cabe1d096bb179d57e61fdca933f5ec7bf5 0x8d3f027beef5cbd4f8b29fc831aba67a5d74768edca529f5596f07fd207865e1 /blocks/QLVAEQRQPA2WGNTCG43TQNZTGA2DENLCGVTDCMBSGY3TKNJWGNSWINBUHE2WKMRTHEZGMZTFMMZWIOJYMRTDGMTBGFTDSMRVGAZGCMTDMI4GIMTG}","time":"2022-06-09T15:56:38-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBTDQN3EMVTDQYZXGA4GMNBXMNRDCZLEGVSTAMTCMQ4TEZRSHBQWMMDFGIYDSZJVGJSDMYZSG43DSZJQGRRGCMLEHA2GINZYMY4TEMBX","msg":"The MHKEY","time":"2022-06-09T15:56:38-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{4 0xf87def8c708f47cb1ed5e02bd92f28af0e209e52d6c2769e04ba1d84d78f9207 /blocks/QLVAEQRQPBTDQN3EMVTDQYZXGA4GMNBXMNRDCZLEGVSTAMTCMQ4TEZRSHBQWMMDFGIYDSZJVGJSDMYZSG43DSZJQGRRGCMLEHA2GINZYMY4TEMBX}","time":"2022-06-09T15:56:38-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"4","time":"2022-06-09T15:56:38-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:56:38-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:39-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:40-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T15:56:40-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0x62a39b4397c2de8e7f3168a0f727a0a33d92cd1c401674dcefb74de9aeb7f62b","time":"2022-06-09T15:56:40-04:00"} -{"blockRoot":"0x336fa27c77036379a5764bce7b208b3cffeea8b0e8cda4efb2893259646403d4","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T15:56:40-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 6 0x336fa27c77036379a5764bce7b208b3cffeea8b0e8cda4efb2893259646403d4 0x62a39b4397c2de8e7f3168a0f727a0a33d92cd1c401674dcefb74de9aeb7f62b proposed}","time":"2022-06-09T15:56:40-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPAZTGNTGMEZDOYZXG4YDGNRTG44WCNJXGY2GEY3FG5RDEMBYMIZWGZTGMVSWCODCGBSTQY3EME2GKZTCGI4DSMZSGU4TMNBWGQYDGZBU","msg":"The MHKEY","time":"2022-06-09T15:56:40-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{6 0x336fa27c77036379a5764bce7b208b3cffeea8b0e8cda4efb2893259646403d4 0x5c6b778730425b5f102675563ed4495e2392ffec3d98df32a1f92502a2cb8d2f 0x8d3f027beef5cbd4f8b29fc831aba67a5d74768edca529f5596f07fd207865e1 /blocks/QLVAEQRQPAZTGNTGMEZDOYZXG4YDGNRTG44WCNJXGY2GEY3FG5RDEMBYMIZWGZTGMVSWCODCGBSTQY3EME2GKZTCGI4DSMZSGU4TMNBWGQYDGZBU}","time":"2022-06-09T15:56:40-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA3DEYJTHFRDIMZZG5RTEZDFHBSTOZRTGE3DQYJQMY3TEN3BGBQTGM3EHEZGGZBRMM2DAMJWG42GIY3FMZRDONDEMU4WCZLCG5TDMMTC","msg":"The MHKEY","time":"2022-06-09T15:56:40-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{6 0x62a39b4397c2de8e7f3168a0f727a0a33d92cd1c401674dcefb74de9aeb7f62b /blocks/QLVAEQRQPA3DEYJTHFRDIMZZG5RTEZDFHBSTOZRTGE3DQYJQMY3TEN3BGBQTGM3EHEZGGZBRMM2DAMJWG42GIY3FMZRDONDEMU4WCZLCG5TDMMTC}","time":"2022-06-09T15:56:40-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"6","time":"2022-06-09T15:56:40-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:56:40-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 7","time":"2022-06-09T15:56:40-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/7","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:40-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":7,"time":"2022-06-09T15:56:40-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/7","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:40-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:41-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T15:56:42-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 8","time":"2022-06-09T15:56:42-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/8","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:42-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":8,"time":"2022-06-09T15:56:42-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/8","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:42-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:42-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 7 skipped}","time":"2022-06-09T15:56:43-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":0,"level":"debug","mhKey":"/blocks/QLVAEAA","msg":"The MHKEY","time":"2022-06-09T15:56:43-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{7 /blocks/QLVAEAA}","time":"2022-06-09T15:56:43-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":0,"level":"debug","mhKey":"/blocks/QLVAEAA","msg":"The MHKEY","time":"2022-06-09T15:56:43-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{7 /blocks/QLVAEAA}","time":"2022-06-09T15:56:43-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"7","time":"2022-06-09T15:56:43-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:56:43-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T15:56:43-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 9","time":"2022-06-09T15:56:43-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/9","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:43-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/9","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:43-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":9,"time":"2022-06-09T15:56:43-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:43-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{124949 3998380 0x959e29d0e0dd4770ef64c2f2f473488ab224328638ee500c5f197f36d396db4a 0x209a7ae490b5cfef56a6d982ab5000fa36e6a2a62f5b8ed53f6bb852813319eb proposed}","time":"2022-06-09T15:56:43-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA4TKOLFGI4WIMDFGBSGINBXG4YGKZRWGRRTEZRSMY2DOMZUHA4GCYRSGI2DGMRYGYZTQZLFGUYDAYZVMYYTSN3GGM3GIMZZGZSGENDB","msg":"The MHKEY","time":"2022-06-09T15:56:43-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{3998380 0x959e29d0e0dd4770ef64c2f2f473488ab224328638ee500c5f197f36d396db4a 0xe013cbc74358148a6b34dcfca7916d28452dfd61ac54968eeebabf9352d45925 0xdeb4f8e03e3281723be9b2942ebcc95930de2ee252d90329bee61580cb8bce6c /blocks/QLVAEQRQPA4TKOLFGI4WIMDFGBSGINBXG4YGKZRWGRRTEZRSMY2DOMZUHA4GCYRSGI2DGMRYGYZTQZLFGUYDAYZVMYYTSN3GGM3GIMZZGZSGENDB}","time":"2022-06-09T15:56:43-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPAZDAOLBG5QWKNBZGBRDKY3GMVTDKNTBGZSDSOBSMFRDKMBQGBTGCMZWMU3GCMTBGYZGMNLCHBSWINJTMY3GEYRYGUZDQMJTGMYTSZLC","msg":"The MHKEY","time":"2022-06-09T15:56:43-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{3998380 0x209a7ae490b5cfef56a6d982ab5000fa36e6a2a62f5b8ed53f6bb852813319eb /blocks/QLVAEQRQPAZDAOLBG5QWKNBZGBRDKY3GMVTDKNTBGZSDSOBSMFRDKMBQGBTGCMZWMU3GCMTBGYZGMNLCHBSWINJTMY3GEYRYGUZDQMJTGMYTSZLC}","time":"2022-06-09T15:56:43-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"3998380","time":"2022-06-09T15:56:43-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:56:43-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:44-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0xfaa5a988e4a890e8dd1b4d5c3735141dbefde87d052dd223de89257279651afb","time":"2022-06-09T15:56:44-04:00"} -{"blockRoot":"0x8425c842669d35758baedd7295ebe289eaccb8a67f084d408f8040c654be934d","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T15:56:44-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 8 0x8425c842669d35758baedd7295ebe289eaccb8a67f084d408f8040c654be934d 0xfaa5a988e4a890e8dd1b4d5c3735141dbefde87d052dd223de89257279651afb proposed}","time":"2022-06-09T15:56:44-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA4DIMRVMM4DIMRWGY4WIMZVG42TQYTBMVSGINZSHE2WKYTFGI4DSZLBMNRWEODBGY3WMMBYGRSDIMBYMY4DANBQMM3DKNDCMU4TGNDE","msg":"The MHKEY","time":"2022-06-09T15:56:44-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{8 0x8425c842669d35758baedd7295ebe289eaccb8a67f084d408f8040c654be934d 0x336fa27c77036379a5764bce7b208b3cffeea8b0e8cda4efb2893259646403d4 0x8d3f027beef5cbd4f8b29fc831aba67a5d74768edca529f5596f07fd207865e1 /blocks/QLVAEQRQPA4DIMRVMM4DIMRWGY4WIMZVG42TQYTBMVSGINZSHE2WKYTFGI4DSZLBMNRWEODBGY3WMMBYGRSDIMBYMY4DANBQMM3DKNDCMU4TGNDE}","time":"2022-06-09T15:56:44-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBTGCYJVME4TQODFGRQTQOJQMU4GIZBRMI2GINLDGM3TGNJRGQYWIYTFMZSGKOBXMQYDKMTEMQZDEM3EMU4DSMRVG4ZDOOJWGUYWCZTC","msg":"The MHKEY","time":"2022-06-09T15:56:44-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{8 0xfaa5a988e4a890e8dd1b4d5c3735141dbefde87d052dd223de89257279651afb /blocks/QLVAEQRQPBTGCYJVME4TQODFGRQTQOJQMU4GIZBRMI2GINLDGM3TGNJRGQYWIYTFMZSGKOBXMQYDKMTEMQZDEM3EMU4DSMRVG4ZDOOJWGUYWCZTC}","time":"2022-06-09T15:56:44-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"8","time":"2022-06-09T15:56:44-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:56:44-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:45-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0xd9124dd802914a03e871719f5b30f127b7184d0f46fe42885e54e7d8ce7609fa","time":"2022-06-09T15:56:46-04:00"} -{"blockRoot":"0x63ead762e41bc0162b5942ddcdd589a6006a9d5a07fc72026a0f4833406cad14","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T15:56:46-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:46-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 9 0x63ead762e41bc0162b5942ddcdd589a6006a9d5a07fc72026a0f4833406cad14 0xd9124dd802914a03e871719f5b30f127b7184d0f46fe42885e54e7d8ce7609fa proposed}","time":"2022-06-09T15:56:46-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA3DGZLBMQ3TMMTFGQYWEYZQGE3DEYRVHE2DEZDEMNSGINJYHFQTMMBQGZQTSZBVMEYDOZTDG4ZDAMRWMEYGMNBYGMZTIMBWMNQWIMJU","msg":"The MHKEY","time":"2022-06-09T15:56:46-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{9 0x63ead762e41bc0162b5942ddcdd589a6006a9d5a07fc72026a0f4833406cad14 0x8425c842669d35758baedd7295ebe289eaccb8a67f084d408f8040c654be934d 0x8d3f027beef5cbd4f8b29fc831aba67a5d74768edca529f5596f07fd207865e1 /blocks/QLVAEQRQPA3DGZLBMQ3TMMTFGQYWEYZQGE3DEYRVHE2DEZDEMNSGINJYHFQTMMBQGZQTSZBVMEYDOZTDG4ZDAMRWMEYGMNBYGMZTIMBWMNQWIMJU}","time":"2022-06-09T15:56:46-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBSDSMJSGRSGIOBQGI4TCNDBGAZWKOBXGE3TCOLGGVRDGMDGGEZDOYRXGE4DIZBQMY2DMZTFGQZDQOBVMU2TIZJXMQ4GGZJXGYYDSZTB","msg":"The MHKEY","time":"2022-06-09T15:56:46-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{9 0xd9124dd802914a03e871719f5b30f127b7184d0f46fe42885e54e7d8ce7609fa /blocks/QLVAEQRQPBSDSMJSGRSGIOBQGI4TCNDBGAZWKOBXGE3TCOLGGVRDGMDGGEZDOYRXGE4DIZBQMY2DMZTFGQZDQOBVMU2TIZJXMQ4GGZJXGYYDSZTB}","time":"2022-06-09T15:56:46-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"9","time":"2022-06-09T15:56:46-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:56:46-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T15:56:46-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 10","time":"2022-06-09T15:56:46-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/10","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:46-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/10","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:46-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":10,"time":"2022-06-09T15:56:46-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:47-04:00"} -{"fields.msg":"{\"slot\":\"3998382\",\"block\":\"0xf311e00bed3323c0707056f313ef8f4fadedb00ce207b77727ccfba60d41be8e\",\"state\":\"0xf2662f3d1a528982f6b79d25aaefc96c0e95a480d1120168ec9c6d14737e8e98\",\"current_duty_dependent_root\":\"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5\",\"previous_duty_dependent_root\":\"0x13dd484c3c8462b617222375d850667982ed9944e8f358857405dcadf301ccd4\",\"epoch_transition\":false}","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/incomingsse.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleIncomingSseEvent[...]","level":"debug","msg":"We are going to send the following message to be processed.","time":"2022-06-09T15:56:47-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":{"slot":"3998382","block":"0xf311e00bed3323c0707056f313ef8f4fadedb00ce207b77727ccfba60d41be8e","state":"0xf2662f3d1a528982f6b79d25aaefc96c0e95a480d1120168ec9c6d14737e8e98","current_duty_dependent_root":"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5","previous_duty_dependent_root":"0x13dd484c3c8462b617222375d850667982ed9944e8f358857405dcadf301ccd4","epoch_transition":false,"execution_optimistic":false},"level":"debug","msg":"We are going to start processing the slot.","time":"2022-06-09T15:56:47-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:71","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":"3998382","level":"debug","msg":"We finished calling processHeadSlot.","time":"2022-06-09T15:56:47-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/0xf2662f3d1a528982f6b79d25aaefc96c0e95a480d1120168ec9c6d14737e8e98","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:47-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/0xf311e00bed3323c0707056f313ef8f4fadedb00ce207b77727ccfba60d41be8e","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:47-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:48-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0x18013e8208e6f19f1c065b1d2391795f7796db32d6a3c3fbd914ca401c58e0c0","time":"2022-06-09T15:56:48-04:00"} -{"blockRoot":"0x1e9fba478d3993e5ba1e06e5b27a9596f492906285aa8fac4a39eb38f06bde17","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T15:56:48-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 10 0x1e9fba478d3993e5ba1e06e5b27a9596f492906285aa8fac4a39eb38f06bde17 0x18013e8208e6f19f1c065b1d2391795f7796db32d6a3c3fbd914ca401c58e0c0 proposed}","time":"2022-06-09T15:56:48-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPAYWKOLGMJQTINZYMQZTSOJTMU2WEYJRMUYDMZJVMIZDOYJZGU4TMZRUHEZDSMBWGI4DKYLBHBTGCYZUMEZTSZLCGM4GMMBWMJSGKMJX","msg":"The MHKEY","time":"2022-06-09T15:56:48-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{10 0x1e9fba478d3993e5ba1e06e5b27a9596f492906285aa8fac4a39eb38f06bde17 0x63ead762e41bc0162b5942ddcdd589a6006a9d5a07fc72026a0f4833406cad14 0x8d3f027beef5cbd4f8b29fc831aba67a5d74768edca529f5596f07fd207865e1 /blocks/QLVAEQRQPAYWKOLGMJQTINZYMQZTSOJTMU2WEYJRMUYDMZJVMIZDOYJZGU4TMZRUHEZDSMBWGI4DKYLBHBTGCYZUMEZTSZLCGM4GMMBWMJSGKMJX}","time":"2022-06-09T15:56:48-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPAYTQMBRGNSTQMRQHBSTMZRRHFTDCYZQGY2WEMLEGIZTSMJXHE2WMNZXHE3GIYRTGJSDMYJTMMZWMYTEHEYTIY3BGQYDCYZVHBSTAYZQ","msg":"The MHKEY","time":"2022-06-09T15:56:48-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{10 0x18013e8208e6f19f1c065b1d2391795f7796db32d6a3c3fbd914ca401c58e0c0 /blocks/QLVAEQRQPAYTQMBRGNSTQMRQHBSTMZRRHFTDCYZQGY2WEMLEGIZTSMJXHE2WMNZXHE3GIYRTGJSDMYJTMMZWMYTEHEYTIY3BGQYDCYZVHBSTAYZQ}","time":"2022-06-09T15:56:48-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"10","time":"2022-06-09T15:56:48-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:56:49-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:49-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T15:56:49-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":11,"time":"2022-06-09T15:56:49-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 11","time":"2022-06-09T15:56:49-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/11","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:49-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/11","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:49-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:50-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:51-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0x2449cae7f9b6400b406c3f55a23c69fd032aceff3156b03c40217dad9e918dad","time":"2022-06-09T15:56:52-04:00"} -{"blockRoot":"0xa8a43b6d105ecdbe4b65849c3300715ffa83e2232150d86b163fe3b53ce446ad","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T15:56:52-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 11 0xa8a43b6d105ecdbe4b65849c3300715ffa83e2232150d86b163fe3b53ce446ad 0x2449cae7f9b6400b406c3f55a23c69fd032aceff3156b03c40217dad9e918dad proposed}","time":"2022-06-09T15:56:52-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBQTQYJUGNRDMZBRGA2WKY3EMJSTIYRWGU4DIOLDGMZTAMBXGE2WMZTBHAZWKMRSGMZDCNJQMQ4DMYRRGYZWMZJTMI2TGY3FGQ2DMYLE","msg":"The MHKEY","time":"2022-06-09T15:56:52-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{11 0xa8a43b6d105ecdbe4b65849c3300715ffa83e2232150d86b163fe3b53ce446ad 0x1e9fba478d3993e5ba1e06e5b27a9596f492906285aa8fac4a39eb38f06bde17 0x8d3f027beef5cbd4f8b29fc831aba67a5d74768edca529f5596f07fd207865e1 /blocks/QLVAEQRQPBQTQYJUGNRDMZBRGA2WKY3EMJSTIYRWGU4DIOLDGMZTAMBXGE2WMZTBHAZWKMRSGMZDCNJQMQ4DMYRRGYZWMZJTMI2TGY3FGQ2DMYLE}","time":"2022-06-09T15:56:52-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPAZDINBZMNQWKN3GHFRDMNBQGBRDIMBWMMZWMNJVMEZDGYZWHFTGIMBTGJQWGZLGMYZTCNJWMIYDGYZUGAZDCN3EMFSDSZJZGE4GIYLE","msg":"The MHKEY","time":"2022-06-09T15:56:52-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{11 0x2449cae7f9b6400b406c3f55a23c69fd032aceff3156b03c40217dad9e918dad /blocks/QLVAEQRQPAZDINBZMNQWKN3GHFRDMNBQGBRDIMBWMMZWMNJVMEZDGYZWHFTGIMBTGJQWGZLGMYZTCNJWMIYDGYZUGAZDCN3EMFSDSZJZGE4GIYLE}","time":"2022-06-09T15:56:52-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"11","time":"2022-06-09T15:56:52-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:56:52-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T15:56:53-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 12","time":"2022-06-09T15:56:53-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":12,"time":"2022-06-09T15:56:53-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/12","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:53-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/12","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:53-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:53-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:55-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0xcfcce6ed2f590af192d32f5f89e4e4bf24cecc4ef2c5aaefb60a53997c1b3b67","time":"2022-06-09T15:56:56-04:00"} -{"blockRoot":"0xa357624018f8332ec983c1217ae3d5a44573de2c9fbfa9ba24f9ec7ff797d48d","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T15:56:56-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 12 0xa357624018f8332ec983c1217ae3d5a44573de2c9fbfa9ba24f9ec7ff797d48d 0xcfcce6ed2f590af192d32f5f89e4e4bf24cecc4ef2c5aaefb60a53997c1b3b67 proposed}","time":"2022-06-09T15:56:56-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBQTGNJXGYZDIMBRHBTDQMZTGJSWGOJYGNRTCMRRG5QWKM3EGVQTINBVG4ZWIZJSMM4WMYTGME4WEYJSGRTDSZLDG5TGMNZZG5SDIODE","msg":"The MHKEY","time":"2022-06-09T15:56:56-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{12 0xa357624018f8332ec983c1217ae3d5a44573de2c9fbfa9ba24f9ec7ff797d48d 0xa8a43b6d105ecdbe4b65849c3300715ffa83e2232150d86b163fe3b53ce446ad 0x8d3f027beef5cbd4f8b29fc831aba67a5d74768edca529f5596f07fd207865e1 /blocks/QLVAEQRQPBQTGNJXGYZDIMBRHBTDQMZTGJSWGOJYGNRTCMRRG5QWKM3EGVQTINBVG4ZWIZJSMM4WMYTGME4WEYJSGRTDSZLDG5TGMNZZG5SDIODE}","time":"2022-06-09T15:56:56-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBRWMY3DMU3GKZBSMY2TSMDBMYYTSMTEGMZGMNLGHA4WKNDFGRRGMMRUMNSWGYZUMVTDEYZVMFQWKZTCGYYGCNJTHE4TOYZRMIZWENRX","msg":"The MHKEY","time":"2022-06-09T15:56:56-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{12 0xcfcce6ed2f590af192d32f5f89e4e4bf24cecc4ef2c5aaefb60a53997c1b3b67 /blocks/QLVAEQRQPBRWMY3DMU3GKZBSMY2TSMDBMYYTSMTEGMZGMNLGHA4WKNDFGRRGMMRUMNSWGYZUMVTDEYZVMFQWKZTCGYYGCNJTHE4TOYZRMIZWENRX}","time":"2022-06-09T15:56:56-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"12","time":"2022-06-09T15:56:56-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:56:56-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T15:56:56-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 13","time":"2022-06-09T15:56:56-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":13,"time":"2022-06-09T15:56:56-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/13","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:56-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/13","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:56:56-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:56-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:57-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:58-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0xc84102eebc40921de9e1614ac4a26122305bff6ffb2e73e20b54453a94731642","time":"2022-06-09T15:56:58-04:00"} -{"blockRoot":"0xefbad73735df30abbca525d8ef0cd4b3d7c78fedad87920bbe9fa28e9328e3a9","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T15:56:58-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 13 0xefbad73735df30abbca525d8ef0cd4b3d7c78fedad87920bbe9fa28e9328e3a9 0xc84102eebc40921de9e1614ac4a26122305bff6ffb2e73e20b54453a94731642 proposed}","time":"2022-06-09T15:56:59-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBSWMYTBMQ3TGNZTGVSGMMZQMFRGEY3BGUZDKZBYMVTDAY3EGRRDGZBXMM3TQZTFMRQWIOBXHEZDAYTCMU4WMYJSHBSTSMZSHBSTGYJZ","msg":"The MHKEY","time":"2022-06-09T15:56:59-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{13 0xefbad73735df30abbca525d8ef0cd4b3d7c78fedad87920bbe9fa28e9328e3a9 0xa357624018f8332ec983c1217ae3d5a44573de2c9fbfa9ba24f9ec7ff797d48d 0x8d3f027beef5cbd4f8b29fc831aba67a5d74768edca529f5596f07fd207865e1 /blocks/QLVAEQRQPBSWMYTBMQ3TGNZTGVSGMMZQMFRGEY3BGUZDKZBYMVTDAY3EGRRDGZBXMM3TQZTFMRQWIOBXHEZDAYTCMU4WMYJSHBSTSMZSHBSTGYJZ}","time":"2022-06-09T15:56:59-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBRTQNBRGAZGKZLCMM2DAOJSGFSGKOLFGE3DCNDBMM2GCMRWGEZDEMZQGVRGMZRWMZTGEMTFG4ZWKMRQMI2TINBVGNQTSNBXGMYTMNBS","msg":"The MHKEY","time":"2022-06-09T15:56:59-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{13 0xc84102eebc40921de9e1614ac4a26122305bff6ffb2e73e20b54453a94731642 /blocks/QLVAEQRQPBRTQNBRGAZGKZLCMM2DAOJSGFSGKOLFGE3DCNDBMM2GCMRWGEZDEMZQGVRGMZRWMZTGEMTFG4ZWKMRQMI2TINBVGNQTSNBXGMYTMNBS}","time":"2022-06-09T15:56:59-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"13","time":"2022-06-09T15:56:59-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:56:59-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:56:59-04:00"} -{"fields.msg":"{\"slot\":\"3998383\",\"block\":\"0xed3acfe4432f4c547461ed007b01639038f25a1bc45a911e742f2cd6b069acca\",\"state\":\"0xda37de6e0fd53a180e18518c0e98c2787d71c580103c453c58e05d34cfb43c51\",\"current_duty_dependent_root\":\"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5\",\"previous_duty_dependent_root\":\"0x13dd484c3c8462b617222375d850667982ed9944e8f358857405dcadf301ccd4\",\"epoch_transition\":false}","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/incomingsse.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleIncomingSseEvent[...]","level":"debug","msg":"We are going to send the following message to be processed.","time":"2022-06-09T15:57:00-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":{"slot":"3998383","block":"0xed3acfe4432f4c547461ed007b01639038f25a1bc45a911e742f2cd6b069acca","state":"0xda37de6e0fd53a180e18518c0e98c2787d71c580103c453c58e05d34cfb43c51","current_duty_dependent_root":"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5","previous_duty_dependent_root":"0x13dd484c3c8462b617222375d850667982ed9944e8f358857405dcadf301ccd4","epoch_transition":false,"execution_optimistic":false},"level":"debug","msg":"We are going to start processing the slot.","time":"2022-06-09T15:57:00-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:71","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":"3998383","level":"debug","msg":"We finished calling processHeadSlot.","time":"2022-06-09T15:57:00-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/0xda37de6e0fd53a180e18518c0e98c2787d71c580103c453c58e05d34cfb43c51","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:57:00-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/0xed3acfe4432f4c547461ed007b01639038f25a1bc45a911e742f2cd6b069acca","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:57:00-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:00-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T15:57:00-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 14","time":"2022-06-09T15:57:00-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":14,"time":"2022-06-09T15:57:00-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/14","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:57:00-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/14","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:57:00-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:01-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:03-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{124949 3998381 0x9eb982e96973660c4b8f74fccd1d4e4e433280b92a7031e16c1f8dac19ca52b0 0xe333ac417c75dbb7c5af1877944a8b70635e89675ac1631f06c53dcc3101ec1e proposed}","time":"2022-06-09T15:57:04-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA4WKYRZHAZGKOJWHE3TGNRWGBRTIYRYMY3TIZTDMNSDCZBUMU2GKNBTGMZDQMDCHEZGCNZQGMYWKMJWMMYWMODEMFRTCOLDME2TEYRQ","msg":"The MHKEY","time":"2022-06-09T15:57:04-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{3998381 0x9eb982e96973660c4b8f74fccd1d4e4e433280b92a7031e16c1f8dac19ca52b0 0x959e29d0e0dd4770ef64c2f2f473488ab224328638ee500c5f197f36d396db4a 0xdeb4f8e03e3281723be9b2942ebcc95930de2ee252d90329bee61580cb8bce6c /blocks/QLVAEQRQPA4WKYRZHAZGKOJWHE3TGNRWGBRTIYRYMY3TIZTDMNSDCZBUMU2GKNBTGMZDQMDCHEZGCNZQGMYWKMJWMMYWMODEMFRTCOLDME2TEYRQ}","time":"2022-06-09T15:57:04-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBSTGMZTMFRTIMJXMM3TKZDCMI3WGNLBMYYTQNZXHE2DIYJYMI3TANRTGVSTQOJWG42WCYZRGYZTCZRQGZRTKM3EMNRTGMJQGFSWGMLF","msg":"The MHKEY","time":"2022-06-09T15:57:04-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{3998381 0xe333ac417c75dbb7c5af1877944a8b70635e89675ac1631f06c53dcc3101ec1e /blocks/QLVAEQRQPBSTGMZTMFRTIMJXMM3TKZDCMI3WGNLBMYYTQNZXHE2DIYJYMI3TANRTGVSTQOJWG42WCYZRGYZTCZRQGZRTKM3EMNRTGMJQGFSWGMLF}","time":"2022-06-09T15:57:04-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"3998381","time":"2022-06-09T15:57:04-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:57:04-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:04-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T15:57:04-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 15","time":"2022-06-09T15:57:04-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/15","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:57:04-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/15","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:57:04-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":15,"time":"2022-06-09T15:57:04-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0xaca207005375d4a60618a1135b3081a4628f0b526c52d69291ab864f32501e63","time":"2022-06-09T15:57:05-04:00"} -{"blockRoot":"0xce8705f118066636e1e8fc089cce898eb85bea31abee4728582eb2f280d29d6b","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T15:57:05-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 14 0xce8705f118066636e1e8fc089cce898eb85bea31abee4728582eb2f280d29d6b 0xaca207005375d4a60618a1135b3081a4628f0b526c52d69291ab864f32501e63 proposed}","time":"2022-06-09T15:57:05-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBRWKOBXGA2WMMJRHAYDMNRWGM3GKMLFHBTGGMBYHFRWGZJYHE4GKYRYGVRGKYJTGFQWEZLFGQ3TEOBVHAZGKYRSMYZDQMDEGI4WINTC","msg":"The MHKEY","time":"2022-06-09T15:57:05-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{14 0xce8705f118066636e1e8fc089cce898eb85bea31abee4728582eb2f280d29d6b 0xefbad73735df30abbca525d8ef0cd4b3d7c78fedad87920bbe9fa28e9328e3a9 0x8d3f027beef5cbd4f8b29fc831aba67a5d74768edca529f5596f07fd207865e1 /blocks/QLVAEQRQPBRWKOBXGA2WMMJRHAYDMNRWGM3GKMLFHBTGGMBYHFRWGZJYHE4GKYRYGVRGKYJTGFQWEZLFGQ3TEOBVHAZGKYRSMYZDQMDEGI4WINTC}","time":"2022-06-09T15:57:05-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBQWGYJSGA3TAMBVGM3TKZBUME3DANRRHBQTCMJTGVRDGMBYGFQTINRSHBTDAYRVGI3GGNJSMQ3DSMRZGFQWEOBWGRTDGMRVGAYWKNRT","msg":"The MHKEY","time":"2022-06-09T15:57:05-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{14 0xaca207005375d4a60618a1135b3081a4628f0b526c52d69291ab864f32501e63 /blocks/QLVAEQRQPBQWGYJSGA3TAMBVGM3TKZBUME3DANRRHBQTCMJTGVRDGMBYGFQTINRSHBTDAYRVGI3GGNJSMQ3DSMRZGFQWEOBWGRTDGMRVGAYWKNRT}","time":"2022-06-09T15:57:05-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"14","time":"2022-06-09T15:57:05-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:05-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:57:05-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:06-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 15 skipped}","time":"2022-06-09T15:57:07-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":0,"level":"debug","mhKey":"/blocks/QLVAEAA","msg":"The MHKEY","time":"2022-06-09T15:57:07-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{15 /blocks/QLVAEAA}","time":"2022-06-09T15:57:07-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":0,"level":"debug","mhKey":"/blocks/QLVAEAA","msg":"The MHKEY","time":"2022-06-09T15:57:07-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{15 /blocks/QLVAEAA}","time":"2022-06-09T15:57:07-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"15","time":"2022-06-09T15:57:07-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:57:07-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T15:57:07-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":16,"time":"2022-06-09T15:57:07-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 16","time":"2022-06-09T15:57:07-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/16","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:57:07-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/16","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:57:07-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:08-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:09-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:10-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 16 skipped}","time":"2022-06-09T15:57:10-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":0,"level":"debug","mhKey":"/blocks/QLVAEAA","msg":"The MHKEY","time":"2022-06-09T15:57:10-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{16 /blocks/QLVAEAA}","time":"2022-06-09T15:57:10-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":0,"level":"debug","mhKey":"/blocks/QLVAEAA","msg":"The MHKEY","time":"2022-06-09T15:57:10-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{16 /blocks/QLVAEAA}","time":"2022-06-09T15:57:10-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"16","time":"2022-06-09T15:57:10-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:57:10-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T15:57:10-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 17","time":"2022-06-09T15:57:11-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":17,"time":"2022-06-09T15:57:11-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/17","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:57:11-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/17","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:57:11-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:11-04:00"} -{"fields.msg":"{\"slot\":\"3998384\",\"block\":\"0xbe5c776e1ca3cafaa7491513e8e8cdfdae38b348cb3a4f71b58317e6c979a207\",\"state\":\"0x8978b5e89638210c9ed9ed10b544aef4bae0668f07fed79ecbac0f290cc9ae03\",\"current_duty_dependent_root\":\"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5\",\"previous_duty_dependent_root\":\"0x13dd484c3c8462b617222375d850667982ed9944e8f358857405dcadf301ccd4\",\"epoch_transition\":false}","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/incomingsse.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleIncomingSseEvent[...]","level":"debug","msg":"We are going to send the following message to be processed.","time":"2022-06-09T15:57:11-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":{"slot":"3998384","block":"0xbe5c776e1ca3cafaa7491513e8e8cdfdae38b348cb3a4f71b58317e6c979a207","state":"0x8978b5e89638210c9ed9ed10b544aef4bae0668f07fed79ecbac0f290cc9ae03","current_duty_dependent_root":"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5","previous_duty_dependent_root":"0x13dd484c3c8462b617222375d850667982ed9944e8f358857405dcadf301ccd4","epoch_transition":false,"execution_optimistic":false},"level":"debug","msg":"We are going to start processing the slot.","time":"2022-06-09T15:57:11-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:71","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":"3998384","level":"debug","msg":"We finished calling processHeadSlot.","time":"2022-06-09T15:57:11-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/0xbe5c776e1ca3cafaa7491513e8e8cdfdae38b348cb3a4f71b58317e6c979a207","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:57:11-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/0x8978b5e89638210c9ed9ed10b544aef4bae0668f07fed79ecbac0f290cc9ae03","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:57:11-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:12-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T15:57:13-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":18,"time":"2022-06-09T15:57:13-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 18","time":"2022-06-09T15:57:13-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/18","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:57:13-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/18","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:57:13-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:13-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:14-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:16-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0xcd02b93416c5630937a90de7850e8deaa8393b98851f2483bb83a4f71addf930","time":"2022-06-09T15:57:16-04:00"} -{"blockRoot":"0x61dbe9fd766caf39a251b2c3064ae7417be9e2f07eb9e62b599146f6f87cc02f","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T15:57:16-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 17 0x61dbe9fd766caf39a251b2c3064ae7417be9e2f07eb9e62b599146f6f87cc02f 0xcd02b93416c5630937a90de7850e8deaa8393b98851f2483bb83a4f71addf930 proposed}","time":"2022-06-09T15:57:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA3DCZDCMU4WMZBXGY3GGYLGGM4WCMRVGFRDEYZTGA3DIYLFG42DCN3CMU4WKMTGGA3WKYRZMU3DEYRVHE4TCNBWMY3GMOBXMNRTAMTG","msg":"The MHKEY","time":"2022-06-09T15:57:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{17 0x61dbe9fd766caf39a251b2c3064ae7417be9e2f07eb9e62b599146f6f87cc02f 0xce8705f118066636e1e8fc089cce898eb85bea31abee4728582eb2f280d29d6b 0xeeea1373d4aa9e099d7c9deddb694db9aeb4577755ef83f9b6345ce4357d9abf /blocks/QLVAEQRQPA3DCZDCMU4WMZBXGY3GGYLGGM4WCMRVGFRDEYZTGA3DIYLFG42DCN3CMU4WKMTGGA3WKYRZMU3DEYRVHE4TCNBWMY3GMOBXMNRTAMTG}","time":"2022-06-09T15:57:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBRWIMBSMI4TGNBRGZRTKNRTGA4TGN3BHEYGIZJXHA2TAZJYMRSWCYJYGM4TGYRZHA4DKMLGGI2DQM3CMI4DGYJUMY3TCYLEMRTDSMZQ","msg":"The MHKEY","time":"2022-06-09T15:57:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{17 0xcd02b93416c5630937a90de7850e8deaa8393b98851f2483bb83a4f71addf930 /blocks/QLVAEQRQPBRWIMBSMI4TGNBRGZRTKNRTGA4TGN3BHEYGIZJXHA2TAZJYMRSWCYJYGM4TGYRZHA4DKMLGGI2DQM3CMI4DGYJUMY3TCYLEMRTDSMZQ}","time":"2022-06-09T15:57:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"17","time":"2022-06-09T15:57:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:57:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:18-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0x6fa0651786ef27ce36b825758e723f8fa635cbc0b0449607d3a266e65bc8cff2","time":"2022-06-09T15:57:20-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:20-04:00"} -{"blockRoot":"0x10735d2493202e440e32295cd11760c0b4235837be13889a7a72efd1e265a6e9","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T15:57:20-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{0 18 0x10735d2493202e440e32295cd11760c0b4235837be13889a7a72efd1e265a6e9 0x6fa0651786ef27ce36b825758e723f8fa635cbc0b0449607d3a266e65bc8cff2 proposed}","time":"2022-06-09T15:57:20-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPAYTANZTGVSDENBZGMZDAMTFGQ2DAZJTGIZDSNLDMQYTCNZWGBRTAYRUGIZTKOBTG5RGKMJTHA4DSYJXME3TEZLGMQYWKMRWGVQTMZJZ","msg":"The MHKEY","time":"2022-06-09T15:57:20-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{18 0x10735d2493202e440e32295cd11760c0b4235837be13889a7a72efd1e265a6e9 0x61dbe9fd766caf39a251b2c3064ae7417be9e2f07eb9e62b599146f6f87cc02f 0x8d3f027beef5cbd4f8b29fc831aba67a5d74768edca529f5596f07fd207865e1 /blocks/QLVAEQRQPAYTANZTGVSDENBZGMZDAMTFGQ2DAZJTGIZDSNLDMQYTCNZWGBRTAYRUGIZTKOBTG5RGKMJTHA4DSYJXME3TEZLGMQYWKMRWGVQTMZJZ}","time":"2022-06-09T15:57:20-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA3GMYJQGY2TCNZYGZSWMMRXMNSTGNTCHAZDKNZVHBSTOMRTMY4GMYJWGM2WGYTDGBRDANBUHE3DAN3EGNQTENRWMU3DKYTDHBRWMZRS","msg":"The MHKEY","time":"2022-06-09T15:57:20-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{18 0x6fa0651786ef27ce36b825758e723f8fa635cbc0b0449607d3a266e65bc8cff2 /blocks/QLVAEQRQPA3GMYJQGY2TCNZYGZSWMMRXMNSTGNTCHAZDKNZVHBSTOMRTMY4GMYJWGM2WGYTDGBRDANBUHE3DAN3EGNQTENRWMU3DKYTDHBRWMZRS}","time":"2022-06-09T15:57:20-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"18","time":"2022-06-09T15:57:20-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T15:57:20-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:21-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:22-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:23-04:00"} -{"fields.msg":"{\"slot\":\"3998385\",\"block\":\"0x1e22cb566f9b9bf9415977a568ca3f250892381594f005f9d4cae7bd740eb9ba\",\"state\":\"0x5c37c8cdcdc5fe6d368369cc45b69e0e3c7dec2adc582ad27518a309792152e9\",\"current_duty_dependent_root\":\"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5\",\"previous_duty_dependent_root\":\"0x13dd484c3c8462b617222375d850667982ed9944e8f358857405dcadf301ccd4\",\"epoch_transition\":false}","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/incomingsse.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleIncomingSseEvent[...]","level":"debug","msg":"We are going to send the following message to be processed.","time":"2022-06-09T15:57:23-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":{"slot":"3998385","block":"0x1e22cb566f9b9bf9415977a568ca3f250892381594f005f9d4cae7bd740eb9ba","state":"0x5c37c8cdcdc5fe6d368369cc45b69e0e3c7dec2adc582ad27518a309792152e9","current_duty_dependent_root":"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5","previous_duty_dependent_root":"0x13dd484c3c8462b617222375d850667982ed9944e8f358857405dcadf301ccd4","epoch_transition":false,"execution_optimistic":false},"level":"debug","msg":"We are going to start processing the slot.","time":"2022-06-09T15:57:23-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:71","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":"3998385","level":"debug","msg":"We finished calling processHeadSlot.","time":"2022-06-09T15:57:23-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/0x5c37c8cdcdc5fe6d368369cc45b69e0e3c7dec2adc582ad27518a309792152e9","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:57:23-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/0x1e22cb566f9b9bf9415977a568ca3f250892381594f005f9d4cae7bd740eb9ba","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:57:23-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:57:24-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/gracefulshutdown/gracefulshutdown.go:50","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/gracefulshutdown.Shutdown.func1","level":"info","msg":"Shutting Down your application","time":"2022-06-09T15:57:24-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/gracefulshutdown/gracefulshutdown.go:70","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/gracefulshutdown.Shutdown.func1.2","level":"info","msg":"cleaning up: beaconClient","time":"2022-06-09T15:57:24-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:41","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).StopHistoric","level":"info","msg":"We are stopping the historical processing service.","time":"2022-06-09T15:57:24-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:165","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","msg":"Received shutdown signal from channel","time":"2022-06-09T15:57:24-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:86","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.HistoricProcessing.releaseDbLocks","level":"debug","msg":"Updating all the entries to eth_beacon.historical processing","time":"2022-06-09T15:57:24-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:87","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.HistoricProcessing.releaseDbLocks","level":"debug","msg":"Db: \u0026{0xc000288fc0}","time":"2022-06-09T15:57:24-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:35","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).CaptureHistoric","level":"debug","msg":"Exiting Historical","time":"2022-06-09T15:57:24-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:88","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.HistoricProcessing.releaseDbLocks","level":"debug","msg":"hp.uniqueNodeIdentifier 100","time":"2022-06-09T15:57:24-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:93","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.HistoricProcessing.releaseDbLocks","level":"debug","msg":"Update all the entries to eth_beacon.historical processing","time":"2022-06-09T15:57:24-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:98","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.HistoricProcessing.releaseDbLocks","level":"info","msg":"Released historicalProcess locks for specified rows.","rowCount":0,"time":"2022-06-09T15:57:24-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:71","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).StopKnownGapsProcessing","level":"info","msg":"We are stopping the known gaps processing service.","time":"2022-06-09T15:57:24-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:126","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.KnownGapsProcessing.releaseDbLocks","level":"debug","msg":"Updating all the entries to eth_beacon.known_gaps","time":"2022-06-09T15:57:24-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:127","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.KnownGapsProcessing.releaseDbLocks","level":"debug","msg":"Db: \u0026{0xc000288fc0}","time":"2022-06-09T15:57:24-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:128","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.KnownGapsProcessing.releaseDbLocks","level":"debug","msg":"kgp.uniqueNodeIdentifier 100","time":"2022-06-09T15:57:24-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:165","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","msg":"Received shutdown signal from channel","time":"2022-06-09T15:57:24-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:65","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).ProcessKnownGaps","level":"debug","msg":"Exiting known gaps processing service","time":"2022-06-09T15:57:24-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:137","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.KnownGapsProcessing.releaseDbLocks","level":"info","msg":"Released knownGaps locks for specified rows.","rowCount":2,"time":"2022-06-09T15:57:24-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehead.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).StopHeadTracking","level":"info","msg":"We are going to stop tracking the head of chain because of the shutdown signal.","time":"2022-06-09T15:57:24-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=head","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehead.go:52","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*SseEvents[...]).finishProcessingChannel","level":"info","msg":"Received a close event.","time":"2022-06-09T15:57:24-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=chain_reorg","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehead.go:52","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*SseEvents[...]).finishProcessingChannel","level":"info","msg":"Received a close event.","time":"2022-06-09T15:57:24-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=head","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehead.go:57","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*SseEvents[...]).finishProcessingChannel","level":"info","msg":"Done processing all messages, ready for shutdown","time":"2022-06-09T15:57:24-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=chain_reorg","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehead.go:57","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*SseEvents[...]).finishProcessingChannel","level":"info","msg":"Done processing all messages, ready for shutdown","time":"2022-06-09T15:57:24-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehead.go:46","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).StopHeadTracking","level":"info","msg":"Successfully stopped the head tracking service.","time":"2022-06-09T15:57:24-04:00"} -{"err":"closed pool","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:570","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.IsSlotInDb.func2","level":"error","msg":"Unable to check if the slot and block_root exist in eth_beacon.signed_block","time":"2022-06-09T15:57:25-04:00"} -{"err":"closed pool","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:558","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.IsSlotInDb.func1","level":"error","msg":"Unable to check if the slot and stateroot exist in eth_beacon.state","time":"2022-06-09T15:57:25-04:00"} -{"endSlot":"3998382","err":"closed pool","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:436","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.writeKnownGaps","level":"fatal","msg":"Unable to create a new transaction for knownGaps","startSlot":"3998382","time":"2022-06-09T15:57:25-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/cmd/root.go:80","func":"github.com/vulcanize/ipld-eth-beacon-indexer/cmd.logLevel","level":"info","msg":"Log level set to debug","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/cmd/full.go:60","func":"github.com/vulcanize/ipld-eth-beacon-indexer/cmd.startFullProcessing","level":"info","msg":"Starting the application in head tracking mode.","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/internal/boot/boot.go:46","func":"github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot.BootApplication","level":"info","msg":"Booting the Application","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/internal/boot/boot.go:48","func":"github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot.BootApplication","level":"debug","msg":"Creating the Beacon Client","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/beaconclient.go:103","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.CreateBeaconClient","level":"info","msg":"Creating the BeaconClient","time":"2022-06-09T15:59:54-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=head","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/beaconclient.go:126","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.createSseEvent[...].func1","level":"info","msg":"Creating SSE client","time":"2022-06-09T15:59:54-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=chain_reorg","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/beaconclient.go:126","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.createSseEvent[...].func1","level":"info","msg":"Creating SSE client","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/internal/boot/boot.go:54","func":"github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot.BootApplication","level":"debug","msg":"Checking Beacon Client","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/healthcheck.go:31","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.BeaconClient.CheckBeaconClient","level":"debug","msg":"Attempting to connect to the beacon client","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/healthcheck.go:45","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.BeaconClient.CheckBeaconClient","level":"info","msg":"We can successfully reach the beacon client.","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/internal/boot/boot.go:60","func":"github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot.BootApplication","level":"debug","msg":"Setting up DB connection","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/database/sql/postgres/database.go:44","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql/postgres.SetupPostgresDb","level":"debug","msg":"Resolving Driver Type","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/database/sql/postgres/database.go:52","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql/postgres.SetupPostgresDb","level":"info","msg":"Using Driver: PGX","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/database/sql/postgres/database.go:75","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql/postgres.createDriver","level":"debug","msg":"Creating New Driver","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/database/sql/postgres/database.go:80","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/database/sql/postgres.createDriver","level":"info","msg":"Successfully created a driver for PGX","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/internal/boot/boot.go:81","func":"github.com/vulcanize/ipld-eth-beacon-indexer/internal/boot.BootApplication","level":"warning","msg":"We are not checking to see if the node has synced to head.","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/cmd/full.go:75","func":"github.com/vulcanize/ipld-eth-beacon-indexer/cmd.startFullProcessing","level":"info","msg":"The Beacon Client has booted successfully!","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehead.go:29","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).CaptureHead","level":"info","msg":"We are tracking the head of the chain.","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/incomingsse.go:95","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).captureEventTopic","level":"info","msg":"We are capturing all SSE events","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).CaptureHistoric","level":"info","msg":"We are starting the historical processing service.","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:102","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","maxWorkers":2,"msg":"Starting batch processing workers","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:40","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","level":"info","msg":"Starting to process head.","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:30","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleReorg","level":"info","msg":"Starting to process reorgs.","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).ProcessKnownGaps","level":"info","msg":"We are starting the known gaps processing service.","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:102","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","maxWorkers":2,"msg":"Starting batch processing workers","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:102","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","maxWorkers":2,"msg":"Starting batch processing workers","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:162","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","msg":"Waiting for shutdown signal from channel","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:102","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","maxWorkers":2,"msg":"Starting batch processing workers","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:162","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","msg":"Waiting for shutdown signal from channel","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:156","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We found a new row","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:156","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We found a new row","time":"2022-06-09T15:59:54-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=chain_reorg","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/incomingsse.go:53","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleIncomingSseEvent[...].func1","level":"info","msg":"Successfully subscribed to the event stream.","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:220","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"Added a new slots to be processed","slots":{},"time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":20000,"time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":20001,"time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 20000","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 20001","time":"2022-06-09T15:59:54-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/20000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:59:54-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/20000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:59:54-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/20001","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:59:54-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/20001","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:156","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We found a new row","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:220","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"Added a new slots to be processed","slots":{},"time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":1000000,"time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":1000001,"time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 1000001","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 1000000","time":"2022-06-09T15:59:54-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/1000000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:59:54-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/1000000","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:59:54-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/1000001","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:59:54-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/1000001","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:220","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"Added a new slots to be processed","slots":{},"time":"2022-06-09T15:59:54-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=head","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/incomingsse.go:53","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleIncomingSseEvent[...].func1","level":"info","msg":"Successfully subscribed to the event stream.","time":"2022-06-09T15:59:54-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:59:55-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:59:56-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:59:57-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:59:58-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T15:59:59-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:00-04:00"} -{"fields.msg":"{\"slot\":\"3998398\",\"block\":\"0x002e9430569ef2e27d60bbf5861a736bd29bf8d89d8d0df363350d5a3446330b\",\"state\":\"0x59152c3f04b670227d999d4977fc581c556c6da0f69f36f089e0fa3a874e2f01\",\"current_duty_dependent_root\":\"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5\",\"previous_duty_dependent_root\":\"0x13dd484c3c8462b617222375d850667982ed9944e8f358857405dcadf301ccd4\",\"epoch_transition\":false}","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/incomingsse.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleIncomingSseEvent[...]","level":"debug","msg":"We are going to send the following message to be processed.","time":"2022-06-09T16:00:01-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":{"slot":"3998398","block":"0x002e9430569ef2e27d60bbf5861a736bd29bf8d89d8d0df363350d5a3446330b","state":"0x59152c3f04b670227d999d4977fc581c556c6da0f69f36f089e0fa3a874e2f01","current_duty_dependent_root":"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5","previous_duty_dependent_root":"0x13dd484c3c8462b617222375d850667982ed9944e8f358857405dcadf301ccd4","epoch_transition":false,"execution_optimistic":false},"level":"debug","msg":"We are going to start processing the slot.","time":"2022-06-09T16:00:01-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:71","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":"3998398","level":"debug","msg":"We finished calling processHeadSlot.","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"10017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"17","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"20017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"10017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"30017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"20017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"40017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"30017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"50017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"40017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"60017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"50017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"70017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"60017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"80017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"70017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"90017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"80017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"100017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"90017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"110017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"100017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"120017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"110017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"130017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"120017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"140017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"130017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"150017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"140017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"160017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"150017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"170017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"160017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"180017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"170017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"190017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"180017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"200017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"190017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"210017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"200017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"220017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"210017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"230017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"220017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"240017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"230017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"250017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"240017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"260017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"250017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"270017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"260017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"280017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"270017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"290017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"280017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"300017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"290017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"310017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"300017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"320017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"310017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"330017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"320017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"340017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"330017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"350017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"340017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"360017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"350017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"370017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"360017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"380017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"370017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"390017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"380017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"400017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"390017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"410017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"400017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"420017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"410017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"430017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"420017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"440017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"430017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"450017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"440017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"460017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"450017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"470017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"460017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"480017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"470017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"490017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"480017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"500017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"490017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"510017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"500017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"520017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"510017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"530017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"520017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"540017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"530017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"550017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"540017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"560017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"550017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"570017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"560017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"580017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"570017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"590017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"580017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"600017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"590017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"610017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"600017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"620017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"610017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"630017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"620017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"640017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"630017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"650017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"640017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"660017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"650017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"670017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"660017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"680017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"670017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"690017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"680017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"700017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"690017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"710017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"700017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"720017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"710017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"730017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"720017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"740017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"730017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"750017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"740017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"760017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"750017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"770017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"760017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"780017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"770017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"790017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"780017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"800017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"790017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"810017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"800017","time":"2022-06-09T16:00:01-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"820017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"810017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"830017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"820017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"840017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"830017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"850017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"840017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"860017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"850017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"870017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"860017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"880017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"870017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"890017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"880017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"900017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"890017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"910017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"900017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"920017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"910017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"930017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"920017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"940017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"930017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"950017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"940017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"960017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"950017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"970017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"960017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"980017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"970017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"990017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"980017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1000017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"990017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1010017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1000017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1020017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1010017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1030017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1020017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1040017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1030017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1050017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1040017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1060017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1050017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1070017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1060017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1080017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1070017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1090017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1080017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1100017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1090017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1110017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1100017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1120017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1110017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1130017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1120017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1140017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1130017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1150017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1140017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1160017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1150017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1170017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1160017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1180017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1170017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1190017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1180017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1200017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1190017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1210017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1200017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1220017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1210017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1230017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1220017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1240017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1230017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1250017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1240017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1260017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1250017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1270017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1260017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1280017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1270017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1290017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1280017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1300017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1290017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1310017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1300017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1320017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1310017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1330017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1320017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1340017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1330017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1350017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1340017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1360017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1350017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1370017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1360017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1380017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1370017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1390017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1380017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1400017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1390017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1410017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1400017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1420017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1410017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1430017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1420017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1440017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1430017","time":"2022-06-09T16:00:01-04:00"} -{"endSlot":"1450017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1440017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1460017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1450017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1470017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1460017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1480017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1470017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1490017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1480017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1500017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1490017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1510017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1500017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1520017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1510017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1530017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1520017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1540017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1530017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1550017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1540017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1560017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1550017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1570017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1560017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1580017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1570017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1590017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1580017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1600017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1590017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1610017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1600017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1620017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1610017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1630017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1620017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1640017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1630017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1650017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1640017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1660017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1650017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1670017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1660017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1680017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1670017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1690017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1680017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1700017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1690017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1710017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1700017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1720017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1710017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1730017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1720017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1740017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1730017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1750017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1740017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1760017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1750017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1770017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1760017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1780017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1770017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1790017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1780017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1800017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1790017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1810017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1800017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1820017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1810017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1830017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1820017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1840017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1830017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1850017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1840017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1860017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1850017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1870017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1860017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1880017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1870017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1890017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1880017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1900017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1890017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1910017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1900017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1920017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1910017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1930017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1920017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1940017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1930017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1950017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1940017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1960017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1950017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1970017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1960017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1980017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1970017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"1990017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1980017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2000017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"1990017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2010017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2000017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2020017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2010017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2030017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2020017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2040017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2030017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2050017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2040017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2060017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2050017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2070017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2060017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2080017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2070017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2090017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2080017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2100017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2090017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2110017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2100017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2120017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2110017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2130017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2120017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2140017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2130017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2150017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2140017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2160017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2150017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2170017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2160017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2180017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2170017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2190017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2180017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2200017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2190017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2210017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2200017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2220017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2210017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2230017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2220017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2240017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2230017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2250017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2240017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2260017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2250017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2270017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2260017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2280017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2270017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2290017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2280017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2300017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2290017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2310017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2300017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2320017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2310017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2330017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2320017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2340017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2330017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2350017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2340017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2360017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2350017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2370017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2360017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2380017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2370017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2390017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2380017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2400017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2390017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2410017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2400017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2420017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2410017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2430017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2420017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2440017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2430017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2450017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2440017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2460017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2450017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2470017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2460017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2480017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2470017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2490017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2480017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2500017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2490017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2510017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2500017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2520017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2510017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2530017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2520017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2540017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2530017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2550017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2540017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2560017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2550017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2570017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2560017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2580017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2570017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2590017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2580017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2600017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2590017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2610017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2600017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2620017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2610017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2630017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2620017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2640017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2630017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2650017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2640017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2660017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2650017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2670017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2660017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2680017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2670017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2690017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2680017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2700017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2690017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2710017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2700017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2720017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2710017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2730017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2720017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2740017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2730017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2750017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2740017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2760017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2750017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2770017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2760017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2780017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2770017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2790017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2780017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2800017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2790017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2810017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2800017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2820017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2810017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2830017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2820017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2840017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2830017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2850017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2840017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2860017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2850017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2870017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2860017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2880017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2870017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2890017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2880017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2900017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2890017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2910017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2900017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2920017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2910017","time":"2022-06-09T16:00:02-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2930017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2920017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2940017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2930017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2950017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2940017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2960017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2950017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2970017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2960017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2980017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2970017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"2990017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2980017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"3000017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"2990017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"3010017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3000017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"3020017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3010017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"3030017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3020017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"3040017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3030017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"3050017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3040017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"3060017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3050017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"3070017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3060017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"3080017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3070017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"3090017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3080017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"3100017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3090017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"3110017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3100017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"3120017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3110017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"3130017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3120017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"3140017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3130017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"3150017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3140017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"3160017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3150017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"3170017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3160017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"3180017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3170017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"3190017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3180017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"3200017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3190017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"3210017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3200017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"3220017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3210017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"3230017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3220017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"3240017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3230017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"3250017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3240017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"3260017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3250017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"3270017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3260017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"3280017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3270017","time":"2022-06-09T16:00:02-04:00"} -{"endSlot":"3290017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3280017","time":"2022-06-09T16:00:02-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3300017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3290017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3310017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3300017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3320017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3310017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3330017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3320017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3340017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3330017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3350017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3340017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3360017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3350017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3370017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3360017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3380017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3370017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3390017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3380017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3400017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3390017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3410017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3400017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3420017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3410017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3430017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3420017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3440017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3430017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3450017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3440017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3460017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3450017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3470017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3460017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3480017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3470017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3490017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3480017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3500017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3490017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3510017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3500017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3520017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3510017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3530017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3520017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3540017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3530017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3550017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3540017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3560017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3550017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3570017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3560017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3580017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3570017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3590017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3580017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3600017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3590017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3610017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3600017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3620017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3610017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3630017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3620017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3640017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3630017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3650017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3640017","time":"2022-06-09T16:00:03-04:00"} -{"endSlot":"3660017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3650017","time":"2022-06-09T16:00:04-04:00"} -{"endSlot":"3670017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3660017","time":"2022-06-09T16:00:04-04:00"} -{"endSlot":"3680017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3670017","time":"2022-06-09T16:00:04-04:00"} -{"endSlot":"3690017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3680017","time":"2022-06-09T16:00:04-04:00"} -{"endSlot":"3700017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3690017","time":"2022-06-09T16:00:04-04:00"} -{"endSlot":"3710017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3700017","time":"2022-06-09T16:00:04-04:00"} -{"endSlot":"3720017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3710017","time":"2022-06-09T16:00:04-04:00"} -{"endSlot":"3730017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3720017","time":"2022-06-09T16:00:04-04:00"} -{"endSlot":"3740017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3730017","time":"2022-06-09T16:00:04-04:00"} -{"endSlot":"3750017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3740017","time":"2022-06-09T16:00:04-04:00"} -{"endSlot":"3760017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3750017","time":"2022-06-09T16:00:04-04:00"} -{"endSlot":"3770017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3760017","time":"2022-06-09T16:00:04-04:00"} -{"endSlot":"3780017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3770017","time":"2022-06-09T16:00:04-04:00"} -{"endSlot":"3790017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3780017","time":"2022-06-09T16:00:04-04:00"} -{"endSlot":"3800017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3790017","time":"2022-06-09T16:00:04-04:00"} -{"endSlot":"3810017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3800017","time":"2022-06-09T16:00:04-04:00"} -{"endSlot":"3820017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3810017","time":"2022-06-09T16:00:04-04:00"} -{"endSlot":"3830017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3820017","time":"2022-06-09T16:00:04-04:00"} -{"endSlot":"3840017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3830017","time":"2022-06-09T16:00:04-04:00"} -{"endSlot":"3850017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3840017","time":"2022-06-09T16:00:04-04:00"} -{"endSlot":"3860017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3850017","time":"2022-06-09T16:00:04-04:00"} -{"endSlot":"3870017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3860017","time":"2022-06-09T16:00:04-04:00"} -{"endSlot":"3880017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3870017","time":"2022-06-09T16:00:04-04:00"} -{"endSlot":"3890017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3880017","time":"2022-06-09T16:00:04-04:00"} -{"endSlot":"3900017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3890017","time":"2022-06-09T16:00:04-04:00"} -{"endSlot":"3910017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3900017","time":"2022-06-09T16:00:04-04:00"} -{"endSlot":"3920017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3910017","time":"2022-06-09T16:00:04-04:00"} -{"endSlot":"3930017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3920017","time":"2022-06-09T16:00:04-04:00"} -{"endSlot":"3940017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3930017","time":"2022-06-09T16:00:04-04:00"} -{"endSlot":"3950017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3940017","time":"2022-06-09T16:00:04-04:00"} -{"endSlot":"3960017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3950017","time":"2022-06-09T16:00:04-04:00"} -{"endSlot":"3970017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3960017","time":"2022-06-09T16:00:04-04:00"} -{"endSlot":"3980017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3970017","time":"2022-06-09T16:00:04-04:00"} -{"endSlot":"3990017","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3980017","time":"2022-06-09T16:00:04-04:00"} -{"endSlot":"3998397","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:464","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.upsertKnownGaps","level":"warning","msg":"A new gap has been added to the eth_beacon.known_gaps table.","startSlot":"3990017","time":"2022-06-09T16:00:04-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/0x59152c3f04b670227d999d4977fc581c556c6da0f69f36f089e0fa3a874e2f01","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:04-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/0x002e9430569ef2e27d60bbf5861a736bd29bf8d89d8d0df363350d5a3446330b","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:04-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:04-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:05-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:06-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0xf20d57686a39a33e5bbbc6e4ca133850afaa3ba5f7af620437146c218fb5d9b0","time":"2022-06-09T16:00:07-04:00"} -{"blockRoot":"0x4bebbc3b561baf6ce5efc51ca8902f2fa872538918741e192484632d10cccae7","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T16:00:07-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{625 20000 0x4bebbc3b561baf6ce5efc51ca8902f2fa872538918741e192484632d10cccae7 0xf20d57686a39a33e5bbbc6e4ca133850afaa3ba5f7af620437146c218fb5d9b0 proposed}","time":"2022-06-09T16:00:07-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA2GEZLCMJRTGYRVGYYWEYLGGZRWKNLFMZRTKMLDME4DSMBSMYZGMYJYG4ZDKMZYHEYTQNZUGFSTCOJSGQ4DINRTGJSDCMDDMNRWCZJX","msg":"The MHKEY","time":"2022-06-09T16:00:07-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{20000 0x4bebbc3b561baf6ce5efc51ca8902f2fa872538918741e192484632d10cccae7 0xad1f73d92eb840a4f4feb95eecb9f08db7eef699ad961a8b38b7d995a5c999e3 0x6c61c04fb352e1f2769bc15e112b35ddb69b29e3c461fd27979ee6cf6dfb6c3f /blocks/QLVAEQRQPA2GEZLCMJRTGYRVGYYWEYLGGZRWKNLFMZRTKMLDME4DSMBSMYZGMYJYG4ZDKMZYHEYTQNZUGFSTCOJSGQ4DINRTGJSDCMDDMNRWCZJX}","time":"2022-06-09T16:00:07-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBTDEMDEGU3TMOBWMEZTSYJTGNSTKYTCMJRTMZJUMNQTCMZTHA2TAYLGMFQTGYTBGVTDOYLGGYZDANBTG4YTINTDGIYTQZTCGVSDSYRQ","msg":"The MHKEY","time":"2022-06-09T16:00:07-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{20000 0xf20d57686a39a33e5bbbc6e4ca133850afaa3ba5f7af620437146c218fb5d9b0 /blocks/QLVAEQRQPBTDEMDEGU3TMOBWMEZTSYJTGNSTKYTCMJRTMZJUMNQTCMZTHA2TAYLGMFQTGYTBGVTDOYLGGYZDANBTG4YTINTDGIYTQZTCGVSDSYRQ}","time":"2022-06-09T16:00:07-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"20000","time":"2022-06-09T16:00:07-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T16:00:07-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:07-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T16:00:08-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 20002","time":"2022-06-09T16:00:08-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":20002,"time":"2022-06-09T16:00:08-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/20002","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:08-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/20002","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:08-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0x5d24bbe4dbfc64fe12136a2119dba9c83e2b865ef9e59e47a4057ee105f22cb2","time":"2022-06-09T16:00:08-04:00"} -{"blockRoot":"0x3efcebd23c3122657e457f106dae1b78f259e0d26268ef6e97de35d79d8257b0","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T16:00:08-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{625 20001 0x3efcebd23c3122657e457f106dae1b78f259e0d26268ef6e97de35d79d8257b0 0x5d24bbe4dbfc64fe12136a2119dba9c83e2b865ef9e59e47a4057ee105f22cb2 proposed}","time":"2022-06-09T16:00:08-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPAZWKZTDMVRGIMRTMMZTCMRSGY2TOZJUGU3WMMJQGZSGCZJRMI3TQZRSGU4WKMDEGI3DENRYMVTDMZJZG5SGKMZVMQ3TSZBYGI2TOYRQ","msg":"The MHKEY","time":"2022-06-09T16:00:08-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{20001 0x3efcebd23c3122657e457f106dae1b78f259e0d26268ef6e97de35d79d8257b0 0x4bebbc3b561baf6ce5efc51ca8902f2fa872538918741e192484632d10cccae7 0x6c61c04fb352e1f2769bc15e112b35ddb69b29e3c461fd27979ee6cf6dfb6c3f /blocks/QLVAEQRQPAZWKZTDMVRGIMRTMMZTCMRSGY2TOZJUGU3WMMJQGZSGCZJRMI3TQZRSGU4WKMDEGI3DENRYMVTDMZJZG5SGKMZVMQ3TSZBYGI2TOYRQ}","time":"2022-06-09T16:00:08-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA2WIMRUMJRGKNDEMJTGGNRUMZSTCMRRGM3GCMRRGE4WIYTBHFRTQM3FGJRDQNRVMVTDSZJVHFSTIN3BGQYDKN3FMUYTANLGGIZGGYRS","msg":"The MHKEY","time":"2022-06-09T16:00:08-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{20001 0x5d24bbe4dbfc64fe12136a2119dba9c83e2b865ef9e59e47a4057ee105f22cb2 /blocks/QLVAEQRQPA2WIMRUMJRGKNDEMJTGGNRUMZSTCMRRGM3GCMRRGE4WIYTBHFRTQM3FGJRDQNRVMVTDSZJVHFSTIN3BGQYDKN3FMUYTANLGGIZGGYRS}","time":"2022-06-09T16:00:08-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"20001","time":"2022-06-09T16:00:08-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T16:00:08-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:08-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:09-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:10-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T16:00:10-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 20003","time":"2022-06-09T16:00:10-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":20003,"time":"2022-06-09T16:00:10-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/20003","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:10-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/20003","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:10-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:11-04:00"} -{"fields.msg":"{\"slot\":\"3998399\",\"block\":\"0x836904c7d2716a1704d2c808a1fa592dbf8a743b811a9bc27b085119ca1e0dc3\",\"state\":\"0xecd70a63cc0bf183207fc56e14880bac00395dd6e1d521fa6f785345b823c13c\",\"current_duty_dependent_root\":\"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5\",\"previous_duty_dependent_root\":\"0x13dd484c3c8462b617222375d850667982ed9944e8f358857405dcadf301ccd4\",\"epoch_transition\":false}","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/incomingsse.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleIncomingSseEvent[...]","level":"debug","msg":"We are going to send the following message to be processed.","time":"2022-06-09T16:00:12-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":{"slot":"3998399","block":"0x836904c7d2716a1704d2c808a1fa592dbf8a743b811a9bc27b085119ca1e0dc3","state":"0xecd70a63cc0bf183207fc56e14880bac00395dd6e1d521fa6f785345b823c13c","current_duty_dependent_root":"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5","previous_duty_dependent_root":"0x13dd484c3c8462b617222375d850667982ed9944e8f358857405dcadf301ccd4","epoch_transition":false,"execution_optimistic":false},"level":"debug","msg":"We are going to start processing the slot.","time":"2022-06-09T16:00:12-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:71","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":"3998399","level":"debug","msg":"We finished calling processHeadSlot.","time":"2022-06-09T16:00:12-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/0xecd70a63cc0bf183207fc56e14880bac00395dd6e1d521fa6f785345b823c13c","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:12-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/0x836904c7d2716a1704d2c808a1fa592dbf8a743b811a9bc27b085119ca1e0dc3","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:12-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:12-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:14-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:15-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:16-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:17-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:18-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:19-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0xd7345f2ba6d7078e0212b48bc78b02639c65c8a0eb99e4e058e67c39aba0a47c","time":"2022-06-09T16:00:19-04:00"} -{"blockRoot":"0x1ba80e7a4177d3d5d531dd2c33f230cc4f4fc71a7de844fd6f9fbe471768611e","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T16:00:19-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{625 20002 0x1ba80e7a4177d3d5d531dd2c33f230cc4f4fc71a7de844fd6f9fbe471768611e 0xd7345f2ba6d7078e0212b48bc78b02639c65c8a0eb99e4e058e67c39aba0a47c proposed}","time":"2022-06-09T16:00:19-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPAYWEYJYGBSTOYJUGE3TOZBTMQ2WINJTGFSGIMTDGMZWMMRTGBRWGNDGGRTGGNZRME3WIZJYGQ2GMZBWMY4WMYTFGQ3TCNZWHA3DCMLF","msg":"The MHKEY","time":"2022-06-09T16:00:19-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{20002 0x1ba80e7a4177d3d5d531dd2c33f230cc4f4fc71a7de844fd6f9fbe471768611e 0x3efcebd23c3122657e457f106dae1b78f259e0d26268ef6e97de35d79d8257b0 0x6c61c04fb352e1f2769bc15e112b35ddb69b29e3c461fd27979ee6cf6dfb6c3f /blocks/QLVAEQRQPAYWEYJYGBSTOYJUGE3TOZBTMQ2WINJTGFSGIMTDGMZWMMRTGBRWGNDGGRTGGNZRME3WIZJYGQ2GMZBWMY4WMYTFGQ3TCNZWHA3DCMLF}","time":"2022-06-09T16:00:19-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBSDOMZUGVTDEYTBGZSDOMBXHBSTAMRRGJRDIODCMM3TQYRQGI3DGOLDGY2WGODBGBSWEOJZMU2GKMBVHBSTMN3DGM4WCYTBGBQTIN3D","msg":"The MHKEY","time":"2022-06-09T16:00:19-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{20002 0xd7345f2ba6d7078e0212b48bc78b02639c65c8a0eb99e4e058e67c39aba0a47c /blocks/QLVAEQRQPBSDOMZUGVTDEYTBGZSDOMBXHBSTAMRRGJRDIODCMM3TQYRQGI3DGOLDGY2WGODBGBSWEOJZMU2GKMBVHBSTMN3DGM4WCYTBGBQTIN3D}","time":"2022-06-09T16:00:19-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"20002","time":"2022-06-09T16:00:19-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T16:00:19-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:20-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:21-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T16:00:22-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:22-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":20004,"time":"2022-06-09T16:00:22-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 20004","time":"2022-06-09T16:00:22-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/20004","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:22-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/20004","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:22-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{124949 3998398 0x002e9430569ef2e27d60bbf5861a736bd29bf8d89d8d0df363350d5a3446330b 0x59152c3f04b670227d999d4977fc581c556c6da0f69f36f089e0fa3a874e2f01 proposed}","time":"2022-06-09T16:00:23-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPAYDAMTFHE2DGMBVGY4WKZRSMUZDOZBWGBRGEZRVHA3DCYJXGM3GEZBSHFRGMODEHA4WIODEGBSGMMZWGMZTKMDEGVQTGNBUGYZTGMDC","msg":"The MHKEY","time":"2022-06-09T16:00:23-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{3998398 0x002e9430569ef2e27d60bbf5861a736bd29bf8d89d8d0df363350d5a3446330b 0x842ce4ffcf963d545157f1eb2ca63b1058316472e6350e9ef8b6ca529136b6be 0xdeb4f8e03e3281723be9b2942ebcc95930de2ee252d90329bee61580cb8bce6c /blocks/QLVAEQRQPAYDAMTFHE2DGMBVGY4WKZRSMUZDOZBWGBRGEZRVHA3DCYJXGM3GEZBSHFRGMODEHA4WIODEGBSGMMZWGMZTKMDEGVQTGNBUGYZTGMDC}","time":"2022-06-09T16:00:23-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA2TSMJVGJRTGZRQGRRDMNZQGIZDOZBZHE4WINBZG43WMYZVHAYWGNJVGZRTMZDBGBTDMOLGGM3GMMBYHFSTAZTBGNQTQNZUMUZGMMBR","msg":"The MHKEY","time":"2022-06-09T16:00:23-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{3998398 0x59152c3f04b670227d999d4977fc581c556c6da0f69f36f089e0fa3a874e2f01 /blocks/QLVAEQRQPA2TSMJVGJRTGZRQGRRDMNZQGIZDOZBZHE4WINBZG43WMYZVHAYWGNJVGZRTMZDBGBTDMOLGGM3GMMBYHFSTAZTBGNQTQNZUMUZGMMBR}","time":"2022-06-09T16:00:23-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"3998398","time":"2022-06-09T16:00:23-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T16:00:23-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:24-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:25-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:26-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0xa6fe1c51f6cc8cd18b773ef8d25444fffaf3b3f51526fcf556ce43edc90051cb","time":"2022-06-09T16:00:26-04:00"} -{"blockRoot":"0xbe0db3f29f03ab2fb6704810b93b4e9cc57b67fb298bca54fa25914bb1ab6bdd","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T16:00:26-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{625 20003 0xbe0db3f29f03ab2fb6704810b93b4e9cc57b67fb298bca54fa25914bb1ab6bdd 0xa6fe1c51f6cc8cd18b773ef8d25444fffaf3b3f51526fcf556ce43edc90051cb proposed}","time":"2022-06-09T16:00:26-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBRGKMDEMIZWMMRZMYYDGYLCGJTGENRXGA2DQMJQMI4TGYRUMU4WGYZVG5RDMN3GMIZDSODCMNQTKNDGMEZDKOJRGRRGEMLBMI3GEZDE","msg":"The MHKEY","time":"2022-06-09T16:00:26-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{20003 0xbe0db3f29f03ab2fb6704810b93b4e9cc57b67fb298bca54fa25914bb1ab6bdd 0x1ba80e7a4177d3d5d531dd2c33f230cc4f4fc71a7de844fd6f9fbe471768611e 0x6c61c04fb352e1f2769bc15e112b35ddb69b29e3c461fd27979ee6cf6dfb6c3f /blocks/QLVAEQRQPBRGKMDEMIZWMMRZMYYDGYLCGJTGENRXGA2DQMJQMI4TGYRUMU4WGYZVG5RDMN3GMIZDSODCMNQTKNDGMEZDKOJRGRRGEMLBMI3GEZDE}","time":"2022-06-09T16:00:26-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBQTMZTFGFRTKMLGGZRWGODDMQYTQYRXG4ZWKZRYMQZDKNBUGRTGMZTBMYZWEM3GGUYTKMRWMZRWMNJVGZRWKNBTMVSGGOJQGA2TCY3C","msg":"The MHKEY","time":"2022-06-09T16:00:26-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{20003 0xa6fe1c51f6cc8cd18b773ef8d25444fffaf3b3f51526fcf556ce43edc90051cb /blocks/QLVAEQRQPBQTMZTFGFRTKMLGGZRWGODDMQYTQYRXG4ZWKZRYMQZDKNBUGRTGMZTBMYZWEM3GGUYTKMRWMZRWMNJVGZRWKNBTMVSGGOJQGA2TCY3C}","time":"2022-06-09T16:00:26-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"20003","time":"2022-06-09T16:00:26-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T16:00:26-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:27-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:28-04:00"} -{"fields.msg":"{\"slot\":\"3998400\",\"block\":\"0x4877ea08b46f732a2a047ba65e0d743c0250f3c742731355ce0b36ded9a3abf5\",\"state\":\"0xba24e96cb65d61250e036d8d14e3efa057ac0ac4d990db53fc707359a5834a16\",\"current_duty_dependent_root\":\"0x836904c7d2716a1704d2c808a1fa592dbf8a743b811a9bc27b085119ca1e0dc3\",\"previous_duty_dependent_root\":\"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5\",\"epoch_transition\":true}","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/incomingsse.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleIncomingSseEvent[...]","level":"debug","msg":"We are going to send the following message to be processed.","time":"2022-06-09T16:00:28-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":{"slot":"3998400","block":"0x4877ea08b46f732a2a047ba65e0d743c0250f3c742731355ce0b36ded9a3abf5","state":"0xba24e96cb65d61250e036d8d14e3efa057ac0ac4d990db53fc707359a5834a16","current_duty_dependent_root":"0x836904c7d2716a1704d2c808a1fa592dbf8a743b811a9bc27b085119ca1e0dc3","previous_duty_dependent_root":"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5","epoch_transition":true,"execution_optimistic":false},"level":"debug","msg":"We are going to start processing the slot.","time":"2022-06-09T16:00:28-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:71","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":"3998400","level":"debug","msg":"We finished calling processHeadSlot.","time":"2022-06-09T16:00:28-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/0xba24e96cb65d61250e036d8d14e3efa057ac0ac4d990db53fc707359a5834a16","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:28-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/0x4877ea08b46f732a2a047ba65e0d743c0250f3c742731355ce0b36ded9a3abf5","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:28-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:29-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:30-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T16:00:30-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 20005","time":"2022-06-09T16:00:30-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/20005","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:30-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":20005,"time":"2022-06-09T16:00:30-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/20005","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:30-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:31-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:32-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{124949 3998399 0x836904c7d2716a1704d2c808a1fa592dbf8a743b811a9bc27b085119ca1e0dc3 0xecd70a63cc0bf183207fc56e14880bac00395dd6e1d521fa6f785345b823c13c proposed}","time":"2022-06-09T16:00:33-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA4DGNRZGA2GGN3EGI3TCNTBGE3TANDEGJRTQMBYMEYWMYJVHEZGIYTGHBQTONBTMI4DCMLBHFRGGMRXMIYDQNJRGE4WGYJRMUYGIYZT","msg":"The MHKEY","time":"2022-06-09T16:00:33-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{3998399 0x836904c7d2716a1704d2c808a1fa592dbf8a743b811a9bc27b085119ca1e0dc3 0x002e9430569ef2e27d60bbf5861a736bd29bf8d89d8d0df363350d5a3446330b 0xdeb4f8e03e3281723be9b2942ebcc95930de2ee252d90329bee61580cb8bce6c /blocks/QLVAEQRQPA4DGNRZGA2GGN3EGI3TCNTBGE3TANDEGJRTQMBYMEYWMYJVHEZGIYTGHBQTONBTMI4DCMLBHFRGGMRXMIYDQNJRGE4WGYJRMUYGIYZT}","time":"2022-06-09T16:00:33-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBSWGZBXGBQTMM3DMMYGEZRRHAZTEMBXMZRTKNTFGE2DQOBQMJQWGMBQGM4TKZDEGZSTCZBVGIYWMYJWMY3TQNJTGQ2WEOBSGNRTCM3D","msg":"The MHKEY","time":"2022-06-09T16:00:33-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{3998399 0xecd70a63cc0bf183207fc56e14880bac00395dd6e1d521fa6f785345b823c13c /blocks/QLVAEQRQPBSWGZBXGBQTMM3DMMYGEZRRHAZTEMBXMZRTKNTFGE2DQOBQMJQWGMBQGM4TKZDEGZSTCZBVGIYWMYJWMY3TQNJTGQ2WEOBSGNRTCM3D}","time":"2022-06-09T16:00:33-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"3998399","time":"2022-06-09T16:00:33-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T16:00:33-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:33-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:34-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:35-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0xf6fd70af6eeb66e35d7a79d66b62949f258d62684c9e9beb12f7fc69bd32e060","time":"2022-06-09T16:00:36-04:00"} -{"blockRoot":"0x7189fef680589fd8f68df1c5bb490627dafe6aa4521a918dd73f772bc8d4758f","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T16:00:36-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{625 20004 0x7189fef680589fd8f68df1c5bb490627dafe6aa4521a918dd73f772bc8d4758f 0xf6fd70af6eeb66e35d7a79d66b62949f258d62684c9e9beb12f7fc69bd32e060 proposed}","time":"2022-06-09T16:00:36-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA3TCOBZMZSWMNRYGA2TQOLGMQ4GMNRYMRTDCYZVMJRDIOJQGYZDOZDBMZSTMYLBGQ2TEMLBHEYTQZDEG4ZWMNZXGJRGGODEGQ3TKODG","msg":"The MHKEY","time":"2022-06-09T16:00:36-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{20004 0x7189fef680589fd8f68df1c5bb490627dafe6aa4521a918dd73f772bc8d4758f 0xbe0db3f29f03ab2fb6704810b93b4e9cc57b67fb298bca54fa25914bb1ab6bdd 0x6c61c04fb352e1f2769bc15e112b35ddb69b29e3c461fd27979ee6cf6dfb6c3f /blocks/QLVAEQRQPA3TCOBZMZSWMNRYGA2TQOLGMQ4GMNRYMRTDCYZVMJRDIOJQGYZDOZDBMZSTMYLBGQ2TEMLBHEYTQZDEG4ZWMNZXGJRGGODEGQ3TKODG}","time":"2022-06-09T16:00:36-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBTDMZTEG4YGCZRWMVSWENRWMUZTKZBXME3TSZBWGZRDMMRZGQ4WMMRVHBSDMMRWHA2GGOLFHFRGKYRRGJTDOZTDGY4WEZBTGJSTANRQ","msg":"The MHKEY","time":"2022-06-09T16:00:36-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{20004 0xf6fd70af6eeb66e35d7a79d66b62949f258d62684c9e9beb12f7fc69bd32e060 /blocks/QLVAEQRQPBTDMZTEG4YGCZRWMVSWENRWMUZTKZBXME3TSZBWGZRDMMRZGQ4WMMRVHBSDMMRWHA2GGOLFHFRGKYRRGJTDOZTDGY4WEZBTGJSTANRQ}","time":"2022-06-09T16:00:36-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"20004","time":"2022-06-09T16:00:36-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T16:00:37-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:37-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:38-04:00"} -{"fields.msg":"{\"slot\":\"3998401\",\"block\":\"0x394f1bfbf817f2ecd7e435aa1fec64be90bb61b06ebe762ab572393ca05c0d93\",\"state\":\"0x3b4a834c4602a07a175c4177e335243d790b9a6ed80d96e1125c6a0655a021e1\",\"current_duty_dependent_root\":\"0x836904c7d2716a1704d2c808a1fa592dbf8a743b811a9bc27b085119ca1e0dc3\",\"previous_duty_dependent_root\":\"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5\",\"epoch_transition\":false}","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/incomingsse.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleIncomingSseEvent[...]","level":"debug","msg":"We are going to send the following message to be processed.","time":"2022-06-09T16:00:38-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":{"slot":"3998401","block":"0x394f1bfbf817f2ecd7e435aa1fec64be90bb61b06ebe762ab572393ca05c0d93","state":"0x3b4a834c4602a07a175c4177e335243d790b9a6ed80d96e1125c6a0655a021e1","current_duty_dependent_root":"0x836904c7d2716a1704d2c808a1fa592dbf8a743b811a9bc27b085119ca1e0dc3","previous_duty_dependent_root":"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5","epoch_transition":false,"execution_optimistic":false},"level":"debug","msg":"We are going to start processing the slot.","time":"2022-06-09T16:00:38-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:71","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":"3998401","level":"debug","msg":"We finished calling processHeadSlot.","time":"2022-06-09T16:00:38-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/0x394f1bfbf817f2ecd7e435aa1fec64be90bb61b06ebe762ab572393ca05c0d93","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:38-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/0x3b4a834c4602a07a175c4177e335243d790b9a6ed80d96e1125c6a0655a021e1","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:38-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:39-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:40-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0x6bf2d741d748a689060702c2537fe733a83db6dd7280e6ac0b714e11eea41823","time":"2022-06-09T16:00:41-04:00"} -{"blockRoot":"0x5fbd11a39ade323001b808d21b60f488e4df3adf96c2382b41adbfe520141a27","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T16:00:41-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:41-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{625 20005 0x5fbd11a39ade323001b808d21b60f488e4df3adf96c2382b41adbfe520141a27 0x6bf2d741d748a689060702c2537fe733a83db6dd7280e6ac0b714e11eea41823 proposed}","time":"2022-06-09T16:00:42-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA2WMYTEGEYWCMZZMFSGKMZSGMYDAMLCHAYDQZBSGFRDMMDGGQ4DQZJUMRTDGYLEMY4TMYZSGM4DEYRUGFQWIYTGMU2TEMBRGQYWCMRX","msg":"The MHKEY","time":"2022-06-09T16:00:42-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{20005 0x5fbd11a39ade323001b808d21b60f488e4df3adf96c2382b41adbfe520141a27 0x7189fef680589fd8f68df1c5bb490627dafe6aa4521a918dd73f772bc8d4758f 0x6c61c04fb352e1f2769bc15e112b35ddb69b29e3c461fd27979ee6cf6dfb6c3f /blocks/QLVAEQRQPA2WMYTEGEYWCMZZMFSGKMZSGMYDAMLCHAYDQZBSGFRDMMDGGQ4DQZJUMRTDGYLEMY4TMYZSGM4DEYRUGFQWIYTGMU2TEMBRGQYWCMRX}","time":"2022-06-09T16:00:42-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA3GEZRSMQ3TIMLEG42DQYJWHA4TANRQG4YDEYZSGUZTOZTFG4ZTGYJYGNSGENTEMQ3TEOBQMU3GCYZQMI3TCNDFGEYWKZLBGQYTQMRT","msg":"The MHKEY","time":"2022-06-09T16:00:42-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{20005 0x6bf2d741d748a689060702c2537fe733a83db6dd7280e6ac0b714e11eea41823 /blocks/QLVAEQRQPA3GEZRSMQ3TIMLEG42DQYJWHA4TANRQG4YDEYZSGUZTOZTFG4ZTGYJYGNSGENTEMQ3TEOBQMU3GCYZQMI3TCNDFGEYWKZLBGQYTQMRT}","time":"2022-06-09T16:00:42-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"20005","time":"2022-06-09T16:00:42-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T16:00:42-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:43-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T16:00:44-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:44-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":20006,"time":"2022-06-09T16:00:44-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 20006","time":"2022-06-09T16:00:44-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/20006","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:44-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/20006","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:44-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:45-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:47-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:48-04:00"} -{"fields.msg":"{\"slot\":\"3998402\",\"block\":\"0xa405f1e459c064699ac049962715c3b6e8ed0fe1a46776a0a88990e5e237895b\",\"state\":\"0x930a7eeab6b73e442fb9acfa5d1e118d95021b7df99e704a53462f189de0d420\",\"current_duty_dependent_root\":\"0x836904c7d2716a1704d2c808a1fa592dbf8a743b811a9bc27b085119ca1e0dc3\",\"previous_duty_dependent_root\":\"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5\",\"epoch_transition\":false}","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/incomingsse.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleIncomingSseEvent[...]","level":"debug","msg":"We are going to send the following message to be processed.","time":"2022-06-09T16:00:48-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:62","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":{"slot":"3998402","block":"0xa405f1e459c064699ac049962715c3b6e8ed0fe1a46776a0a88990e5e237895b","state":"0x930a7eeab6b73e442fb9acfa5d1e118d95021b7df99e704a53462f189de0d420","current_duty_dependent_root":"0x836904c7d2716a1704d2c808a1fa592dbf8a743b811a9bc27b085119ca1e0dc3","previous_duty_dependent_root":"0x055ecc29eb33a8ccb7fec2b6ab541ce71f153d574f4e9b18474c7eb67ad48eb5","epoch_transition":false,"execution_optimistic":false},"level":"debug","msg":"We are going to start processing the slot.","time":"2022-06-09T16:00:48-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processevents.go:71","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).handleHead","head":"3998402","level":"debug","msg":"We finished calling processHeadSlot.","time":"2022-06-09T16:00:48-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/debug/beacon/states/0x930a7eeab6b73e442fb9acfa5d1e118d95021b7df99e704a53462f189de0d420","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:48-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v2/beacon/blocks/0xa405f1e459c064699ac049962715c3b6e8ed0fe1a46776a0a88990e5e237895b","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/queryserver.go:32","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.querySsz","level":"debug","msg":"Querying endpoint","time":"2022-06-09T16:00:48-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:49-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:50-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/gracefulshutdown/gracefulshutdown.go:50","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/gracefulshutdown.Shutdown.func1","level":"info","msg":"Shutting Down your application","time":"2022-06-09T16:00:51-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/gracefulshutdown/gracefulshutdown.go:70","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/gracefulshutdown.Shutdown.func1.2","level":"info","msg":"cleaning up: beaconClient","time":"2022-06-09T16:00:51-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:41","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).StopHistoric","level":"info","msg":"We are stopping the historical processing service.","time":"2022-06-09T16:00:51-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:86","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.HistoricProcessing.releaseDbLocks","level":"debug","msg":"Updating all the entries to eth_beacon.historical processing","time":"2022-06-09T16:00:51-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:87","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.HistoricProcessing.releaseDbLocks","level":"debug","msg":"Db: \u0026{0xc00000e048}","time":"2022-06-09T16:00:51-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:88","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.HistoricProcessing.releaseDbLocks","level":"debug","msg":"hp.uniqueNodeIdentifier 100","time":"2022-06-09T16:00:51-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:165","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","msg":"Received shutdown signal from channel","time":"2022-06-09T16:00:51-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:35","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).CaptureHistoric","level":"debug","msg":"Exiting Historical","time":"2022-06-09T16:00:51-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:93","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.HistoricProcessing.releaseDbLocks","level":"debug","msg":"Update all the entries to eth_beacon.historical processing","time":"2022-06-09T16:00:52-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:98","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.HistoricProcessing.releaseDbLocks","level":"info","msg":"Released historicalProcess locks for specified rows.","rowCount":1,"time":"2022-06-09T16:00:52-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:71","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).StopKnownGapsProcessing","level":"info","msg":"We are stopping the known gaps processing service.","time":"2022-06-09T16:00:52-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:165","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess","level":"debug","msg":"Received shutdown signal from channel","time":"2022-06-09T16:00:52-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:65","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).ProcessKnownGaps","level":"debug","msg":"Exiting known gaps processing service","time":"2022-06-09T16:00:52-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:126","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.KnownGapsProcessing.releaseDbLocks","level":"debug","msg":"Updating all the entries to eth_beacon.known_gaps","time":"2022-06-09T16:00:52-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:127","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.KnownGapsProcessing.releaseDbLocks","level":"debug","msg":"Db: \u0026{0xc00000e048}","time":"2022-06-09T16:00:52-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:128","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.KnownGapsProcessing.releaseDbLocks","level":"debug","msg":"kgp.uniqueNodeIdentifier 100","time":"2022-06-09T16:00:52-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:153","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.getBatchProcessRow","level":"debug","msg":"We are checking rows, be patient","time":"2022-06-09T16:00:52-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processknowngaps.go:137","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.KnownGapsProcessing.releaseDbLocks","level":"info","msg":"Released knownGaps locks for specified rows.","rowCount":2,"time":"2022-06-09T16:00:52-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehead.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).StopHeadTracking","level":"info","msg":"We are going to stop tracking the head of chain because of the shutdown signal.","time":"2022-06-09T16:00:52-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=head","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehead.go:52","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*SseEvents[...]).finishProcessingChannel","level":"info","msg":"Received a close event.","time":"2022-06-09T16:00:52-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=head","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehead.go:57","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*SseEvents[...]).finishProcessingChannel","level":"info","msg":"Done processing all messages, ready for shutdown","time":"2022-06-09T16:00:52-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=chain_reorg","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehead.go:52","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*SseEvents[...]).finishProcessingChannel","level":"info","msg":"Received a close event.","time":"2022-06-09T16:00:52-04:00"} -{"endpoint":"http://10.203.8.51:5052/eth/v1/events?topics=chain_reorg","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehead.go:57","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*SseEvents[...]).finishProcessingChannel","level":"info","msg":"Done processing all messages, ready for shutdown","time":"2022-06-09T16:00:52-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehead.go:46","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClient).StopHeadTracking","level":"info","msg":"Successfully stopped the head tracking service.","time":"2022-06-09T16:00:52-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{124950 3998400 0x4877ea08b46f732a2a047ba65e0d743c0250f3c742731355ce0b36ded9a3abf5 0xba24e96cb65d61250e036d8d14e3efa057ac0ac4d990db53fc707359a5834a16 proposed}","time":"2022-06-09T16:00:52-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPA2DQNZXMVQTAODCGQ3GMNZTGJQTEYJQGQ3WEYJWGVSTAZBXGQZWGMBSGUYGMM3DG42DENZTGEZTKNLDMUYGEMZWMRSWIOLBGNQWEZRV","msg":"The MHKEY","time":"2022-06-09T16:00:52-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{3998400 0x4877ea08b46f732a2a047ba65e0d743c0250f3c742731355ce0b36ded9a3abf5 0x836904c7d2716a1704d2c808a1fa592dbf8a743b811a9bc27b085119ca1e0dc3 0xdeb4f8e03e3281723be9b2942ebcc95930de2ee252d90329bee61580cb8bce6c /blocks/QLVAEQRQPA2DQNZXMVQTAODCGQ3GMNZTGJQTEYJQGQ3WEYJWGVSTAZBXGQZWGMBSGUYGMM3DG42DENZTGEZTKNLDMUYGEMZWMRSWIOLBGNQWEZRV}","time":"2022-06-09T16:00:52-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBRGCMRUMU4TMY3CGY2WINRRGI2TAZJQGM3GIODEGE2GKM3FMZQTANJXMFRTAYLDGRSDSOJQMRRDKM3GMM3TANZTGU4WCNJYGM2GCMJW","msg":"The MHKEY","time":"2022-06-09T16:00:52-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{3998400 0xba24e96cb65d61250e036d8d14e3efa057ac0ac4d990db53fc707359a5834a16 /blocks/QLVAEQRQPBRGCMRUMU4TMY3CGY2WINRRGI2TAZJQGM3GIODEGE2GKM3FMZQTANJXMFRTAYLDGRSDSOJQMRRDKM3GMM3TANZTGU4WCNJYGM2GCMJW}","time":"2022-06-09T16:00:52-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"3998400","time":"2022-06-09T16:00:52-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:183","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"We finished writing to the eth_beacon.slots table.","time":"2022-06-09T16:00:52-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/metrics.go:101","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*BeaconClientMetrics).IncrementSlotInserts","level":"debug","msg":"Incrementing Slot Insert","time":"2022-06-09T16:00:52-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processhistoric.go:109","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.processSlotRangeWorker","level":"debug","msg":"Handling slot: 20007","time":"2022-06-09T16:00:52-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/capturehistoric.go:131","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.handleBatchProcess.func1","level":"debug","msg":"Added new slot to workCh","slot":20007,"time":"2022-06-09T16:00:52-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:326","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"StateRoot: 0xad2310af2c94d86b6a6791ae365212bee5b303a38c1dfa06a1d002736ace9fad","time":"2022-06-09T16:00:53-04:00"} -{"blockRoot":"0xb9a2ebe230a8570c4dc9db6269f39450fce027f43aceb28cf1f0c4e02848b24a","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/processslot.go:339","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*ProcessSlot).provideFinalHash","level":"debug","msg":"Block Root from ssz","time":"2022-06-09T16:00:53-04:00"} -{"err":"closed pool","file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:102","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.CreateDatabaseWrite","level":"error","msg":"We are unable to Begin a SQL transaction","time":"2022-06-09T16:00:53-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:135","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSlotsModel","level":"debug","msg":"dw.DbSlots: \u0026{625 20006 0xb9a2ebe230a8570c4dc9db6269f39450fce027f43aceb28cf1f0c4e02848b24a 0xad2310af2c94d86b6a6791ae365212bee5b303a38c1dfa06a1d002736ace9fad proposed}","time":"2022-06-09T16:00:53-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBRDSYJSMVRGKMRTGBQTQNJXGBRTIZDDHFSGENRSGY4WMMZZGQ2TAZTDMUYDEN3GGQZWCY3FMIZDQY3GGFTDAYZUMUYDEOBUHBRDENDB","msg":"The MHKEY","time":"2022-06-09T16:00:53-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:152","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareSignedBeaconBlockModel","level":"debug","msg":"dw.DbSignedBeaconBlock: \u0026{20006 0xb9a2ebe230a8570c4dc9db6269f39450fce027f43aceb28cf1f0c4e02848b24a 0x5fbd11a39ade323001b808d21b60f488e4df3adf96c2382b41adbfe520141a27 0x6c61c04fb352e1f2769bc15e112b35ddb69b29e3c461fd27979ee6cf6dfb6c3f /blocks/QLVAEQRQPBRDSYJSMVRGKMRTGBQTQNJXGBRTIZDDHFSGENRSGY4WMMZZGQ2TAZTDMUYDEN3GGQZWCY3FMIZDQY3GGFTDAYZUMUYDEOBUHBRDENDB}","time":"2022-06-09T16:00:53-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/multihash.go:37","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.MultihashKeyFromSSZRoot","len":66,"level":"debug","mhKey":"/blocks/QLVAEQRQPBQWIMRTGEYGCZRSMM4TIZBYGZRDMYJWG44TCYLFGM3DKMRRGJRGKZJVMIZTAM3BGM4GGMLEMZQTANTBGFSDAMBSG4ZTMYLDMU4WMYLE","msg":"The MHKEY","time":"2022-06-09T16:00:53-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:167","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).prepareBeaconStateModel","level":"debug","msg":"dw.DbBeaconState: \u0026{20006 0xad2310af2c94d86b6a6791ae365212bee5b303a38c1dfa06a1d002736ace9fad /blocks/QLVAEQRQPBQWIMRTGEYGCZRSMM4TIZBYGZRDMYJWG44TCYLFGM3DKMRRGJRGKZJVMIZTAM3BGM4GGMLEMZQTANTBGFSDAMBSG4ZTMYLDMU4WMYLE}","time":"2022-06-09T16:00:53-04:00"} -{"file":"/Users/abdulrabbani/GitHub/cerc/ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go:177","func":"github.com/vulcanize/ipld-eth-beacon-indexer/pkg/beaconclient.(*DatabaseWriter).transactFullSlot","level":"debug","msg":"Starting to write to the DB.","slot":"20006","time":"2022-06-09T16:00:53-04:00"}