Skip to content

Commit dea2a1f

Browse files
authored
Merge pull request #1998 from o1-labs/fix/zkprogram-pure-type
ZkProgram type fix
2 parents 53f3bb0 + c6cbf8d commit dea2a1f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
2929
### Fixed
3030

3131
- Fix behavior of `initializeBindings()` when called concurrently, to improve error messages in common failure scenarios https://github.com/o1-labs/o1js/pull/1996
32+
- Fix `ZkProgram` public input/output types https://github.com/o1-labs/o1js/pull/1998
3233

3334
## [2.2.0](https://github.com/o1-labs/o1js/compare/e1bac02...b857516) - 2024-12-10
3435

src/lib/proof-system/zkprogram.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -618,8 +618,8 @@ function ZkProgram<
618618

619619
type ZkProgram<
620620
Config extends {
621-
publicInput?: ProvableTypePure;
622-
publicOutput?: ProvableTypePure;
621+
publicInput?: ProvableType;
622+
publicOutput?: ProvableType;
623623
methods: {
624624
[I in string]: {
625625
privateInputs: Tuple<PrivateInput>;

0 commit comments

Comments
 (0)