From e8fc5419f8e353ec43ee4c2f733b12ef12eed852 Mon Sep 17 00:00:00 2001 From: Charlie Lye Date: Wed, 10 Apr 2024 10:13:16 +0000 Subject: [PATCH] update snapshots --- .../__snapshots__/revert_code.test.ts.snap | 84 ++----------------- 1 file changed, 6 insertions(+), 78 deletions(-) diff --git a/yarn-project/circuits.js/src/structs/__snapshots__/revert_code.test.ts.snap b/yarn-project/circuits.js/src/structs/__snapshots__/revert_code.test.ts.snap index 88a46bd073be..fff7e680ed07 100644 --- a/yarn-project/circuits.js/src/structs/__snapshots__/revert_code.test.ts.snap +++ b/yarn-project/circuits.js/src/structs/__snapshots__/revert_code.test.ts.snap @@ -50,45 +50,9 @@ exports[`revert_code should serialize properly 2`] = ` `; exports[`revert_code should serialize properly 3`] = ` -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", - }, +{ + "type": "Fr", + "value": "0x0000000000000000000000000000000000000000000000000000000000000000", } `; @@ -142,44 +106,8 @@ exports[`revert_code should serialize properly 5`] = ` `; exports[`revert_code should serialize properly 6`] = ` -Fr { - "asBigInt": 1n, - "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, - 1, - ], - "type": "Buffer", - }, +{ + "type": "Fr", + "value": "0x0000000000000000000000000000000000000000000000000000000000000001", } `;