Skip to content

rlp encode bug for boolean false #80

Description

@Pana

Check existing issues

Ox Version

0.7.2

Current Behavior

currently ox rlp encode false as "00"

Rlp.fromHex(Hex.fromBoolean(false))
// '0x00'

Expected Behavior

but geth expect "80" https://github.com/ethereum/go-ethereum/blob/master/rlp/encode_test.go#L94

Steps To Reproduce

No response

Link to Minimal Reproducible Example

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions