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

fix: split code from remote account in #517

Merged
merged 1 commit into from
Jun 17, 2024
Merged

fix: split code from remote account in #517

merged 1 commit into from
Jun 17, 2024

Conversation

Wodann
Copy link
Member

@Wodann Wodann commented Jun 14, 2024

Fixes #503

@Wodann Wodann self-assigned this Jun 14, 2024
Copy link

changeset-bot bot commented Jun 14, 2024

🦋 Changeset detected

Latest commit: af0f984

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@nomicfoundation/edr Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@@ -118,6 +104,30 @@ impl State for CachedRemoteState {
}
}

/// Fetches an account from the remote state. If it exists, code is split off
/// and stored separately in the provided cache.
fn fetch_remote_account(
Copy link
Member

Choose a reason for hiding this comment

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

Out of curiosity, why make this a separate function instead of making it a method of CachedRemoteState?

Copy link
Member

@agostbiro agostbiro left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM

@Wodann Wodann merged commit 5984f11 into main Jun 17, 2024
37 checks passed
@fvictorio fvictorio deleted the fix/503 branch June 18, 2024 11:32
@Wodann Wodann added this to the EDR v0.4.1 milestone Jul 11, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Calling hardhat_setStorageAt after eth_getStorageAt doesn't work when forking
3 participants