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 all commits
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 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
Loading