소스 검색

Bob calls

Darun Seethammagari 11 달 전
부모
커밋
3276d49737
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      lazer/contracts/evm/test/PythLazer.t.sol

+ 1 - 0
lazer/contracts/evm/test/PythLazer.t.sol

@@ -52,6 +52,7 @@ contract PythLazerTest is Test {
         assertEq(bob.balance, 1 ether);
 
         // Bob does not attach enough fees
+        vm.prank(bob);
         vm.expectRevert("Insufficient fee provided");
         pythLazer.verifyUpdate{ value: 1 wei }(update);
         assertEq(bob.balance, 1 ether);