You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
416 B

  1. package evidence
  2. import (
  3. amino "github.com/tendermint/go-amino"
  4. cryptoAmino "github.com/tendermint/tendermint/crypto/encoding/amino"
  5. "github.com/tendermint/tendermint/types"
  6. )
  7. var cdc = amino.NewCodec()
  8. func init() {
  9. RegisterEvidenceMessages(cdc)
  10. cryptoAmino.RegisterAmino(cdc)
  11. types.RegisterEvidences(cdc)
  12. }
  13. // For testing purposes only
  14. func RegisterMockEvidences() {
  15. types.RegisterMockEvidences(cdc)
  16. }