Skip to content
This repository was archived by the owner on Feb 21, 2025. It is now read-only.

chore(provider): Shrink scope of OpEngineApi to encompass only non-l1 methods#48

Merged
emhane merged 1 commit intomainfrom
emhane/engine-api
Jan 12, 2025
Merged

chore(provider): Shrink scope of OpEngineApi to encompass only non-l1 methods#48
emhane merged 1 commit intomainfrom
emhane/engine-api

Conversation

@emhane
Copy link
Copy Markdown
Contributor

@emhane emhane commented Jan 11, 2025

Ideally, alloy would divide the EngineApi trait into EngineApiV1, EngineApiV2, etc. However since this is not the case atm, OpEngineApi can't have EngineApi as super trait since it doesn't support V1. Nonetheless, these methods aren't unique to l2, and hence better move back to op-alloy, leaving only OP unique method engine_signalSuperchainV1 in maili for now. op_alloy_provider::OpEngineApi should have maili_provider::EngineExtApi as supertrait.

We may want to rename this crate or move the trait into protocol?

@emhane emhane added the A-provider Area: provider crate label Jan 11, 2025
@emhane emhane changed the title Shrink scope of OpEngineApi to encompass only non-l1 methods chore(provider): Shrink scope of OpEngineApi to encompass only non-l1 methods Jan 11, 2025
@emhane emhane enabled auto-merge (squash) January 11, 2025 14:40
@emhane emhane merged commit 095a26e into main Jan 12, 2025
@emhane emhane deleted the emhane/engine-api branch January 12, 2025 00:23
github-merge-queue bot pushed a commit to alloy-rs/op-alloy that referenced this pull request Jan 13, 2025
Reverts migrating `OpEngineApi` that originates from l1. Adds OP-unique
`EngineExtApi` as super trait.

Blocked by release of op-rs/maili#48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

A-provider Area: provider crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants