Merge PR #87: Update SDK and call RegisterEvidences

This commit is contained in:
Alexander Bezobchuk
2019-08-05 13:29:46 -04:00
committed by GitHub
parent 10cde2212e
commit 0ce07d569c
3 changed files with 7 additions and 2 deletions

View File

@@ -6,8 +6,8 @@ import (
abci "github.com/tendermint/tendermint/abci/types"
cmn "github.com/tendermint/tendermint/libs/common"
dbm "github.com/tendermint/tm-db"
"github.com/tendermint/tendermint/libs/log"
dbm "github.com/tendermint/tm-db"
bam "github.com/cosmos/cosmos-sdk/baseapp"
"github.com/cosmos/cosmos-sdk/codec"
@@ -71,9 +71,12 @@ var (
// custom tx codec
func MakeCodec() *codec.Codec {
var cdc = codec.New()
ModuleBasics.RegisterCodec(cdc)
sdk.RegisterCodec(cdc)
codec.RegisterCrypto(cdc)
codec.RegisterEvidences(cdc)
return cdc
}

2
go.mod
View File

@@ -5,7 +5,7 @@ go 1.12
require (
github.com/aws/aws-sdk-go v1.21.9 // indirect
github.com/btcsuite/btcd v0.0.0-20190523000118-16327141da8c // indirect
github.com/cosmos/cosmos-sdk v0.28.2-0.20190803135615-4b354a782bcd
github.com/cosmos/cosmos-sdk v0.28.2-0.20190805164234-478eda1f7e3e
github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d // indirect
github.com/cosmos/tools/cmd/runsim v0.0.0-20190802160424-c5def0673f0a // indirect
github.com/go-kit/kit v0.9.0 // indirect

2
go.sum
View File

@@ -42,6 +42,8 @@ github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7
github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA=
github.com/cosmos/cosmos-sdk v0.28.2-0.20190803135615-4b354a782bcd h1:YQdSHOk1eCDG+QBrkIVXIg9cZ+0W3A6PNQTfsR+tOYA=
github.com/cosmos/cosmos-sdk v0.28.2-0.20190803135615-4b354a782bcd/go.mod h1:RkWDqk5VawCuk6G+Mr7kWkE+1i5oHhxdOriaRibAvPg=
github.com/cosmos/cosmos-sdk v0.28.2-0.20190805164234-478eda1f7e3e h1:PLg7n+5Ndp9sOZ4dxxP3TsPiBz9bYikgALG9HPu+55Q=
github.com/cosmos/cosmos-sdk v0.28.2-0.20190805164234-478eda1f7e3e/go.mod h1:RkWDqk5VawCuk6G+Mr7kWkE+1i5oHhxdOriaRibAvPg=
github.com/cosmos/go-bip39 v0.0.0-20180618194314-52158e4697b8/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y=
github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d h1:49RLWk1j44Xu4fjHb6JFYmeUnDORVwHNkDxaQ0ctCVU=
github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y=