Skip to content

Commit

Permalink
fixup! WIP: maybe just do this??
Browse files Browse the repository at this point in the history
  • Loading branch information
tzemanovic committed Jan 19, 2024
1 parent 3b9c227 commit d3b4afc
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions crates/state/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@ pub type Result<T> = std::result::Result<T, Error>;
/// it has 2 blocks delay on validator set update.
pub const EPOCH_SWITCH_BLOCKS_DELAY: u32 = 2;

/// Returns true if the given key is one whose data is not merklized
// pub fn is_key_not_merklized(key: &Key) -> bool {
// is_masp_key(key) || is_ibc_counter_key(key)
// }

/// The ledger's state
#[derive(Debug)]
pub struct State<D, H>
Expand Down Expand Up @@ -1575,15 +1570,4 @@ mod tests {
.unwrap();
assert!(res2.is_none());
}

// #[test]
// fn test_non_merklized_keys() {
// let channel_counter_key = channel_counter_key();
// let connections_counter_key = connection_counter_key();
// let client_counter_key = client_counter_key();

// assert!(is_key_not_merklized(&channel_counter_key));
// assert!(is_key_not_merklized(&client_counter_key));
// assert!(is_key_not_merklized(&connections_counter_key));
// }
}

0 comments on commit d3b4afc

Please sign in to comment.