Skip to content

Conversation

guidanoli
Copy link
Collaborator

This PR also bumps cannon and foundry to their latest stable versions.

@guidanoli
Copy link
Collaborator Author

guidanoli commented May 28, 2025

Gas report diff

This report was generated by gasdiff 0.4.0

Application

Metric Before After Difference
Deployment gas 1002625 921648 -80977 (-8.1%)
Deployment size 4699 4042 -657 (-14.0%)
executeOutput min 81786 (25) 22928 (25) -58858 (-72.0%)
executeOutput mean 111051 (25) 51509 (25) -59542 (-53.6%)
executeOutput median 92269 (25) 31751 (25) -60518 (-65.6%)
executeOutput max 329721 (25) 267798 (25) -61923 (-18.8%)
getDataAvailability min 3016 (256) 1981 (256) -1035 (-34.3%)
getDataAvailability mean 6195 (256) 2016 (256) -4179 (-67.5%)
getDataAvailability median 5208 (256) 2002 (256) -3206 (-61.6%)
getDataAvailability max 11748 (256) 2066 (256) -9682 (-82.4%)
getOutputsMerkleRootValidator min 2460 (512) 2482 (512) +22 (0.9%)
getOutputsMerkleRootValidator mean 2460 (512) 2482 (512) +22 (0.9%)
getOutputsMerkleRootValidator median 2460 (512) 2482 (512) +22 (0.9%)
getOutputsMerkleRootValidator max 2460 (512) 2482 (512) +22 (0.9%)
getTemplateHash min 245 (256) 1664 (256) +1419 (579.2%)
getTemplateHash mean 245 (256) 1689 (256) +1444 (589.4%)
getTemplateHash median 245 (256) 1679 (256) +1434 (585.3%)
getTemplateHash max 245 (256) 1725 (256) +1480 (604.1%)
migrateToOutputsMerkleRootValidator min 23822 (512) 2653 (512) -21169 (-88.9%)
migrateToOutputsMerkleRootValidator mean 27005 (512) 5693 (512) -21312 (-78.9%)
migrateToOutputsMerkleRootValidator median 24582 (512) 5693 (512) -18889 (-76.8%)
migrateToOutputsMerkleRootValidator max 30142 (512) 8733 (512) -21409 (-71.0%)
owner min 2437 (1537) 2460 (1537) +23 (0.9%)
owner mean 2437 (1537) 2460 (1537) +23 (0.9%)
owner median 2437 (1537) 2460 (1537) +23 (0.9%)
owner max 2437 (1537) 2460 (1537) +23 (0.9%)
renounceOwnership min 23228 (256) 6996 (256) -16232 (-69.9%)
renounceOwnership mean 23228 (256) 6996 (256) -16232 (-69.9%)
renounceOwnership median 23228 (256) 6996 (256) -16232 (-69.9%)
renounceOwnership max 23228 (256) 6996 (256) -16232 (-69.9%)
transferOwnership min 23915 (1025) 2737 (1025) -21178 (-88.6%)
transferOwnership mean 25258 (1025) 3898 (1025) -21360 (-84.6%)
transferOwnership median 24143 (1025) 2737 (1025) -21406 (-88.7%)
transferOwnership max 28729 (1025) 7388 (1025) -21341 (-74.3%)
validateOutput min 1392 (12) 1414 (12) +22 (1.6%)
validateOutput mean 20901 (12) 20923 (12) +22 (0.1%)
validateOutput median 22648 (12) 22670 (12) +22 (0.1%)
validateOutput max 22921 (12) 22943 (12) +22 (0.1%)
wasOutputExecuted min 2511 (263) 2533 (263) +22 (0.9%)
wasOutputExecuted mean 2511 (263) 2533 (263) +22 (0.9%)
wasOutputExecuted median 2511 (263) 2533 (263) +22 (0.9%)
wasOutputExecuted max 2511 (263) 2533 (263) +22 (0.9%)

ApplicationFactory

Metric Before After Difference
Deployment gas 1239371 414720 -824651 (-66.5%)
Deployment size 5515 1821 -3694 (-67.0%)
calculateApplicationAddress min 4200 (256) 2334 (256) -1866 (-44.4%)
calculateApplicationAddress mean 4233 (256) 2374 (256) -1859 (-43.9%)
calculateApplicationAddress median 4220 (256) 2358 (256) -1862 (-44.1%)
calculateApplicationAddress max 4281 (256) 2432 (256) -1849 (-43.2%)
newApplication(address,address,bytes32,bytes) min 892578 (256) 96427 (280) -796151 (-89.2%)
newApplication(address,address,bytes32,bytes) mean 925010 (256) 198609 (280) -726401 (-78.5%)
newApplication(address,address,bytes32,bytes) median 914909 (256) 194676 (280) -720233 (-78.7%)
newApplication(address,address,bytes32,bytes) max 983748 (256) 215996 (280) -767752 (-78.0%)
newApplication(address,address,bytes32,bytes,bytes32) min 873612 (256) 174434 (256) -699178 (-80.0%)
newApplication(address,address,bytes32,bytes,bytes32) mean 925075 (256) 199810 (256) -725265 (-78.4%)
newApplication(address,address,bytes32,bytes,bytes32) median 915934 (256) 195570 (256) -720364 (-78.6%)
newApplication(address,address,bytes32,bytes,bytes32) max 985163 (256) 216950 (256) -768213 (-78.0%)

SelfHostedApplicationFactory

Metric Before After Difference
calculateAddresses min 12914 (256) 11048 (256) -1866 (-14.4%)
calculateAddresses mean 12956 (256) 11096 (256) -1860 (-14.4%)
calculateAddresses median 12940 (256) 11078 (256) -1862 (-14.4%)
calculateAddresses max 13016 (256) 11167 (256) -1849 (-14.2%)
deployContracts mean 422667 (1024) 253466 (1024) -169201 (-40.0%)
deployContracts median 205746 (1024) 228367 (1024) +22621 (11.0%)
deployContracts max 1277653 (1024) 509440 (1024) -768213 (-60.1%)

Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​usecannon/​cli@​2.22.0 ⏵ 2.23.088 +110084 +196 +370

View full report

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

Successfully merging this pull request may close these issues.

1 participant