ibc-testkit 0.57.0

Maintained by `ibc-rs`, serves as a versatile library that provides essential abstractions and implementations, fulfilling a dual role of enabling rigorous integration testing for the `ibc-rs` implementation while also aiding host chains in addressing a broad spectrum of testing scenarios during their integrations with `ibc-rs`.
Documentation
1
2
3
4
5
6
7
use ibc::core::client::types::Height;

use crate::testapp::ibc::clients::mock::header::MockHeader;
/// Returns a dummy `MockHeader` with the given revision height.
pub fn dummy_new_mock_header(revision_height: u64) -> MockHeader {
    MockHeader::new(Height::new(0, revision_height).expect("Never fails"))
}