diff --git a/encoding/codecv0.go b/encoding/codecv0.go index 4b670b9..4a87738 100644 --- a/encoding/codecv0.go +++ b/encoding/codecv0.go @@ -402,7 +402,7 @@ func (o *DACodecV0) EstimateBatchL1CommitBatchSizeAndBlobSize(b *Batch) (uint64, // SetCompression enables or disables compression. func (o *DACodecV0) SetCompression(enable bool) {} -// JSONFromBytes for CodecV1 returns empty values. +// JSONFromBytes for CodecV0 returns empty values. func (c *DACodecV0) JSONFromBytes(data []byte) ([]byte, error) { // DACodecV0 doesn't need this, so just return empty values return nil, nil diff --git a/encoding/codecv2.go b/encoding/codecv2.go index af686ce..dd8a1b8 100644 --- a/encoding/codecv2.go +++ b/encoding/codecv2.go @@ -552,7 +552,7 @@ func (o *DACodecV2) computeBatchDataHash(chunks []*Chunk, totalL1MessagePoppedBe return dataHash, nil } -// JSONFromBytes for CodecV1 returns empty values. +// JSONFromBytes for CodecV2 returns empty values. func (c *DACodecV2) JSONFromBytes(data []byte) ([]byte, error) { // DACodecV2 doesn't need this, so just return empty values return nil, nil