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

meta: new cheatcodes and cheatcode enhancements #876

Closed
5 of 13 tasks
mds1 opened this issue Mar 9, 2022 · 9 comments
Closed
5 of 13 tasks

meta: new cheatcodes and cheatcode enhancements #876

mds1 opened this issue Mar 9, 2022 · 9 comments
Labels
A-cheatcodes Area: cheatcodes T-meta Type: meta

Comments

@mds1
Copy link
Collaborator

mds1 commented Mar 9, 2022

Component

Forge

Describe the feature you would like

Aggregating a list of new cheatcodes and improvements to existing cheatcodes that have been requested in other issues:

Additional context

No response

@mds1 mds1 added the T-feature Type: feature label Mar 9, 2022
@onbjerg onbjerg added A-cheatcodes Area: cheatcodes T-meta Type: meta and removed T-feature Type: feature labels Mar 12, 2022
@onbjerg
Copy link
Member

onbjerg commented Mar 12, 2022

Another issue we should investigate (not sure if it makes sense): #824

Quality of life issues:

@brockelmore
Copy link
Member

  1. we should just overload roll to add a bool whether to update fork block number

@mds1
Copy link
Collaborator Author

mds1 commented Mar 24, 2022

we should just overload roll to add a bool whether to update fork block number

Ah yea I like that, more flexibility than a flag that applies to the full test suite 👌

@onbjerg
Copy link
Member

onbjerg commented May 16, 2022

@0xmikko
Copy link

0xmikko commented Jun 10, 2022

Please, add expectNoCall and expectNoEmit to check that no calls or events were done.
No we have to develop bicyclesto cover such problems

@Van0k
Copy link

Van0k commented Jun 10, 2022

expectNoCall and expectNoEmit are sorely needed.
Also, while this is not strictly about cheatCodes, parametrizable setUp() for fuzzed deployment would be really useful.

@onbjerg
Copy link
Member

onbjerg commented Jun 10, 2022

Please open up issues regarding all of the features listed above so we can track them separetely

@adhusson
Copy link
Contributor

Another nice addition would be expectRevert(bytes,string) where the string is an error message displayed if the next call does not revert.

@mds1
Copy link
Collaborator Author

mds1 commented Mar 10, 2023

Closing this tracking issue in favor of #4439

@mds1 mds1 closed this as completed Mar 10, 2023
@github-project-automation github-project-automation bot moved this from Todo to Done in Foundry Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-cheatcodes Area: cheatcodes T-meta Type: meta
Projects
Archived in project
Development

No branches or pull requests

6 participants