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

Consider changing the behavior of the LDC opcode to allow multiple codes to join #773

Open
xgreenx opened this issue Jun 15, 2024 · 1 comment

Comments

@xgreenx
Copy link
Collaborator

xgreenx commented Jun 15, 2024

The spec states that LDC could be used to "concatenate" code of multiple contracts. Currently the opcode does orig_contract.code || orig_contract.padding || new_contract.code || new_contract.padding instead of orig_contract.code || new_contract.code || padding.

@MitchTurner
Copy link
Member

We just need to clarify what our expected behavior is. This could be a bug in the current behavior.

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

No branches or pull requests

2 participants