-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
This issue keeps track of considering the idea of adding test vectors for message encoding.
When this idea is implemented, the spec will contain for each message test cases for encoding and decoding.
A test case for encoding would look like:
LockedTransfer(field1=value1, ..., fieldN=valueN)with private key0x.......is encoded as0x........
A test case for decoding would look like:
The byte sequence
0x......is decoded asLockedTransfer(field1=vaue1, ..., fieldN=valueN)signed by address0x.......
@kelsos has a script that's useful for generating the encoding test vectors. https://github.com/kelsos/raiden-protocol-messages/blob/master/messages/messages.py
Metadata
Metadata
Assignees
Labels
No labels