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): always report deployment size in gas reports #9308

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

grandizzy
Copy link
Collaborator

@grandizzy grandizzy commented Nov 13, 2024

Motivation

Closes #9300
re #9301 (comment)

Solution

  • always add contract deployment size (should record sizes for for contracts created in nested calls as well)

@grandizzy grandizzy marked this pull request as ready for review November 13, 2024 09:56
Copy link
Member

@zerosnacks zerosnacks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix lgtm 👍

for future reference in regards to deployment cost 0: #9301 (comment) / #9301 (comment)

@grandizzy grandizzy merged commit 54ea38d into foundry-rs:master Nov 13, 2024
21 checks passed
@grandizzy grandizzy deleted the issue-9300 branch November 13, 2024 13:36
rplusq pushed a commit to rplusq/foundry that referenced this pull request Nov 29, 2024
@grandizzy grandizzy added T-bug Type: bug C-forge Command: forge labels Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-forge Command: forge T-bug Type: bug
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

gas report reports 0 size and gas for factory deployed contracts
3 participants