From ac19d341ad76850328b98368be620999de63b42c Mon Sep 17 00:00:00 2001 From: gavin Date: Thu, 17 Oct 2024 09:16:59 +0800 Subject: [PATCH] debug --- packages/taiko-client/driver/txlist_fetcher/blob.go | 4 ++++ packages/taiko-client/proposer/proposer.go | 2 ++ 2 files changed, 6 insertions(+) diff --git a/packages/taiko-client/driver/txlist_fetcher/blob.go b/packages/taiko-client/driver/txlist_fetcher/blob.go index 922e1975b8..ae2f301108 100644 --- a/packages/taiko-client/driver/txlist_fetcher/blob.go +++ b/packages/taiko-client/driver/txlist_fetcher/blob.go @@ -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 } diff --git a/packages/taiko-client/proposer/proposer.go b/packages/taiko-client/proposer/proposer.go index a126133b24..96c57a4463 100644 --- a/packages/taiko-client/proposer/proposer.go +++ b/packages/taiko-client/proposer/proposer.go @@ -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 {