Skip to content

Detect problematic blob size at link time #96

Description

@xermicus

Emit a compiler warning (or error) if we detect the final blob size to exceed the pallets limits.

Tasks

  • Add a command line flag to provide the memory limit (different chains can exhibit different limits), and assume AH as default
  • Helper to calculate the maximum linked blob size given the static memory buffer and the the pallet limits
  • Check it after linting and emit a warning if over the threshold
  • By default it should error out but we want to have a flag to ignore it

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

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions