diff --git a/vms/platformvm/warp/payload/README.md b/vms/platformvm/warp/payload/README.md index 38efd9c5c4b1..f15179042bb3 100644 --- a/vms/platformvm/warp/payload/README.md +++ b/vms/platformvm/warp/payload/README.md @@ -6,17 +6,17 @@ An Avalanche Unsigned Warp Message already includes a `networkID`, `sourceChainI AddressedPayload: ``` -+---------------------+----------+-------------------+ -| codecID : uint16 | 2 bytes | -+---------------------+----------+-------------------+ -| typeID : uint32 | 4 bytes | -+---------------------+----------+-------------------+ -| sourceAddress : [20]byte | 20 bytes | -+---------------------+----------+-------------------+ -| payload : []byte | 4 + len(payload) | -+---------------------+----------+-------------------+ - | 30 + len(payload) | - +-------------------+ ++---------------------+--------+----------------------------------+ +| codecID : uint16 | 2 bytes | ++---------------------+--------+----------------------------------+ +| typeID : uint32 | 4 bytes | ++---------------------+--------+----------------------------------+ +| sourceAddress : []byte | 4 + len(address) | ++---------------------+--------+----------------------------------+ +| payload : []byte | 4 + len(payload) | ++---------------------+--------+----------------------------------+ + | 14 + len(payload) + len(address) | + +----------------------------------+ ``` - `codecID` is the codec version used to serialize the payload and is hardcoded to `0x0000`