pub fn validate_tx_bytes<S>(storage: &S, tx_size: usize) -> Result<bool>where S: StorageRead,
Validate the size of a tx.