diff --git a/native/blockchain/rpc.go b/native/blockchain/rpc.go index e8ceab3..1bc2fb0 100644 --- a/native/blockchain/rpc.go +++ b/native/blockchain/rpc.go @@ -15,8 +15,6 @@ import ( types "github.com/cometbft/cometbft/rpc/jsonrpc/types" tmtypes "github.com/cometbft/cometbft/types" sdk "github.com/cosmos/cosmos-sdk/types" - prov "github.com/cometbft/cometbft/light/provider/http" - provtypes "github.com/cometbft/cometbft/light/provider" "github.com/cosmos/cosmos-sdk/types/module/testutil" "github.com/cosmos/cosmos-sdk/x/bank" diff --git a/native/blockchian.go b/native/blockchian.go index c161e0a..e693bc2 100644 --- a/native/blockchian.go +++ b/native/blockchian.go @@ -6,7 +6,6 @@ import ( provtypes "github.com/cometbft/cometbft/light/provider" tmtypes "github.com/cometbft/cometbft/types" sdktypes "github.com/cosmos/cosmos-sdk/types" - provtypes "github.com/cometbft/cometbft/light/provider" ) // Blockchain is the expected blockchain interface the indexer needs to store data in the database. diff --git a/native/handlers.go b/native/handlers.go index af0cad5..24f1b6d 100644 --- a/native/handlers.go +++ b/native/handlers.go @@ -55,7 +55,7 @@ func (i *Indexer) HandleBlock(ctx context.Context, blk *tmtypes.Block) error { fmt.Println("Error executing transaction:", err) return err } - + i.logger.Debug().Any("transaction response", rsp2).Msg("After making trasaction") for _, tx := range blk.Data.Txs { if err := i.HandleTx(ctx, int(blk.Header.Height), int(blk.Time.Unix()), tx); err != nil { i.logger.Err(err).Int64("height", blk.Height).Msg("error handling block")