From 00a23ffba1596bd3ad68441c0eb66924a4e2e314 Mon Sep 17 00:00:00 2001 From: echo Date: Mon, 18 Mar 2024 15:28:31 +0800 Subject: [PATCH] Reduce l2s fee (#143) * fix #140 * fmt --- script/fee/Fee.s.sol | 2 +- script/input/1/fee.c.json | 2 +- script/input/42161/fee.c.json | 4 ++-- script/input/46/fee.c.json | 2 +- script/input/81457/fee.c.json | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/script/fee/Fee.s.sol b/script/fee/Fee.s.sol index f6d6fcd..8685c06 100644 --- a/script/fee/Fee.s.sol +++ b/script/fee/Fee.s.sol @@ -42,7 +42,7 @@ contract Fee is Common { function run(uint256 chainId) public { // require(dao == msg.sender, "!dao"); - setOracleFee(chainId); + // setOracleFee(chainId); setRelayerFee(chainId); } diff --git a/script/input/1/fee.c.json b/script/input/1/fee.c.json index 80e2400..b7b6fb0 100644 --- a/script/input/1/fee.c.json +++ b/script/input/1/fee.c.json @@ -4,7 +4,7 @@ "fee": 20000000000000 }, "42161": { - "fee": 400000000000000 + "fee": 40000000000000 } }, "RELAYER": { diff --git a/script/input/42161/fee.c.json b/script/input/42161/fee.c.json index 9c3e77b..20039e8 100644 --- a/script/input/42161/fee.c.json +++ b/script/input/42161/fee.c.json @@ -7,7 +7,7 @@ "fee": 20000000000000 }, "81457": { - "fee": 600000000000000 + "fee": 60000000000000 } }, "RELAYER": { @@ -25,7 +25,7 @@ }, "81457": { "dstPriceRatio": 10000000000, - "dstGasPriceInWei": 3000000000, + "dstGasPriceInWei": 1000000000, "baseGas": 120000, "gasPerByte": 16 } diff --git a/script/input/46/fee.c.json b/script/input/46/fee.c.json index 3030493..2cc4c43 100644 --- a/script/input/46/fee.c.json +++ b/script/input/46/fee.c.json @@ -10,7 +10,7 @@ "fee": 2000000000000000000 }, "42161": { - "fee": 360000000000000000000 + "fee": 36000000000000000000 } }, "RELAYER": { diff --git a/script/input/81457/fee.c.json b/script/input/81457/fee.c.json index 44fb6a1..738ed60 100644 --- a/script/input/81457/fee.c.json +++ b/script/input/81457/fee.c.json @@ -1,7 +1,7 @@ { "ORACLE": { "42161": { - "fee": 400000000000000 + "fee": 40000000000000 } }, "RELAYER": {