-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* use max lookup bits for circuit degree * remove y coord check * tweak poseidon * half number of poseidon hash inputs * add step aggregation * remove committee poseidon from pi commit in contracts * tweak circuit accordingly * re-gen step verifier sol * update tests * post merge fixes * cargo fix * cargo fix + fmt * cargo fix + fmt * regenerate committee update contract * remove commented code Co-authored-by: Willem Olding <[email protected]> --------- Co-authored-by: Willem Olding <[email protected]>
- Loading branch information
1 parent
5c2ac0d
commit 9cc6298
Showing
22 changed files
with
97 additions
and
121 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
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
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
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,17 +1,19 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity 0.8.19; | ||
|
||
import { SyncStepLib } from "../src/SyncStepLib.sol"; | ||
import {SyncStepLib} from "../src/SyncStepLib.sol"; | ||
|
||
/** | ||
* @title SyncStepExternal | ||
* @dev This contract exists solely for the purpose of exposing the SyncStepLib functions | ||
* so they can be used in the Rust test suite. It should not be part of a production deployment | ||
*/ | ||
* @title SyncStepExternal | ||
* @dev This contract exists solely for the purpose of exposing the SyncStepLib functions | ||
* so they can be used in the Rust test suite. It should not be part of a production deployment | ||
*/ | ||
contract SyncStepExternal { | ||
using SyncStepLib for SyncStepLib.SyncStepInput; | ||
|
||
function toInputCommitment(SyncStepLib.SyncStepInput calldata args, bytes32 keysPoseidonCommitment) public pure returns (uint256) { | ||
return args.toInputCommitment(keysPoseidonCommitment); | ||
function toInputCommitment( | ||
SyncStepLib.SyncStepInput calldata args | ||
) public pure returns (uint256) { | ||
return args.toInputCommitment(); | ||
} | ||
} |
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.