Skip to content
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

[Constantinople] EIP 1014 CREATE2 Opcode #356

Closed
holgerd77 opened this issue Sep 24, 2018 · 8 comments · Fixed by #329
Closed

[Constantinople] EIP 1014 CREATE2 Opcode #356

holgerd77 opened this issue Sep 24, 2018 · 8 comments · Fixed by #329

Comments

@holgerd77
Copy link
Member

holgerd77 commented Sep 24, 2018

EIP: EIP 1014
Work in progress: PR #329

Test Situation:
Many tests implemented
TestsFiller

@rmeissner
Copy link
Contributor

@holgerd77 just out of curiosity do you plan a release of the intermediate state (e.g. 2.4.1) or only a release once everything is done.

I would love to create a PR on ganache-core to enable constantinople testing (via a flag) and would love to have create2 in there :D

@holgerd77
Copy link
Member Author

holgerd77 commented Nov 6, 2018

@rmeissner Hmm, I have a strong tendency to wait until things are completed and then do a bigger release, sorry, please give this another 2-3 weeks.

The StateManager changes by @mattdean-digicatapult are coming to a close with I think one PR + the API documentation missing, also Constantinople is close to the finish line. Currently hanging is actually only the EXTCODEHASH implementation #326, with the tests not yet all written on the ethereum/tests side, if you want to help out there as well that would be really appreciated.

Once these things come together I am thinking of eventually do even a v3.0.0 release, think this might very well be justified, the other thing where we are getting really close to is passing all the state + blockchain tests, just a handful of state tests and 20 blockchain tests missing. If we get these down even further this would be a biggie together with the other changes from above.

@rmeissner
Copy link
Contributor

I will take a look at #326 but this might have to wait a little :)

@snario
Copy link

snario commented Mar 30, 2019

Hey guys what's the update here? I'm still getting contract not deployed errors when using the create2 opcode on a chain that's using this library (ganache-core).

@rstormsf
Copy link

@rmeissner @holgerd77 create2 opcode doesn't seem to be working with ganache

assembly {
      proxy := create2(0, add(initcode, 0x20), mload(initcode), 0)
    }

@snario
Copy link

snario commented Apr 1, 2019

I'll try to re-use this new ProxyFactory contract and see how that plays out.

@rstormsf
Copy link

rstormsf commented Apr 1, 2019

@rmeissner False positive.
I'm sorry I just re-tried it and it seems to be working fine

https://www.youtube.com/watch?v=LcDIX-ZQksU&feature=youtu.be

@snario take a look. it's working with ganache-cli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants