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

fix: various eip-7702 rpc fixes #10590

Merged
merged 2 commits into from
Aug 28, 2024
Merged

Conversation

onbjerg
Copy link
Collaborator

@onbjerg onbjerg commented Aug 28, 2024

Adds authorization list to RPC types where it's missing, and handles EIP-7702 tx's in rpc-types-compat.

cc @klkvr as I am merging into your bump PR.

Supersedes #10374

@onbjerg onbjerg added C-bug An unexpected or incorrect behavior A-rpc Related to the RPC implementation E-prague Related to the prague network upgrade labels Aug 28, 2024
@@ -44,7 +44,7 @@ fn fill(
#[allow(unreachable_patterns)]
let (gas_price, max_fee_per_gas) = match signed_tx.tx_type() {
TxType::Legacy | TxType::Eip2930 => (Some(signed_tx.max_fee_per_gas()), None),
TxType::Eip1559 | TxType::Eip4844 => {
TxType::Eip1559 | TxType::Eip4844 | TxType::Eip7702 => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

pain

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

very

@onbjerg onbjerg merged commit 793af40 into klkvr/bump-alloy Aug 28, 2024
31 checks passed
@onbjerg onbjerg deleted the onbjerg/7702-bump-fixes branch August 28, 2024 09:34
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-bug An unexpected or incorrect behavior E-prague Related to the prague network upgrade
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants