Skip to content

[Bug] trie_hash impl incorrect for tx envelope #1537

@prestwich

Description

@prestwich

Component

consensus, eips, genesis

What version of Alloy are you on?

No response

Operating System

None

Describe the bug

from #1496

impl Encodable2718 for TxEnvelope produces incorrect trie_hash when it contains a sidecar. It computes the hash of the 2718 serialization WITH the sidecar, when instead it should compute it WITHOUT the sidecar, as the trie-hash commits only to the on-chain version of the tx

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions