Thanks to visit codestin.com
Credit goes to github.com

Skip to content

docs: clarify block ID check comment in should_batch_call#4037

Open
Roopan-Malaiyalathan wants to merge 1 commit into
alloy-rs:mainfrom
Roopan-Malaiyalathan:docs/clarify-batch-block-id-comment
Open

docs: clarify block ID check comment in should_batch_call#4037
Roopan-Malaiyalathan wants to merge 1 commit into
alloy-rs:mainfrom
Roopan-Malaiyalathan:docs/clarify-batch-block-id-comment

Conversation

@Roopan-Malaiyalathan

Copy link
Copy Markdown

The TODO comment on line 257 in should_batch_call was vague
and didn't explain the reasoning behind the block ID check.

Replaced it with a clear comment explaining why requests with
a non-latest block ID are excluded from batch multicall —
multicall only works reliably on the latest block.

No logic changed — comment clarification only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant