Skip to content

Commit

Permalink
contract deployment data generator (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbanks12 authored and suyash67 committed Feb 16, 2023
1 parent 136a9f4 commit 11a8549
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/aztec3/circuits/abis/contract_deployment_data.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ template <typename NCT> struct ContractDeploymentData {
contract_data_hash, function_tree_root, constructor_hash, contract_address_salt, portal_contract_address,
};

return NCT::compress(inputs, GeneratorIndex::FUNCTION_SIGNATURE);
return NCT::compress(inputs, GeneratorIndex::CONTRACT_DEPLOYMENT_DATA);
}
};

Expand Down
1 change: 1 addition & 0 deletions src/aztec3/constants.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ enum GeneratorIndex {
L1_MSG_STACK_ITEM,
PRIVATE_CIRCUIT_PUBLIC_INPUTS,
PUBLIC_CIRCUIT_PUBLIC_INPUTS,
CONTRACT_DEPLOYMENT_DATA,
};

enum StorageSlotGeneratorIndex {
Expand Down

0 comments on commit 11a8549

Please sign in to comment.