Skip to content

Commit

Permalink
better num. generic name
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Feb 6, 2025
1 parent 98191fa commit 9f588c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions noir-projects/aztec-nr/aztec/src/state_vars/shared_mutable.nr
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ pub struct SharedMutable<T, let INITIAL_DELAY: u32, Context> {
storage_slot: Field,
}

// This will make the Aztec macros require that T implements the Packable and Eq traits, and allocate `N` storage
// This will make the Aztec macros require that T implements the Packable and Eq traits, and allocate `M` storage
// slots to this state variable.
impl<T, let INITIAL_DELAY: u32, Context, let N: u32> Storage<N> for SharedMutable<T, INITIAL_DELAY, Context>
impl<T, let INITIAL_DELAY: u32, Context, let M: u32> Storage<M> for SharedMutable<T, INITIAL_DELAY, Context>
where
WithHash<SharedMutableValues<T, INITIAL_DELAY>, _>: Packable<N>,
WithHash<SharedMutableValues<T, INITIAL_DELAY>, _>: Packable<M>,
{
fn get_storage_slot(self) -> Field {
self.storage_slot
Expand Down

0 comments on commit 9f588c4

Please sign in to comment.