Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature/GRAPH 306 v0.34.14 dm #16

Merged
merged 1 commit into from
Apr 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions deepmind/mapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"fmt"
"time"

"github.com/cosmos/cosmos-sdk/types/tx"
pbcodec "github.com/figment-networks/tendermint-protobuf-def/pb/fig/tendermint/codec/v1"
"github.com/golang/protobuf/proto"
abci "github.com/tendermint/tendermint/abci/types"
Expand Down Expand Up @@ -149,8 +148,8 @@ func mapTimestamp(time time.Time) *pbcodec.Timestamp {
}
}

func mapTx(bytes []byte) (*tx.Tx, error) {
t := &tx.Tx{}
func mapTx(bytes []byte) (*pbcodec.Tx, error) {
t := &pbcodec.Tx{}
if err := proto.Unmarshal(bytes, t); err != nil {
return nil, err
}
Expand Down
8 changes: 2 additions & 6 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ require (
github.com/adlio/schema v1.1.13
github.com/btcsuite/btcd v0.22.0-beta
github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce
github.com/cosmos/cosmos-sdk v0.44.2
github.com/figment-networks/extractor-tendermint v0.1.0
github.com/figment-networks/tendermint-protobuf-def v0.2.0
github.com/figment-networks/tendermint-protobuf-def v0.2.1
github.com/fortytw2/leaktest v1.3.0
github.com/go-kit/kit v0.10.0
github.com/go-logfmt/logfmt v0.5.0
Expand Down Expand Up @@ -39,7 +38,4 @@ require (
google.golang.org/grpc v1.40.0
)

replace (
github.com/cosmos/cosmos-sdk => github.com/figment-networks/cosmos-sdk v0.44.2-dm
github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1
)
replace github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1
Loading