Browse Source

Change fee to 1 wei

Darun Seethammagari 11 months ago
parent
commit
2d2d81ff9e
2 changed files with 1 additions and 7 deletions
  1. 1 1
      lazer/contracts/evm/src/PythLazer.sol
  2. 0 6
      lazer/contracts/evm/test/PythLazer.t.sol

+ 1 - 1
lazer/contracts/evm/src/PythLazer.sol

@@ -6,7 +6,7 @@ import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
 
 contract PythLazer is OwnableUpgradeable, UUPSUpgradeable {
     TrustedSignerInfo[2] public trustedSigners;
-    uint256 public verification_fee = 0.00001 ether;
+    uint256 public verification_fee = 1 wei;
 
     struct TrustedSignerInfo {
         address pubkey;

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

@@ -51,11 +51,5 @@ contract PythLazerTest is Test {
         vm.expectRevert("Insufficient fee provided");
         pythLazer.verifyUpdate(update);
         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);
     }
 }