@@ -2460,35 +2460,35 @@ contract GasReportFallbackTest is Test {
24602460Ran 1 test for test/DelegateProxyTest.sol:GasReportFallbackTest
24612461[PASS] test_fallback_gas_report() ([GAS])
24622462Traces:
2463- [331067 ] GasReportFallbackTest::test_fallback_gas_report()
2464- ├─ [106511 ] → new ProxiedContract@[..]
2465- │ └─ ← [Return] 246 bytes of code
2466- ├─ [108698 ] → new DelegateProxy@[..]
2467- │ └─ ← [Return] 143 bytes of code
2468- ├─ [29396 ] DelegateProxy::fallback(100)
2469- │ ├─ [3320 ] ProxiedContract::deposit(100) [delegatecall]
2463+ [327404 ] GasReportFallbackTest::test_fallback_gas_report()
2464+ ├─ [104475 ] → new ProxiedContract@[..]
2465+ │ └─ ← [Return] 236 bytes of code
2466+ ├─ [107054 ] → new DelegateProxy@[..]
2467+ │ └─ ← [Return] 135 bytes of code
2468+ ├─ [29384 ] DelegateProxy::fallback(100)
2469+ │ ├─ [3316 ] ProxiedContract::deposit(100) [delegatecall]
24702470 │ │ └─ ← [Stop]
24712471 │ └─ ← [Return]
2472- ├─ [21160 ] DelegateProxy::deposit()
2472+ ├─ [21159 ] DelegateProxy::deposit()
24732473 │ └─ ← [Stop]
24742474 └─ ← [Stop]
24752475
24762476Suite result: ok. 1 passed; 0 failed; 0 skipped; [ELAPSED]
24772477| test/DelegateProxyTest.sol:DelegateProxy contract | | | | | |
24782478|---------------------------------------------------|-----------------|-------|--------|-------|---------|
24792479| Deployment Cost | Deployment Size | | | | |
2480- | 108698 | 315 | | | | |
2480+ | 107054 | 300 | | | | |
24812481| Function Name | min | avg | median | max | # calls |
2482- | deposit | 21160 | 21160 | 21160 | 21160 | 1 |
2483- | fallback | 29396 | 29396 | 29396 | 29396 | 1 |
2482+ | deposit | 21159 | 21159 | 21159 | 21159 | 1 |
2483+ | fallback | 29384 | 29384 | 29384 | 29384 | 1 |
24842484
24852485
24862486| test/DelegateProxyTest.sol:ProxiedContract contract | | | | | |
24872487|-----------------------------------------------------|-----------------|------|--------|------|---------|
24882488| Deployment Cost | Deployment Size | | | | |
2489- | 106511 | 276 | | | | |
2489+ | 104475 | 263 | | | | |
24902490| Function Name | min | avg | median | max | # calls |
2491- | deposit | 3320 | 3320 | 3320 | 3320 | 1 |
2491+ | deposit | 3316 | 3316 | 3316 | 3316 | 1 |
24922492...
24932493
24942494"# ] ] ) ;
@@ -2502,39 +2502,39 @@ Suite result: ok. 1 passed; 0 failed; 0 skipped; [ELAPSED]
25022502 {
25032503 "contract": "test/DelegateProxyTest.sol:DelegateProxy",
25042504 "deployment": {
2505- "gas": 108698 ,
2506- "size": 315
2505+ "gas": 107054 ,
2506+ "size": 300
25072507 },
25082508 "functions": {
25092509 "deposit()": {
25102510 "calls": 1,
2511- "min": 21160 ,
2512- "mean": 21160 ,
2513- "median": 21160 ,
2514- "max": 21160
2511+ "min": 21159 ,
2512+ "mean": 21159 ,
2513+ "median": 21159 ,
2514+ "max": 21159
25152515 },
25162516 "fallback()": {
25172517 "calls": 1,
2518- "min": 29396 ,
2519- "mean": 29396 ,
2520- "median": 29396 ,
2521- "max": 29396
2518+ "min": 29384 ,
2519+ "mean": 29384 ,
2520+ "median": 29384 ,
2521+ "max": 29384
25222522 }
25232523 }
25242524 },
25252525 {
25262526 "contract": "test/DelegateProxyTest.sol:ProxiedContract",
25272527 "deployment": {
2528- "gas": 106511 ,
2529- "size": 276
2528+ "gas": 104475 ,
2529+ "size": 263
25302530 },
25312531 "functions": {
25322532 "deposit(uint256)": {
25332533 "calls": 1,
2534- "min": 3320 ,
2535- "mean": 3320 ,
2536- "median": 3320 ,
2537- "max": 3320
2534+ "min": 3316 ,
2535+ "mean": 3316 ,
2536+ "median": 3316 ,
2537+ "max": 3316
25382538 }
25392539 }
25402540 }
@@ -2588,25 +2588,25 @@ Suite result: ok. 1 passed; 0 failed; 0 skipped; [ELAPSED]
25882588| test/NestedDeployTest.sol:AnotherChild contract | | | | | |
25892589|-------------------------------------------------|-----------------|-------|--------|-------|---------|
25902590| Deployment Cost | Deployment Size | | | | |
2591- | 0 | 130 | | | | |
2591+ | 0 | 124 | | | | |
25922592| Function Name | min | avg | median | max | # calls |
2593- | w | 21162 | 21162 | 21162 | 21162 | 1 |
2593+ | w | 21161 | 21161 | 21161 | 21161 | 1 |
25942594
25952595
25962596| test/NestedDeployTest.sol:Child contract | | | | | |
25972597|------------------------------------------|-----------------|-----|--------|-----|---------|
25982598| Deployment Cost | Deployment Size | | | | |
2599- | 0 | 498 | | | | |
2599+ | 0 | 477 | | | | |
26002600| Function Name | min | avg | median | max | # calls |
2601- | child | 325 | 325 | 325 | 325 | 1 |
2601+ | child | 323 | 323 | 323 | 323 | 1 |
26022602
26032603
26042604| test/NestedDeployTest.sol:Parent contract | | | | | |
26052605|-------------------------------------------|-----------------|-----|--------|-----|---------|
26062606| Deployment Cost | Deployment Size | | | | |
2607- | 254857 | 770 | | | | |
2607+ | 251997 | 739 | | | | |
26082608| Function Name | min | avg | median | max | # calls |
2609- | child | 182 | 182 | 182 | 182 | 1 |
2609+ | child | 181 | 181 | 181 | 181 | 1 |
26102610...
26112611"# ] ] ) ;
26122612
@@ -2620,47 +2620,47 @@ Suite result: ok. 1 passed; 0 failed; 0 skipped; [ELAPSED]
26202620 "contract": "test/NestedDeployTest.sol:AnotherChild",
26212621 "deployment": {
26222622 "gas": 0,
2623- "size": 130
2623+ "size": 124
26242624 },
26252625 "functions": {
26262626 "w()": {
26272627 "calls": 1,
2628- "min": 21162 ,
2629- "mean": 21162 ,
2630- "median": 21162 ,
2631- "max": 21162
2628+ "min": 21161 ,
2629+ "mean": 21161 ,
2630+ "median": 21161 ,
2631+ "max": 21161
26322632 }
26332633 }
26342634 },
26352635 {
26362636 "contract": "test/NestedDeployTest.sol:Child",
26372637 "deployment": {
26382638 "gas": 0,
2639- "size": 498
2639+ "size": 477
26402640 },
26412641 "functions": {
26422642 "child()": {
26432643 "calls": 1,
2644- "min": 325 ,
2645- "mean": 325 ,
2646- "median": 325 ,
2647- "max": 325
2644+ "min": 323 ,
2645+ "mean": 323 ,
2646+ "median": 323 ,
2647+ "max": 323
26482648 }
26492649 }
26502650 },
26512651 {
26522652 "contract": "test/NestedDeployTest.sol:Parent",
26532653 "deployment": {
2654- "gas": 254857 ,
2655- "size": 770
2654+ "gas": 251997 ,
2655+ "size": 739
26562656 },
26572657 "functions": {
26582658 "child()": {
26592659 "calls": 1,
2660- "min": 182 ,
2661- "mean": 182 ,
2662- "median": 182 ,
2663- "max": 182
2660+ "min": 181 ,
2661+ "mean": 181 ,
2662+ "median": 181 ,
2663+ "max": 181
26642664 }
26652665 }
26662666 }
@@ -2982,10 +2982,10 @@ Compiler run successful!
29822982 str ![ [ r#"
29832983{
29842984 "Counter": {
2985- "runtime_size": 247 ,
2986- "init_size": 277 ,
2987- "runtime_margin": 24329 ,
2988- "init_margin": 48875
2985+ "runtime_size": 236 ,
2986+ "init_size": 263 ,
2987+ "runtime_margin": 24340 ,
2988+ "init_margin": 48889
29892989 }
29902990}
29912991"# ] ]
0 commit comments