From 3f906edf042d279496b432e5f7977e30204c1bb2 Mon Sep 17 00:00:00 2001 From: echo Date: Tue, 5 Mar 2024 11:44:10 +0800 Subject: [PATCH 1/2] adjust blast fee --- script/input/42161/fee.c.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/script/input/42161/fee.c.json b/script/input/42161/fee.c.json index 053fd94..9c3e77b 100644 --- a/script/input/42161/fee.c.json +++ b/script/input/42161/fee.c.json @@ -7,7 +7,7 @@ "fee": 20000000000000 }, "81457": { - "fee": 200000000000000 + "fee": 600000000000000 } }, "RELAYER": { @@ -25,8 +25,8 @@ }, "81457": { "dstPriceRatio": 10000000000, - "dstGasPriceInWei": 1100000, - "baseGas": 200000, + "dstGasPriceInWei": 3000000000, + "baseGas": 120000, "gasPerByte": 16 } } From 6cf85cff53a80067dffded541e7574a7b9dd5e21 Mon Sep 17 00:00:00 2001 From: echo Date: Tue, 5 Mar 2024 11:48:31 +0800 Subject: [PATCH 2/2] adjust blast fee --- bin/fee.sh | 2 +- script/fee/Fee.s.sol | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/fee.sh b/bin/fee.sh index 879aed4..11c7af1 100755 --- a/bin/fee.sh +++ b/bin/fee.sh @@ -14,7 +14,7 @@ set -x # forge script script/fee/Fee.s.sol:Fee --sig "run(uint256)" 46 --chain-id 137 --broadcast # forge script script/fee/Fee.s.sol:Fee --sig "run(uint256)" 137 --chain-id 46 --broadcast --slow --legacy forge script script/fee/Fee.s.sol:Fee --sig "run(uint256)" 81457 --chain-id 42161 --broadcast --legacy --skip-simulation -forge script script/fee/Fee.s.sol:Fee --sig "run(uint256)" 42161 --chain-id 81457 --broadcast --legacy --with-gas-price 1060000 +# forge script script/fee/Fee.s.sol:Fee --sig "run(uint256)" 42161 --chain-id 81457 --broadcast --legacy --with-gas-price 1060000 # forge script script/fee/Fee.s.sol:Fee --sig "run(uint256)" 11155111 --chain-id 43 --broadcast # forge script script/fee/Fee.s.sol:Fee --sig "run(uint256)" 421614 --chain-id 43 --broadcast diff --git a/script/fee/Fee.s.sol b/script/fee/Fee.s.sol index f41dd22..f6d6fcd 100644 --- a/script/fee/Fee.s.sol +++ b/script/fee/Fee.s.sol @@ -43,7 +43,7 @@ contract Fee is Common { function run(uint256 chainId) public { // require(dao == msg.sender, "!dao"); setOracleFee(chainId); - // setRelayerFee(chainId); + setRelayerFee(chainId); } function setOracleFee(uint256 chainId) public broadcast {