Skip to content

Fix or improve error message vulcan.fmt._readSlice(bytes,uint256,uint256): Slice out of bounds #188

@vdrg

Description

@vdrg

Reproduce:

bytes32 a = bytes32("hello");
// a is not bytes so this happens
println("{b}", abi.encode(a));

We need to decide if we want to handle this in some way or just provide a better error message with suggestions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions