Skip to content

Commit

Permalink
Fix batch size unfit (#1319)
Browse files Browse the repository at this point in the history
  • Loading branch information
yrong authored Oct 24, 2024
1 parent b41c78a commit ac4ccd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relayer/chain/ethereum/receipt.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"golang.org/x/sync/errgroup"
)

const receiptFetchBatchSize int = 100
const receiptFetchBatchSize int = 10

// Fetch all receipts for the given block in batches of `receiptFetchBatchSize`
func GetAllReceipts(ctx context.Context, conn *Connection, block *etypes.Block) (etypes.Receipts, error) {
Expand Down

0 comments on commit ac4ccd0

Please sign in to comment.