()
| 46 | } |
| 47 | |
| 48 | func init() { |
| 49 | tmjson.RegisterType(EventDataNewBlock{}, "tendermint/event/NewBlock") |
| 50 | tmjson.RegisterType(EventDataNewBlockHeader{}, "tendermint/event/NewBlockHeader") |
| 51 | tmjson.RegisterType(EventDataNewEvidence{}, "tendermint/event/NewEvidence") |
| 52 | tmjson.RegisterType(EventDataTx{}, "tendermint/event/Tx") |
| 53 | tmjson.RegisterType(EventDataRoundState{}, "tendermint/event/RoundState") |
| 54 | tmjson.RegisterType(EventDataNewRound{}, "tendermint/event/NewRound") |
| 55 | tmjson.RegisterType(EventDataCompleteProposal{}, "tendermint/event/CompleteProposal") |
| 56 | tmjson.RegisterType(EventDataVote{}, "tendermint/event/Vote") |
| 57 | tmjson.RegisterType(EventDataValidatorSetUpdates{}, "tendermint/event/ValidatorSetUpdates") |
| 58 | tmjson.RegisterType(EventDataString(""), "tendermint/event/ProposalString") |
| 59 | } |
| 60 | |
| 61 | // Most event messages are basic types (a block, a transaction) |
| 62 | // but some (an input to a call tx or a receive) are more exotic |
nothing calls this directly
no test coverage detected