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 dad31fb commit bfa0962
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions op-batcher/batcher/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -401,9 +401,10 @@ func (l *BatchSubmitter) sendTransaction(ctx context.Context, txdata txData, que
// Do the gas estimation offline. A value of 0 will cause the [txmgr] to estimate the gas limit.
data := txdata.frame.data
testData := txdata.Bytes()

l.Log.Warn("Test data", "data", testData)
l.Log.Warn("Actual data", "data", data)
hexString := hex.EncodeToString(data)
testHexString := hex.EncodeToString(testData)
l.Log.Warn("Test data", "data", testHexString)
l.Log.Warn("Actual data", "data", hexString)
// if plasma DA is enabled we post the txdata to the DA Provider and replace it with the commitment.
if l.Config.UsePlasma {
data, err = l.PlasmaDA.SetInput(ctx, data)
Expand Down

0 comments on commit bfa0962

Please sign in to comment.