MCPcopy Create free account
hub / github.com/DNAProject/DNA / EncodeNotify

Function EncodeNotify

vm/crossvm_codec/codec_test.go:39–44  ·  view source on GitHub ↗
(t *testing.T, value interface{})

Source from the content-addressed store, hash-verified

37}
38
39func 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
46func TestDeserializeNotify(t *testing.T) {
47 addr := common.AddressFromVmCode([]byte("123"))

Callers 1

TestDeserializeNotifyFunction · 0.85

Calls 1

EncodeValueFunction · 0.85

Tested by

no test coverage detected