mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix: allow to call V1 methods post-Shanghai (#8250)
This commit is contained in:
@ -159,10 +159,6 @@ pub fn validate_withdrawals_presence(
|
||||
return Err(message_validation_kind
|
||||
.to_error(VersionSpecificValidationError::WithdrawalsNotSupportedInV1))
|
||||
}
|
||||
if is_shanghai_active {
|
||||
return Err(message_validation_kind
|
||||
.to_error(VersionSpecificValidationError::NoWithdrawalsPostShanghai))
|
||||
}
|
||||
}
|
||||
EngineApiMessageVersion::V2 | EngineApiMessageVersion::V3 | EngineApiMessageVersion::V4 => {
|
||||
if is_shanghai_active && !has_withdrawals {
|
||||
|
||||
Reference in New Issue
Block a user