Skip to content

Commit

Permalink
chore: remove stale comments (#2788)
Browse files Browse the repository at this point in the history
Removes stale comments related to #1473 and #1567
  • Loading branch information
LHerskind authored Oct 11, 2023
1 parent b8cb7df commit d9c458d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions yarn-project/aztec-nr/aztec/src/abi.nr
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,6 @@ struct PublicCircuitPublicInputs {
unencrypted_log_preimages_length: Field,
block_data: HistoricBlockData,
prover_address: Field,

// TODO: include globals in here and check them elsewhere
// https://github.com/AztecProtocol/aztec-packages/issues/1567
}

impl PublicCircuitPublicInputs {
Expand All @@ -336,11 +333,9 @@ impl PublicCircuitPublicInputs {
inputs.push_array(self.new_nullifiers);
inputs.push_array(self.new_l2_to_l1_msgs);

// We do not include block_data since it's not in the cpp hash

inputs.push_array(self.unencrypted_logs_hash);
inputs.push(self.unencrypted_log_preimages_length);
inputs.push_array(self.block_data.serialize()); // see https://github.com/AztecProtocol/aztec-packages/issues/1473
inputs.push_array(self.block_data.serialize());
inputs.push(self.prover_address);

dep::std::hash::pedersen_with_separator(inputs.storage, GENERATOR_INDEX__PUBLIC_CIRCUIT_PUBLIC_INPUTS)[0]
Expand Down

0 comments on commit d9c458d

Please sign in to comment.