Skip to content

Improve parachains inherent error reporting #9631

@sandreim

Description

@sandreim

@skunert recently proposed:

One thing we could also look into is better error reporting using this.

We can actually mark inherents as mandatory, then we wouldn't need to do these checks in on_finalize. You can even implement proper errors this way, but a quick play session gives me already:

2025-09-02 15:14:20 Error with block built on 0x2575638eedcbb1657f3b2fe3b3f6828d0afc20d92a825b57a181ad19117f646f: Checking inherents unhandled error: parachn0    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Completed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions