-
Notifications
You must be signed in to change notification settings - Fork 235
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: post-merge aztec3-temporary #432
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
5c8b20c
fix: post-merge aztec3-temporary
ludamad bb034a6
tests and fixes
ludamad faf5000
tests and fixes
ludamad aab8caf
Fix generator amounts
ludamad bd09bc5
Fix generator counts in native
ludamad df59165
Update
ludamad f8ad6b8
Point to aztec3-temporary
ludamad 892b7d0
merge master in
dbanks12 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 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
Submodule barretenberg
updated
129 files
This file contains 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,147 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`structs/kernel serializes and prints CombinedAccumulatedData 1`] = ` | ||
"aggregation_object: | ||
P0: { 0x1, 0x2 } | ||
P1: { 0x101, 0x102 } | ||
public_inputs: [ | ||
0x3 | ||
0x4 | ||
0x5 | ||
0x6 | ||
] | ||
proof_witness_indices: [ 7 8 9 10 11 12 ] | ||
has_data: 0 | ||
|
||
private_call_count: 0xd | ||
public_call_count: 0xe | ||
new_commitments: | ||
[ 0x101 0x102 0x103 0x104 ] | ||
new_nullifiers: | ||
[ 0x201 0x202 0x203 0x204 ] | ||
private_call_stack: | ||
[ 0x301 0x302 0x303 0x304 0x305 0x306 0x307 0x308 ] | ||
public_call_stack: | ||
[ 0x401 0x402 0x403 0x404 0x405 0x406 0x407 0x408 ] | ||
new_l2_to_l1_msgs: | ||
[ 0x501 0x502 0x503 0x504 ] | ||
new_contracts: | ||
[ contract_address: 0x601 | ||
portal_contract_address: 0x202020202020202020202020202020202020202 | ||
function_tree_root: 0x603 | ||
] | ||
optionally_revealed_data: | ||
[ call_stack_item_hash: 0x701 | ||
function_data: | ||
function_selector: 702 | ||
is_private: 1 | ||
is_constructor: 1 | ||
|
||
emitted_events: | ||
[ 0x801 0x802 0x803 0x804 ] | ||
vk_hash: 0x703 | ||
portal_contract_address: 0x404040404040404040404040404040404040404 | ||
pay_fee_from_l1: 1 | ||
pay_fee_from_public_l2: 0 | ||
called_from_l1: 1 | ||
called_from_public_l2: 0 | ||
call_stack_item_hash: 0x702 | ||
function_data: | ||
function_selector: 703 | ||
is_private: 1 | ||
is_constructor: 1 | ||
|
||
emitted_events: | ||
[ 0x802 0x803 0x804 0x805 ] | ||
vk_hash: 0x704 | ||
portal_contract_address: 0x505050505050505050505050505050505050505 | ||
pay_fee_from_l1: 1 | ||
pay_fee_from_public_l2: 0 | ||
called_from_l1: 1 | ||
called_from_public_l2: 0 | ||
call_stack_item_hash: 0x703 | ||
function_data: | ||
function_selector: 704 | ||
is_private: 1 | ||
is_constructor: 1 | ||
|
||
emitted_events: | ||
[ 0x803 0x804 0x805 0x806 ] | ||
vk_hash: 0x705 | ||
portal_contract_address: 0x606060606060606060606060606060606060606 | ||
pay_fee_from_l1: 1 | ||
pay_fee_from_public_l2: 0 | ||
called_from_l1: 1 | ||
called_from_public_l2: 0 | ||
call_stack_item_hash: 0x704 | ||
function_data: | ||
function_selector: 705 | ||
is_private: 1 | ||
is_constructor: 1 | ||
|
||
emitted_events: | ||
[ 0x804 0x805 0x806 0x807 ] | ||
vk_hash: 0x706 | ||
portal_contract_address: 0x707070707070707070707070707070707070707 | ||
pay_fee_from_l1: 1 | ||
pay_fee_from_public_l2: 0 | ||
called_from_l1: 1 | ||
called_from_public_l2: 0 | ||
] | ||
state_transitions: | ||
[ leaf_index: 0x801 | ||
old_value: 0x802 | ||
new_value: 0x803 | ||
leaf_index: 0x802 | ||
old_value: 0x803 | ||
new_value: 0x804 | ||
leaf_index: 0x803 | ||
old_value: 0x804 | ||
new_value: 0x805 | ||
leaf_index: 0x804 | ||
old_value: 0x805 | ||
new_value: 0x806 | ||
] | ||
state_reads: | ||
[ leaf_index: 0x901 | ||
value: 0x902 | ||
leaf_index: 0x902 | ||
value: 0x903 | ||
leaf_index: 0x903 | ||
value: 0x904 | ||
leaf_index: 0x904 | ||
value: 0x905 | ||
] | ||
" | ||
`; | ||
|
||
exports[`structs/kernel serializes and prints EcdsaSignature 1`] = `"{ 0101010101010101010101010101010101010101010101010101010101010101, 0202020202020202020202020202020202020202020202020202020202020202, 3 }"`; | ||
|
||
exports[`structs/kernel serializes and prints SignedTxRequest 1`] = ` | ||
"tx_request: | ||
from: 0x1 | ||
to: 0x11 | ||
function_data: function_selector: 257 | ||
is_private: 1 | ||
is_constructor: 1 | ||
|
||
args: [ 0x201 0x202 0x203 0x204 0x205 0x206 0x207 0x208 ] | ||
nonce: 0x301 | ||
tx_context: is_fee_payment_tx: 0 | ||
is_rebate_payment_tx: 0 | ||
is_contract_deployment_tx: 1 | ||
contract_deployment_data: | ||
constructor_vk_hash: 0x401 | ||
function_tree_root: 0x402 | ||
contract_address_salt: 0x403 | ||
portal_contract_address: 0x404040404040404040404040404040404040404 | ||
|
||
chain_id: 0x501 | ||
|
||
signature: { 0101010101010101010101010101010101010101010101010101010101010101, 0202020202020202020202020202020202020202020202020202020202020202, 3 } | ||
" | ||
`; | ||
|
||
exports[`structs/kernel serializes and prints previous_kernel_data 1`] = ` | ||
"public_inputs: end: | ||
aggregation_object: | ||
|
@@ -171,7 +313,7 @@ portal_contract_address: 0x404040404040404040404040404040404040404 | |
|
||
chain_id: 0x501 | ||
|
||
signature: { 0101010101010101010101010101010101010101010101010101010101010101, 0202020202020202020202020202020202020202020202020202020202020202 } | ||
signature: { 0101010101010101010101010101010101010101010101010101010101010101, 0202020202020202020202020202020202020202020202020202020202020202, 3 } | ||
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. new field |
||
|
||
previous_kernel: | ||
public_inputs: end: | ||
|
@@ -1044,7 +1186,7 @@ portal_contract_address: 0x404040404040404040404040404040404040404 | |
|
||
chain_id: 0x501 | ||
|
||
signature: { 0101010101010101010101010101010101010101010101010101010101010101, 0202020202020202020202020202020202020202020202020202020202020202 } | ||
signature: { 0101010101010101010101010101010101010101010101010101010101010101, 0202020202020202020202020202020202020202020202020202020202020202, 3 } | ||
|
||
public_call: | ||
call_stack_item: | ||
|
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.
new test