alloy-rs / alloy-rs/alloy

[Bug] eip7840 BlobParams SerdeHelper drops two fields

オープン
#3,103 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Rust
スター
1.3k
フォーク
668
平均マージ
2日 1時間
マージ済み PR(30日)
29

説明

### 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:

https://github.com/alloy-rs/alloy/blob/c1987556cdcd0e99a1ce9c6512a8eea800df34fa/crates/eips/src/eip7840.rs#L219-L220

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。