-
Notifications
You must be signed in to change notification settings - Fork 32
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
[Feature] Impl TransactionBuilder::complete_type
for Optimism
#27
Labels
A-consensus
Area: consensus crate
Comments
This was referenced Jul 28, 2024
3 tasks
emhane
added
A-consensus
Area: consensus crate
good-first-issue
Issues that are easy to pick up for new contributors
and removed
good-first-issue
Issues that are easy to pick up for new contributors
labels
Sep 24, 2024
@refcell would you be keen on this? |
Certainly, I'll take a look later today! |
github-merge-queue bot
pushed a commit
that referenced
this issue
Nov 1, 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 Closes #27 To be able to replace `UnsingedTx` and `TxEnvelope` on Optimism network with op-consensus types, we need a op-specific tx builder. ## Solution Add `OpTransactionBuilder` which is a wrapper around `TransactionBuilder`. It intentionally does not have any direct methods allowing to set EIP-4844 fields, however they can still be set through `AsMut` or during deserialization. When building typed transaction, eip-4844 transactions are getting converted to eip-1559 ## 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
Component
rpc
Describe the feature you would like
Add type
OpTransactionRequest
that wraps aTransactionRequest
. Implement methodOpTransactionRequest::complete_deposit
, for using in impl ofTransactionBuilder::complete_type
forOptimism
.Additional context
No response
The text was updated successfully, but these errors were encountered: