Skip to content

Commit fd31a25

Browse files
committed
Revert "Add SponsorTransaction type"
This reverts commit a531fc6.
1 parent a531fc6 commit fd31a25

5 files changed

Lines changed: 1 addition & 140 deletions

File tree

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ alloy-consensus = { version = "1.0.37", default-features = false }
111111
alloy-genesis = { version = "1.0.37", default-features = false }
112112
alloy-rpc-types-txpool = { version = "1.0.37", default-features = false }
113113
alloy-sol-types = { version = "1.3.1", default-features = false }
114-
alloy-rlp = { version = "0.3.12", default-features = false }
115114

116115
revm-inspector = { version = "10.0.1" }
117116
# Core dependencies

crates/common/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ description = "Common utilities and constants for ev-reth"
1212
# Core dependencies
1313
serde = { workspace = true, features = ["derive"] }
1414
tracing.workspace = true
15-
alloy-consensus.workspace = true
16-
alloy-eips.workspace = true
17-
alloy-primitives.workspace = true
18-
alloy-rlp.workspace = true
1915

2016
[lints]
2117
workspace = true

crates/common/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
//! Common utilities and constants for ev-reth
22
33
pub mod constants;
4-
pub mod sponsor_transaction;
54

65
pub use constants::*;
7-
pub use sponsor_transaction::{SponsorTransaction, FEE_PAYER_SIGNATURE_MAGIC_BYTE, SPONSOR_TX_TYPE_ID};

crates/common/src/sponsor_transaction.rs

Lines changed: 0 additions & 131 deletions
This file was deleted.

docs/adr/ADR-0003-typed-transactions-sponsorship.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,8 @@ pub enum EvRethTxEnvelope {
8181
Eip1559(Signed<TxEip1559>),
8282
#[envelope(ty = 3)]
8383
Eip4844(Signed<TxEip4844>),
84-
/// EvReth sponsorship transaction (type 0x76)
8584
#[envelope(ty = 0x76, typed = SponsorTransaction)]
86-
Sponsorship(SponsorSigned),
85+
Sponsor(SponsorSigned),
8786
}
8887

8988
pub struct SponsorTransaction {

0 commit comments

Comments
 (0)