Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aztec/circuits.js

Package Overview
Dependencies
Maintainers
6
Versions
161
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aztec/circuits.js - npm Package Compare versions

Comparing version 0.1.0-alpha39 to 0.1.0-alpha40

6

dest/abis/abis.test.js

@@ -21,5 +21,3 @@ import times from 'lodash.times';

});
// TODO: This test fails on CI since build-system is not updating the latest circuits wasm
// We may need to wait until we bump to the next commit to see if it picks up the change
it.skip('hashes VK', () => {
it('hashes VK', () => {
const vk = makeVerificationKey();

@@ -111,2 +109,2 @@ const res = hashVK(wasm, vk.toBuffer());

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJpcy50ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2FiaXMvYWJpcy50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxNQUFNLGNBQWMsQ0FBQztBQUVqQyxPQUFPLEVBQUUsWUFBWSxFQUFFLEVBQUUsRUFBRSxZQUFZLEVBQUUsb0JBQW9CLEVBQUUsZUFBZSxFQUFFLE1BQU0sYUFBYSxDQUFDO0FBQ3BHLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxjQUFjLEVBQUUsU0FBUyxFQUFFLGFBQWEsRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQ3hILE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUN4RCxPQUFPLEVBQ0wsc0JBQXNCLEVBQ3RCLHNCQUFzQixFQUN0QixtQkFBbUIsRUFDbkIsbUJBQW1CLEVBQ25CLHVCQUF1QixFQUN2Qix1QkFBdUIsRUFDdkIsdUJBQXVCLEVBQ3ZCLGtCQUFrQixFQUN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n0=

@@ -10,3 +10,3 @@ import { TextEncoder } from 'util';

});
it.skip('should verify signature', () => {
it('should verify signature', () => {
// prettier-ignore

@@ -23,3 +23,3 @@ const privateKey = new PrivateKey(Buffer.from([

});
it.skip('should recover public key from signature', () => {
it('should recover public key from signature', () => {
// prettier-ignore

@@ -41,2 +41,2 @@ const privateKey = new PrivateKey(Buffer.from([

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXgudGVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9iYXJyZXRlbmJlcmcvY3J5cHRvL2VjZHNhL2luZGV4LnRlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUVuQyxPQUFPLEVBQUUsWUFBWSxFQUFFLFVBQVUsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBQzdELE9BQU8sRUFBRSxLQUFLLEVBQUUsTUFBTSxZQUFZLENBQUM7QUFFbkMsUUFBUSxDQUFDLE9BQU8sRUFBRSxHQUFHLEVBQUU7SUFDckIsSUFBSSxLQUFhLENBQUM7SUFFbEIsU0FBUyxDQUFDLEtBQUssSUFBSSxFQUFFO1FBQ25CLE1BQU0sSUFBSSxHQUFHLE1BQU0sWUFBWSxDQUFDLEdBQUcsRUFBRSxDQUFDO1FBQ3RDLEtBQUssR0FBRyxJQUFJLEtBQUssQ0FBQyxJQUFJLENBQUMsQ0FBQztJQUMxQixDQUFDLENBQUMsQ0FBQztJQUVILEVBQUUsQ0FBQyxJQUFJLENBQUMseUJBQXlCLEVBQUUsR0FBRyxFQUFFO1FBQ3RDLGtCQUFrQjtRQUNsQixNQUFNLFVBQVUsR0FBRyxJQUFJLFVBQVUsQ0FBQyxNQUFNLENBQUMsSUFBSSxDQUFDO1lBQzVDLElBQUksRUFBRSxJQUF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../index.js';

};
// Task to repair this test: https://github.com/AztecProtocol/aztec-packages/issues/1586
it.skip('calls base_rollup__sim', () => {

@@ -70,2 +71,3 @@ const input = makeBaseRollupInputsForCircuit();

});
// Task to repair this test: https://github.com/AztecProtocol/aztec-packages/issues/1586
it.skip('calls root_rollup__sim', () => {

@@ -83,2 +85,2 @@ const input = makeRootRollupInputs();

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm9sbHVwX3dhc21fd3JhcHBlci50ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL3JvbGx1cC9yb2xsdXBfd2FzbV93cmFwcGVyLnRlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGlCQUFpQixFQUFFLFlBQVksRUFBdUMsZUFBZSxFQUFFLE1BQU0sYUFBYSxDQUFDO0FBQ3BILE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxxQkFBcUIsRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQzFHLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUN4RCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUU3RCxRQUFRLENBQUMsNEJBQTRCLEVBQUUsR0FBRyxFQUFFO0lBQzFDLElBQUksSUFBa0IsQ0FBQztJQUN2QixJQUFJLFVBQTZCLENBQUM7SUFFbEMsU0FBUyxDQUFDLEtBQUssSUFBSSxFQUFFO1FBQ25CLElBQUksR0FBRyxNQUFNLFlBQVksQ0FBQyxHQUFHLEVBQUUsQ0FBQztRQUNoQyxVQUFVLEdBQUcsSUFBSSxpQkFBaUIsQ0FBQyxJQUFJLENBQUMsQ0FBQztJQUMzQyxDQUFDLENBQUMsQ0FBQztJQUVILE1BQU0sOEJBQThCLEdBQUcsR0FBRyxFQUFF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CLEVBQUUsQ0FBQyxDQUFDO1NBQ25GO1FBQ0QsdUJBQXVCLENBQUMsS0FBSyxDQUFDLENBQUM7UUFFL0IsTUFBTSxNQUFNLEdBQUcsVUFBVSxDQUFDLGtCQUFrQixDQUFDLEtBQUssQ0FBQyxDQUFDO1FBQ3BELE1BQU0sQ0FBQyxNQUFNLENBQUMsMEJBQTBCLENBQUMsQ0FBQyxPQUFPLENBQy9DLEtBQUssQ0FBQyxrQkFBa0IsQ0FBQyxDQUFDLENBQUMsQ0FBQyxZQUFZLENBQUMsMEJBQTBCLENBQ3BFLENBQUM7SUFDSixDQUFDLEVBQUUsS0FBTSxDQUFDLENBQUM7QUFDYixDQUFDLENBQUMsQ0FBQyJ9
import { VerificationKey } from './verification_key.js';
describe('structs/verification_key', () => {
// The VK below was grabbed from a Noir build output, which is currently failing to deserialize
// apparently due to a mismatch in the VK format used across teams. Once Noir moves to the same
// format we're using (or the other way around), we can grab a new VK from a build artifact,
// paste it here, and check that it deserializes properly.
it.skip(`can deserialize vk built by noir`, () => {
const serialized = `0000000100000100000000300000000b00000003515f310c94cc788117a46753f05f3ca63659fe689529657338e0ac526d0b405a26d4090b00afd09d53eb6e37a91f7e7eba68d98653aca455d7f05003a8d9fcf5c75fff00000003515f3206852757d96b9a6063ba1f3a37dc369df432f440c63f452976d86f962b64761b2e313905d40943c8f134ec0faa000c9facc670d2acaa3affa69941ff0a3e5f3f00000003515f330709e3c949775037b37630dd2845ecacb5c4da4d04d094f65414edebe9292b262e2f9a2189107a99dad5259914f87419e4fc9c35023e8b9694f901c53cfc99c800000003515f3406852757d96b9a6063ba1f3a37dc`;
// The VK below was grabbed from the noir contract artifact child_contract.json
it(`can deserialize vk built by noir`, () => {
const serialized = `0000000200000800000000740000000f00000003515f3109623eb3c25aa5b16a1a79fd558bac7a7ce62c4560a8c537c77ce80dd339128d1d37b6582ee9e6df9567efb64313471dfa18f520f9ce53161b50dbf7731bc5f900000003515f322bc4cce83a486a92c92fd59bd84e0f92595baa639fc2ed86b00ffa0dfded2a092a669a3bdb7a273a015eda494457cc7ed5236f26cee330c290d45a33b9daa94800000003515f332729426c008c085a81bd34d8ef12dd31e80130339ef99d50013a89e4558eee6d0fa4ffe2ee7b7b62eb92608b2251ac31396a718f9b34978888789042b790a30100000003515f342be6b6824a913eb7a57b03cb1ee7bfb4de02f2f65fe8a4e97baa7766ddb353a82a8a25c49dc63778cd9fe96173f12a2bc77f3682f4c4448f98f1df82c75234a100000003515f351f85760d6ab567465aadc2f180af9eae3800e6958fec96aef53fd8a7b195d7c000c6267a0dd5cfc22b3fe804f53e266069c0e36f51885baec1e7e67650c62e170000000c515f41524954484d455449430d9d0f8ece2aa12012fa21e6e5c859e97bd5704e5c122064a66051294bc5e04213f61f54a0ebdf6fee4d4a6ecf693478191de0c2899bcd8e86a636c8d3eff43400000003515f43224a99d02c86336737c8dd5b746c40d2be6aead8393889a76a18d664029096e90f7fe81adcc92a74350eada9622ac453f49ebac24a066a1f83b394df54dfa0130000000c515f46495845445f42415345060e8a013ed289c2f9fd7473b04f6594b138ddb4b4cf6b901622a14088f04b8d2c83ff74fce56e3d5573b99c7b26d85d5046ce0c6559506acb7a675e7713eb3a00000007515f4c4f4749430721a91cb8da4b917e054f72147e1760cfe0ef3d45090ac0f4961d84ec1996961a25e787b26bd8b50b1a99450f77a424a83513c2b33af268cd253b0587ff50c700000003515f4d05dbd8623b8652511e1eb38d38887a69eceb082f807514f09e127237c5213b401b9325b48c6c225968002318095f89d0ef9cf629b2b7f0172e03bc39aacf6ed800000007515f52414e474504b57a3805e41df328f5ca9aefa40fad5917391543b7b65c6476e60b8f72e9ad07c92f3b3e11c8feae96dedc4b14a6226ef3201244f37cfc1ee5b96781f48d2b000000075349474d415f3125001d1954a18571eaa007144c5a567bb0d2be4def08a8be918b8c05e3b27d312c59ed41e09e144eab5de77ca89a2fd783be702a47c951d3112e3de02ce6e47c000000075349474d415f3223994e6a23618e60fa01c449a7ab88378709197e186d48d604bfb6931ffb15ad11c5ec7a0700570f80088fd5198ab5d5c227f2ad2a455a6edeec024156bb7beb000000075349474d415f3300cda5845f23468a13275d18bddae27c6bb189cf9aa95b6a03a0cb6688c7e8d829639b45cf8607c525cc400b55ebf90205f2f378626dc3406cc59b2d1b474fba000000075349474d415f342d299e7928496ea2d37f10b43afd6a80c90a33b483090d18069ffa275eedb2fc2f82121e8de43dc036d99b478b6227ceef34248939987a19011f065d8b5cef5c0000000010000000000000000100000002000000030000000400000005000000060000000700000008000000090000000a0000000b0000000c0000000d0000000e0000000f`;
const vk = VerificationKey.fromBuffer(Buffer.from(serialized, 'hex'));

@@ -13,2 +10,2 @@ expect(vk.circuitSize).toBeGreaterThan(100);

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyaWZpY2F0aW9uX2tleS50ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL3N0cnVjdHMvdmVyaWZpY2F0aW9uX2tleS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUV4RCxRQUFRLENBQUMsMEJBQTBCLEVBQUUsR0FBRyxFQUFFO0lBQ3hDLCtGQUErRjtJQUMvRiwrRkFBK0Y7SUFDL0YsNEZBQTRGO0lBQzVGLDBEQUEwRDtJQUMxRCxFQUFFLENBQUMsSUFBSSxDQUFDLGtDQUFrQyxFQUFFLEdBQUcsRUFBRTtRQUMvQyxNQUFNLFVBQVUsR0FBRyxzZkFBc2YsQ0FBQztRQUMxZ0IsTUFBTSxFQUFFLEdBQUcsZUFBZSxDQUFDLFVBQVUsQ0FBQyxNQUFNLENBQUMsSUFBSSxDQUFDLFVBQVUsRUFBRSxLQUFLLENBQUMsQ0FBQyxDQUFDO1FBQ3RFLE1BQU0sQ0FBQyxFQUFFLENBQUMsV0FBVyxDQUFDLENBQUMsZUFBZSxDQUFDLEdBQUcsQ0FBQyxDQUFDO0lBQzlDLENBQUMsQ0FBQyxDQUFDO0FBQ0wsQ0FBQyxDQUFDLENBQUMifQ==
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyaWZpY2F0aW9uX2tleS50ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL3N0cnVjdHMvdmVyaWZpY2F0aW9uX2tleS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUV4RCxRQUFRLENBQUMsMEJBQTBCLEVBQUUsR0FBRyxFQUFFO0lBQ3hDLCtFQUErRTtJQUMvRSxFQUFFLENBQUMsa0NBQWtDLEVBQUUsR0FBRyxFQUFFO1FBQzFDLE1BQU0sVUFBVSxHQUFHLGsxRUFBazFFLENBQUM7UUFDdDJFLE1BQU0sRUFBRSxHQUFHLGVBQWUsQ0FBQyxVQUFVLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxVQUFVLEVBQUUsS0FBSyxDQUFDLENBQUMsQ0FBQztRQUN0RSxNQUFNLENBQUMsRUFBRSxDQUFDLFdBQVcsQ0FBQyxDQUFDLGVBQWUsQ0FBQyxHQUFHLENBQUMsQ0FBQztJQUM5QyxDQUFDLENBQUMsQ0FBQztBQUNMLENBQUMsQ0FBQyxDQUFDIn0=
{
"name": "@aztec/circuits.js",
"version": "0.1.0-alpha39",
"version": "0.1.0-alpha40",
"exports": {

@@ -14,3 +14,3 @@ ".": "./dest/index.js",

"dependencies": {
"@aztec/foundation": "0.1.0-alpha39",
"@aztec/foundation": "0.1.0-alpha40",
"@msgpack/msgpack": "^3.0.0-beta2",

@@ -17,0 +17,0 @@ "@noble/curves": "^1.0.0",

@@ -40,5 +40,3 @@ import times from 'lodash.times';

// TODO: This test fails on CI since build-system is not updating the latest circuits wasm
// We may need to wait until we bump to the next commit to see if it picks up the change
it.skip('hashes VK', () => {
it('hashes VK', () => {
const vk = makeVerificationKey();

@@ -45,0 +43,0 @@ const res = hashVK(wasm, vk.toBuffer());

@@ -14,3 +14,3 @@ import { TextEncoder } from 'util';

it.skip('should verify signature', () => {
it('should verify signature', () => {
// prettier-ignore

@@ -29,3 +29,3 @@ const privateKey = new PrivateKey(Buffer.from([

it.skip('should recover public key from signature', () => {
it('should recover public key from signature', () => {
// prettier-ignore

@@ -32,0 +32,0 @@ const privateKey = new PrivateKey(Buffer.from([

@@ -46,2 +46,3 @@ import { AggregationObject, CircuitError, MergeRollupInputs, RootRollupInputs, VerificationKey } from '../index.js';

// Task to repair this test: https://github.com/AztecProtocol/aztec-packages/issues/1586
it.skip('calls base_rollup__sim', () => {

@@ -90,2 +91,3 @@ const input = makeBaseRollupInputsForCircuit();

// Task to repair this test: https://github.com/AztecProtocol/aztec-packages/issues/1586
it.skip('calls root_rollup__sim', () => {

@@ -92,0 +94,0 @@ const input = makeRootRollupInputs();

import { VerificationKey } from './verification_key.js';
describe('structs/verification_key', () => {
// The VK below was grabbed from a Noir build output, which is currently failing to deserialize
// apparently due to a mismatch in the VK format used across teams. Once Noir moves to the same
// format we're using (or the other way around), we can grab a new VK from a build artifact,
// paste it here, and check that it deserializes properly.
it.skip(`can deserialize vk built by noir`, () => {
const serialized = `0000000100000100000000300000000b00000003515f310c94cc788117a46753f05f3ca63659fe689529657338e0ac526d0b405a26d4090b00afd09d53eb6e37a91f7e7eba68d98653aca455d7f05003a8d9fcf5c75fff00000003515f3206852757d96b9a6063ba1f3a37dc369df432f440c63f452976d86f962b64761b2e313905d40943c8f134ec0faa000c9facc670d2acaa3affa69941ff0a3e5f3f00000003515f330709e3c949775037b37630dd2845ecacb5c4da4d04d094f65414edebe9292b262e2f9a2189107a99dad5259914f87419e4fc9c35023e8b9694f901c53cfc99c800000003515f3406852757d96b9a6063ba1f3a37dc`;
// The VK below was grabbed from the noir contract artifact child_contract.json
it(`can deserialize vk built by noir`, () => {
const serialized = `0000000200000800000000740000000f00000003515f3109623eb3c25aa5b16a1a79fd558bac7a7ce62c4560a8c537c77ce80dd339128d1d37b6582ee9e6df9567efb64313471dfa18f520f9ce53161b50dbf7731bc5f900000003515f322bc4cce83a486a92c92fd59bd84e0f92595baa639fc2ed86b00ffa0dfded2a092a669a3bdb7a273a015eda494457cc7ed5236f26cee330c290d45a33b9daa94800000003515f332729426c008c085a81bd34d8ef12dd31e80130339ef99d50013a89e4558eee6d0fa4ffe2ee7b7b62eb92608b2251ac31396a718f9b34978888789042b790a30100000003515f342be6b6824a913eb7a57b03cb1ee7bfb4de02f2f65fe8a4e97baa7766ddb353a82a8a25c49dc63778cd9fe96173f12a2bc77f3682f4c4448f98f1df82c75234a100000003515f351f85760d6ab567465aadc2f180af9eae3800e6958fec96aef53fd8a7b195d7c000c6267a0dd5cfc22b3fe804f53e266069c0e36f51885baec1e7e67650c62e170000000c515f41524954484d455449430d9d0f8ece2aa12012fa21e6e5c859e97bd5704e5c122064a66051294bc5e04213f61f54a0ebdf6fee4d4a6ecf693478191de0c2899bcd8e86a636c8d3eff43400000003515f43224a99d02c86336737c8dd5b746c40d2be6aead8393889a76a18d664029096e90f7fe81adcc92a74350eada9622ac453f49ebac24a066a1f83b394df54dfa0130000000c515f46495845445f42415345060e8a013ed289c2f9fd7473b04f6594b138ddb4b4cf6b901622a14088f04b8d2c83ff74fce56e3d5573b99c7b26d85d5046ce0c6559506acb7a675e7713eb3a00000007515f4c4f4749430721a91cb8da4b917e054f72147e1760cfe0ef3d45090ac0f4961d84ec1996961a25e787b26bd8b50b1a99450f77a424a83513c2b33af268cd253b0587ff50c700000003515f4d05dbd8623b8652511e1eb38d38887a69eceb082f807514f09e127237c5213b401b9325b48c6c225968002318095f89d0ef9cf629b2b7f0172e03bc39aacf6ed800000007515f52414e474504b57a3805e41df328f5ca9aefa40fad5917391543b7b65c6476e60b8f72e9ad07c92f3b3e11c8feae96dedc4b14a6226ef3201244f37cfc1ee5b96781f48d2b000000075349474d415f3125001d1954a18571eaa007144c5a567bb0d2be4def08a8be918b8c05e3b27d312c59ed41e09e144eab5de77ca89a2fd783be702a47c951d3112e3de02ce6e47c000000075349474d415f3223994e6a23618e60fa01c449a7ab88378709197e186d48d604bfb6931ffb15ad11c5ec7a0700570f80088fd5198ab5d5c227f2ad2a455a6edeec024156bb7beb000000075349474d415f3300cda5845f23468a13275d18bddae27c6bb189cf9aa95b6a03a0cb6688c7e8d829639b45cf8607c525cc400b55ebf90205f2f378626dc3406cc59b2d1b474fba000000075349474d415f342d299e7928496ea2d37f10b43afd6a80c90a33b483090d18069ffa275eedb2fc2f82121e8de43dc036d99b478b6227ceef34248939987a19011f065d8b5cef5c0000000010000000000000000100000002000000030000000400000005000000060000000700000008000000090000000a0000000b0000000c0000000d0000000e0000000f`;
const vk = VerificationKey.fromBuffer(Buffer.from(serialized, 'hex'));

@@ -11,0 +8,0 @@ expect(vk.circuitSize).toBeGreaterThan(100);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc