Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
foundrytest
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
explorer-for-cmp20
foundrytest
Commits
c0b2be1d
Commit
c0b2be1d
authored
Jan 30, 2026
by
Developer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
0bc64a30
Pipeline
#925
canceled with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
.gitignore
.gitignore
+1
-0
deploy-local.sh
deploy-local.sh
+2
-1
foundry.toml
foundry.toml
+3
-1
No files found.
.gitignore
View file @
c0b2be1d
...
@@ -9,3 +9,4 @@ node_modules/
...
@@ -9,3 +9,4 @@ node_modules/
*~
*~
.idea
.idea
lib
deploy-local.sh
View file @
c0b2be1d
...
@@ -60,11 +60,12 @@ fi
...
@@ -60,11 +60,12 @@ fi
echo
-e
"
${
GREEN
}
✓ 编译成功
${
NC
}
"
echo
-e
"
${
GREEN
}
✓ 编译成功
${
NC
}
"
echo
""
echo
""
# 部署所有合约
# 部署所有合约
(使用 legacy 交易,禁用 EIP-1559)
echo
-e
"
${
GREEN
}
[3/4] 部署合约到
$RPC_URL
...
${
NC
}
"
echo
-e
"
${
GREEN
}
[3/4] 部署合约到
$RPC_URL
...
${
NC
}
"
forge script script/DeployAll.s.sol:DeployAll
\
forge script script/DeployAll.s.sol:DeployAll
\
--rpc-url
$RPC_URL
\
--rpc-url
$RPC_URL
\
--broadcast
\
--broadcast
\
--legacy
\
-vvvv
-vvvv
if
[
$?
-ne
0
]
;
then
if
[
$?
-ne
0
]
;
then
...
...
foundry.toml
View file @
c0b2be1d
...
@@ -4,9 +4,11 @@ out = "out"
...
@@ -4,9 +4,11 @@ out = "out"
libs
=
["lib"]
libs
=
["lib"]
solc_version
=
"0.8.20"
solc_version
=
"0.8.20"
# 禁用 EIP-1559,使用 Legacy 交易
gas_price
=
10000000000
[rpc_endpoints]
[rpc_endpoints]
local
=
"http://127.0.0.1:8545"
local
=
"http://127.0.0.1:8545"
[etherscan]
[etherscan]
mainnet
=
{
key
=
"${ETHERSCAN_API_KEY}"
}
mainnet
=
{
key
=
"${ETHERSCAN_API_KEY}"
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment