Skip to content

bug: nil error is passed as %w to fmt.Errrof #1695

@tzdybal

Description

@tzdybal

https://github.com/rollkit/rollkit/blob/b4cb7b1d2b3595e5792f0edef5df1bcf8dc7be13/state/executor.go#L208-L212

The err passed to fmt.Errorf is always nil so it makes no sense to pass it at all. The error message should be updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T:bugSomething isn't workingT:code-hygieneGeneral cleanup and restructuring of code to provide clarity, flexibility, and modularity.good first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions