@aztec-labs/txe 6.0.0-rc.4 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dest/{ContractClassRegistry-KVMXSCYB.js → ContractClassRegistry-WUTBZG4R.js} +1 -1
- package/dest/{ContractClassRegistry-KVMXSCYB.js.map → ContractClassRegistry-WUTBZG4R.js.map} +2 -2
- package/dest/{ContractInstanceRegistry-G6UG2R2Y.js → ContractInstanceRegistry-NKANW4JS.js} +1 -1
- package/dest/{ContractInstanceRegistry-G6UG2R2Y.js.map → ContractInstanceRegistry-NKANW4JS.js.map} +2 -2
- package/dest/{FeeJuice-BVKXV3SG.js → FeeJuice-MGJHUQBC.js} +1 -1
- package/dest/{FeeJuice-BVKXV3SG.js.map → FeeJuice-MGJHUQBC.js.map} +2 -2
- package/dest/bin/index.js +1 -1
- package/dest/{chunk-2RLJ3PK7.js → chunk-3HCV7YW3.js} +1 -1
- package/dest/{chunk-CQW7U3VW.js → chunk-PYZIA4L3.js} +2 -2
- package/dest/{chunk-CQW7U3VW.js.map → chunk-PYZIA4L3.js.map} +2 -2
- package/dest/metafile.json +35 -35
- package/dest/server.bundle.js +1 -1
- package/dest/worker.bundle.js +1 -1
- package/package.json +16 -16
- /package/dest/{chunk-2RLJ3PK7.js.map → chunk-3HCV7YW3.js.map} +0 -0
package/dest/metafile.json
CHANGED
|
@@ -13541,7 +13541,7 @@
|
|
|
13541
13541
|
"format": "esm"
|
|
13542
13542
|
},
|
|
13543
13543
|
"../protocol-contracts/artifacts/ContractClassRegistry.json": {
|
|
13544
|
-
"bytes":
|
|
13544
|
+
"bytes": 631634,
|
|
13545
13545
|
"imports": []
|
|
13546
13546
|
},
|
|
13547
13547
|
"../protocol-contracts/dest/class-registry/lazy.js": {
|
|
@@ -13576,7 +13576,7 @@
|
|
|
13576
13576
|
"format": "esm"
|
|
13577
13577
|
},
|
|
13578
13578
|
"../protocol-contracts/artifacts/FeeJuice.json": {
|
|
13579
|
-
"bytes":
|
|
13579
|
+
"bytes": 203773,
|
|
13580
13580
|
"imports": []
|
|
13581
13581
|
},
|
|
13582
13582
|
"../protocol-contracts/dest/fee-juice/lazy.js": {
|
|
@@ -13673,7 +13673,7 @@
|
|
|
13673
13673
|
"format": "esm"
|
|
13674
13674
|
},
|
|
13675
13675
|
"../protocol-contracts/artifacts/ContractInstanceRegistry.json": {
|
|
13676
|
-
"bytes":
|
|
13676
|
+
"bytes": 59476,
|
|
13677
13677
|
"imports": []
|
|
13678
13678
|
},
|
|
13679
13679
|
"../protocol-contracts/dest/instance-registry/lazy.js": {
|
|
@@ -28175,7 +28175,7 @@
|
|
|
28175
28175
|
"format": "esm"
|
|
28176
28176
|
},
|
|
28177
28177
|
"../protocol-contracts/artifacts/FeeJuice.json with { type: 'json' }": {
|
|
28178
|
-
"bytes":
|
|
28178
|
+
"bytes": 203773,
|
|
28179
28179
|
"imports": [],
|
|
28180
28180
|
"with": {
|
|
28181
28181
|
"type": "json"
|
|
@@ -35530,11 +35530,11 @@
|
|
|
35530
35530
|
"dest/bin/index.js": {
|
|
35531
35531
|
"imports": [
|
|
35532
35532
|
{
|
|
35533
|
-
"path": "dest/chunk-
|
|
35533
|
+
"path": "dest/chunk-3HCV7YW3.js",
|
|
35534
35534
|
"kind": "import-statement"
|
|
35535
35535
|
},
|
|
35536
35536
|
{
|
|
35537
|
-
"path": "dest/chunk-
|
|
35537
|
+
"path": "dest/chunk-PYZIA4L3.js",
|
|
35538
35538
|
"kind": "import-statement"
|
|
35539
35539
|
},
|
|
35540
35540
|
{
|
|
@@ -35560,7 +35560,7 @@
|
|
|
35560
35560
|
"dest/worker.bundle.js": {
|
|
35561
35561
|
"imports": [
|
|
35562
35562
|
{
|
|
35563
|
-
"path": "dest/chunk-
|
|
35563
|
+
"path": "dest/chunk-PYZIA4L3.js",
|
|
35564
35564
|
"kind": "import-statement"
|
|
35565
35565
|
},
|
|
35566
35566
|
{
|
|
@@ -35596,11 +35596,11 @@
|
|
|
35596
35596
|
"dest/server.bundle.js": {
|
|
35597
35597
|
"imports": [
|
|
35598
35598
|
{
|
|
35599
|
-
"path": "dest/chunk-
|
|
35599
|
+
"path": "dest/chunk-3HCV7YW3.js",
|
|
35600
35600
|
"kind": "import-statement"
|
|
35601
35601
|
},
|
|
35602
35602
|
{
|
|
35603
|
-
"path": "dest/chunk-
|
|
35603
|
+
"path": "dest/chunk-PYZIA4L3.js",
|
|
35604
35604
|
"kind": "import-statement"
|
|
35605
35605
|
},
|
|
35606
35606
|
{
|
|
@@ -35615,16 +35615,16 @@
|
|
|
35615
35615
|
"inputs": {},
|
|
35616
35616
|
"bytes": 256
|
|
35617
35617
|
},
|
|
35618
|
-
"dest/chunk-
|
|
35618
|
+
"dest/chunk-3HCV7YW3.js.map": {
|
|
35619
35619
|
"imports": [],
|
|
35620
35620
|
"exports": [],
|
|
35621
35621
|
"inputs": {},
|
|
35622
35622
|
"bytes": 2051447
|
|
35623
35623
|
},
|
|
35624
|
-
"dest/chunk-
|
|
35624
|
+
"dest/chunk-3HCV7YW3.js": {
|
|
35625
35625
|
"imports": [
|
|
35626
35626
|
{
|
|
35627
|
-
"path": "dest/chunk-
|
|
35627
|
+
"path": "dest/chunk-PYZIA4L3.js",
|
|
35628
35628
|
"kind": "import-statement"
|
|
35629
35629
|
},
|
|
35630
35630
|
{
|
|
@@ -36510,13 +36510,13 @@
|
|
|
36510
36510
|
},
|
|
36511
36511
|
"bytes": 1092481
|
|
36512
36512
|
},
|
|
36513
|
-
"dest/chunk-
|
|
36513
|
+
"dest/chunk-PYZIA4L3.js.map": {
|
|
36514
36514
|
"imports": [],
|
|
36515
36515
|
"exports": [],
|
|
36516
36516
|
"inputs": {},
|
|
36517
|
-
"bytes":
|
|
36517
|
+
"bytes": 5862623
|
|
36518
36518
|
},
|
|
36519
|
-
"dest/chunk-
|
|
36519
|
+
"dest/chunk-PYZIA4L3.js": {
|
|
36520
36520
|
"imports": [
|
|
36521
36521
|
{
|
|
36522
36522
|
"path": "dest/chunk-32UHX7YY.js",
|
|
@@ -37273,15 +37273,15 @@
|
|
|
37273
37273
|
"external": true
|
|
37274
37274
|
},
|
|
37275
37275
|
{
|
|
37276
|
-
"path": "dest/ContractClassRegistry-
|
|
37276
|
+
"path": "dest/ContractClassRegistry-WUTBZG4R.js",
|
|
37277
37277
|
"kind": "dynamic-import"
|
|
37278
37278
|
},
|
|
37279
37279
|
{
|
|
37280
|
-
"path": "dest/FeeJuice-
|
|
37280
|
+
"path": "dest/FeeJuice-MGJHUQBC.js",
|
|
37281
37281
|
"kind": "dynamic-import"
|
|
37282
37282
|
},
|
|
37283
37283
|
{
|
|
37284
|
-
"path": "dest/ContractInstanceRegistry-
|
|
37284
|
+
"path": "dest/ContractInstanceRegistry-NKANW4JS.js",
|
|
37285
37285
|
"kind": "dynamic-import"
|
|
37286
37286
|
},
|
|
37287
37287
|
{
|
|
@@ -39883,7 +39883,7 @@
|
|
|
39883
39883
|
"bytesInOutput": 2778
|
|
39884
39884
|
},
|
|
39885
39885
|
"../protocol-contracts/artifacts/FeeJuice.json with { type: 'json' }": {
|
|
39886
|
-
"bytesInOutput":
|
|
39886
|
+
"bytesInOutput": 199088
|
|
39887
39887
|
},
|
|
39888
39888
|
"../protocol-contracts/dest/fee-juice/index.js": {
|
|
39889
39889
|
"bytesInOutput": 553
|
|
@@ -40216,7 +40216,7 @@
|
|
|
40216
40216
|
"bytesInOutput": 4414
|
|
40217
40217
|
}
|
|
40218
40218
|
},
|
|
40219
|
-
"bytes":
|
|
40219
|
+
"bytes": 2159743
|
|
40220
40220
|
},
|
|
40221
40221
|
"dest/SchnorrAccount-5JEEB3OZ.js.map": {
|
|
40222
40222
|
"imports": [],
|
|
@@ -40280,13 +40280,13 @@
|
|
|
40280
40280
|
},
|
|
40281
40281
|
"bytes": 142807
|
|
40282
40282
|
},
|
|
40283
|
-
"dest/ContractClassRegistry-
|
|
40283
|
+
"dest/ContractClassRegistry-WUTBZG4R.js.map": {
|
|
40284
40284
|
"imports": [],
|
|
40285
40285
|
"exports": [],
|
|
40286
40286
|
"inputs": {},
|
|
40287
|
-
"bytes":
|
|
40287
|
+
"bytes": 650944
|
|
40288
40288
|
},
|
|
40289
|
-
"dest/ContractClassRegistry-
|
|
40289
|
+
"dest/ContractClassRegistry-WUTBZG4R.js": {
|
|
40290
40290
|
"imports": [
|
|
40291
40291
|
{
|
|
40292
40292
|
"path": "dest/chunk-32UHX7YY.js",
|
|
@@ -40306,18 +40306,18 @@
|
|
|
40306
40306
|
"entryPoint": "../protocol-contracts/artifacts/ContractClassRegistry.json",
|
|
40307
40307
|
"inputs": {
|
|
40308
40308
|
"../protocol-contracts/artifacts/ContractClassRegistry.json": {
|
|
40309
|
-
"bytesInOutput":
|
|
40309
|
+
"bytesInOutput": 629564
|
|
40310
40310
|
}
|
|
40311
40311
|
},
|
|
40312
|
-
"bytes":
|
|
40312
|
+
"bytes": 629832
|
|
40313
40313
|
},
|
|
40314
|
-
"dest/FeeJuice-
|
|
40314
|
+
"dest/FeeJuice-MGJHUQBC.js.map": {
|
|
40315
40315
|
"imports": [],
|
|
40316
40316
|
"exports": [],
|
|
40317
40317
|
"inputs": {},
|
|
40318
|
-
"bytes":
|
|
40318
|
+
"bytes": 245296
|
|
40319
40319
|
},
|
|
40320
|
-
"dest/FeeJuice-
|
|
40320
|
+
"dest/FeeJuice-MGJHUQBC.js": {
|
|
40321
40321
|
"imports": [
|
|
40322
40322
|
{
|
|
40323
40323
|
"path": "dest/chunk-32UHX7YY.js",
|
|
@@ -40337,18 +40337,18 @@
|
|
|
40337
40337
|
"entryPoint": "../protocol-contracts/artifacts/FeeJuice.json",
|
|
40338
40338
|
"inputs": {
|
|
40339
40339
|
"../protocol-contracts/artifacts/FeeJuice.json": {
|
|
40340
|
-
"bytesInOutput":
|
|
40340
|
+
"bytesInOutput": 199158
|
|
40341
40341
|
}
|
|
40342
40342
|
},
|
|
40343
|
-
"bytes":
|
|
40343
|
+
"bytes": 199413
|
|
40344
40344
|
},
|
|
40345
|
-
"dest/ContractInstanceRegistry-
|
|
40345
|
+
"dest/ContractInstanceRegistry-NKANW4JS.js.map": {
|
|
40346
40346
|
"imports": [],
|
|
40347
40347
|
"exports": [],
|
|
40348
40348
|
"inputs": {},
|
|
40349
|
-
"bytes":
|
|
40349
|
+
"bytes": 85092
|
|
40350
40350
|
},
|
|
40351
|
-
"dest/ContractInstanceRegistry-
|
|
40351
|
+
"dest/ContractInstanceRegistry-NKANW4JS.js": {
|
|
40352
40352
|
"imports": [
|
|
40353
40353
|
{
|
|
40354
40354
|
"path": "dest/chunk-32UHX7YY.js",
|
|
@@ -40368,10 +40368,10 @@
|
|
|
40368
40368
|
"entryPoint": "../protocol-contracts/artifacts/ContractInstanceRegistry.json",
|
|
40369
40369
|
"inputs": {
|
|
40370
40370
|
"../protocol-contracts/artifacts/ContractInstanceRegistry.json": {
|
|
40371
|
-
"bytesInOutput":
|
|
40371
|
+
"bytesInOutput": 56721
|
|
40372
40372
|
}
|
|
40373
40373
|
},
|
|
40374
|
-
"bytes":
|
|
40374
|
+
"bytes": 56992
|
|
40375
40375
|
},
|
|
40376
40376
|
"dest/chunk-32UHX7YY.js.map": {
|
|
40377
40377
|
"imports": [],
|
package/dest/server.bundle.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { createRequire as __txeCreateRequire } from 'node:module';
|
|
2
2
|
const require = __txeCreateRequire(import.meta.url);
|
|
3
|
-
import{createTXERpcServer}from"./chunk-
|
|
3
|
+
import{createTXERpcServer}from"./chunk-3HCV7YW3.js";import"./chunk-PYZIA4L3.js";import"./chunk-32UHX7YY.js";export{createTXERpcServer};
|
package/dest/worker.bundle.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { createRequire as __txeCreateRequire } from 'node:module';
|
|
2
2
|
const require = __txeCreateRequire(import.meta.url);
|
|
3
|
-
import{TXEDispatcher,activeSessionCount,createLogger,getEnv}from"./chunk-
|
|
3
|
+
import{TXEDispatcher,activeSessionCount,createLogger,getEnv}from"./chunk-PYZIA4L3.js";import{__name}from"./chunk-32UHX7YY.js";import{BackendType,Barretenberg,BarretenbergSync}from"@aztec-foundation/bb.js";import{parentPort,workerData}from"node:worker_threads";Barretenberg.initSingleton({backend:BackendType.Wasm,skipSrsInit:!0,threads:1});BarretenbergSync.initSingleton({backend:BackendType.Wasm});if(!parentPort)throw new Error("worker.ts must be loaded as a worker_thread");var port=parentPort,logger=createLogger("txe:worker"),dispatcherOpts={contractStoreSourceDir:workerData.contractStoreSourceDir,schnorrClassId:workerData.schnorrClassId},dispatcher=new TXEDispatcher(logger,dispatcherOpts);function serializeError(err){return err instanceof Error?{message:err.message,name:err.name,stack:err.stack}:{message:String(err)}}__name(serializeError,"serializeError");getEnv().TXE_WORKER_MEMSTAT==="1"&&setInterval(()=>{let m=process.memoryUsage();port.postMessage({type:"memstat",sessions:activeSessionCount(),rss:m.rss,heapTotal:m.heapTotal,heapUsed:m.heapUsed,external:m.external,arrayBuffers:m.arrayBuffers})},2e3).unref();port.on("message",msg=>{switch(msg.type){case"foreign-call":(async()=>{try{let value=await dispatcher.resolve_foreign_call(msg.callData);port.postMessage({type:"result",requestId:msg.requestId,ok:!0,value})}catch(err){port.postMessage({type:"result",requestId:msg.requestId,ok:!1,error:serializeError(err)})}})();return;case"dispose-session":dispatcher.disposeSession(msg.sessionId).catch(err=>logger.warn("disposeSession failed",err));return}});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec-labs/txe",
|
|
3
|
-
"version": "6.0.0
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./server": {
|
|
@@ -69,21 +69,21 @@
|
|
|
69
69
|
]
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@aztec-foundation/bb.js": "6.0.0
|
|
73
|
-
"@aztec-labs/accounts": "6.0.0
|
|
74
|
-
"@aztec-labs/archiver": "6.0.0
|
|
75
|
-
"@aztec-labs/aztec-node": "6.0.0
|
|
76
|
-
"@aztec-labs/bb-prover": "6.0.0
|
|
77
|
-
"@aztec-labs/constants": "6.0.0
|
|
78
|
-
"@aztec-labs/foundation": "6.0.0
|
|
79
|
-
"@aztec-labs/key-store": "6.0.0
|
|
80
|
-
"@aztec-labs/kv-store": "6.0.0
|
|
81
|
-
"@aztec-labs/protocol-contracts": "6.0.0
|
|
82
|
-
"@aztec-labs/pxe": "6.0.0
|
|
83
|
-
"@aztec-labs/simulator": "6.0.0
|
|
84
|
-
"@aztec-labs/standard-contracts": "6.0.0
|
|
85
|
-
"@aztec-labs/stdlib": "6.0.0
|
|
86
|
-
"@aztec-labs/world-state": "6.0.0
|
|
72
|
+
"@aztec-foundation/bb.js": "6.0.0",
|
|
73
|
+
"@aztec-labs/accounts": "6.0.0",
|
|
74
|
+
"@aztec-labs/archiver": "6.0.0",
|
|
75
|
+
"@aztec-labs/aztec-node": "6.0.0",
|
|
76
|
+
"@aztec-labs/bb-prover": "6.0.0",
|
|
77
|
+
"@aztec-labs/constants": "6.0.0",
|
|
78
|
+
"@aztec-labs/foundation": "6.0.0",
|
|
79
|
+
"@aztec-labs/key-store": "6.0.0",
|
|
80
|
+
"@aztec-labs/kv-store": "6.0.0",
|
|
81
|
+
"@aztec-labs/protocol-contracts": "6.0.0",
|
|
82
|
+
"@aztec-labs/pxe": "6.0.0",
|
|
83
|
+
"@aztec-labs/simulator": "6.0.0",
|
|
84
|
+
"@aztec-labs/standard-contracts": "6.0.0",
|
|
85
|
+
"@aztec-labs/stdlib": "6.0.0",
|
|
86
|
+
"@aztec-labs/world-state": "6.0.0",
|
|
87
87
|
"msgpackr": "^1.11.2",
|
|
88
88
|
"zod": "~4.4.3"
|
|
89
89
|
},
|
|
File without changes
|