Skip to content

Commit

Permalink
PairOfCodecs default (#703)
Browse files Browse the repository at this point in the history
  • Loading branch information
neysofu committed Aug 21, 2023
1 parent 3fffcdd commit a050971
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions module-system/sov-state/src/codec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ where

/// A [`StateCodec`] that uses two different codecs under the hood, one for keys
/// and one for values.
#[derive(Default, Debug, Clone)]
pub struct PairOfCodecs<KC, VC> {
pub key_codec: KC,
pub value_codec: VC,
Expand Down

0 comments on commit a050971

Please sign in to comment.