Skip to content

Forbid blocks over 2MiB in the Block API #7020

@Stebalien

Description

@Stebalien

Currently, we accept arbitrarily large blocks in the block API. We won't transfer them over the network so this isn't a big security concern, but it is a concern for users as they'll be able to add blocks that they can't transfer.

We should just forbid them in the block API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementA net-new feature or improvement to an existing feature

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions