Skip to content

Commit 4c0d95f

Browse files
authored
Merge branch 'main' into rano/feat/module-management
2 parents b8e3b58 + 8424f69 commit 4c0d95f

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

.github/workflows/code-quality.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
run: bash ci/code-quality/whitespace-lints.sh
1717

1818
- name: Spell Check with Typos
19-
uses: crate-ci/[email protected].4
19+
uses: crate-ci/[email protected].7
2020
with:
2121
config: ./.github/typos.toml
2222

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,6 @@ mc.log
3434

3535
# Ignore CosmWasm artifacts
3636
/cw-contracts
37+
38+
# Ignore dotenv
39+
.env

ibc-testkit/src/testapp/ibc/clients/mock/consensus_state.rs

+7-1
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,17 @@ use crate::testapp::ibc::clients::mock::header::MockHeader;
99
use crate::testapp::ibc::clients::mock::proto::ConsensusState as RawMockConsensusState;
1010
pub const MOCK_CONSENSUS_STATE_TYPE_URL: &str = "/ibc.mock.ConsensusState";
1111

12+
/// The mock consensus state type used within ibc-testkit for testing situations
13+
/// when a consensus state is required.
14+
///
15+
/// Note, this type slightly differs from the [`RawMockConsensusState`] type exposed by
16+
/// ibc-proto. It contains a (private) `root` field to easily return a
17+
/// reference to the mock consensus state's dummy [`CommitmentRoot`].
1218
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
1319
#[derive(Clone, Debug, PartialEq, Eq)]
1420
pub struct MockConsensusState {
1521
pub header: MockHeader,
16-
pub root: CommitmentRoot,
22+
root: CommitmentRoot,
1723
}
1824

1925
impl MockConsensusState {

0 commit comments

Comments
 (0)