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(forge): add default caller to persistent accounts #3875

Merged
merged 1 commit into from
Dec 13, 2022
Merged

Conversation

joshieDo
Copy link
Collaborator

Motivation

closes #3874

Solution

Adds the default sender to the persistent accounts.

But, to be honest, I'm not sure if this is the right approach. If there are tests that assume that the default sender is reset after changing forks, this would break it. But I'm not sure why would they use forks + default sender anyway.

@joshieDo joshieDo changed the title forge(fix): add default caller to persistent accounts fix(forge): add default caller to persistent accounts Dec 12, 2022
@joshieDo joshieDo added T-bug Type: bug Cmd-forge-test Command: forge test labels Dec 12, 2022
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.

That will definitely make it easier and gets rid of potential edge cases.

I don't think this will cause side-effects

@mattsse mattsse merged commit 2e59a60 into master Dec 13, 2022
@mattsse mattsse deleted the fix/3874 branch December 13, 2022 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cmd-forge-test Command: forge test T-bug Type: bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Arbitrum Fork and running scripts containing vm.start/stopBroadcast in test results in failing deployment
2 participants