-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Init remote contract generation #8281
Conversation
Current dependencies on/for this PR: This stack of pull requests is managed by Graphite. |
Semgrep found 1
When working with web applications that involve rendering user-generated content, it's important to properly escape any HTML content to prevent Cross-Site Scripting (XSS) attacks. In Go, the |
f183f17
to
0e04b92
Compare
d8b1bfd
to
5441f06
Compare
e858407
to
e30e909
Compare
5441f06
to
713b79e
Compare
WalkthroughWalkthroughThe project has made significant enhancements to facilitate the handling of Ethereum and Optimism smart contracts. The changes include the addition of new environment variables for Etherscan API keys to aid in generating bindings for all contracts and specifically for remote contracts. A new Go file has been introduced for remote contract generation, along with associated types and methods. The Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on X ? TipsChat with CodeRabbit Bot (
|
e30e909
to
7dbf9c5
Compare
1df8707
to
45375b2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! few comments
45375b2
to
08c5c83
Compare
Semgrep found 6 Named return arguments to functions must be appended with an underscore ( Semgrep found 1
Inputs to functions must be prepended with an underscore ( |
7dbf9c5
to
42d11e0
Compare
08c5c83
to
6b3ec28
Compare
42d11e0
to
a9c7e2a
Compare
6b3ec28
to
d46de62
Compare
f203a03
to
b4629be
Compare
5a9e6a4
to
387d992
Compare
387d992
to
68a0655
Compare
68a0655
to
c549d3d
Compare
c549d3d
to
dba53cc
Compare
dba53cc
to
725ad1a
Compare
This PR makes use of #8280 to fetch needed details about deployed contracts (on both ETH mainnet and OP mainnet) to generate Go bidings and metadata files (these files contain deployed bytecode and other data used to deploy the contract i.e. create2 salts)
op-bindings/artifacts.json
contains the list of contracts bindings are being generated for, and the addresses of which their deployed bytecode and other details are being fetched at