diff --git a/crates/ibc/src/mock/context.rs b/crates/ibc/src/mock/context.rs index e306fa9d5d..fe3a33aa23 100644 --- a/crates/ibc/src/mock/context.rs +++ b/crates/ibc/src/mock/context.rs @@ -323,7 +323,7 @@ impl From for MockContext { MockContext { host_chain_type: params.host_type, host_chain_id: params.host_id.clone(), - max_history_size: params.max_history_size, + max_history_size: params.max_history_size as u64, history: (0..n) .rev() .map(|i| {