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

Use code from AccountInfo if it is Some #185

Merged
merged 2 commits into from
Aug 29, 2024

Conversation

JamesHinshelwood
Copy link
Contributor

If the code in an AccountInfo is already Some, it is unnecessary to fetch the code again using code_by_hash_ref.

If the `code` in an `AccountInfo` is already `Some`, it is
unnecessary to fetch the code again using `code_by_hash_ref`.
@onbjerg onbjerg added the enhancement New feature or request label Aug 29, 2024
@mattsse mattsse merged commit 0de6442 into paradigmxyz:main Aug 29, 2024
10 of 11 checks passed
@JamesHinshelwood JamesHinshelwood deleted the fix-some-code branch August 29, 2024 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants