Просмотр исходного кода

refactor: remove setCustomFeeForAddress function from Pyth contract

Daniel Chew 7 месяцев назад
Родитель
Сommit
5f7ca651e5
1 измененных файлов с 0 добавлено и 5 удалено
  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,