-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Clarify Deposit Contract Bytecode Generation #2052
Comments
The original source had a Makefile showing all the settings. I believe what you may be missing is |
@axic @q9f The parameters are copied from the original repo. :) |
Good point. I will update the subdirectory README. |
Edit, apparently, I set the optimization runs to 5000000 but forgot to check "Optimized: Yes." 🤦 Sorry for the buzz. So the answer is:
Edit - verified: https://goerli.etherscan.io/address/0x48b597f4b53c21b48ad95c7256b49d1779bd5890#code |
The deposit contract hosted by @axic had a version of the byte-code that was formally verified.
I was able to deploy the contract bytecode to Goerli for the Medalla testnet launch and publish/verify the source-code on Etherscan: https://goerli.etherscan.io/address/0x07b39F4fDE4A38bACe212b546dAc87C58DfE3fDC#code
Now we have the contract and some bytecode in this respository as version
r2
(#2019) but I cannot figure out which solidity version and parameters were used to compile the give bytecode.I tried solidity compiler version 0.6.11 with 5000000 optimizations but ended up with a bytecode mismatch.
https://goerli.etherscan.io/address/0x48b597f4b53c21b48ad95c7256b49d1779bd5890#code
If possible, could we add these parameters to the contract subdirectory readme file? Is this bytecode the final one for the deposit contract?
The text was updated successfully, but these errors were encountered: