Skip to content

Commit

Permalink
make type url consts pub
Browse files Browse the repository at this point in the history
  • Loading branch information
rnbguy committed Jul 29, 2024
1 parent 496eef0 commit f8a10e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion light-client/types/src/client_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use ibc_core::client::types::error::ClientError;
use ibc_core::client::types::Height;
use ibc_core::primitives::proto::{Any, Protobuf};

const TYPE_URL: &str = "/DummyClientState";
pub const TYPE_URL: &str = "/DummyClientState";

#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Clone, Debug, PartialEq, derive_more::From)]
Expand Down
2 changes: 1 addition & 1 deletion light-client/types/src/consensus_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use ibc_core::client::types::error::ClientError;
use ibc_core::commitment_types::commitment::CommitmentRoot;
use ibc_core::primitives::proto::{Any, Protobuf};

const TYPE_URL: &str = "/DummyConsensusState";
pub const TYPE_URL: &str = "/DummyConsensusState";

#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Clone, Debug, PartialEq, derive_more::From)]
Expand Down

0 comments on commit f8a10e3

Please sign in to comment.