-
Notifications
You must be signed in to change notification settings - Fork 17
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
Lower contract creation using the new operator to $zk_create intrinsics #7
base: 0.8.19
Are you sure you want to change the base?
Lower contract creation using the new operator to $zk_create intrinsics #7
Conversation
6883fe7
to
3f2b564
Compare
3f2b564
to
e326165
Compare
5ae794d
to
90f2dc7
Compare
This depends on the zkevm extension infrastructure introduced in #1 . Either we need to add #1 to all the other release branches, or we should make a separate PR containing this change and all its dependencies in 1 commit that can be applied to all the other release branches. This is currently based on #2 only due to the newly added test in the ZKEVM directory |
e326165
to
9dd63d1
Compare
f391103
to
9685ec4
Compare
90f2dc7
to
a342196
Compare
a342196
to
05eceba
Compare
Benchmark results:
|
@hedgar2017 When I check one of the CI failure, say:
The diff in tests_solidity_ethereum_salted_create_salted_create.sol.A.yul only shows some instance of create2 replaced with $zk_create2, I didn't see any other changes |
Ah, well, I haven't added it yet. |
Similarly, --mode=E+M2B1 is failing with the error " Failed to get main contract: solc-bin//solc-0.8.17 subprocess output parsing error: data did not match any variant of untagged enum Data at line 1 column 18563" For some reason, I'm not able to see any $zk_create* operation in any file in the debug directory, but I do see it in the verbose output of compiler-tester, like:
|
Yes, the same reason. |
05eceba
to
76faed8
Compare
76faed8
to
00ebab8
Compare
e1c3eb8
to
ff80408
Compare
@hedgar2017, can you check the generated code in yul and evmla and let me know if further changes are required? |
Yes, will test soon. |
ff80408
to
ef7f067
Compare
This commit enables the generation of $zk_create[2], $zk_data{size|offset|copy} zkevm intrinsics when lowering the new operator
ef7f067
to
830b5d9
Compare
f4b2af1
to
d060202
Compare
No description provided.