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.13 dm #15

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 @@ -10,10 +10,9 @@ require (
github.com/btcsuite/btcd v0.21.0-beta
github.com/btcsuite/btcutil v1.0.2
github.com/confio/ics23/go v0.6.6
github.com/cosmos/cosmos-sdk v0.42.10
github.com/cosmos/iavl v0.17.1
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 @@ -41,7 +40,4 @@ require (
google.golang.org/grpc v1.40.0
)

replace (
github.com/cosmos/cosmos-sdk => github.com/figment-networks/cosmos-sdk v0.42.10-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