Skip to content

Commit cd48b83

Browse files
committed
rollback lazer contracts
1 parent 8763c26 commit cd48b83

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

lazer/contracts/evm/src/PythLazer.sol

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ pragma solidity ^0.8.13;
44
import "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol";
55
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
66
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
7-
import {PythLazerLib} from "./PythLazerLib.sol";
8-
import {PythLazerStructs} from "./PythLazerStructs.sol";
97

108
contract PythLazer is OwnableUpgradeable, UUPSUpgradeable {
119
TrustedSignerInfo[100] internal trustedSigners;
@@ -71,7 +69,7 @@ contract PythLazer is OwnableUpgradeable, UUPSUpgradeable {
7169

7270
function verifyUpdate(
7371
bytes calldata update
74-
) public payable returns (bytes calldata payload, address signer) {
72+
) external payable returns (bytes calldata payload, address signer) {
7573
// Require fee and refund excess
7674
require(msg.value >= verification_fee, "Insufficient fee provided");
7775
if (msg.value > verification_fee) {
@@ -108,6 +106,6 @@ contract PythLazer is OwnableUpgradeable, UUPSUpgradeable {
108106
}
109107

110108
function version() public pure returns (string memory) {
111-
return "0.2.1";
109+
return "0.1.1";
112110
}
113-
}
111+
}

0 commit comments

Comments
 (0)