Skip to content

Commit

Permalink
rm should never fail comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rnbguy committed Apr 30, 2024
1 parent b8db190 commit d8fe3d4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions ibc-core/ics24-host/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ pub trait ExecutionContext: ValidationContext {

/// Called upon client creation.
/// Increases the counter which keeps track of how many clients have been created.
/// Should never fail.
fn increase_client_counter(&mut self) -> Result<(), ContextError>;

/// Stores the given connection_end at path
Expand All @@ -170,7 +169,6 @@ pub trait ExecutionContext: ValidationContext {

/// Called upon connection identifier creation (Init or Try process).
/// Increases the counter which keeps track of how many connections have been created.
/// Should never fail.
fn increase_connection_counter(&mut self) -> Result<(), ContextError>;

/// Stores the given packet commitment at the given store path
Expand Down Expand Up @@ -233,7 +231,6 @@ pub trait ExecutionContext: ValidationContext {

/// Called upon channel identifier creation (Init or Try message processing).
/// Increases the counter which keeps track of how many channels have been created.
/// Should never fail.
fn increase_channel_counter(&mut self) -> Result<(), ContextError>;

/// Emit the given IBC event
Expand Down
2 changes: 0 additions & 2 deletions ibc-testkit/src/testapp/ibc/core/core_ctx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,6 @@ where

/// Called upon client creation.
/// Increases the counter which keeps track of how many clients have been created.
/// Should never fail.
fn increase_client_counter(&mut self) -> Result<(), ContextError> {
let current_sequence = self
.client_counter
Expand Down Expand Up @@ -701,7 +700,6 @@ where

/// Called upon connection identifier creation (Init or Try process).
/// Increases the counter which keeps track of how many connections have been created.
/// Should never fail.
fn increase_connection_counter(&mut self) -> Result<(), ContextError> {
let current_sequence = self
.conn_counter
Expand Down

0 comments on commit d8fe3d4

Please sign in to comment.