Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace UnsignedTx and TxEnvelope with op types in Network impl #121

Closed
wants to merge 1 commit into from

Conversation

emhane
Copy link
Member

@emhane emhane commented Sep 24, 2024

Motivation

Bug: deposit tx not covered by alloy transaction envelope and unsigned transaction types in Network impl for Optimism

Solution

Replaces alloy types for Network::TxEnvelope and Network::UnsignedTx with OP types OpTxEnvelope and OpTypedTransaction respectively.

blocked by #27

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@klkvr klkvr mentioned this pull request Oct 5, 2024
3 tasks
github-merge-queue bot pushed a commit that referenced this pull request Oct 7, 2024
<!--
Thank you for your Pull Request. Please provide a description above and
review
the requirements below.

Bug fixes and new features should include tests.

Contributors guide:
https://github.com/alloy-rs/core/blob/main/CONTRIBUTING.md

The contributors guide includes instructions for running rustfmt and
building the
documentation.
-->

<!-- ** Please select "Allow edits from maintainers" in the PR Options
** -->

## Motivation

EIP-4844 transactions are not supported on OP stack networks
https://specs.optimism.io/protocol/exec-engine.html#ecotone-disable-blob-transactions

## Solution

Removes 4844 variants from transaction and receipt consensus types.

We still have those on RPC types, should we introduce op-specific RPC
types? it would also unblock
#121

<!--
Summarize the solution and provide any necessary context needed to
understand
the code change.
-->

## PR Checklist

- [ ] Added Tests
- [ ] Added Documentation
- [ ] Breaking changes
@refcell
Copy link
Collaborator

refcell commented Nov 21, 2024

Do we still want this?

@emhane
Copy link
Member Author

emhane commented Nov 27, 2024

lol arseni has front run this one too #215, closing

@emhane emhane closed this Nov 27, 2024
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