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

Handle bytecode difference for different solc builds with viaIR in Solidity pre v0.8.21 #1088

Closed
kuzdogan opened this issue Jul 4, 2023 · 0 comments · Fixed by #1140
Closed
Assignees
Labels
🪲 bug Something isn't working

Comments

@kuzdogan
Copy link
Member

kuzdogan commented Jul 4, 2023

As laid out in ethereum/solidity#14361 it seems different compiler builds can output different bytecodes when the IR is used for compilation.

The builds that produce different bytecode are

  • Emscripten and macOS (built with Clang) vs
  • Linux (built with GCC)

For this, we need to double-check with the Emscripten build when the verification fails for a contract that uses viaIR and pre 0.8.21.

Use the test case in the above issue

View in Huly HI-440

@kuzdogan kuzdogan added the 🪲 bug Something isn't working label Jul 4, 2023
@kuzdogan kuzdogan self-assigned this Jul 4, 2023
kuzdogan added a commit that referenced this issue Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪲 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant