Skip to content

Duplicate auxdata in legacyAssembly #16036

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

Open
manuelwedler opened this issue May 7, 2025 · 0 comments
Open

Duplicate auxdata in legacyAssembly #16036

manuelwedler opened this issue May 7, 2025 · 0 comments
Labels

Comments

@manuelwedler
Copy link

Description

In Sourcify, we use the legacyAssembly compiler output to find auxdata in the bytecode. We encountered a contract that has the same auxdata twice in the legacyAssembly but this auxdata is only once in the deployedBytecode.

The contract can be found in Sourcify here: https://repo.sourcify.dev/1/0xC8D03C8456B6DD7D32579B4764B01DB2F05B5310

The issue is that we find two occurrences of the a264697066735822122083cc662d6513f67d0b1f903cbaa4084d0b73f05b2f7d3a19f7a4764de12a82bc64736f6c63430008180033 auxdata in the legacyAssembly output. The compiler output can be found here:
duplicate-auxdata.legacyAssembly.json

See ethereum/sourcify#2095 for the Sourcify issue.

Environment

  • Compiler version: v0.8.24+commit.e11b9ed9
  • Compilation pipeline (legacy, IR, EOF): legacy
  • Target EVM version (as per compiler settings): cancun
  • Operating system: Linux

Steps to Reproduce

Use solc v0.8.24+commit.e11b9ed9 to compile via this standard json input:
duplicate-auxdata-input.json

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

No branches or pull requests

1 participant