-
Notifications
You must be signed in to change notification settings - Fork 576
refactor(PXE): sync from PXE instead of from contracts #19193
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
Open
mverzilli
wants to merge
91
commits into
next
Choose a base branch
from
martin/f-162-explicit-contract-sync
base: next
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+233
−87
Open
Changes from all commits
Commits
Show all changes
91 commits
Select commit
Hold shift + click to select a range
21db667
extract getContractInstance from PXEOracleInterface
077c625
Merge branch 'next' into martin/refactor-pxe-oracle-interface-away
511fb18
extract getFunctionArtifact from PXEOracleInterface
3510ad5
extract getDebugFunctionName from PXEOracleInterface
cec0289
extract getNotes from PXEOracleInterface
cef673b
merge
2ebef27
extract getKeyValidationRequest from PXEOracleInterface
61dec41
extract getCompleteAddress from PXEOracleInterface
d1beaca
calculateDirectionalAppTaggingSecret
13118f9
getSharedSecret
cad9544
getL1ToL2MembershipWitness
37ea1da
fix regression
aabc3a0
getMembershipWitness
8e79091
getLowNullifierMembershipWitness
6b9cd95
fix some regressions
6844a44
fix regression
31b5cea
getBlock
b8f8de3
getNulliferMembershipWitness and getNullifierMembershipWitnessAtLates…
7514360
getPublicDataWitness
19c6fd7
getPublicStorageAt
95918da
fix regressions
245af9a
assertCompatibleOracleVersion
cd0313d
remove getSenders
3bf3ac2
storeCapsule
a022b02
rest of capsule delegates
a94eb8e
getStats
ee24653
almost the rest of the frigging owl
c99cdf6
getNullifierIndex
86db9f5
remove aztec node getter from PXEOracleInterface
ba6c7ed
note and event validation
2b60f30
good bye PXEOracleInterface
46c5d3c
move getContractInstance to utility execution oracle
74fdb15
move getNotes to UtilityExecutionOracle
f4c1c6b
bring some more stuff inside oracles
2a3c9de
getMembershipWitness
8ae2fb2
more
79d4fda
common => utility_execution_oracle 1/
71d42be
common => utility_execution_oracle 2/
7b6e829
common => utility_execution_oracle 3/
9074c82
common => utility_execution_oracle 4/
fb87a5a
common => utility_execution_oracle 5/
014fca7
common => utility_execution_oracle 6/
b2cfbfb
common => utility_execution_oracle 7/
5b7d6cd
common => utility_execution_oracle 8/
78c8966
common => utility_execution_oracle 9/
750862b
common => utility_execution_oracle 10/
57362d2
introduce NoteSynchronizer
66c7836
deliverNote
eec0dd3
rename NoteSynchronizer => NoteService
375364b
EventService
6ac2b9c
refactor validateEnqueuedNotesAndEvents
4a0d9d4
getFunctionArtifactWithDebugMetadata
88e3f33
good bye common
9a6bcbd
simplify readCurrentClassId
455db79
help shaking trees
80708ce
fix weird lint issue
2fe98d5
LogService
0b97781
bulkRetrieveLogs
343adc2
MembershipWitnessService
3e4cca4
more MembershipWitnessService
20b47ff
getBlock
5f9a2e9
getNotes
dbc48fc
TreeMembershipService
9fd681e
PublicStorageService
719255e
port docs
ba5c24b
good bye ExecutionDataProvider
268c6dd
wanted
bb4422b
merge
5b0a17e
reduce barrel imports
e03955a
POC: optimize playground build
bd84fe7
remove report
2567d4c
Revert "remove report"
fb2c21e
Revert "POC: optimize playground build"
328a86b
hunt down barrel imports
c3d269b
went too far in the shaking
ef40d3b
sync from PXE instead of from contracts
91241dd
make it bootstrap
b33eb0f
Merge branch 'next' into martin/f-162-explicit-contract-sync
9cfbcc1
guard against external sync_private_state invocations
864a62c
more guards
ee980bf
decomplect sync in txe
33a4acd
refactor to unify where sync happens
43101f3
wip
b28b007
fix getPrivateEvents
814ea1d
Sync private state before simulating utility in TXE
88979d2
Merge branch 'next' into martin/f-162-explicit-contract-sync
a79eec1
Fix PXE unit test
beb5666
Call syncPrivateState on txePrivateCallNewFlow
dd934b7
Sync notes when entering private state in TXE
4ac3539
fix circuit recorder tests
9ef873e
fix multiple blobs test
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
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
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.
TODO: check that we're fine not handling this case with this new implementation
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.
Checked: this is indeed an optimization, if the contract doesn't have any notes, discovery isn't necessary. We should discuss if it's worth keeping it now that we control this process from TS world