* tendermint/binary handles fixed-length arrays

* log-event tests
This commit is contained in:
androlo
2015-07-16 00:45:29 -07:00
committed by Jae Kwon
parent 198d7b9c6f
commit 0a72c1ee50
4 changed files with 204 additions and 18 deletions
+4 -16
View File
@@ -18,6 +18,10 @@ func EventStringAccReceive(addr []byte) string {
return fmt.Sprintf("Acc/%X/Receive", addr)
}
func EventStringLogEvent(addr []byte) string {
return fmt.Sprintf("Log/%X", addr)
}
func EventStringBond() string {
return "Bond"
}
@@ -66,19 +70,3 @@ type EventMsgCall struct {
Return []byte `json:"return"`
Exception string `json:"exception"`
}
/*
Acc/XYZ/Input -> full tx or {full tx, return value, exception}
Acc/XYZ/Output -> full tx
Acc/XYZ/Receive -> full tx, return value, exception, (optionally?) calldata
Bond -> full tx
Unbond -> full tx
Rebond -> full tx
Dupeout -> full tx
NewBlock -> full block
Fork -> block A, block B
Log -> Fuck this
NewPeer -> peer
Alert -> alert msg
*/