From 47a2dd7fadf3500b1be986c317b094d52b7c396e Mon Sep 17 00:00:00 2001 From: Aditya Arora Date: Mon, 3 Nov 2025 14:31:28 -0500 Subject: [PATCH] chore(lazer/evm) exponent parsing fix --- lazer/contracts/evm/src/PythLazerLib.sol | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/lazer/contracts/evm/src/PythLazerLib.sol b/lazer/contracts/evm/src/PythLazerLib.sol index 69c9f15493..91c922a262 100644 --- a/lazer/contracts/evm/src/PythLazerLib.sol +++ b/lazer/contracts/evm/src/PythLazerLib.sol @@ -294,16 +294,10 @@ library PythLazerLib { property == PythLazerStructs.PriceFeedProperty.Exponent ) { (feed._exponent, pos) = parseFeedValueInt16(payload, pos); - if (feed._exponent != 0) - _setPresent( - feed, - uint8(PythLazerStructs.PriceFeedProperty.Exponent) - ); - else - _setApplicableButMissing( - feed, - uint8(PythLazerStructs.PriceFeedProperty.Exponent) - ); + _setPresent( + feed, + uint8(PythLazerStructs.PriceFeedProperty.Exponent) + ); // Confidence Property } else if (