Skip to content

Commit

Permalink
Add additional payload.Hash examples (#2145)
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Buttolph <[email protected]>
Co-authored-by: Dhruba Basu <[email protected]>
  • Loading branch information
StephenButtolph and dhrubabasu authored Oct 5, 2023
1 parent c520eb6 commit 1fc8973
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vms/platformvm/warp/payload/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ Hash:

- `codecID` is the codec version used to serialize the payload and is hardcoded to `0x0000`
- `typeID` is the payload type identifier and is `0x00000000` for `Hash`
- `hash` is a hash from the `sourceChainID`. As an example, this may be the hash of a block that was accepted on the source chain
- `hash` is a hash from the `sourceChainID`. The format of the expected preimage is chain specific. Some examples for valid hash values are:
- root of a merkle tree
- accepted block hash on the source chain
- accepted transaction hash on the source chain

## AddressedCall

Expand Down

0 comments on commit 1fc8973

Please sign in to comment.