浏览代码

refactor: remove setCustomFeeForAddress function from Pyth contract

Daniel Chew 7 月之前
父节点
当前提交
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,