Skip to content

feat: Introducing BlockOverrides support to EthCallParams #2493

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

Ayushdubey86
Copy link
Contributor

@Ayushdubey86 Ayushdubey86 commented May 22, 2025

@github-project-automation github-project-automation bot moved this to In Progress in Alloy May 22, 2025
@Ayushdubey86
Copy link
Contributor Author

@mattsse pushed all ! 💯

@Ayushdubey86 Ayushdubey86 requested a review from mattsse May 22, 2025 18:35
Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

last smol nit


let mut seq = serializer.serialize_seq(Some(len))?;
seq.serialize_element(&self.data())?;

if let Some(overrides) = self.overrides() {
Copy link
Member

Choose a reason for hiding this comment

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

I'd like to keep this but convert this into an else if and add an initial if let some(blockoverrides) first, same pattern as above

Copy link
Contributor Author

Choose a reason for hiding this comment

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

pushed

@Ayushdubey86 Ayushdubey86 requested a review from mattsse May 22, 2025 20:49
@github-project-automation github-project-automation bot moved this from In Progress to Reviewed in Alloy May 23, 2025
@mattsse mattsse merged commit 1159501 into alloy-rs:main May 23, 2025
27 checks passed
@github-project-automation github-project-automation bot moved this from Reviewed to Done in Alloy May 23, 2025
jgomez360 pushed a commit to jgomez360/alloy that referenced this pull request Jun 15, 2025
)

* feat: Introducing BlockOverrides support to EthCallParams

* correct serialization order for block, state and blockOverrides

* json none for empty case

* fixing tc indireclty

* review comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[Feature] Add BlockOverrides support to EthCallParams
2 participants