Skip to content

Commit

Permalink
more comments
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Jan 28, 2025
1 parent 54203ba commit a336e72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ impl ClassPrivateFunctionBroadcasted {
0; MAX_PACKED_BYTECODE_SIZE_PER_PRIVATE_FUNCTION_IN_FIELDS
+ REGISTERER_PRIVATE_FUNCTION_BROADCASTED_ADDITIONAL_FIELDS
];
// Since we are not yet emitting selectors we'll use this magic value to identify events emitted by the ClassRegisterer.
packed[0] = REGISTERER_PRIVATE_FUNCTION_BROADCASTED_MAGIC_VALUE;
packed[1] = self.contract_class_id.to_field();
packed[2] = self.artifact_metadata_hash;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ impl ClassUnconstrainedFunctionBroadcasted {
0; MAX_PACKED_BYTECODE_SIZE_PER_UNCONSTRAINED_FUNCTION_IN_FIELDS
+ REGISTERER_UNCONSTRAINED_FUNCTION_BROADCASTED_ADDITIONAL_FIELDS
];
// Since we are not yet emitting selectors we'll use this magic value to identify events emitted by the ClassRegisterer.
packed[0] = REGISTERER_UNCONSTRAINED_FUNCTION_BROADCASTED_MAGIC_VALUE;
packed[1] = self.contract_class_id.to_field();
packed[2] = self.artifact_metadata_hash;
Expand Down

0 comments on commit a336e72

Please sign in to comment.