Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #5 from 0xyjk/fix/log_request_payload
Browse files Browse the repository at this point in the history
fix: log request payload
  • Loading branch information
Teddy Knox authored Dec 13, 2023
2 parents b8ed170 + 4bca2a5 commit a0132c6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions op-node/rollup/derive/calldata_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,15 +155,15 @@ func DataFromEVMTransactions(config *rollup.Config, daCfg *da.DAConfig, batcherA
blobRes, err := daCfg.Client.RetrieveBlob(context.Background(), blobRequest)
if err != nil {
retrieveReqJSON, _ := json.Marshal(struct {
batch_header_hash string
blob_index uint32
reference_block_number uint32
quorum_id uint32
BatchHeaderHash string
BlobIndex uint32
ReferenceBlockNumber uint32
QuorumId uint32
}{
batch_header_hash: base64.StdEncoding.EncodeToString(frameRef.BatchHeaderHash),
blob_index: frameRef.BlobIndex,
reference_block_number: frameRef.ReferenceBlockNumber,
quorum_id: frameRef.QuorumIds[0],
BatchHeaderHash: base64.StdEncoding.EncodeToString(frameRef.BatchHeaderHash),
BlobIndex: frameRef.BlobIndex,
ReferenceBlockNumber: frameRef.ReferenceBlockNumber,
QuorumId: frameRef.QuorumIds[0],
})
log.Warn("could not retrieve data from EigenDA", "request", string(retrieveReqJSON), "err", err)
return nil
Expand Down

0 comments on commit a0132c6

Please sign in to comment.