pub fn validate_slot_number_presence<T>( chain_spec: &T, version: EngineApiMessageVersion, message_validation_kind: MessageValidationKind, timestamp: u64, has_slot_number: bool, ) -> Result<(), EngineObjectValidationError>where T: EthereumHardforks,
Validates the presence of the slot number field according to the payload timestamp. After Amsterdam, slot number field must be Some. Before Amsterdam, slot number field must be None;
slot number