Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
YoGhurt111 committed Oct 17, 2024
1 parent 1b7240f commit ac19d34
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/taiko-client/driver/txlist_fetcher/blob.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ func (d *BlobFetcher) Fetch(
return nil, err
}

log.Debug(
"GetBlobTxListOffset", meta.GetBlobTxListOffset(),
"BlobTxListLength", meta.GetBlobTxListLength(),
)
if meta.GetBlobTxListLength() == 0 {
return bytes[meta.GetBlobTxListOffset():], nil
}
Expand Down
2 changes: 2 additions & 0 deletions packages/taiko-client/proposer/proposer.go
Original file line number Diff line number Diff line change
Expand Up @@ -431,11 +431,13 @@ func (p *Proposer) ProposeTxListOntake(
return err
}
txListsBytesArray = append(txListsBytesArray, compressedTxListBytesA)
log.Debug("compressedTxListBytesA", len(compressedTxListBytesA))
compressedTxListBytesB, err := utils.Compress(txListBytesB)
if err != nil {
return err
}
txListsBytesArray = append(txListsBytesArray, compressedTxListBytesB)
log.Debug("compressedTxListBytesB", len(compressedTxListBytesB))
} else {
txListBytes, err := rlp.EncodeToBytes(txs)
if err != nil {
Expand Down

0 comments on commit ac19d34

Please sign in to comment.