-
Notifications
You must be signed in to change notification settings - Fork 41
feat: Add optional payload hash to foreign transaction requests #4032
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
Merged
netrome
merged 24 commits into
main
from
3997-audit-respond_verify_foreign_tx-doesnt-check-that-payload_hash-matches-the-response
Aug 7, 2026
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
5914722
feat: Add optional payload hash to foreign transaction requests
netrome 242822f
chore: De-slopify
netrome 2b3fc6a
refactor: Don't prefix with must for non-plumbing test helper + funct…
netrome 08f3422
chore: Trim Given/When/Then comment annotations in sandbox tests
netrome 989aca7
chore: De-slopify
netrome 0219c4d
refactor: Test heloper function order
netrome eb63ddc
chore: More de-slopification
netrome 9a578f1
refactor: Propagate compute_msg_hash failure from request builder
netrome b981467
fix: Snapshot
netrome d9f9ee0
refactor: Derive expected payload hash in one place in the SDK
netrome 0414dc6
test: Assert the specific UnexpectedPayloadHash error in reject tests
netrome a3f11e6
test: Pin the omitted expected_payload_hash wire form in the catalog
netrome e392196
docs: Note that abandoned V2 pending entries leak their storage staking
netrome 344c9d5
test: Cover the SDK-bound expected_payload_hash path end to end
netrome e5904bf
chore: Cargo.lock
netrome be65c73
test: Assert the specific mismatch error in the node reject test
netrome bbf50d2
refactor: Don't impose clones in `expected_payload_hash`
netrome e1cda01
refactor: Reorder helpers
netrome 370b554
refactor: Reuse `sign_foreign_tx_payload` helper
netrome 07f7182
chore: Explicit comment about previous loookup map
netrome 3da33dc
fix: Use asymmetric MOCK_BLOCK_HASH
netrome b93c31a
refactor: Omit confusing comment
netrome 7af44d7
fix: Build signature request before presignature is popped from asset…
netrome 63e84dd
tests: Add test to ensure contract rejects request with erased expect…
netrome File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.