[Bug] eip7840 BlobParams SerdeHelper drops two fields
オープン
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 はまだ評価されていません。