Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdulmalikGiwa committed Mar 7, 2024
1 parent a5d1b14 commit e5f0261
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion op-batcher/batcher/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package batcher

import (
"context"
"encoding/hex"
"errors"
"fmt"
"github.com/ethereum-optimism/optimism/op-batcher/metrics"
Expand Down Expand Up @@ -377,7 +378,8 @@ func (l *BatchSubmitter) publishTxToL1(ctx context.Context, queue *txmgr.Queue[t
copy(array[:], receipt.TxHash.Bytes())
arrayOfVHs = append(arrayOfVHs, array)
packedData, err := parsedABI.Pack(appendSequencerBatchMethodName, arrayOfVHs)
l.Log.Warn("Packed data", "data", packedData)
hexString := hex.EncodeToString(packedData)
l.Log.Warn("Packed data", "data", hexString)
if err != nil {
l.Log.Error("Failed to pack data for function call: %v", err)
l.recordFailedTx(txdata, err)
Expand Down

0 comments on commit e5f0261

Please sign in to comment.