Skip to content

chore(interface): drop IEd25519 surface (paired with rome-evm-private remove_lazer)#236

Merged
valiksinev merged 1 commit into
masterfrom
remove_lazer
Jun 12, 2026
Merged

chore(interface): drop IEd25519 surface (paired with rome-evm-private remove_lazer)#236
valiksinev merged 1 commit into
masterfrom
remove_lazer

Conversation

@valiksinev

Copy link
Copy Markdown
Contributor

Summary

  • Removes the IEd25519 interface declaration, ed25519_program_address constant, and pre-bound Ed25519 alias from contracts/interface.sol.
  • Deletes contracts/examples/ed25519_example.sol.
  • Pairs with rome-protocol/rome-evm-private's remove_lazer branch, which deletes the ed25519 precompile at 0xff..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.
  • Merge after the paired rome-evm-private remove_lazer PR lands (otherwise the runtime drift goes the other way: contracts here would compile against a runtime that still ships the precompile, harmless but redundant).

… 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.
@valiksinev valiksinev merged commit b7d21d6 into master Jun 12, 2026
9 checks passed
@valiksinev valiksinev deleted the remove_lazer branch June 12, 2026 14:16
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

Successfully merging this pull request may close these issues.

3 participants