Skip to content

Expose not normalized yParity as _yParity in authorization list #5091

@dlebee

Description

@dlebee

Describe the Feature

Hi,

It would be nice if we could have access to the not normalized yParity using _yParity similar to _s value.

that's because ethers normalizes 0x1b to 1 etc.. due to the issue reported for L2 nodes here: #4985

there is this other issue that says just use an old version that is not a good strategy long term:
#5084 (comment)

But in reality other issues show that those values are not necessarily meant to be normalized according to ethereum spec only value 0 or 1 should be okay 2 << 8

see:

Ideally it would be nice to be able to get the unnormalized/untouched yParity, if the yParity needs to be normalized for reasons i don't really understand could we have it as _yParity similar to _s for s value in other places.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or improvement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions