Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
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
vicotor
frontend
Commits
0c0461b5
Commit
0c0461b5
authored
Jul 31, 2024
by
tom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update foundary template
parent
1374ea80
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ContractVerificationForm.pw.tsx_default_solidity-foundry-method-1.png
...ficationForm.pw.tsx_default_solidity-foundry-method-1.png
+0
-0
ContractVerificationSolidityFoundry.tsx
...ification/methods/ContractVerificationSolidityFoundry.tsx
+3
-3
No files found.
ui/contractVerification/__screenshots__/ContractVerificationForm.pw.tsx_default_solidity-foundry-method-1.png
View replaced file @
1374ea80
View file @
0c0461b5
58.3 KB
|
W:
|
H:
58.3 KB
|
W:
|
H:
2-up
Swipe
Onion skin
ui/contractVerification/methods/ContractVerificationSolidityFoundry.tsx
View file @
0c0461b5
...
@@ -16,10 +16,10 @@ const ContractVerificationSolidityFoundry = () => {
...
@@ -16,10 +16,10 @@ const ContractVerificationSolidityFoundry = () => {
const
codeSnippet
=
`forge verify-contract \\
const
codeSnippet
=
`forge verify-contract \\
--rpc-url
${
config
.
chain
.
rpcUrl
||
`
${
config
.
api
.
endpoint
}
/api/eth-rpc`
}
\\
--rpc-url
${
config
.
chain
.
rpcUrl
||
`
${
config
.
api
.
endpoint
}
/api/eth-rpc`
}
\\
${
address
||
'
<address>
'
}
\\
[contractFile]:[contractName] \\
--verifier blockscout \\
--verifier blockscout \\
--verifier-url '
${
config
.
api
.
endpoint
}
/api/'`
;
--verifier-url '
${
config
.
api
.
endpoint
}
/api/' \\
${
address
||
'
<address>
'
}
\\
[contractFile]:[contractName]`
;
return
(
return
(
<
ContractVerificationMethod
title=
"Contract verification via Foundry"
>
<
ContractVerificationMethod
title=
"Contract verification via Foundry"
>
...
...
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