Skip to content

Commit 8383bb6

Browse files
committed
prune imports and changelog fix
1 parent 4a00bdb commit 8383bb6

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
2525
- APIs for recursively proving a ZkProgram method from within another https://github.com/o1-labs/o1js/pull/1931 https://github.com/o1-labs/o1js/pull/1932
2626
- `let recursive = Experimental.Recursive(program);`
2727
- `recursive.<methodName>(...args): Promise<PublicOutput>`
28-
- `recursive.<methodName>.if.<methodName>(condition, ...args): Promise<PublicOutput>`
28+
- `recursive.<methodName>.if(condition, ...args): Promise<PublicOutput>`
2929
- This also works within the same program, as long as the return value is type-annotated
3030
- Add `enforceTransactionLimits` parameter on Network https://github.com/o1-labs/o1js/issues/1910
3131
- Method for optional types to assert none https://github.com/o1-labs/o1js/pull/1922

src/lib/proof-system/zkprogram.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ import {
3030
unsetSrsCache,
3131
} from '../../bindings/crypto/bindings/srs.js';
3232
import {
33-
ProvablePure,
3433
ProvableType,
3534
ProvableTypePure,
3635
ToProvable,
@@ -55,8 +54,7 @@ import {
5554
import { emptyWitness } from '../provable/types/util.js';
5655
import { InferValue } from '../../bindings/lib/provable-generic.js';
5756
import { DeclaredProof, ZkProgramContext } from './zkprogram-context.js';
58-
import { mapObject, mapToObject, zip } from '../util/arrays.js';
59-
import { Bool } from '../provable/bool.js';
57+
import { mapObject, mapToObject } from '../util/arrays.js';
6058

6159
// public API
6260
export {

0 commit comments

Comments
 (0)