Skip to content

EIP4844 variant to TypedTransactionRequest #5005

Merged
mattsse merged 8 commits intoparadigmxyz:mainfrom
DoTheBestToGetTheBest:DoTheBestToGetTheBest-patch-1-new-eip
Oct 13, 2023
Merged

EIP4844 variant to TypedTransactionRequest #5005
mattsse merged 8 commits intoparadigmxyz:mainfrom
DoTheBestToGetTheBest:DoTheBestToGetTheBest-patch-1-new-eip

Conversation

@DoTheBestToGetTheBest
Copy link
Contributor

close #5004

@DoTheBestToGetTheBest DoTheBestToGetTheBest changed the title Do the best to get the best patch 1 new eip EIP4844 variant to TypedTransactionRequest Oct 12, 2023
@codecov
Copy link

codecov bot commented Oct 12, 2023

Codecov Report

Merging #5005 (740d3a6) into main (1831197) will decrease coverage by 0.14%.
Report is 17 commits behind head on main.
The diff coverage is 0.00%.

Impacted file tree graph

Files Coverage Δ
crates/rpc/rpc/src/eth/api/transactions.rs 30.43% <0.00%> (-0.34%) ⬇️
crates/rpc/rpc-types/src/eth/transaction/typed.rs 0.00% <0.00%> (ø)

... and 60 files with indirect coverage changes

Flag Coverage Δ
integration-tests 15.84% <0.00%> (+0.43%) ⬆️
unit-tests 62.33% <0.00%> (-0.26%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
reth binary 30.85% <ø> (+0.22%) ⬆️
blockchain tree 80.82% <ø> (+0.18%) ⬆️
pipeline 88.37% <ø> (-0.09%) ⬇️
storage (db) 74.40% <ø> (ø)
trie 94.48% <ø> (-0.01%) ⬇️
txpool 48.51% <ø> (-0.50%) ⬇️
networking 76.44% <ø> (+0.33%) ⬆️
rpc 57.90% <0.00%> (-0.06%) ⬇️
consensus 63.01% <ø> (ø)
revm 27.89% <ø> (+0.10%) ⬆️
payload builder 7.96% <ø> (ø)
primitives 86.03% <ø> (-0.33%) ⬇️

@rkrasiuk rkrasiuk added C-enhancement New feature or request A-rpc Related to the RPC implementation labels Oct 13, 2023
Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good start

pub input: Bytes,
pub access_list: AccessList,
pub max_fee_per_blob_gas: u128,
pub blob_versioned_hashes: Vec<FixedBytes<32>>,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we also need a sidecar type that contains the proofs,commitments etc

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a problem because BlobTransactionSidecar struct does not implement Encodable and Decodable trait, are you okay if i add them ? This will result another modification for other struct too

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need to duplicate that struct inside rpc-types and can't reuse the existing one

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need to duplicate that struct inside rpc-types and can't reuse the existing one

Amazing! I've just done that. Thank you so much !

@mattsse mattsse enabled auto-merge October 13, 2023 15:49
@mattsse mattsse added this pull request to the merge queue Oct 13, 2023
Merged via the queue into paradigmxyz:main with commit 92ceb2f Oct 13, 2023
mattsse added a commit that referenced this pull request Nov 8, 2023
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-rpc Related to the RPC implementation C-enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add EIP4844 variant to TypedTransactionRequest

3 participants