From 517c993aa77695728fc73b66c560b57a1f70e2d1 Mon Sep 17 00:00:00 2001 From: benesjan Date: Fri, 22 Sep 2023 13:33:47 +0000 Subject: [PATCH] updated snapshots --- .../src/abis/__snapshots__/abis.test.ts.snap | 90 +++++++++++-------- 1 file changed, 52 insertions(+), 38 deletions(-) diff --git a/yarn-project/circuits.js/src/abis/__snapshots__/abis.test.ts.snap b/yarn-project/circuits.js/src/abis/__snapshots__/abis.test.ts.snap index b27325aa391..2146c33a650 100644 --- a/yarn-project/circuits.js/src/abis/__snapshots__/abis.test.ts.snap +++ b/yarn-project/circuits.js/src/abis/__snapshots__/abis.test.ts.snap @@ -1,43 +1,57 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`abis wasm bindings computes a contract address 1`] = ` -AztecAddress { - "buffer": { - "data": [ - 17, - 160, - 201, - 96, - 127, - 185, - 91, - 146, - 4, - 147, - 169, - 211, - 33, - 226, - 156, - 174, - 240, - 174, - 157, - 149, - 81, - 249, - 149, - 226, - 160, - 18, - 239, - 108, - 218, - 140, - 217, - 137, - ], - "type": "Buffer", +exports[`abis wasm bindings computes a complete address 1`] = ` +CompleteAddress { + "address": AztecAddress { + "buffer": { + "data": [ + 17, + 160, + 201, + 96, + 127, + 185, + 91, + 146, + 4, + 147, + 169, + 211, + 33, + 226, + 156, + 174, + 240, + 174, + 157, + 149, + 81, + 249, + 149, + 226, + 160, + 18, + 239, + 108, + 218, + 140, + 217, + 137, + ], + "type": "Buffer", + }, + }, + "partialAddress": Fr { + "value": 14273840083696241216436261500085649155281267590119694711623393161813305965081n, + }, + "publicKey": Point { + "kind": "point", + "x": Fr { + "value": 1n, + }, + "y": Fr { + "value": 2n, + }, }, } `;