This repository was archived by the owner on May 11, 2024. It is now read-only.
Commit 5c6d0fe 1 parent edf4b1a commit 5c6d0fe Copy full SHA for 5c6d0fe
File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -261,6 +261,7 @@ func (s *Syncer) onBlockProposed(
261
261
"blockID" , event .BlockId ,
262
262
"hint" , hint ,
263
263
"invalidTxIndex" , invalidTxIndex ,
264
+ "bytes" , len (txListBytes ),
264
265
)
265
266
266
267
l1Origin := & rawdb.L1Origin {
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ func (d *BlobFetcher) Fetch(
49
49
"blobHash" , common .Bytes2Hex (meta .BlobHash [:]),
50
50
)
51
51
52
- if kZGToVersionedHash (
52
+ if KZGToVersionedHash (
53
53
kzg4844 .Commitment (common .FromHex (sidecar .KzgCommitment )),
54
54
) == common .BytesToHash (meta .BlobHash [:]) {
55
55
return common .Hex2Bytes (sidecar .Blob ), nil
@@ -59,8 +59,8 @@ func (d *BlobFetcher) Fetch(
59
59
return nil , errSidecarNotFound
60
60
}
61
61
62
- // kZGToVersionedHash implements kzg_to_versioned_hash from EIP-4844
63
- func kZGToVersionedHash (kzg kzg4844.Commitment ) common.Hash {
62
+ // KZGToVersionedHash implements kzg_to_versioned_hash from EIP-4844
63
+ func KZGToVersionedHash (kzg kzg4844.Commitment ) common.Hash {
64
64
h := sha256 .Sum256 (kzg [:])
65
65
h [0 ] = blobCommitmentVersionKZG
66
66
You can’t perform that action at this time.
0 commit comments