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

Add support for solc 0.8.24 #6903

Closed
pcaversaccio opened this issue Jan 26, 2024 · 2 comments · Fixed by #6916
Closed

Add support for solc 0.8.24 #6903

pcaversaccio opened this issue Jan 26, 2024 · 2 comments · Fixed by #6916

Comments

@pcaversaccio
Copy link
Contributor

Haven't found an issue to track this bump. Here the official release notes: https://github.com/ethereum/solidity/releases/tag/v0.8.24.

Cc: @Evalir @mattsse

@gakonst gakonst added this to Foundry Jan 26, 2024
@github-project-automation github-project-automation bot moved this to Todo in Foundry Jan 26, 2024
@andreas-blockswap
Copy link

Now that transactions compose differently than message calls, I think that it would be useful with a cheat code to clear the transient storage, so that we can model transactions with message calls. For example, if I want to model the transaction a.f(x), I would write

vm.clearTransientStorage(address(a));
a.f(x);
vm.clearTransientStorage(address(a));

and transaction composition can be modeled with

vm.clearTransientStorage(address(a));
a.f(x);
vm.clearTransientStorage(address(a));
a.g(y);
vm.clearTransientStorage(address(a));

@Evalir
Copy link
Member

Evalir commented Jan 26, 2024

@andreas-blockswap let's model this new cheatcode in a new issue 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants