def METHOD_NAME(block: bytes, nb_chunks: int) -> List[bytes]:
    payload_size = len(block) + 4  # encode block len as a uint32
    chunk_len = payload_size // nb_chunks
    if nb_chunks * chunk_len < payload_size:
        chunk_len += 1
    padding_len = chunk_len * nb_chunks - payload_size
    payload = struct.pack("!I", len(block)) + block + b"\x00" * padding_len
    return [payload[chunk_len * i : chunk_len * (i + 1)] for i in range(nb_chunks)]