Skip to content

Commit

Permalink
fix blob error
Browse files Browse the repository at this point in the history
  • Loading branch information
welkin22 committed Apr 29, 2024
1 parent fd1c906 commit 3a623e8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
10 changes: 5 additions & 5 deletions op-service/eth/blobs_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@ type BSCBlobTxSidecar struct {
}

type BSCBlobSidecar struct {
BSCBlobTxSidecar
BlockNumber *hexutil.Big `json:"blockNumber"`
BlockHash common.Hash `json:"blockHash"`
TxIndex *hexutil.Uint64 `json:"transactionIndex"`
TxHash common.Hash `json:"transactionHash"`
BSCBlobTxSidecar `json:"blobSidecar"`
BlockNumber *hexutil.Big `json:"blockNumber"`
BlockHash common.Hash `json:"blockHash"`
TxIndex *hexutil.Uint64 `json:"txIndex"`
TxHash common.Hash `json:"txHash"`
}

type BSCBlobSidecars []*BSCBlobSidecar
1 change: 0 additions & 1 deletion op-service/sources/l1_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,6 @@ func (s *L1Client) getBlobSidecars(ctx context.Context, ref eth.L1BlockRef) (eth
if blobSidecars == nil {
return nil, ethereum.NotFound
}
s.log.Debug("receive blobSidecars", "blob", blobSidecars)
return blobSidecars, nil
}

Expand Down

0 comments on commit 3a623e8

Please sign in to comment.