@sig-net/midnight-responder 0.26.0-rc.2 → 0.26.0-rc.7
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/README.md +2 -2
- package/dist/managed/compiler/contract-info.json +4 -3
- package/dist/managed/compiler/contract-manifest.json +18 -17
- package/dist/managed/contract/index.d.ts +2 -4
- package/dist/managed/contract/index.js +65 -9
- package/dist/managed/contract/index.js.map +1 -1
- package/dist/managed/keys/respond.prover +0 -0
- package/dist/managed/keys/respondBidirectional.prover +0 -0
- package/dist/managed/zkir/respond.bzkir +0 -0
- package/dist/managed/zkir/respond.zkir +1 -1
- package/dist/managed/zkir/respondBidirectional.bzkir +0 -0
- package/dist/managed/zkir/respondBidirectional.zkir +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ The [Sig Network](https://sig.network) response contract on the [Midnight blockc
|
|
|
5
5
|
- `respond`: a signature response, as a `SignatureRespondedEvent`.
|
|
6
6
|
- `respondBidirectional`: a remote execution attestation, as a `RespondBidirectionalEvent`.
|
|
7
7
|
|
|
8
|
-
Both circuits emit unverified posts. Clients verify each one themselves,
|
|
8
|
+
Both circuits emit unverified posts. Clients verify each one themselves, as the root README's [Integrator Guide](https://github.com/sig-net/midnight-integration/blob/main/README.md#integrator-guide) shows.
|
|
9
9
|
|
|
10
10
|
## What is in it
|
|
11
11
|
|
|
@@ -14,7 +14,7 @@ Both circuits emit unverified posts. Clients verify each one themselves, exactly
|
|
|
14
14
|
|
|
15
15
|
## Where the proving artifacts come from
|
|
16
16
|
|
|
17
|
-
[`src/signet-responder.compact`](src/signet-responder.compact) is the specification and the source of the JS executor. The `zkir/` and `keys/` the package ships are compiled from [`minocrab/`](minocrab), the same two circuits written in [MinoCrab](https://github.com/sig-net/minocrab), which prove at k=10/11 instead of compactc's k=
|
|
17
|
+
[`src/signet-responder.compact`](src/signet-responder.compact) is the specification and the source of the JS executor. The `zkir/` and `keys/` the package ships are compiled from [`minocrab/`](minocrab), the same two circuits written in [MinoCrab](https://github.com/sig-net/minocrab), which prove at k=10/11 instead of compactc's k=17. The fee and the proof size are the same.
|
|
18
18
|
|
|
19
19
|
`yarn compile:zk` builds that bundle:
|
|
20
20
|
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"compiler-version": "0.
|
|
3
|
-
"
|
|
4
|
-
"
|
|
2
|
+
"compiler-version": "0.36.0",
|
|
3
|
+
"compiler-commit": "b5d9e4dfc532fe47011c4f6296e254f4853eb469",
|
|
4
|
+
"language-version": "0.28.0",
|
|
5
|
+
"runtime-version": "0.21.0",
|
|
5
6
|
"circuits": [
|
|
6
7
|
{
|
|
7
8
|
"name": "respond",
|
|
@@ -1,32 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"manifest-version": "1",
|
|
3
|
-
"compiler-version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"compiler-version": "0.36.0",
|
|
4
|
+
"compiler-commit": "b5d9e4dfc532fe47011c4f6296e254f4853eb469",
|
|
5
|
+
"language-version": "0.28.0",
|
|
6
|
+
"runtime-version": "0.21.0",
|
|
6
7
|
"compiler": {
|
|
7
8
|
"type": "directory",
|
|
8
9
|
"contract-info.json": {
|
|
9
10
|
"type": "file",
|
|
10
|
-
"size":
|
|
11
|
-
"hash": "
|
|
11
|
+
"size": 5881,
|
|
12
|
+
"hash": "311ec9b75bce25b0b5f237c5353a28b54006b83021b20d46f6005f0e38589d07"
|
|
12
13
|
}
|
|
13
14
|
},
|
|
14
15
|
"contract": {
|
|
15
16
|
"type": "directory",
|
|
16
17
|
"index.d.ts": {
|
|
17
18
|
"type": "file",
|
|
18
|
-
"size":
|
|
19
|
-
"hash": "
|
|
19
|
+
"size": 6210,
|
|
20
|
+
"hash": "b927010b3b1242f62fbe150860053ce3f7fe1b5f643ae495b99510a618feed4f"
|
|
20
21
|
},
|
|
21
22
|
"index.js": {
|
|
22
23
|
"type": "file",
|
|
23
|
-
"size":
|
|
24
|
-
"hash": "
|
|
24
|
+
"size": 41625,
|
|
25
|
+
"hash": "46b2832359b49cccdd0ca97655d3f5aefa81187ae610f03739403edb0c97865a"
|
|
25
26
|
},
|
|
26
27
|
"index.js.map": {
|
|
27
28
|
"type": "file",
|
|
28
|
-
"size":
|
|
29
|
-
"hash": "
|
|
29
|
+
"size": 1030,
|
|
30
|
+
"hash": "ae886e4dc854a3a4d8dbcec2ce2e42470412b25eff1e2c92274932f5b6e3e28b"
|
|
30
31
|
}
|
|
31
32
|
},
|
|
32
33
|
"zkir": {
|
|
@@ -34,22 +35,22 @@
|
|
|
34
35
|
"respond.bzkir": {
|
|
35
36
|
"type": "file",
|
|
36
37
|
"size": 2047,
|
|
37
|
-
"hash": "
|
|
38
|
+
"hash": "2d89c680b0a14eb3431a94aa1d46db93a52ecf385dccfba10452b6b93491af46"
|
|
38
39
|
},
|
|
39
40
|
"respond.zkir": {
|
|
40
41
|
"type": "file",
|
|
41
42
|
"size": 3726,
|
|
42
|
-
"hash": "
|
|
43
|
+
"hash": "92fec1230b89036c7ce55fe36ceb8d537cbf7f26da17ca1332de4ed7ba162143"
|
|
43
44
|
},
|
|
44
45
|
"respondBidirectional.bzkir": {
|
|
45
46
|
"type": "file",
|
|
46
47
|
"size": 3901,
|
|
47
|
-
"hash": "
|
|
48
|
+
"hash": "0191f5af62beac6d7d35333f54c683a5f3c400eb22dcd5cf3afb797f0f2f9052"
|
|
48
49
|
},
|
|
49
50
|
"respondBidirectional.zkir": {
|
|
50
51
|
"type": "file",
|
|
51
52
|
"size": 6716,
|
|
52
|
-
"hash": "
|
|
53
|
+
"hash": "9e17a811e844615e807015c4a429a45225f6b5af22deafda8f52bd35e351c200"
|
|
53
54
|
}
|
|
54
55
|
},
|
|
55
56
|
"keys": {
|
|
@@ -57,7 +58,7 @@
|
|
|
57
58
|
"respond.prover": {
|
|
58
59
|
"type": "file",
|
|
59
60
|
"size": 889551,
|
|
60
|
-
"hash": "
|
|
61
|
+
"hash": "66c5ac1b84e56dbd7955e4cb97b3dabda5dd390ba7e50c7307dcc9917fb77e70"
|
|
61
62
|
},
|
|
62
63
|
"respond.verifier": {
|
|
63
64
|
"type": "file",
|
|
@@ -67,7 +68,7 @@
|
|
|
67
68
|
"respondBidirectional.prover": {
|
|
68
69
|
"type": "file",
|
|
69
70
|
"size": 1776141,
|
|
70
|
-
"hash": "
|
|
71
|
+
"hash": "01723a372196a2132a6dcd0f9c6b75fb366634241206d5f847d6d811990ca3c5"
|
|
71
72
|
},
|
|
72
73
|
"respondBidirectional.verifier": {
|
|
73
74
|
"type": "file",
|
|
@@ -87,10 +87,6 @@ export type Circuits<PS> = {
|
|
|
87
87
|
export type Ledger = {
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
export type ContractReferenceLocations = any;
|
|
91
|
-
|
|
92
|
-
export declare const contractReferenceLocations : ContractReferenceLocations;
|
|
93
|
-
|
|
94
90
|
export declare class Contract<PS = any, W extends Witnesses<PS> = Witnesses<PS>> {
|
|
95
91
|
witnesses: W;
|
|
96
92
|
circuits: Circuits<PS>;
|
|
@@ -103,3 +99,5 @@ export declare class Contract<PS = any, W extends Witnesses<PS> = Witnesses<PS>>
|
|
|
103
99
|
export declare function ledger(state: __compactRuntime.StateValue | __compactRuntime.ChargedState): Ledger;
|
|
104
100
|
export declare const pureCircuits: PureCircuits;
|
|
105
101
|
export declare const expectedVk: Record<string, string>;
|
|
102
|
+
export declare const circuitSignatures: __compactRuntime.CircuitSignatures;
|
|
103
|
+
export declare const declaredInterfaces: __compactRuntime.DeclaredInterfaces;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as __compactRuntime from '@midnight-ntwrk/compact-runtime';
|
|
2
|
-
__compactRuntime.checkRuntimeVersion('0.
|
|
2
|
+
__compactRuntime.checkRuntimeVersion('0.21.0');
|
|
3
3
|
|
|
4
4
|
const _descriptor_0 = new __compactRuntime.CompactTypeBytes(288);
|
|
5
5
|
|
|
@@ -123,7 +123,58 @@ class _ContractAddress_0 {
|
|
|
123
123
|
|
|
124
124
|
const _descriptor_12 = new _ContractAddress_0();
|
|
125
125
|
|
|
126
|
-
|
|
126
|
+
class _UserAddress_0 {
|
|
127
|
+
alignment() {
|
|
128
|
+
return _descriptor_1.alignment();
|
|
129
|
+
}
|
|
130
|
+
fromValue(value_0) {
|
|
131
|
+
return {
|
|
132
|
+
bytes: _descriptor_1.fromValue(value_0)
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
toValue(value_0) {
|
|
136
|
+
return _descriptor_1.toValue(value_0.bytes);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
const _descriptor_13 = new _UserAddress_0();
|
|
141
|
+
|
|
142
|
+
class _Either_1 {
|
|
143
|
+
alignment() {
|
|
144
|
+
return _descriptor_9.alignment().concat(_descriptor_12.alignment().concat(_descriptor_13.alignment()));
|
|
145
|
+
}
|
|
146
|
+
fromValue(value_0) {
|
|
147
|
+
return {
|
|
148
|
+
is_left: _descriptor_9.fromValue(value_0),
|
|
149
|
+
left: _descriptor_12.fromValue(value_0),
|
|
150
|
+
right: _descriptor_13.fromValue(value_0)
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
toValue(value_0) {
|
|
154
|
+
return _descriptor_9.toValue(value_0.is_left).concat(_descriptor_12.toValue(value_0.left).concat(_descriptor_13.toValue(value_0.right)));
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
const _descriptor_14 = new _Either_1();
|
|
159
|
+
|
|
160
|
+
class _Maybe_0 {
|
|
161
|
+
alignment() {
|
|
162
|
+
return _descriptor_9.alignment().concat(_descriptor_14.alignment());
|
|
163
|
+
}
|
|
164
|
+
fromValue(value_0) {
|
|
165
|
+
return {
|
|
166
|
+
is_some: _descriptor_9.fromValue(value_0),
|
|
167
|
+
value: _descriptor_14.fromValue(value_0)
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
toValue(value_0) {
|
|
171
|
+
return _descriptor_9.toValue(value_0.is_some).concat(_descriptor_14.toValue(value_0.value));
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
const _descriptor_15 = new _Maybe_0();
|
|
176
|
+
|
|
177
|
+
const _descriptor_16 = new __compactRuntime.CompactTypeUnsignedInteger(4294967295n, 4);
|
|
127
178
|
|
|
128
179
|
export class Contract {
|
|
129
180
|
witnesses;
|
|
@@ -240,7 +291,7 @@ export class Contract {
|
|
|
240
291
|
state_0.data = new __compactRuntime.ChargedState(stateValue_0);
|
|
241
292
|
state_0.setOperation('respond', new __compactRuntime.ContractOperation());
|
|
242
293
|
state_0.setOperation('respondBidirectional', new __compactRuntime.ContractOperation());
|
|
243
|
-
const context = __compactRuntime.createCircuitContext('constructor', __compactRuntime.dummyContractAddress(), constructorContext_0.initialZswapLocalState.coinPublicKey, state_0.data, constructorContext_0.initialPrivateState);
|
|
294
|
+
const context = __compactRuntime.createCircuitContext({circuitId: 'constructor', contractAddress: __compactRuntime.dummyContractAddress(), coinPublicKeyOrZswapState: constructorContext_0.initialZswapLocalState.coinPublicKey, contractState: state_0.data, privateState: constructorContext_0.initialPrivateState});
|
|
244
295
|
const partialProofData = {
|
|
245
296
|
input: { value: [], alignment: [] },
|
|
246
297
|
output: undefined,
|
|
@@ -261,8 +312,8 @@ export class Contract {
|
|
|
261
312
|
[
|
|
262
313
|
{ push: { storage: false,
|
|
263
314
|
value: __compactRuntime.StateValue.newArray()
|
|
264
|
-
.arrayPush(__compactRuntime.StateValue.newCell({ value:
|
|
265
|
-
alignment:
|
|
315
|
+
.arrayPush(__compactRuntime.StateValue.newCell({ value: _descriptor_16.toValue(1n),
|
|
316
|
+
alignment: _descriptor_16.alignment() })).arrayPush(__compactRuntime.StateValue.newCell({ value: _descriptor_3.toValue(10n),
|
|
266
317
|
alignment: _descriptor_3.alignment() })).arrayPush(__compactRuntime.StateValue.newCell({ value: _descriptor_0.toValue((t_0 = { name:
|
|
267
318
|
new Uint8Array([83, 105, 103, 110, 97, 116, 117, 114, 101, 82, 101, 115, 112, 111, 110, 100, 101, 100, 69, 118, 101, 110, 116, 0, 0, 0, 0, 0, 0, 0, 0, 0]),
|
|
268
319
|
payload:
|
|
@@ -298,8 +349,8 @@ export class Contract {
|
|
|
298
349
|
[
|
|
299
350
|
{ push: { storage: false,
|
|
300
351
|
value: __compactRuntime.StateValue.newArray()
|
|
301
|
-
.arrayPush(__compactRuntime.StateValue.newCell({ value:
|
|
302
|
-
alignment:
|
|
352
|
+
.arrayPush(__compactRuntime.StateValue.newCell({ value: _descriptor_16.toValue(1n),
|
|
353
|
+
alignment: _descriptor_16.alignment() })).arrayPush(__compactRuntime.StateValue.newCell({ value: _descriptor_3.toValue(10n),
|
|
303
354
|
alignment: _descriptor_3.alignment() })).arrayPush(__compactRuntime.StateValue.newCell({ value: _descriptor_0.toValue((t_0 = { name:
|
|
304
355
|
new Uint8Array([82, 101, 115, 112, 111, 110, 100, 66, 105, 100, 105, 114, 101, 99, 116, 105, 111, 110, 97, 108, 69, 118, 101, 110, 116, 0, 0, 0, 0, 0, 0, 0]),
|
|
305
356
|
payload:
|
|
@@ -360,8 +411,13 @@ const _emptyContext = {
|
|
|
360
411
|
};
|
|
361
412
|
const _dummyContract = new Contract({ });
|
|
362
413
|
export const pureCircuits = {};
|
|
363
|
-
export const contractReferenceLocations =
|
|
364
|
-
{ tag: 'publicLedgerArray', indices: { } };
|
|
365
414
|
export const expectedVk = {};
|
|
366
415
|
|
|
416
|
+
export const circuitSignatures = {
|
|
417
|
+
'respond': {pure: false, provable: true, argumentTypes: [{tag: 'Struct', name: 'SignatureRespondedEventV1', elements: [{name: 'requestId', type: {tag: 'Alias', name: 'RequestId', type: {tag: 'Bytes', length: 32}}}, {name: 'signature', type: {tag: 'Struct', name: 'Signature', elements: [{name: 'bigR', type: {tag: 'Struct', name: 'AffinePoint', elements: [{name: 'x', type: {tag: 'Bytes', length: 32}}, {name: 'y', type: {tag: 'Bytes', length: 32}}]}}, {name: 's', type: {tag: 'Bytes', length: 32}}, {name: 'recoveryId', type: {tag: 'Uint', maxval: '255'}}]}}]}], resultType: {tag: 'Tuple', types: []}},
|
|
418
|
+
'respondBidirectional': {pure: false, provable: true, argumentTypes: [{tag: 'Struct', name: 'RespondBidirectionalEventV1', elements: [{name: 'requestId', type: {tag: 'Alias', name: 'RequestId', type: {tag: 'Bytes', length: 32}}}, {name: 'blockHeight', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'outputKind', type: {tag: 'Enum', name: 'OutputKind', elements: ['executed', 'failed', 'unviable']}}, {name: 'serializedOutputLength', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'outputHash', type: {tag: 'Bytes', length: 32}}, {name: 'digest', type: {tag: 'Bytes', length: 32}}, {name: 'signature', type: {tag: 'Struct', name: 'Signature', elements: [{name: 'bigR', type: {tag: 'Struct', name: 'AffinePoint', elements: [{name: 'x', type: {tag: 'Bytes', length: 32}}, {name: 'y', type: {tag: 'Bytes', length: 32}}]}}, {name: 's', type: {tag: 'Bytes', length: 32}}, {name: 'recoveryId', type: {tag: 'Uint', maxval: '255'}}]}}]}], resultType: {tag: 'Tuple', types: []}},
|
|
419
|
+
};
|
|
420
|
+
|
|
421
|
+
export const declaredInterfaces = {};
|
|
422
|
+
|
|
367
423
|
//# sourceMappingURL=index.js.map
|
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
"sourceRoot": "../../../",
|
|
5
5
|
"sources": ["src/signet-responder.compact"],
|
|
6
6
|
"names": [],
|
|
7
|
-
"mappings": "
|
|
7
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAA;;;;;;;;;;MA0BA,AAAA,OAcC;;;;;cAbG,yBAAkD;;;;;;;;;;;;;;;;;;yCAAlD,yBAAkD;;;;;;;;;+CAAlD,yBAAkD;;;;OAarD;MAaD,AAAA,oBAmBC;;;;;cAlBG,2BAAsD;;;;;;;;;;;;;;;;;;yCAAtD,2BAAsD;;;;;;;;;4DAAtD,2BAAsD;;;;OAkBzD;;;;;;;;;;GACA;EAzED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyEC;EA/CD,AAAA,gBAcC,4BAbG,yBAAkD;QAElD,GAUE;;;;;;;;;;;qWAPkB,yBAAuB;;qWACvB,yBAAuB;;qWACvB,yBAAuB;;qWACvB,yBAAuB;;uVAC1B,yBAAuB;;;;2VAPxC,GAUE;;2VAVF,GAUE;;;;;;;GACL;EAaD,AAAA,6BAmBC;;gCAlBG,2BAAsD;;QAEtD,GAeE;;;;;;;;;;;qWAZkB,2BAAyB;;;2YACxB,2BAAyB;;;8VAC7B,2BAAyB;;2YACrB,2BAAyB;;;qWAC1B,2BAAyB;;qWACzB,2BAAyB;;qWACzB,2BAAyB;;qWACzB,2BAAyB;;qWACzB,2BAAyB;;uVAC5B,2BAAyB;;;;2VAZ1C,GAeE;;2VAfF,GAeE;;;;;;;GACL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"
|
|
8
8
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"do_communications_commitment":true,"inputs":[{"name":"%signatureRespondedEvent_requestId_hi.0","type":"Scalar<BLS12-381>"},{"name":"%signatureRespondedEvent_requestId_lo.1","type":"Scalar<BLS12-381>"},{"name":"%signatureRespondedEvent_signature_bigR_x_hi.2","type":"Scalar<BLS12-381>"},{"name":"%signatureRespondedEvent_signature_bigR_x_lo.3","type":"Scalar<BLS12-381>"},{"name":"%signatureRespondedEvent_signature_bigR_y_hi.4","type":"Scalar<BLS12-381>"},{"name":"%signatureRespondedEvent_signature_bigR_y_lo.5","type":"Scalar<BLS12-381>"},{"name":"%signatureRespondedEvent_signature_s_hi.6","type":"Scalar<BLS12-381>"},{"name":"%signatureRespondedEvent_signature_s_lo.7","type":"Scalar<BLS12-381>"},{"name":"%signatureRespondedEvent_signature_recoveryId.8","type":"Scalar<BLS12-381>"}],"instructions":[{"bits":8,"op":"constrain_bits","val":"%signatureRespondedEvent_requestId_hi.0"},{"bits":248,"op":"constrain_bits","val":"%signatureRespondedEvent_requestId_lo.1"},{"bits":8,"op":"constrain_bits","val":"%signatureRespondedEvent_signature_bigR_x_hi.2"},{"bits":248,"op":"constrain_bits","val":"%signatureRespondedEvent_signature_bigR_x_lo.3"},{"bits":8,"op":"constrain_bits","val":"%signatureRespondedEvent_signature_bigR_y_hi.4"},{"bits":248,"op":"constrain_bits","val":"%signatureRespondedEvent_signature_bigR_y_lo.5"},{"bits":8,"op":"constrain_bits","val":"%signatureRespondedEvent_signature_s_hi.6"},{"bits":248,"op":"constrain_bits","val":"%signatureRespondedEvent_signature_s_lo.7"},{"bits":8,"op":"constrain_bits","val":"%signatureRespondedEvent_signature_recoveryId.8"},{"bits":240,"op":"div_mod_power_of_two","outputs":["%div.13","%mod.14"],"val":"%signatureRespondedEvent_requestId_lo.1"},{"a":"%mod.14","b":"0x0001","op":"mul","output":"%mul.16"},{"a":"0x00","b":"%mul.16","op":"add","output":"%add.17"},{"a":"%signatureRespondedEvent_requestId_hi.0","b":"0x0001","op":"mul","output":"%mul.19"},{"a":"%div.13","b":"%mul.19","op":"add","output":"%add.20"},{"bits":232,"op":"div_mod_power_of_two","outputs":["%div.21","%mod.22"],"val":"%signatureRespondedEvent_signature_bigR_x_lo.3"},{"a":"%mod.22","b":"0x000001","op":"mul","output":"%mul.24"},{"a":"%add.20","b":"%mul.24","op":"add","output":"%add.25"},{"a":"%signatureRespondedEvent_signature_bigR_x_hi.2","b":"0x000001","op":"mul","output":"%mul.27"},{"a":"%div.21","b":"%mul.27","op":"add","output":"%add.28"},{"bits":224,"op":"div_mod_power_of_two","outputs":["%div.29","%mod.30"],"val":"%signatureRespondedEvent_signature_bigR_y_lo.5"},{"a":"%mod.30","b":"0x00000001","op":"mul","output":"%mul.32"},{"a":"%add.28","b":"%mul.32","op":"add","output":"%add.33"},{"a":"%signatureRespondedEvent_signature_bigR_y_hi.4","b":"0x00000001","op":"mul","output":"%mul.35"},{"a":"%div.29","b":"%mul.35","op":"add","output":"%add.36"},{"bits":216,"op":"div_mod_power_of_two","outputs":["%div.37","%mod.38"],"val":"%signatureRespondedEvent_signature_s_lo.7"},{"a":"%mod.38","b":"0x0000000001","op":"mul","output":"%mul.40"},{"a":"%add.36","b":"%mul.40","op":"add","output":"%add.41"},{"a":"%signatureRespondedEvent_signature_s_hi.6","b":"0x0000000001","op":"mul","output":"%mul.43"},{"a":"%div.37","b":"%mul.43","op":"add","output":"%add.44"},{"a":"%signatureRespondedEvent_signature_recoveryId.8","b":"0x000000000001","op":"mul","output":"%mul.46"},{"a":"%add.44","b":"%mul.46","op":"add","output":"%add.47"},{"guard":"0x01","inputs":["0x10","0x33","0x01","0x01","0x04","0x01","0x01","0x01","0x01","0x0a","0x01","0x01","0x2001","0x00","0x00","0x00","0x00","%add.47","%add.41","%add.33","%add.25","%add.17","0x5369676e6174757265526573706f6e6465644576656e74"],"op":"impact"},{"guard":"0x01","inputs":["0x09"],"op":"impact"}],"outputs":[],"version":{"major":3,"minor":
|
|
1
|
+
{"do_communications_commitment":true,"inputs":[{"name":"%signatureRespondedEvent_requestId_hi.0","type":"Scalar<BLS12-381>"},{"name":"%signatureRespondedEvent_requestId_lo.1","type":"Scalar<BLS12-381>"},{"name":"%signatureRespondedEvent_signature_bigR_x_hi.2","type":"Scalar<BLS12-381>"},{"name":"%signatureRespondedEvent_signature_bigR_x_lo.3","type":"Scalar<BLS12-381>"},{"name":"%signatureRespondedEvent_signature_bigR_y_hi.4","type":"Scalar<BLS12-381>"},{"name":"%signatureRespondedEvent_signature_bigR_y_lo.5","type":"Scalar<BLS12-381>"},{"name":"%signatureRespondedEvent_signature_s_hi.6","type":"Scalar<BLS12-381>"},{"name":"%signatureRespondedEvent_signature_s_lo.7","type":"Scalar<BLS12-381>"},{"name":"%signatureRespondedEvent_signature_recoveryId.8","type":"Scalar<BLS12-381>"}],"instructions":[{"bits":8,"op":"constrain_bits","val":"%signatureRespondedEvent_requestId_hi.0"},{"bits":248,"op":"constrain_bits","val":"%signatureRespondedEvent_requestId_lo.1"},{"bits":8,"op":"constrain_bits","val":"%signatureRespondedEvent_signature_bigR_x_hi.2"},{"bits":248,"op":"constrain_bits","val":"%signatureRespondedEvent_signature_bigR_x_lo.3"},{"bits":8,"op":"constrain_bits","val":"%signatureRespondedEvent_signature_bigR_y_hi.4"},{"bits":248,"op":"constrain_bits","val":"%signatureRespondedEvent_signature_bigR_y_lo.5"},{"bits":8,"op":"constrain_bits","val":"%signatureRespondedEvent_signature_s_hi.6"},{"bits":248,"op":"constrain_bits","val":"%signatureRespondedEvent_signature_s_lo.7"},{"bits":8,"op":"constrain_bits","val":"%signatureRespondedEvent_signature_recoveryId.8"},{"bits":240,"op":"div_mod_power_of_two","outputs":["%div.13","%mod.14"],"val":"%signatureRespondedEvent_requestId_lo.1"},{"a":"%mod.14","b":"0x0001","op":"mul","output":"%mul.16"},{"a":"0x00","b":"%mul.16","op":"add","output":"%add.17"},{"a":"%signatureRespondedEvent_requestId_hi.0","b":"0x0001","op":"mul","output":"%mul.19"},{"a":"%div.13","b":"%mul.19","op":"add","output":"%add.20"},{"bits":232,"op":"div_mod_power_of_two","outputs":["%div.21","%mod.22"],"val":"%signatureRespondedEvent_signature_bigR_x_lo.3"},{"a":"%mod.22","b":"0x000001","op":"mul","output":"%mul.24"},{"a":"%add.20","b":"%mul.24","op":"add","output":"%add.25"},{"a":"%signatureRespondedEvent_signature_bigR_x_hi.2","b":"0x000001","op":"mul","output":"%mul.27"},{"a":"%div.21","b":"%mul.27","op":"add","output":"%add.28"},{"bits":224,"op":"div_mod_power_of_two","outputs":["%div.29","%mod.30"],"val":"%signatureRespondedEvent_signature_bigR_y_lo.5"},{"a":"%mod.30","b":"0x00000001","op":"mul","output":"%mul.32"},{"a":"%add.28","b":"%mul.32","op":"add","output":"%add.33"},{"a":"%signatureRespondedEvent_signature_bigR_y_hi.4","b":"0x00000001","op":"mul","output":"%mul.35"},{"a":"%div.29","b":"%mul.35","op":"add","output":"%add.36"},{"bits":216,"op":"div_mod_power_of_two","outputs":["%div.37","%mod.38"],"val":"%signatureRespondedEvent_signature_s_lo.7"},{"a":"%mod.38","b":"0x0000000001","op":"mul","output":"%mul.40"},{"a":"%add.36","b":"%mul.40","op":"add","output":"%add.41"},{"a":"%signatureRespondedEvent_signature_s_hi.6","b":"0x0000000001","op":"mul","output":"%mul.43"},{"a":"%div.37","b":"%mul.43","op":"add","output":"%add.44"},{"a":"%signatureRespondedEvent_signature_recoveryId.8","b":"0x000000000001","op":"mul","output":"%mul.46"},{"a":"%add.44","b":"%mul.46","op":"add","output":"%add.47"},{"guard":"0x01","inputs":["0x10","0x33","0x01","0x01","0x04","0x01","0x01","0x01","0x01","0x0a","0x01","0x01","0x2001","0x00","0x00","0x00","0x00","%add.47","%add.41","%add.33","%add.25","%add.17","0x5369676e6174757265526573706f6e6465644576656e74"],"op":"impact"},{"guard":"0x01","inputs":["0x09"],"op":"impact"}],"outputs":[],"version":{"major":3,"minor":1}}
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"do_communications_commitment":true,"inputs":[{"name":"%respondBidirectionalEvent_requestId_hi.0","type":"Scalar<BLS12-381>"},{"name":"%respondBidirectionalEvent_requestId_lo.1","type":"Scalar<BLS12-381>"},{"name":"%respondBidirectionalEvent_blockHeight.2","type":"Scalar<BLS12-381>"},{"name":"%respondBidirectionalEvent_outputKind.3","type":"Scalar<BLS12-381>"},{"name":"%respondBidirectionalEvent_serializedOutputLength.4","type":"Scalar<BLS12-381>"},{"name":"%respondBidirectionalEvent_outputHash_hi.5","type":"Scalar<BLS12-381>"},{"name":"%respondBidirectionalEvent_outputHash_lo.6","type":"Scalar<BLS12-381>"},{"name":"%respondBidirectionalEvent_digest_hi.7","type":"Scalar<BLS12-381>"},{"name":"%respondBidirectionalEvent_digest_lo.8","type":"Scalar<BLS12-381>"},{"name":"%respondBidirectionalEvent_signature_bigR_x_hi.9","type":"Scalar<BLS12-381>"},{"name":"%respondBidirectionalEvent_signature_bigR_x_lo.10","type":"Scalar<BLS12-381>"},{"name":"%respondBidirectionalEvent_signature_bigR_y_hi.11","type":"Scalar<BLS12-381>"},{"name":"%respondBidirectionalEvent_signature_bigR_y_lo.12","type":"Scalar<BLS12-381>"},{"name":"%respondBidirectionalEvent_signature_s_hi.13","type":"Scalar<BLS12-381>"},{"name":"%respondBidirectionalEvent_signature_s_lo.14","type":"Scalar<BLS12-381>"},{"name":"%respondBidirectionalEvent_signature_recoveryId.15","type":"Scalar<BLS12-381>"}],"instructions":[{"bits":8,"op":"constrain_bits","val":"%respondBidirectionalEvent_requestId_hi.0"},{"bits":248,"op":"constrain_bits","val":"%respondBidirectionalEvent_requestId_lo.1"},{"bits":64,"op":"constrain_bits","val":"%respondBidirectionalEvent_blockHeight.2"},{"a":"%respondBidirectionalEvent_outputKind.3","b":"0x03","bits":2,"op":"less_than","output":"%lt.16"},{"cond":"%lt.16","op":"assert"},{"bits":64,"op":"constrain_bits","val":"%respondBidirectionalEvent_serializedOutputLength.4"},{"bits":8,"op":"constrain_bits","val":"%respondBidirectionalEvent_outputHash_hi.5"},{"bits":248,"op":"constrain_bits","val":"%respondBidirectionalEvent_outputHash_lo.6"},{"bits":8,"op":"constrain_bits","val":"%respondBidirectionalEvent_digest_hi.7"},{"bits":248,"op":"constrain_bits","val":"%respondBidirectionalEvent_digest_lo.8"},{"bits":8,"op":"constrain_bits","val":"%respondBidirectionalEvent_signature_bigR_x_hi.9"},{"bits":248,"op":"constrain_bits","val":"%respondBidirectionalEvent_signature_bigR_x_lo.10"},{"bits":8,"op":"constrain_bits","val":"%respondBidirectionalEvent_signature_bigR_y_hi.11"},{"bits":248,"op":"constrain_bits","val":"%respondBidirectionalEvent_signature_bigR_y_lo.12"},{"bits":8,"op":"constrain_bits","val":"%respondBidirectionalEvent_signature_s_hi.13"},{"bits":248,"op":"constrain_bits","val":"%respondBidirectionalEvent_signature_s_lo.14"},{"bits":8,"op":"constrain_bits","val":"%respondBidirectionalEvent_signature_recoveryId.15"},{"bits":240,"op":"div_mod_power_of_two","outputs":["%div.21","%mod.22"],"val":"%respondBidirectionalEvent_requestId_lo.1"},{"a":"%mod.22","b":"0x0001","op":"mul","output":"%mul.24"},{"a":"0x00","b":"%mul.24","op":"add","output":"%add.25"},{"a":"%respondBidirectionalEvent_requestId_hi.0","b":"0x0001","op":"mul","output":"%mul.27"},{"a":"%div.21","b":"%mul.27","op":"add","output":"%add.28"},{"a":"%respondBidirectionalEvent_blockHeight.2","b":"0x000001","op":"mul","output":"%mul.30"},{"a":"%add.28","b":"%mul.30","op":"add","output":"%add.31"},{"a":"%respondBidirectionalEvent_outputKind.3","b":"0x0000000000000000000001","op":"mul","output":"%mul.33"},{"a":"%add.31","b":"%mul.33","op":"add","output":"%add.34"},{"a":"%respondBidirectionalEvent_serializedOutputLength.4","b":"0x000000000000000000000001","op":"mul","output":"%mul.36"},{"a":"%add.34","b":"%mul.36","op":"add","output":"%add.37"},{"bits":96,"op":"div_mod_power_of_two","outputs":["%div.38","%mod.39"],"val":"%respondBidirectionalEvent_outputHash_lo.6"},{"a":"%mod.39","b":"0x0000000000000000000000000000000000000001","op":"mul","output":"%mul.41"},{"a":"%add.37","b":"%mul.41","op":"add","output":"%add.42"},{"a":"%respondBidirectionalEvent_outputHash_hi.5","b":"0x0000000000000000000000000000000000000001","op":"mul","output":"%mul.44"},{"a":"%div.38","b":"%mul.44","op":"add","output":"%add.45"},{"bits":88,"op":"div_mod_power_of_two","outputs":["%div.46","%mod.47"],"val":"%respondBidirectionalEvent_digest_lo.8"},{"a":"%mod.47","b":"0x000000000000000000000000000000000000000001","op":"mul","output":"%mul.49"},{"a":"%add.45","b":"%mul.49","op":"add","output":"%add.50"},{"a":"%respondBidirectionalEvent_digest_hi.7","b":"0x000000000000000000000000000000000000000001","op":"mul","output":"%mul.52"},{"a":"%div.46","b":"%mul.52","op":"add","output":"%add.53"},{"bits":80,"op":"div_mod_power_of_two","outputs":["%div.54","%mod.55"],"val":"%respondBidirectionalEvent_signature_bigR_x_lo.10"},{"a":"%mod.55","b":"0x00000000000000000000000000000000000000000001","op":"mul","output":"%mul.57"},{"a":"%add.53","b":"%mul.57","op":"add","output":"%add.58"},{"a":"%respondBidirectionalEvent_signature_bigR_x_hi.9","b":"0x00000000000000000000000000000000000000000001","op":"mul","output":"%mul.60"},{"a":"%div.54","b":"%mul.60","op":"add","output":"%add.61"},{"bits":72,"op":"div_mod_power_of_two","outputs":["%div.62","%mod.63"],"val":"%respondBidirectionalEvent_signature_bigR_y_lo.12"},{"a":"%mod.63","b":"0x0000000000000000000000000000000000000000000001","op":"mul","output":"%mul.65"},{"a":"%add.61","b":"%mul.65","op":"add","output":"%add.66"},{"a":"%respondBidirectionalEvent_signature_bigR_y_hi.11","b":"0x0000000000000000000000000000000000000000000001","op":"mul","output":"%mul.68"},{"a":"%div.62","b":"%mul.68","op":"add","output":"%add.69"},{"bits":64,"op":"div_mod_power_of_two","outputs":["%div.70","%mod.71"],"val":"%respondBidirectionalEvent_signature_s_lo.14"},{"a":"%mod.71","b":"0x000000000000000000000000000000000000000000000001","op":"mul","output":"%mul.73"},{"a":"%add.69","b":"%mul.73","op":"add","output":"%add.74"},{"a":"%respondBidirectionalEvent_signature_s_hi.13","b":"0x000000000000000000000000000000000000000000000001","op":"mul","output":"%mul.76"},{"a":"%div.70","b":"%mul.76","op":"add","output":"%add.77"},{"a":"%respondBidirectionalEvent_signature_recoveryId.15","b":"0x00000000000000000000000000000000000000000000000001","op":"mul","output":"%mul.79"},{"a":"%add.77","b":"%mul.79","op":"add","output":"%add.80"},{"guard":"0x01","inputs":["0x10","0x33","0x01","0x01","0x04","0x01","0x01","0x01","0x01","0x0a","0x01","0x01","0x2001","0x00","0x00","%add.80","%add.74","%add.66","%add.58","%add.50","%add.42","%add.25","0x526573706f6e644269646972656374696f6e616c4576656e74"],"op":"impact"},{"guard":"0x01","inputs":["0x09"],"op":"impact"}],"outputs":[],"version":{"major":3,"minor":
|
|
1
|
+
{"do_communications_commitment":true,"inputs":[{"name":"%respondBidirectionalEvent_requestId_hi.0","type":"Scalar<BLS12-381>"},{"name":"%respondBidirectionalEvent_requestId_lo.1","type":"Scalar<BLS12-381>"},{"name":"%respondBidirectionalEvent_blockHeight.2","type":"Scalar<BLS12-381>"},{"name":"%respondBidirectionalEvent_outputKind.3","type":"Scalar<BLS12-381>"},{"name":"%respondBidirectionalEvent_serializedOutputLength.4","type":"Scalar<BLS12-381>"},{"name":"%respondBidirectionalEvent_outputHash_hi.5","type":"Scalar<BLS12-381>"},{"name":"%respondBidirectionalEvent_outputHash_lo.6","type":"Scalar<BLS12-381>"},{"name":"%respondBidirectionalEvent_digest_hi.7","type":"Scalar<BLS12-381>"},{"name":"%respondBidirectionalEvent_digest_lo.8","type":"Scalar<BLS12-381>"},{"name":"%respondBidirectionalEvent_signature_bigR_x_hi.9","type":"Scalar<BLS12-381>"},{"name":"%respondBidirectionalEvent_signature_bigR_x_lo.10","type":"Scalar<BLS12-381>"},{"name":"%respondBidirectionalEvent_signature_bigR_y_hi.11","type":"Scalar<BLS12-381>"},{"name":"%respondBidirectionalEvent_signature_bigR_y_lo.12","type":"Scalar<BLS12-381>"},{"name":"%respondBidirectionalEvent_signature_s_hi.13","type":"Scalar<BLS12-381>"},{"name":"%respondBidirectionalEvent_signature_s_lo.14","type":"Scalar<BLS12-381>"},{"name":"%respondBidirectionalEvent_signature_recoveryId.15","type":"Scalar<BLS12-381>"}],"instructions":[{"bits":8,"op":"constrain_bits","val":"%respondBidirectionalEvent_requestId_hi.0"},{"bits":248,"op":"constrain_bits","val":"%respondBidirectionalEvent_requestId_lo.1"},{"bits":64,"op":"constrain_bits","val":"%respondBidirectionalEvent_blockHeight.2"},{"a":"%respondBidirectionalEvent_outputKind.3","b":"0x03","bits":2,"op":"less_than","output":"%lt.16"},{"cond":"%lt.16","op":"assert"},{"bits":64,"op":"constrain_bits","val":"%respondBidirectionalEvent_serializedOutputLength.4"},{"bits":8,"op":"constrain_bits","val":"%respondBidirectionalEvent_outputHash_hi.5"},{"bits":248,"op":"constrain_bits","val":"%respondBidirectionalEvent_outputHash_lo.6"},{"bits":8,"op":"constrain_bits","val":"%respondBidirectionalEvent_digest_hi.7"},{"bits":248,"op":"constrain_bits","val":"%respondBidirectionalEvent_digest_lo.8"},{"bits":8,"op":"constrain_bits","val":"%respondBidirectionalEvent_signature_bigR_x_hi.9"},{"bits":248,"op":"constrain_bits","val":"%respondBidirectionalEvent_signature_bigR_x_lo.10"},{"bits":8,"op":"constrain_bits","val":"%respondBidirectionalEvent_signature_bigR_y_hi.11"},{"bits":248,"op":"constrain_bits","val":"%respondBidirectionalEvent_signature_bigR_y_lo.12"},{"bits":8,"op":"constrain_bits","val":"%respondBidirectionalEvent_signature_s_hi.13"},{"bits":248,"op":"constrain_bits","val":"%respondBidirectionalEvent_signature_s_lo.14"},{"bits":8,"op":"constrain_bits","val":"%respondBidirectionalEvent_signature_recoveryId.15"},{"bits":240,"op":"div_mod_power_of_two","outputs":["%div.21","%mod.22"],"val":"%respondBidirectionalEvent_requestId_lo.1"},{"a":"%mod.22","b":"0x0001","op":"mul","output":"%mul.24"},{"a":"0x00","b":"%mul.24","op":"add","output":"%add.25"},{"a":"%respondBidirectionalEvent_requestId_hi.0","b":"0x0001","op":"mul","output":"%mul.27"},{"a":"%div.21","b":"%mul.27","op":"add","output":"%add.28"},{"a":"%respondBidirectionalEvent_blockHeight.2","b":"0x000001","op":"mul","output":"%mul.30"},{"a":"%add.28","b":"%mul.30","op":"add","output":"%add.31"},{"a":"%respondBidirectionalEvent_outputKind.3","b":"0x0000000000000000000001","op":"mul","output":"%mul.33"},{"a":"%add.31","b":"%mul.33","op":"add","output":"%add.34"},{"a":"%respondBidirectionalEvent_serializedOutputLength.4","b":"0x000000000000000000000001","op":"mul","output":"%mul.36"},{"a":"%add.34","b":"%mul.36","op":"add","output":"%add.37"},{"bits":96,"op":"div_mod_power_of_two","outputs":["%div.38","%mod.39"],"val":"%respondBidirectionalEvent_outputHash_lo.6"},{"a":"%mod.39","b":"0x0000000000000000000000000000000000000001","op":"mul","output":"%mul.41"},{"a":"%add.37","b":"%mul.41","op":"add","output":"%add.42"},{"a":"%respondBidirectionalEvent_outputHash_hi.5","b":"0x0000000000000000000000000000000000000001","op":"mul","output":"%mul.44"},{"a":"%div.38","b":"%mul.44","op":"add","output":"%add.45"},{"bits":88,"op":"div_mod_power_of_two","outputs":["%div.46","%mod.47"],"val":"%respondBidirectionalEvent_digest_lo.8"},{"a":"%mod.47","b":"0x000000000000000000000000000000000000000001","op":"mul","output":"%mul.49"},{"a":"%add.45","b":"%mul.49","op":"add","output":"%add.50"},{"a":"%respondBidirectionalEvent_digest_hi.7","b":"0x000000000000000000000000000000000000000001","op":"mul","output":"%mul.52"},{"a":"%div.46","b":"%mul.52","op":"add","output":"%add.53"},{"bits":80,"op":"div_mod_power_of_two","outputs":["%div.54","%mod.55"],"val":"%respondBidirectionalEvent_signature_bigR_x_lo.10"},{"a":"%mod.55","b":"0x00000000000000000000000000000000000000000001","op":"mul","output":"%mul.57"},{"a":"%add.53","b":"%mul.57","op":"add","output":"%add.58"},{"a":"%respondBidirectionalEvent_signature_bigR_x_hi.9","b":"0x00000000000000000000000000000000000000000001","op":"mul","output":"%mul.60"},{"a":"%div.54","b":"%mul.60","op":"add","output":"%add.61"},{"bits":72,"op":"div_mod_power_of_two","outputs":["%div.62","%mod.63"],"val":"%respondBidirectionalEvent_signature_bigR_y_lo.12"},{"a":"%mod.63","b":"0x0000000000000000000000000000000000000000000001","op":"mul","output":"%mul.65"},{"a":"%add.61","b":"%mul.65","op":"add","output":"%add.66"},{"a":"%respondBidirectionalEvent_signature_bigR_y_hi.11","b":"0x0000000000000000000000000000000000000000000001","op":"mul","output":"%mul.68"},{"a":"%div.62","b":"%mul.68","op":"add","output":"%add.69"},{"bits":64,"op":"div_mod_power_of_two","outputs":["%div.70","%mod.71"],"val":"%respondBidirectionalEvent_signature_s_lo.14"},{"a":"%mod.71","b":"0x000000000000000000000000000000000000000000000001","op":"mul","output":"%mul.73"},{"a":"%add.69","b":"%mul.73","op":"add","output":"%add.74"},{"a":"%respondBidirectionalEvent_signature_s_hi.13","b":"0x000000000000000000000000000000000000000000000001","op":"mul","output":"%mul.76"},{"a":"%div.70","b":"%mul.76","op":"add","output":"%add.77"},{"a":"%respondBidirectionalEvent_signature_recoveryId.15","b":"0x00000000000000000000000000000000000000000000000001","op":"mul","output":"%mul.79"},{"a":"%add.77","b":"%mul.79","op":"add","output":"%add.80"},{"guard":"0x01","inputs":["0x10","0x33","0x01","0x01","0x04","0x01","0x01","0x01","0x01","0x0a","0x01","0x01","0x2001","0x00","0x00","%add.80","%add.74","%add.66","%add.58","%add.50","%add.42","%add.25","0x526573706f6e644269646972656374696f6e616c4576656e74"],"op":"impact"},{"guard":"0x01","inputs":["0x09"],"op":"impact"}],"outputs":[],"version":{"major":3,"minor":1}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sig-net/midnight-responder",
|
|
3
|
-
"version": "0.26.0-rc.
|
|
3
|
+
"version": "0.26.0-rc.7",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/sig-net/midnight-integration",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"dist"
|
|
20
20
|
],
|
|
21
21
|
"scripts": {
|
|
22
|
-
"compile": "COMPACT_PATH=../../node_modules compact compile --skip-zk
|
|
22
|
+
"compile": "COMPACT_PATH=../../node_modules compact compile --skip-zk src/signet-responder.compact src/managed",
|
|
23
23
|
"compile:zk": "yarn compile && cd minocrab && cargo run --locked -- ../src/managed",
|
|
24
24
|
"build": "rm -rf dist && ls src/managed/keys/*.prover >/dev/null 2>&1 || { echo 'signet-responder build: no prover keys in src/managed/keys, run `yarn compile:zk` first (compile uses --skip-zk)' >&2; exit 1; } && tsc -p tsconfig.json && tsc -p tsconfig.build.json && mkdir -p dist/managed && cp -R src/managed/contract src/managed/compiler src/managed/zkir src/managed/keys dist/managed/",
|
|
25
25
|
"prepack": "yarn build",
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@midnight-ntwrk/compact-runtime": "0.
|
|
42
|
-
"@midnight-ntwrk/midnight-js": "5.0.0
|
|
41
|
+
"@midnight-ntwrk/compact-runtime": "0.21.0",
|
|
42
|
+
"@midnight-ntwrk/midnight-js": "5.0.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@sig-net/midnight": "^0.26.0-rc.
|
|
45
|
+
"@sig-net/midnight": "^0.26.0-rc.7",
|
|
46
46
|
"@types/node": "^26.1.0",
|
|
47
47
|
"@vitest/coverage-v8": "^5.0.0",
|
|
48
48
|
"typescript": "^7.0.2",
|