Quellcode durchsuchen

refactor: remove setCustomFeeForAddress function from Pyth contract

Daniel Chew vor 7 Monaten
Ursprung
Commit
5f7ca651e5
1 geänderte Dateien mit 0 neuen und 5 gelöschten Zeilen
  1. 0 5
      target_chains/ethereum/contracts/contracts/pyth/Pyth.sol

+ 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,