-
Notifications
You must be signed in to change notification settings - Fork 772
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
vm: reintroduce modifyAccountFields #1763
vm: reintroduce modifyAccountFields #1763
Conversation
Codecov Report
Flags with carried forward coverage won't be shown. Click here to find out more. |
i am seeing this error in
I think this issue is solved most recently by #1741 on master but it hasn't made it to develop yet. if after develop is updated it's still failing i'll look into it, but it seems fine on master. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @ryanio, lgtm!
great, thank you! will merge. @holgerd77 let me know if you'd like me to try the next develop rebase round (along with some specific instructions on your best way to go about it) |
account.stateRoot = accountFields.stateRoot ?? account.stateRoot | ||
account.codeHash = accountFields.codeHash ?? account.codeHash | ||
await this.putAccount(address, account) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be placed in the BaseStateManager
if I am not mistaken.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ooh ok, sure, I can move it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! 😄
Doing the develop
rebase (test) right now.
* add modifyAccountFields method and tests * use new method in eei * update usage in various tests
* add modifyAccountFields method and tests * use new method in eei * update usage in various tests
* add modifyAccountFields method and tests * use new method in eei * update usage in various tests
* add modifyAccountFields method and tests * use new method in eei * update usage in various tests
* add modifyAccountFields method and tests * use new method in eei * update usage in various tests
* add modifyAccountFields method and tests * use new method in eei * update usage in various tests
* add modifyAccountFields method and tests * use new method in eei * update usage in various tests
* add modifyAccountFields method and tests * use new method in eei * update usage in various tests
* add modifyAccountFields method and tests * use new method in eei * update usage in various tests
* add modifyAccountFields method and tests * use new method in eei * update usage in various tests
* add modifyAccountFields method and tests * use new method in eei * update usage in various tests
This PR reintroduces @emersonmacro's #1369 on the
develop
branch, since we had accidentally introduced a breaking change in the stateManager interface on master. This led to issues with hardhat's custom statemanager implementation not having the method. We reversed the work on master in #1390, and this PR now reintroduces it ondevelop
as part of v6 breaking changes release (#1717)