Skip to content

Commit 8763c26

Browse files
committed
feat(lazer) Remove parse method
1 parent 18bb98d commit 8763c26

File tree

1 file changed

+1
-22
lines changed

1 file changed

+1
-22
lines changed

lazer/contracts/evm/src/PythLazer.sol

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -107,28 +107,7 @@ contract PythLazer is OwnableUpgradeable, UUPSUpgradeable {
107107
}
108108
}
109109

110-
/// @notice Verify signature and parse update into structured data
111-
/// @dev Combines verifyUpdate() with parseUpdateFromPayload() for convenience and safety
112-
/// @param update The complete update message (EVM format with signature)
113-
/// @return payload The verified payload bytes
114-
/// @return parsedUpdate The parsed Update struct with all feeds and properties
115-
function verifyAndParseUpdate(
116-
bytes calldata update
117-
)
118-
external
119-
payable
120-
returns (
121-
bytes calldata payload,
122-
PythLazerStructs.Update memory parsedUpdate
123-
)
124-
{
125-
(payload, ) = verifyUpdate(update);
126-
127-
// Parse the verified payload
128-
parsedUpdate = PythLazerLib.parseUpdateFromPayload(payload);
129-
}
130-
131110
function version() public pure returns (string memory) {
132-
return "0.2.0";
111+
return "0.2.1";
133112
}
134113
}

0 commit comments

Comments
 (0)