-
Notifications
You must be signed in to change notification settings - Fork 598
fix: bad merge #6767
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
fix: bad merge #6767
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -115,7 +115,7 @@ contract PendingNoteHashes { | |
| note.randomness = 2; | ||
|
|
||
| // Insert note | ||
| owner_balance.insert(&mut note, true, outgoing_viewer_ovpk_m, owner_ivpk_m); | ||
| owner_balance.insert(&mut note, outgoing_viewer_ovpk_m, owner_ivpk_m); | ||
|
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. The broadcast param has been nuked in this PR |
||
| } | ||
|
|
||
| // Nested/inner function to create and insert a note | ||
|
|
@@ -132,7 +132,7 @@ contract PendingNoteHashes { | |
| let mut note = ValueNote::new(amount, owner_npk_m_hash); | ||
|
|
||
| // Insert note | ||
| owner_balance.insert(&mut note, true, outgoing_viewer_ovpk_m, owner_ivpk_m); | ||
| owner_balance.insert(&mut note, outgoing_viewer_ovpk_m, owner_ivpk_m); | ||
|
|
||
| // Emit note again | ||
| context.encrypt_and_emit_note( | ||
|
|
@@ -360,7 +360,7 @@ contract PendingNoteHashes { | |
| let owner_ivpk_m = header.get_ivpk_m(&mut context, owner); | ||
| let mut good_note = ValueNote::new(10, owner_npk_m_hash); | ||
| // Insert good note with real log | ||
| owner_balance.insert(&mut good_note, true, outgoing_viewer_ovpk_m, owner_ivpk_m); | ||
| owner_balance.insert(&mut good_note, outgoing_viewer_ovpk_m, owner_ivpk_m); | ||
|
|
||
| // We will emit a note log with an incorrect preimage to ensure the pxe throws | ||
| // This note has not been inserted... | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,11 +5,12 @@ use crate::{ | |
| }, | ||
| address::AztecAddress, | ||
| constants::{ | ||
|
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. Just ran formatter |
||
| MAX_NEW_L2_TO_L1_MSGS_PER_CALL, MAX_NEW_NULLIFIERS_PER_CALL, MAX_NEW_NOTE_HASHES_PER_CALL, | ||
| MAX_NOTE_HASH_READ_REQUESTS_PER_CALL, MAX_NULLIFIER_READ_REQUESTS_PER_CALL, MAX_NULLIFIER_NON_EXISTENT_READ_REQUESTS_PER_CALL, | ||
| MAX_PUBLIC_CALL_STACK_LENGTH_PER_CALL, MAX_PUBLIC_DATA_READS_PER_CALL, | ||
| MAX_PUBLIC_DATA_UPDATE_REQUESTS_PER_CALL, GENERATOR_INDEX__PUBLIC_CIRCUIT_PUBLIC_INPUTS, | ||
| PUBLIC_CIRCUIT_PUBLIC_INPUTS_LENGTH, MAX_UNENCRYPTED_LOGS_PER_CALL | ||
| MAX_NEW_L2_TO_L1_MSGS_PER_CALL, MAX_NEW_NULLIFIERS_PER_CALL, MAX_NEW_NOTE_HASHES_PER_CALL, | ||
| MAX_NOTE_HASH_READ_REQUESTS_PER_CALL, MAX_NULLIFIER_READ_REQUESTS_PER_CALL, | ||
| MAX_NULLIFIER_NON_EXISTENT_READ_REQUESTS_PER_CALL, MAX_PUBLIC_CALL_STACK_LENGTH_PER_CALL, | ||
| MAX_PUBLIC_DATA_READS_PER_CALL, MAX_PUBLIC_DATA_UPDATE_REQUESTS_PER_CALL, | ||
| GENERATOR_INDEX__PUBLIC_CIRCUIT_PUBLIC_INPUTS, PUBLIC_CIRCUIT_PUBLIC_INPUTS_LENGTH, | ||
| MAX_UNENCRYPTED_LOGS_PER_CALL | ||
| }, | ||
| contrakt::{storage_read::StorageRead, storage_update_request::StorageUpdateRequest}, | ||
| hash::pedersen_hash, header::Header, messaging::l2_to_l1_message::L2ToL1Message, | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,11 +10,11 @@ use crate::{ | |
| }; | ||
| use crate::{ | ||
| constants::{ | ||
|
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. Just ran formatter |
||
| MAX_NOTE_HASH_READ_REQUESTS_PER_CALL, | ||
| MAX_NEW_NOTE_HASHES_PER_CALL, MAX_NEW_L2_TO_L1_MSGS_PER_CALL, MAX_NEW_NULLIFIERS_PER_CALL, | ||
| MAX_NULLIFIER_READ_REQUESTS_PER_CALL, MAX_NULLIFIER_NON_EXISTENT_READ_REQUESTS_PER_CALL, | ||
| MAX_PUBLIC_CALL_STACK_LENGTH_PER_CALL, MAX_PUBLIC_DATA_READS_PER_CALL, | ||
| MAX_PUBLIC_DATA_UPDATE_REQUESTS_PER_CALL, MAX_UNENCRYPTED_LOGS_PER_CALL | ||
| MAX_NOTE_HASH_READ_REQUESTS_PER_CALL, MAX_NEW_NOTE_HASHES_PER_CALL, MAX_NEW_L2_TO_L1_MSGS_PER_CALL, | ||
| MAX_NEW_NULLIFIERS_PER_CALL, MAX_NULLIFIER_READ_REQUESTS_PER_CALL, | ||
| MAX_NULLIFIER_NON_EXISTENT_READ_REQUESTS_PER_CALL, MAX_PUBLIC_CALL_STACK_LENGTH_PER_CALL, | ||
| MAX_PUBLIC_DATA_READS_PER_CALL, MAX_PUBLIC_DATA_UPDATE_REQUESTS_PER_CALL, | ||
| MAX_UNENCRYPTED_LOGS_PER_CALL | ||
| }, | ||
| traits::Empty | ||
| }; | ||
|
|
||
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.
Just ran formatter