Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional payload.Hash examples #2145

Merged
merged 2 commits into from
Oct 5, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 uses of the hash are:
- Hash is the root of a merkle tree
- Hash of a block that was accepted on the source chain
- Hash of a transaction that was included on the source chain
StephenButtolph marked this conversation as resolved.
Show resolved Hide resolved

## AddressedCall

Expand Down
Loading