Skip to content

Commit

Permalink
penumbra-proto: fix comments on StateReadProto nv methods (#4296)
Browse files Browse the repository at this point in the history
## Describe your changes

This fix incorrect comments on `StateReadProto` nv methods.

## Checklist before requesting a review

- [x] If this code contains consensus-breaking changes, I have added the
"consensus-breaking" label. Otherwise, I declare my belief that there
are not consensus-breaking changes, for the following reason:

  > Comments
  • Loading branch information
erwanor authored May 1, 2024
1 parent a500f2c commit c1c601a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/proto/src/state/read.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ pub trait StateReadProto: StateRead + Send + Sync {
}))
}

/// Retrieve all values for keys matching a prefix from consensus-critical state, as domain types.
/// Retrieve all values for keys matching a prefix from nonverifiable storage, as domain types.
#[allow(clippy::type_complexity)]
fn nonverifiable_prefix<'a, D>(
&'a self,
Expand Down Expand Up @@ -119,7 +119,7 @@ pub trait StateReadProto: StateRead + Send + Sync {
Box::pin(o)
}

/// Retrieve all values for keys matching a prefix from the verifiable key-value store, as proto types.
/// Retrieve all values for keys matching a prefix from the nonverifiable key-value store, as proto types.
#[allow(clippy::type_complexity)]
fn nonverifiable_prefix_proto<'a, P>(
&'a self,
Expand Down

0 comments on commit c1c601a

Please sign in to comment.