chore(interface): drop IEd25519 surface (paired with rome-evm-private remove_lazer)#236
Merged
Conversation
… remove_lazer) rome-evm-private's remove_lazer branch deletes the ed25519 precompile at 0xff..0a (program/src/non_evm/ed25519.rs + ed25519_ix.rs) along with the Pyth Lazer wrapper, so the IEd25519 interface here has no on-chain target. Removes: - IEd25519 interface declaration + ed25519_program_address constant + the pre-bound Ed25519 alias from contracts/interface.sol - contracts/examples/ed25519_example.sol (the worked example) Compile clean (86 Solidity files); 22 oracle parser tests still pass. No in-repo tests referenced IEd25519 — Lazer-specific tests were already removed in #196.
skansal-rome
approved these changes
Jun 12, 2026
sanjeevkkansal
approved these changes
Jun 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
IEd25519interface declaration,ed25519_program_addressconstant, and pre-boundEd25519alias fromcontracts/interface.sol.contracts/examples/ed25519_example.sol.remove_lazerbranch, which deletes the ed25519 precompile at0xff..0a(program/src/non_evm/ed25519.rs+ed25519_ix.rs) along with the Pyth Lazer wrapper, so this interface no longer has an on-chain target.The earlier Lazer cleanup (#196) deliberately kept
IEd25519"as a generic primitive — useful for future signed-payload bridges". With rome-evm-private now removing the precompile itself, that surface comes out too.Test plan
npx hardhat compile— clean (86 Solidity files compile, down from 87).npx hardhat test tests/oracle/PythPullParser.test.ts tests/oracle/SwitchboardParser.test.ts— 22 passing.grep -rE "Ed25519|IEd25519|ed25519_program_address" contracts/ tests/ scripts/— empty.remove_lazerPR lands (otherwise the runtime drift goes the other way: contracts here would compile against a runtime that still ships the precompile, harmless but redundant).