(t *testing.T, value interface{})
| 37 | } |
| 38 | |
| 39 | func EncodeNotify(t *testing.T, value interface{}) []byte { |
| 40 | val, err := EncodeValue(value) |
| 41 | assert.Nil(t, err) |
| 42 | |
| 43 | return append([]byte("evt\x00"), val...) |
| 44 | } |
| 45 | |
| 46 | func TestDeserializeNotify(t *testing.T) { |
| 47 | addr := common.AddressFromVmCode([]byte("123")) |
no test coverage detected