Skip to content

Commit 04ae141

Browse files
committed
remove trust threshold default
1 parent 6d41e93 commit 04ae141

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

ibc-clients/ics07-tendermint/types/src/trust_threshold.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,11 @@ impl TryFrom<Fraction> for TrustThreshold {
134134
}
135135
}
136136

137-
impl Default for TrustThreshold {
138-
fn default() -> Self {
139-
Self::ONE_THIRD
140-
}
141-
}
137+
// impl Default for TrustThreshold {
138+
// fn default() -> Self {
139+
// Self::ONE_THIRD
140+
// }
141+
// }
142142

143143
impl Display for TrustThreshold {
144144
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), FmtError> {

ibc-testkit/src/fixtures/clients/tendermint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pub fn dummy_tm_client_state_from_header(tm_header: TmHeader) -> TmClientState {
2626
let chain_id = ChainId::from_str(tm_header.chain_id.as_str()).expect("Never fails");
2727
let client_state = ClientStateType::new(
2828
chain_id.clone(),
29-
Default::default(),
29+
TrustThreshold::ONE_THIRD,
3030
Duration::from_secs(64000),
3131
Duration::from_secs(128000),
3232
Duration::from_millis(3000),

0 commit comments

Comments
 (0)