From f05cd14d7b6f76ed8e16d0bdeb429f9759f8ed31 Mon Sep 17 00:00:00 2001 From: gzeon Date: Wed, 17 Apr 2024 02:10:03 +0800 Subject: [PATCH] fix: interface --- src/challenge/IChallengeManager.sol | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/challenge/IChallengeManager.sol b/src/challenge/IChallengeManager.sol index b6f63d67..8770b2cb 100644 --- a/src/challenge/IChallengeManager.sol +++ b/src/challenge/IChallengeManager.sol @@ -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_, @@ -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_,