Skip to content

[Bug] eip7840 BlobParams SerdeHelper drops two fields #3103

@hashcashier

Description

@hashcashier

Component

serde

What version of Alloy are you on?

1.0.41

Operating System

None

Describe the bug

Serde round-trip for a BlobParams instance is broken:
https://www.diffchecker.com/BcFU5LmK/

max_blobs_per_tx gets set to max_blob_count, while blob_base_cost is always set to zero because this behavior is hardcoded in the SerdeHelper:

max_blobs_per_tx: max_blob_count,
blob_base_cost: 0,

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions