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

feat (cheatcode): ability to know whether broadcast mode is active (--broadcast) #4798

Closed
wighawag opened this issue Apr 22, 2023 · 1 comment
Labels
T-feature Type: feature

Comments

@wighawag
Copy link

wighawag commented Apr 22, 2023

Component

Forge

Describe the feature you would like

my tool forge-deploy read and write files to manage deployment data.

it currently do that in all context, even when there would be no need for it (forge test)

my tool would actually only need to write files if the execution of the deployment is going to be broadcasted

So for optimization purpose it would be great to be able to know whether --broadcast was specified

Proposal:

function isBroadcasting() external returns (bool);

Additional context

No response

@wighawag wighawag added the T-feature Type: feature label Apr 22, 2023
@mds1
Copy link
Collaborator

mds1 commented Apr 24, 2023

Seems like a duplicate of #2900, so closing in favor of that one

@mds1 mds1 closed this as not planned Won't fix, can't repro, duplicate, stale Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-feature Type: feature
Projects
Archived in project
Development

No branches or pull requests

2 participants