Skip to content

Security issue #263

Description

@ndkazu

Motivation

In storages, when storing multiple values using Vec<>, an attack vector is created:
someone could create a Massive vector, and overwelm the chain.

Suggested Solution

We should limit the vector size through BoundedVec<> instead, and use constants defined in the runtime, for the bounded vector size.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions