From 0265e4da80c4be2f8fa58bfdf63714ce8914f883 Mon Sep 17 00:00:00 2001 From: Aleksandr Bezobchuk Date: Thu, 16 Jun 2022 15:22:49 -0400 Subject: [PATCH] updates --- state/indexer/sink/pubsub/pubsub.go | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/state/indexer/sink/pubsub/pubsub.go b/state/indexer/sink/pubsub/pubsub.go index a7fc4c194..386acb38c 100644 --- a/state/indexer/sink/pubsub/pubsub.go +++ b/state/indexer/sink/pubsub/pubsub.go @@ -11,7 +11,14 @@ import ( "github.com/tendermint/tendermint/types" ) -const credsEnvVar = "GOOGLE_APPLICATION_CREDENTIALS" +const ( + credsEnvVar = "GOOGLE_APPLICATION_CREDENTIALS" + + MsgTypeBlock = "block" + MsgTypeTxResult = "tx_result" + MsgTypeTxEvents = "tx_events" + MsgTypeBlockEvents = "block_events" +) type EventSink struct { client *pubsub.Client