Skip to content
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

refactor: improve eth_call internals #763

Merged
merged 2 commits into from
May 21, 2024
Merged

Conversation

prestwich
Copy link
Member

Motivation

Closes #761

Solution

  • Ensure the option is propagated to the internal RpcCall future params
  • drive-by improvements
    • remove redundant inner type
    • add polling state to simplify taking ownership of data
    • remove unnecessary nesting in future creation
    • is_* functions to remove weird inline matches!

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@prestwich prestwich added bug Something isn't working enhancement New feature or request debt Tech debt which needs to be addressed labels May 21, 2024
@prestwich prestwich self-assigned this May 21, 2024
@prestwich prestwich merged commit 774a898 into main May 21, 2024
24 checks passed
@prestwich prestwich deleted the prestwich/overrides-opt branch May 21, 2024 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working debt Tech debt which needs to be addressed enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] state changeset arg breaks compatibility with certain endpoints
3 participants