Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
fix: interface
Browse files Browse the repository at this point in the history
  • Loading branch information
gzeoneth committed Apr 16, 2024
1 parent b6d60e6 commit f05cd14
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/challenge/IChallengeManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ interface IChallengeManager {
event OneStepProofCompleted(uint64 indexed challengeIndex);

event ChallengeEnded(uint64 indexed challengeIndex, ChallengeTerminationType kind);
event ConditonalOSPSet(bytes32 indexed wasmModuleRoot, IOneStepProofEntry osp_);

function initialize(
IChallengeResultReceiver resultReceiver_,
Expand All @@ -47,6 +48,10 @@ interface IChallengeManager {
IOneStepProofEntry osp_
) external;

function setConditionalOsp(bytes32 wasmModuleRoot, IOneStepProofEntry osp_) external;

function getOSP(bytes32 wasmModuleRoot) external view returns (IOneStepProofEntry);

function createChallenge(
bytes32 wasmModuleRoot_,
MachineStatus[2] calldata startAndEndMachineStatuses_,
Expand Down

0 comments on commit f05cd14

Please sign in to comment.