Skip to content

fix(consensus): Re-export Traits#13

Closed
refcell wants to merge 1 commit intomainfrom
refcell/re-exports
Closed

fix(consensus): Re-export Traits#13
refcell wants to merge 1 commit intomainfrom
refcell/re-exports

Conversation

@refcell
Copy link
Copy Markdown
Collaborator

@refcell refcell commented Jun 16, 2024

Description

Since alloy dependencies are imported by github, versioning dependencies can get ugly downstream if a specific revision is imported.

To avoid dependency clashes, re-export necessary traits for downstream use. This allows crates and workspaces like kona to specify external dependency revisions (e.g. importing alloy_eips with a specific revision) while also importing the op-alloy-consensus on main branch along with it's EIP-2718 Encoding and Decoding traits, avoiding a dependency clash with the alloy_eips crate.

Example: op-rs/kona#267

@refcell refcell self-assigned this Jun 16, 2024
@refcell refcell requested review from gakonst and mattsse as code owners June 16, 2024 21:18
@refcell refcell force-pushed the refcell/re-exports branch from d581e8a to 01e94e6 Compare June 16, 2024 22:06
@gakonst
Copy link
Copy Markdown
Member

gakonst commented Jun 20, 2024

versioned releases are out now and should prefer these

@gakonst gakonst closed this Jun 20, 2024
@refcell refcell deleted the refcell/re-exports branch November 1, 2024 11:48
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.

2 participants