Skip to content

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

Closed
emhane wants to merge 1 commit intomainfrom
emhane/op-unsigned-tx
Closed

Replace UnsignedTx and TxEnvelope with op types in Network impl#121
emhane wants to merge 1 commit intomainfrom
emhane/op-unsigned-tx

Conversation

@emhane
Copy link
Copy Markdown
Collaborator

@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

@emhane emhane requested a review from mattsse as a code owner September 24, 2024 18:15
@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
Copy Markdown
Collaborator

refcell commented Nov 21, 2024

Do we still want this?

@emhane
Copy link
Copy Markdown
Collaborator Author

emhane commented Nov 27, 2024

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

@emhane emhane closed this Nov 27, 2024
docker-dragonmj9ol added a commit to docker-dragonmj9ol/op-alloy that referenced this pull request Nov 6, 2025
<!--
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
alloy-rs/op-alloy#121

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

## PR Checklist

- [ ] Added Tests
- [ ] Added Documentation
- [ ] Breaking changes
theochap pushed a commit to ethereum-optimism/optimism that referenced this pull request Jan 21, 2026
<!--
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
alloy-rs/op-alloy#121

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

## PR Checklist

- [ ] Added Tests
- [ ] Added Documentation
- [ ] Breaking changes
refcell pushed a commit to base/base that referenced this pull request Feb 18, 2026
<!--
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
alloy-rs/op-alloy#121

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

## PR Checklist

- [ ] Added Tests
- [ ] Added Documentation
- [ ] Breaking changes
refcell pushed a commit to base/base that referenced this pull request Feb 18, 2026
<!--
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
alloy-rs/op-alloy#121

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

## PR Checklist

- [ ] Added Tests
- [ ] Added Documentation
- [ ] Breaking changes
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