-
Notifications
You must be signed in to change notification settings - Fork 598
feat: offchain reception #20893
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
mverzilli
merged 125 commits into
merge-train/fairies
from
martin/poc-offchain-reception
Mar 11, 2026
Merged
feat: offchain reception #20893
Changes from all commits
Commits
Show all changes
125 commits
Select commit
Hold shift + click to select a range
dc63a8a
merge with merge-train
mverzilli 3d45e98
simplify SimulationReturn
mverzilli 7796706
add migration notes
mverzilli 6313c8b
add offchainEffects usage after send() e2e
mverzilli 8d1c752
fix playground
mverzilli 6accc0c
fix boxes
mverzilli 03192e5
fix aztec.js for boxes
mverzilli 3efe757
sort out types
mverzilli 57af637
fix authwit types
mverzilli 3a2718f
fix e2e
mverzilli 2cb9c2c
fix more e2e
mverzilli 660ee5e
fix e2e tests
mverzilli 70aaf1a
update docs examples
mverzilli 0f78a1e
fix more e2e tests
mverzilli 71c5d25
merge
mverzilli 6b58772
another e2e fix
mverzilli fe599bc
fix e2es after rebase
mverzilli 9f368e0
merge
mverzilli 37bca03
bring migration notes up to date
mverzilli db86e05
Merge branch 'merge-train/fairies' into mv/expose-offchain-messages
mverzilli 0a7c6cb
fix lint issue
mverzilli 6802923
fix new e2es
mverzilli 1303d5f
trivial versions of offchain enqueue and inbox
mverzilli 0598298
resolve message context via oracles
mverzilli 1196587
customizable offchain discovery
mverzilli 90a32a2
refactor to use capsule arrays
mverzilli 179f59d
handle reorgs
mverzilli 007a57a
clean up reorg test
mverzilli df8d9b0
make offchain reception a builtin feature
mverzilli ae40fd1
move DiscoverOffchainMessages to a more reasonable location
mverzilli d6e55cf
document discover_offchain_messages
mverzilli c996539
rename to offchain_message_handler
mverzilli cec2345
hook -> handler
mverzilli dfef1bd
enqueue -> receive
mverzilli fd71740
nicer doc for offchain_receive
mverzilli d0e7098
document OffchainMessageHandler
mverzilli 0f0b27c
offchain_inbox -> offchain
mverzilli e41e847
offchain_sync_inbox -> default_handler
mverzilli 642a023
receive_offchain_message -> receive
mverzilli 485854d
better docs
mverzilli 49bf4cf
more docs, and visibility restriction
mverzilli f40df63
more cleanup of offchain inbox handler
mverzilli e116475
cleanup
mverzilli db98953
doc comments on MessageTxContext
mverzilli eca5012
move MessageTxContext
mverzilli ab48b79
rename MessageContextResponse on TS side
mverzilli e92d6f7
add tx context serialization tests on ts side
mverzilli 36facfa
consider anchor block
mverzilli 8882923
extract MessageContextService
mverzilli 463709e
tests for oracle
mverzilli e9e9457
add MessageContextService unit tests
mverzilli 2e18798
rename
mverzilli f71c4ab
fix private oracle tests
mverzilli b38b65d
merge with merge-train
mverzilli 06e28d0
simplify SimulationReturn
mverzilli 67809c9
add migration notes
mverzilli 71e3d6a
add offchainEffects usage after send() e2e
mverzilli 9e48615
fix playground
mverzilli 28a9838
fix boxes
mverzilli bb3fc26
fix aztec.js for boxes
mverzilli e08d59d
sort out types
mverzilli c742fd8
fix authwit types
mverzilli 6fc1f3a
fix e2e
mverzilli 2cf5d3a
fix more e2e
mverzilli 1c42899
fix e2e tests
mverzilli 7aadeeb
update docs examples
mverzilli 9d9dd3e
fix more e2e tests
mverzilli 64321b2
merge
mverzilli 70754f0
another e2e fix
mverzilli cc8685e
fix e2es after rebase
mverzilli 1e855a5
bring migration notes up to date
mverzilli 59f75e4
fix lint issue
mverzilli 3711ec8
fix new e2es
mverzilli bb6d848
separate offchainMessages from offchainEffects
mverzilli e24c4db
migration_notes
mverzilli 71f0bac
fix bootstrap
mverzilli 2aa9f7b
update migration notes
mverzilli 9614920
fix e2e
mverzilli 2532396
SimulationReturn -> SimulationResult
mverzilli 548851c
update wallet schema
mverzilli 63bea95
fix batch_call test
mverzilli 566b695
fix units
mverzilli d3bdfde
add todo
mverzilli 0ede901
Merge branch 'mv/expose-offchain-messages' into martin/poc-offchain-r…
mverzilli b3d02cc
fix imports
mverzilli efe87d0
use new apis in e2e
mverzilli 2fbd2dc
fix reorg test
mverzilli 3d806c0
more explanatary comments on inbox loop
mverzilli f98a26a
wip: receive many msgs at once
mverzilli f6bc97d
merge from fairies
mverzilli c0ff5a0
receive many offchain messages on a single call
mverzilli 85491ae
add message ttl data
mverzilli 6c22f22
accept expiration
mverzilli 84e3f6b
remove extension point
mverzilli accae75
reject contracts with an offchain_receive fn
mverzilli 3cb806f
move offchain stuff from delivery to processing
mverzilli 62de4b3
reduce visibility of mods
mverzilli 3458acf
move more stuff to offchain mod
mverzilli 84d5b66
remove accidental comment
mverzilli e639cb9
OffchainMessageHandler -> OffchainInboxSync
mverzilli 93f1dda
offchain::default_handler -> offchain::sync_inbox
mverzilli 2bca4e1
reduce visibility of OffchainInboxSync
mverzilli 6e401de
better comments
mverzilli 0844a69
wat auto-formatter
mverzilli ea21ed1
nit
mverzilli ac69d74
bound by tx ttl
mverzilli 0685eb3
fix bug in loop and better comments
mverzilli c743282
bump tolerance to 2 hours
mverzilli 4f6eaa9
mark MessageTxContext as Serialize
mverzilli 04120d7
better comments for MessageTxContext
mverzilli 2ab7299
nit
mverzilli 2ba8b7e
extract test aux for reorg
mverzilli 046bbfe
make it a bit more robust
mverzilli e4336c5
throw on malformed tx effects
mverzilli ac0a5c4
remove unnecessary oracle version bump
mverzilli 11303bd
lint disable camel case warnings
mverzilli 15fe102
add tests for offchain sync
mverzilli 36a5701
merge from fairies
mverzilli 3c60911
bump oracle version
mverzilli 54225cb
cleanup test cases
mverzilli 81de2db
fix message context tests
mverzilli e51d360
add test case for resolved message
mverzilli f368122
code review comments
mverzilli 4de1d5f
Merge branch 'merge-train/fairies' into martin/poc-offchain-reception
mverzilli 52de33f
update oracle version hash
mverzilli 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
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
18 changes: 16 additions & 2 deletions
18
noir-projects/aztec-nr/aztec/src/messages/processing/message_context.nr
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So
nonewould be disabling this feature, no?Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, maybe I grew too attached to the first implementation that used extensions