-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1507 from o1-labs/feature/consolidate-exists
Refactor provable core
- Loading branch information
Showing
94 changed files
with
1,246 additions
and
1,066 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule bindings
updated
7 files
+1 −1 | crypto/poseidon.unit-test.ts | |
+2 −2 | lib/binable.unit-test.ts | |
+5 −6 | lib/generic.ts | |
+0 −76 | lib/provable-bigint.ts | |
+0 −102 | lib/provable-snarky.ts | |
+3 −3 | mina-transaction/transaction-leaves-bigint.ts | |
+1 −1 | mina-transaction/transaction-leaves.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,6 @@ | ||
import { CircuitValue, prop, UInt32 } from 'o1js'; | ||
import { Struct, UInt32 } from 'o1js'; | ||
|
||
export default class ElectionPreconditions extends CircuitValue { | ||
@prop startElection: UInt32; | ||
@prop endElection: UInt32; | ||
|
||
constructor(startElection: UInt32, endElection: UInt32) { | ||
super(); | ||
this.startElection = startElection; | ||
this.endElection = endElection; | ||
} | ||
} | ||
export default class ElectionPreconditions extends Struct({ | ||
startElection: UInt32, | ||
endElection: UInt32, | ||
}) {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.