Skip to content

Detect problematic blob size at link time #96

Open
@xermicus

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions