Skip to content

Commit

Permalink
Add delete state machine commitment
Browse files Browse the repository at this point in the history
  • Loading branch information
seunlanlege committed Apr 14, 2024
1 parent 345fc9d commit bdbedfc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/IIsmpHost.sol
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,11 @@ interface IIsmpHost is IDispatcher {
function storeStateMachineCommitment(StateMachineHeight memory height, StateCommitment memory commitment)
external;

/**
* @dev Delete the state commitment at given state height alongside relevant metadata. Assumes the state commitment is of the latest height.
*/
function deleteStateMachineCommitment(StateMachineHeight memory height) external;

/**
* @dev Dispatch an incoming request to destination module
* @param request - post request
Expand Down

0 comments on commit bdbedfc

Please sign in to comment.