From 0e6f2e4b7798a6ab7be5f88d7360a658ac781eae Mon Sep 17 00:00:00 2001 From: benesjan Date: Thu, 22 Feb 2024 16:55:22 +0000 Subject: [PATCH] updated snap --- .../src/__snapshots__/index.test.ts.snap | 694 +++++++++--------- 1 file changed, 347 insertions(+), 347 deletions(-) diff --git a/yarn-project/noir-protocol-circuits-types/src/__snapshots__/index.test.ts.snap b/yarn-project/noir-protocol-circuits-types/src/__snapshots__/index.test.ts.snap index 84296c76d5e4..6e46b38bd9f3 100644 --- a/yarn-project/noir-protocol-circuits-types/src/__snapshots__/index.test.ts.snap +++ b/yarn-project/noir-protocol-circuits-types/src/__snapshots__/index.test.ts.snap @@ -1055,9 +1055,9 @@ PrivateKernelInnerCircuitPublicInputs { }, }, ], - "newNoteHashes": [ - SideEffect { - "counter": Fr { + "newContracts": [ + NewContractData { + "contractAddress": AztecAddress { "asBigInt": 0n, "asBuffer": { "data": [ @@ -1097,7 +1097,7 @@ PrivateKernelInnerCircuitPublicInputs { "type": "Buffer", }, }, - "value": Fr { + "contractClassId": Fr { "asBigInt": 0n, "asBuffer": { "data": [ @@ -1137,11 +1137,8 @@ PrivateKernelInnerCircuitPublicInputs { "type": "Buffer", }, }, - }, - SideEffect { - "counter": Fr { - "asBigInt": 0n, - "asBuffer": { + "portalContractAddress": EthAddress { + "buffer": { "data": [ 0, 0, @@ -1163,63 +1160,95 @@ PrivateKernelInnerCircuitPublicInputs { 0, 0, 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, ], "type": "Buffer", }, }, - "value": Fr { - "asBigInt": 0n, - "asBuffer": { - "data": [ - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - ], - "type": "Buffer", - }, + }, + ], + "newL2ToL1Msgs": [ + Fr { + "asBigInt": 0n, + "asBuffer": { + "data": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + ], + "type": "Buffer", + }, + }, + Fr { + "asBigInt": 0n, + "asBuffer": { + "data": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + ], + "type": "Buffer", }, }, + ], + "newNoteHashes": [ SideEffect { "counter": Fr { "asBigInt": 0n, @@ -6304,10 +6333,8 @@ PrivateKernelInnerCircuitPublicInputs { }, }, }, - ], - "newContracts": [ - NewContractData { - "contractAddress": AztecAddress { + SideEffect { + "counter": Fr { "asBigInt": 0n, "asBuffer": { "data": [ @@ -6347,7 +6374,7 @@ PrivateKernelInnerCircuitPublicInputs { "type": "Buffer", }, }, - "contractClassId": Fr { + "value": Fr { "asBigInt": 0n, "asBuffer": { "data": [ @@ -6387,8 +6414,11 @@ PrivateKernelInnerCircuitPublicInputs { "type": "Buffer", }, }, - "portalContractAddress": EthAddress { - "buffer": { + }, + SideEffect { + "counter": Fr { + "asBigInt": 0n, + "asBuffer": { "data": [ 0, 0, @@ -6410,97 +6440,67 @@ PrivateKernelInnerCircuitPublicInputs { 0, 0, 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, ], "type": "Buffer", }, }, - }, - ], - "newL2ToL1Msgs": [ - Fr { - "asBigInt": 0n, - "asBuffer": { - "data": [ - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - ], - "type": "Buffer", - }, - }, - Fr { - "asBigInt": 0n, - "asBuffer": { - "data": [ - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - ], - "type": "Buffer", - }, - }, - ], - "newNullifiers": [ - SideEffectLinkedToNoteHash { - "counter": Fr { + "value": Fr { + "asBigInt": 0n, + "asBuffer": { + "data": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + ], + "type": "Buffer", + }, + }, + }, + ], + "newNullifiers": [ + SideEffectLinkedToNoteHash { + "counter": Fr { "asBigInt": 0n, "asBuffer": { "data": [ @@ -35914,6 +35914,199 @@ PrivateKernelTailCircuitPublicInputs { }, }, ], + "newContracts": [ + NewContractData { + "contractAddress": AztecAddress { + "asBigInt": 7667752348302703004105847231271989658843538975557179704689760117635404498899n, + "asBuffer": { + "data": [ + 16, + 243, + 203, + 69, + 185, + 4, + 96, + 183, + 89, + 171, + 13, + 30, + 15, + 188, + 64, + 63, + 182, + 216, + 212, + 55, + 181, + 74, + 72, + 194, + 224, + 79, + 40, + 42, + 36, + 239, + 135, + 211, + ], + "type": "Buffer", + }, + }, + "contractClassId": Fr { + "asBigInt": 14382725657784677548089422063797280690497459898548737366354813204068709973929n, + "asBuffer": { + "data": [ + 31, + 204, + 85, + 144, + 188, + 44, + 12, + 186, + 124, + 105, + 137, + 241, + 157, + 212, + 243, + 50, + 29, + 209, + 56, + 100, + 241, + 88, + 182, + 78, + 71, + 162, + 226, + 76, + 31, + 100, + 63, + 169, + ], + "type": "Buffer", + }, + }, + "portalContractAddress": EthAddress { + "buffer": { + "data": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + ], + "type": "Buffer", + }, + }, + }, + ], + "newL2ToL1Msgs": [ + Fr { + "asBigInt": 0n, + "asBuffer": { + "data": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + ], + "type": "Buffer", + }, + }, + Fr { + "asBigInt": 0n, + "asBuffer": { + "data": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + ], + "type": "Buffer", + }, + }, + ], "newNoteHashes": [ SideEffect { "counter": Fr { @@ -40508,199 +40701,6 @@ PrivateKernelTailCircuitPublicInputs { }, }, ], - "newContracts": [ - NewContractData { - "contractAddress": AztecAddress { - "asBigInt": 7667752348302703004105847231271989658843538975557179704689760117635404498899n, - "asBuffer": { - "data": [ - 16, - 243, - 203, - 69, - 185, - 4, - 96, - 183, - 89, - 171, - 13, - 30, - 15, - 188, - 64, - 63, - 182, - 216, - 212, - 55, - 181, - 74, - 72, - 194, - 224, - 79, - 40, - 42, - 36, - 239, - 135, - 211, - ], - "type": "Buffer", - }, - }, - "contractClassId": Fr { - "asBigInt": 14382725657784677548089422063797280690497459898548737366354813204068709973929n, - "asBuffer": { - "data": [ - 31, - 204, - 85, - 144, - 188, - 44, - 12, - 186, - 124, - 105, - 137, - 241, - 157, - 212, - 243, - 50, - 29, - 209, - 56, - 100, - 241, - 88, - 182, - 78, - 71, - 162, - 226, - 76, - 31, - 100, - 63, - 169, - ], - "type": "Buffer", - }, - }, - "portalContractAddress": EthAddress { - "buffer": { - "data": [ - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - ], - "type": "Buffer", - }, - }, - }, - ], - "newL2ToL1Msgs": [ - Fr { - "asBigInt": 0n, - "asBuffer": { - "data": [ - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - ], - "type": "Buffer", - }, - }, - Fr { - "asBigInt": 0n, - "asBuffer": { - "data": [ - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - ], - "type": "Buffer", - }, - }, - ], "newNullifiers": [ SideEffectLinkedToNoteHash { "counter": Fr {