Skip to content

Remove EOF: Remove support for EOF related flag from solc executable.#16760

Merged
rodiazet merged 1 commit into
developfrom
remove-eof-solc
May 28, 2026
Merged

Remove EOF: Remove support for EOF related flag from solc executable.#16760
rodiazet merged 1 commit into
developfrom
remove-eof-solc

Conversation

@rodiazet
Copy link
Copy Markdown
Contributor

This PR removes --experimental-eof-version flag from solc and cmd line tests which test it.

  • No AI tools were used (💯 human)
  • AI tools were used (details below)

@rodiazet rodiazet requested review from cameel and nikola-matic May 21, 2026 15:17
@rodiazet rodiazet mentioned this pull request May 22, 2026
2 tasks
@rodiazet rodiazet added the EOF label May 25, 2026
matheusaaguiar
matheusaaguiar previously approved these changes May 26, 2026
Copy link
Copy Markdown
Contributor

@matheusaaguiar matheusaaguiar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.
I was going to suggest to also remove the option from the Json Input/Output interface, but I saw that's done in the follow-up PR.

cameel
cameel previously approved these changes May 26, 2026
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could add a changelog entry saying that EOF support has been removed. It's still technically in the codebase, but once you disallow enabling it, it's all essentially dead code.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok. So I will move change log entry from the last PR to this one.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pushed additional commit but GH is dead today.

@rodiazet rodiazet dismissed stale reviews from cameel and matheusaaguiar via 8f46af4 May 28, 2026 07:38
@rodiazet rodiazet requested a review from cameel May 28, 2026 07:38
Copy link
Copy Markdown
Contributor

@nikola-matic nikola-matic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't you be removing the standard JSON input options for EOF here as well?

@rodiazet
Copy link
Copy Markdown
Contributor Author

Shouldn't you be removing the standard JSON input options for EOF here as well?

It’s removed in the following PR removing EOF from libsolidity. StandardCompiler.cpp is a part of libsolidity.

@nikola-matic
Copy link
Copy Markdown
Contributor

Shouldn't you be removing the standard JSON input options for EOF here as well?

It’s removed in the following PR removing EOF from libsolidity. StandardCompiler.cpp is a part of libsolidity.

Leave the standard_* tests out of this PR and only remove them in the libsolidity PR, since the standard JSON options will still be available for use even after this is merged.

@rodiazet rodiazet force-pushed the remove-eof-solc branch 3 times, most recently from 3f64c28 to 59739a4 Compare May 28, 2026 13:11
@rodiazet
Copy link
Copy Markdown
Contributor Author

Shouldn't you be removing the standard JSON input options for EOF here as well?

It’s removed in the following PR removing EOF from libsolidity. StandardCompiler.cpp is a part of libsolidity.

Leave the standard_* tests out of this PR and only remove them in the libsolidity PR, since the standard JSON options will still be available for use even after this is merged.

Done

nikola-matic
nikola-matic previously approved these changes May 28, 2026
Comment on lines -366 to -369
// EVM Object Format version to compile for (optional, experimental).
// Currently the only valid value is 1. If not specified, legacy non-EOF bytecode will be generated.
// Requires `evmVersion` >= osaka.
"eofVersion": null,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bring this back pls and move to the libsolidity PR

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, Sorry....

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nooo Radek, you should have left in the removal of --experimental-eof-version in the Experimental section - I just wanted you to leave the eofVersion in the docs.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is what I did or I misunderstood your previous comment. :)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the EOF entry in the experimental section is what I meant; you had it before, but then got rid of it. It mentioned --experimental-eof-version explicitly, which you're removing in this PR, so the docs referring to it should be removed as well.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK. I haven’t noticed it’s not the only one change there.

@rodiazet rodiazet merged commit ae9806b into develop May 28, 2026
83 checks passed
@rodiazet rodiazet deleted the remove-eof-solc branch May 28, 2026 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants