Skip to content

Issue J: public input array lengths #783

New issue

Have a question about this project? Sign up for a free account to open an issue and contact its maintainers and the community.

By clicking “Sign up for ”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on ? Sign in to your account

Merged
merged 1 commit into from
Jun 30, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions nightfall-deployer/contracts/Utils.sol
Original file line numberDiff line numberDiff line change
Expand Up@@ -150,7 +150,7 @@ library Utils {
pure
returns (uint256[] memory)
{
uint256[] memory inputs = new uint256[](16);
uint256[] memory inputs = new uint256[](6);
inputs[0] = uint256(ts.ercAddress);
inputs[1] = uint256(ts.tokenId);
inputs[2] = ts.value;
Expand All@@ -165,7 +165,7 @@ library Utils {
pure
returns (uint256[] memory)
{
uint256[] memory inputs = new uint256[](6);
uint256[] memory inputs = new uint256[](16);
inputs[0] = uint256(ts.ercAddress);
inputs[1] = uint256(ts.ercAddress);
inputs[2] = uint256(ts.commitments[0]);
Expand Down