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 (script): print total script cost at the end #3283

Closed
mds1 opened this issue Sep 19, 2022 · 0 comments · Fixed by #3284
Closed

feat (script): print total script cost at the end #3283

mds1 opened this issue Sep 19, 2022 · 0 comments · Fixed by #3284
Assignees
Labels
C-forge Command: forge Cmd-forge-script Command: forge script T-feature Type: feature

Comments

@mds1
Copy link
Collaborator

mds1 commented Sep 19, 2022

Component

Forge

Describe the feature you would like

forge script shows an estimate of the total script cost, then shows the cost of each individual transaction broadcasted, but it does not show the final cost of the script. This can be easily computed by adding up the costs of each transaction. (Even with identical gas costs, this value would differ from the estimate as the estimate includes a margin on each gas limit)

Additional context

No response

@mds1 mds1 added the T-feature Type: feature label Sep 19, 2022
@rkrasiuk rkrasiuk added C-forge Command: forge Cmd-forge-script Command: forge script labels Sep 20, 2022
@rkrasiuk rkrasiuk self-assigned this Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-forge Command: forge Cmd-forge-script Command: forge script T-feature Type: feature
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants