Переглянути джерело

refactor: remove setCustomFeeForAddress function from Pyth contract

Daniel Chew 7 місяців тому
батько
коміт
5f7ca651e5

+ 0 - 5
target_chains/ethereum/contracts/contracts/pyth/Pyth.sol

@@ -562,11 +562,6 @@ abstract contract Pyth is
         return "1.4.4-alpha.2";
     }
 
-    // @dev Only for testing gas benchmarks
-    function setCustomFeeForAddress(address addr, uint fee) public {
-        setCustomUpdateFeeInWei(addr, fee);
-    }
-
     function calculateTwap(
         bytes32 priceId,
         PythStructs.TwapPriceInfo memory twapPriceInfoStart,