Skip to content

Commit

Permalink
making PackedValues immutable
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Apr 25, 2024
1 parent 8150eee commit 78b59cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions yarn-project/circuit-types/src/packed_values.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ import { type FieldsOf } from '@aztec/foundation/types';
* Packs a set of values into a hash.
*/
export class PackedValues {
constructor(
private constructor(
/**
* Raw values.
*/
public values: Fr[],
public readonly values: Fr[],
/**
* The hash of the raw values
*/
public hash: Fr,
public readonly hash: Fr,
) {}

static getFields(fields: FieldsOf<PackedValues>) {
Expand Down

0 comments on commit 78b59cb

Please sign in to comment.