Skip to content

Replace assert_eq!() usage for actual errors in frame.rs #1748

Closed
@ElFantasma

Description

@ElFantasma

There are some checks in the decode() function for RLPxCodec that currently are handled with assert_eq!() macro.

While this is useful, (we still find some discrepancies from time to time and want to log them in console) we should handle them with proper error messages instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    L1Ethereum clientp2pIssues related to p2p networktech debtRefactors, cleanups, etc

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions