-
Notifications
You must be signed in to change notification settings - Fork 610
feat: Add side effect counter to logs #5718
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
Changes from all commits
37833e0
3887c9f
c9dcb2d
1c82793
8d0c551
909dbc1
a2a93a6
5e2d7c0
96cae60
1d9e959
5f4083f
8425213
d67c0d4
4404231
c84839a
cc543f6
50f61cc
d41d46f
7729d0a
a69ca48
ae4a5d5
c6acc47
c7ced5e
7011d8d
8c5267a
57e8c7b
e197819
0059a6a
ed21691
f4c51ce
bee6d1f
6c0c7a6
228aa1f
ed99b52
594e51c
b877ac0
53de69d
dab4290
93e9ded
2ec011e
acf4221
0762d9b
b80fbd9
332bef7
c5dd383
0171b73
9c6eca8
11be05c
8aa4377
df8bbae
411211a
70f76f3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,8 +34,10 @@ trait PublicContextInterface { | |
| fn fee_per_l2_gas(self) -> Field; | ||
| fn message_portal(&mut self, recipient: EthAddress, content: Field); | ||
| fn consume_l1_to_l2_message(&mut self, content: Field, secret: Field, sender: EthAddress); | ||
| fn accumulate_encrypted_logs<N>(&mut self, log: [Field; N]); | ||
| fn accumulate_unencrypted_logs<T>(&mut self, log: T); | ||
| fn emit_unencrypted_log<T>(&mut self, log: T); | ||
| // TODO(1165) Merge push_unencrypted_log into emit_unencrypted_log, since oracle call | ||
| // in PublicContext will no longer be needed for extracting log hash | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Even when we can hash inside circuits, we still need to emit the log via oracle call so that it can be sent to L1.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah yep - I should have been clearer - the oracle will still emit the log, but would no longer be needed specifically to calculate the hash and return it. That would all happen within the |
||
| fn push_unencrypted_log(&mut self, log_hash: Field); | ||
| fn call_public_function<RETURNS_COUNT>( | ||
| self: &mut Self, | ||
| contract_address: AztecAddress, | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.