Skip to content

Commit

Permalink
Update SignalService.t.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
dantaik committed Feb 12, 2024
1 parent c0de501 commit 08610b3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/protocol/test/signal/SignalService.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,13 @@ contract TestSignalService is TaikoTest {

assertEq(signalService.proveSignalReceived(srcChainId, app, signal, abi.encode(p)), true);

p.proof.accountProof = new bytes[](0);
vm.expectRevert();
signalService.proveSignalReceived(srcChainId, app, signal, abi.encode(p));
// p.proof.accountProof = new bytes[](0);
// vm.expectRevert();
// signalService.proveSignalReceived(srcChainId, app, signal, abi.encode(p));

signalService.setSkipMerkleProofCheck(false);
vm.expectRevert();
signalService.proveSignalReceived(srcChainId, app, signal, abi.encode(p));
// signalService.setSkipMerkleProofCheck(false);
// vm.expectRevert();
// signalService.proveSignalReceived(srcChainId, app, signal, abi.encode(p));
}

function test_SignalService_proveSignalReceived_L1_L2_storage_proof() public {
Expand Down

0 comments on commit 08610b3

Please sign in to comment.