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

Implement custom default for Account representing a valid empty account #1313

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

Wollac
Copy link
Contributor

@Wollac Wollac commented Sep 19, 2024

Motivation

This PR fixes #1312. See the issue for more context.

Solution

Add a custom Default implementation that corresponds to the valid empty account.

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.

reasonable

@mattsse mattsse merged commit fd01e73 into alloy-rs:main Sep 19, 2024
26 checks passed
@Wollac Wollac deleted the fix/account-default branch September 19, 2024 13:16
lwedge99 pushed a commit to sentioxyz/alloy that referenced this pull request Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Default value of the state's Account should a represent non-existent account
2 participants