Skip to content

Conversation

@neowangreal
Copy link
Contributor

Closes #3054

Adds with_default_block() method to set default BlockId for call/estimateGas instead of always using Pending.

Copy link
Contributor

@onbjerg onbjerg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you also add it to any method that returns RpcWithBlock? e.g. get_account, get_balance and so on

@github-project-automation github-project-automation bot moved this to In Progress in Alloy Dec 3, 2025
@neowangreal neowangreal requested a review from onbjerg December 7, 2025 16:14
@neowangreal
Copy link
Contributor Author

neowangreal commented Dec 7, 2025

can you also add it to any method that returns RpcWithBlock? e.g. get_account, get_balance and so on

Sure, PLZ have a look at the new update

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

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

[Feature] specific BlockId in ProviderBuilder

2 participants