Commit c0b2be1d authored by Developer's avatar Developer

update

parent 0bc64a30
Pipeline #925 canceled with stages
......@@ -9,3 +9,4 @@ node_modules/
*~
.idea
lib
......@@ -60,11 +60,12 @@ fi
echo -e "${GREEN}✓ 编译成功${NC}"
echo ""
# 部署所有合约
# 部署所有合约(使用 legacy 交易,禁用 EIP-1559)
echo -e "${GREEN}[3/4] 部署合约到 $RPC_URL...${NC}"
forge script script/DeployAll.s.sol:DeployAll \
--rpc-url $RPC_URL \
--broadcast \
--legacy \
-vvvv
if [ $? -ne 0 ]; then
......
......@@ -4,9 +4,11 @@ out = "out"
libs = ["lib"]
solc_version = "0.8.20"
# 禁用 EIP-1559,使用 Legacy 交易
gas_price = 10000000000
[rpc_endpoints]
local = "http://127.0.0.1:8545"
[etherscan]
mainnet = { key = "${ETHERSCAN_API_KEY}" }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment