Skip to content

Commit 945e71a

Browse files
committed
chore: pr cleanup
1 parent caadf1a commit 945e71a

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

crates/node/src/txpool.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ impl PoolTransactionError for EvTxPoolError {
305305
}
306306

307307
/// Transaction validator that adds EV-specific checks on top of the base validator.
308-
#[derive(Clone, Debug)]
308+
#[derive(Debug, Clone)]
309309
pub struct EvTransactionValidator<Client> {
310310
inner: Arc<EthTransactionValidator<Client, EvPooledTransaction>>,
311311
deploy_allowlist: Option<ev_revm::deploy::DeployAllowlistSettings>,
@@ -571,8 +571,6 @@ where
571571
let deploy_allowlist = evolve_config
572572
.deploy_allowlist_settings()
573573
.map(|(allowlist, activation)| {
574-
// Note: pool validation currently assumes allowlist is active once set.
575-
// Activation height is still enforced during execution.
576574
ev_revm::deploy::DeployAllowlistSettings::new(allowlist, activation)
577575
});
578576
EvTransactionValidator::new(inner, deploy_allowlist)
@@ -739,8 +737,6 @@ mod tests {
739737
/// Tests pool-level deploy allowlist rejection for EvNode CREATE when caller not allowlisted.
740738
#[test]
741739
fn evnode_create_rejected_when_not_allowlisted() {
742-
743-
744740
// Configure deploy allowlist with a different address than the signer
745741
let allowed = Address::from([0x11u8; 20]);
746742
let settings = ev_revm::deploy::DeployAllowlistSettings::new(vec![allowed], 0);

0 commit comments

Comments
 (0)