Skip to content

debt(cheatcodes): use return Self::Return when implementing cheatcodes #8626

Open
@DaniPopes

Description

@DaniPopes

Currently we return an untyped Vec which must be abi encoded correctly to the corresponding return type.

We can simplify the implementations by returning the corresponding return type directly.

This makes all cheatcodes fully statically typed.

Blocked on #8404 to avoid extra churn on trait functions

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions