forked from defi-wonderland/opUSDC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gas-snapshot
131 lines (131 loc) · 13 KB
/
.gas-snapshot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
FallbackProxyAdmin_Unit_ChangeAdmin:test_changeAdmin(address) (runs: 1000, μ: 17739, ~: 17739)
FallbackProxyAdmin_Unit_ChangeAdmin:test_revertIfNotOwner(address) (runs: 1000, μ: 14093, ~: 14093)
FallbackProxyAdmin_Unit_UpgradeTo:test_revertIfNotOwner(address) (runs: 1000, μ: 14050, ~: 14050)
FallbackProxyAdmin_Unit_UpgradeTo:test_upgradeTo(address) (runs: 1000, μ: 17149, ~: 17149)
FallbackProxyAdmin_Unit_UpgradeToAndCall:test_revertIfNotOwner(address,bytes) (runs: 1000, μ: 14982, ~: 14929)
FallbackProxyAdmin_Unit_UpgradeToAndCall:test_upgradeToAndCall(address,bytes) (runs: 1000, μ: 19215, ~: 19011)
ForTestOpUSDCBridgeAdapter_Unit_ReceiveMessage:test_doNothing() (gas: 5596)
IntegrationSetup:testSetup() (gas: 19549)
Integration_Bridging:test_bridgeFromL1() (gas: 254329)
Integration_Bridging:test_bridgeFromL1DifferentTarget() (gas: 259906)
Integration_Bridging:test_bridgeFromL1WithIncorrectSignature() (gas: 110080)
Integration_Bridging:test_bridgeFromL1WithSig() (gas: 322124)
Integration_Bridging:test_bridgeFromL2() (gas: 425118)
Integration_Bridging:test_bridgeFromL2DifferentTarget() (gas: 434536)
Integration_Bridging:test_bridgeFromL2WithIncorrectSignature() (gas: 145457)
Integration_Bridging:test_bridgeFromL2WithSig() (gas: 475591)
Integration_Integration_PermissionedFlows:test_stopAndResumeMessaging() (gas: 211488)
Integration_Migration:test_migrationToNativeUSDC() (gas: 531921)
Integration_PermissionedUsdcFlows:test_UpdateBlacklister() (gas: 40018)
Integration_PermissionedUsdcFlows:test_UpdateMasterMinter() (gas: 40030)
Integration_PermissionedUsdcFlows:test_UpdatePauser() (gas: 39989)
Integration_PermissionedUsdcFlows:test_UpdateRescuer() (gas: 57061)
Integration_PermissionedUsdcFlows:test_UpgradeTo() (gas: 39720)
Integration_PermissionedUsdcFlows:test_UpgradeToAndCall() (gas: 51683)
L1OpUSDCBridgeAdapter_Unit_BurnLockedUSDC:test_burnAmountNotSet(address) (runs: 1000, μ: 32177, ~: 32177)
L1OpUSDCBridgeAdapter_Unit_BurnLockedUSDC:test_emitEvent(uint256,address) (runs: 1000, μ: 45690, ~: 45687)
L1OpUSDCBridgeAdapter_Unit_BurnLockedUSDC:test_expectedCall(uint256,address) (runs: 1000, μ: 45317, ~: 45314)
L1OpUSDCBridgeAdapter_Unit_BurnLockedUSDC:test_onlyCircle() (gas: 13391)
L1OpUSDCBridgeAdapter_Unit_BurnLockedUSDC:test_resetStorageValues(uint256,address) (runs: 1000, μ: 47714, ~: 47711)
L1OpUSDCBridgeAdapter_Unit_Constructor:test_constructorParams() (gas: 24804)
L1OpUSDCBridgeAdapter_Unit_MigrateToNative:test_StateOfMigration(address,uint32,uint32) (runs: 1000, μ: 48911, ~: 48911)
L1OpUSDCBridgeAdapter_Unit_MigrateToNative:test_emitEventMigrating(address,uint32,uint32) (runs: 1000, μ: 47012, ~: 47012)
L1OpUSDCBridgeAdapter_Unit_MigrateToNative:test_expectCall(address,uint32,uint32) (runs: 1000, μ: 46345, ~: 46345)
L1OpUSDCBridgeAdapter_Unit_MigrateToNative:test_onlyOwner(address,address,uint32,uint32) (runs: 1000, μ: 14833, ~: 14833)
L1OpUSDCBridgeAdapter_Unit_MigrateToNative:test_recallWhenUpgrading(address,uint32,uint32) (runs: 1000, μ: 48708, ~: 48708)
L1OpUSDCBridgeAdapter_Unit_MigrateToNative:test_revertIfMessengerNotActive(address,uint32,uint32) (runs: 1000, μ: 37609, ~: 37609)
L1OpUSDCBridgeAdapter_Unit_MigrateToNative:test_revertOnAddressZero(uint32,uint32) (runs: 1000, μ: 14101, ~: 14101)
L1OpUSDCBridgeAdapter_Unit_ReceiveMessage:test_emitEvent(uint256) (runs: 1000, μ: 25745, ~: 25745)
L1OpUSDCBridgeAdapter_Unit_ReceiveMessage:test_revertIfLinkedAdapterDidntSendTheMessage(uint256,address) (runs: 1000, μ: 17737, ~: 17737)
L1OpUSDCBridgeAdapter_Unit_ReceiveMessage:test_revertIfNotMessenger(uint256) (runs: 1000, μ: 11282, ~: 11282)
L1OpUSDCBridgeAdapter_Unit_ReceiveMessage:test_sendTokens(uint256) (runs: 1000, μ: 24342, ~: 24342)
L1OpUSDCBridgeAdapter_Unit_ResumeMessaging:test_RevertIfBridgingIsNotPaused(uint32) (runs: 1000, μ: 15466, ~: 15466)
L1OpUSDCBridgeAdapter_Unit_ResumeMessaging:test_emitEvent(uint32) (runs: 1000, μ: 32747, ~: 32748)
L1OpUSDCBridgeAdapter_Unit_ResumeMessaging:test_onlyOwner(address,uint32) (runs: 1000, μ: 14364, ~: 14364)
L1OpUSDCBridgeAdapter_Unit_ResumeMessaging:test_setMessengerStatusToActive(uint32) (runs: 1000, μ: 32400, ~: 32401)
L1OpUSDCBridgeAdapter_Unit_SendMessage:test_emitEvent(address,uint256,uint32) (runs: 1000, μ: 31093, ~: 31093)
L1OpUSDCBridgeAdapter_Unit_SendMessage:test_expectedCall(address,uint256,uint32) (runs: 1000, μ: 30415, ~: 30415)
L1OpUSDCBridgeAdapter_Unit_SendMessage:test_revertOnMessengerNotActive(address,uint256,uint32) (runs: 1000, μ: 34584, ~: 34584)
L1OpUSDCBridgeAdapter_Unit_SendMessageWithSignature:test_emitEvent(address,uint256,uint256,uint32) (runs: 1000, μ: 67148, ~: 67148)
L1OpUSDCBridgeAdapter_Unit_SendMessageWithSignature:test_expectedCall(address,uint256,uint256,uint32) (runs: 1000, μ: 66521, ~: 66521)
L1OpUSDCBridgeAdapter_Unit_SendMessageWithSignature:test_invalidSignature(address,uint256,uint256,uint32) (runs: 1000, μ: 53150, ~: 53150)
L1OpUSDCBridgeAdapter_Unit_SendMessageWithSignature:test_nonceIncrement(address,uint256,uint256,uint32) (runs: 1000, μ: 66412, ~: 66412)
L1OpUSDCBridgeAdapter_Unit_SendMessageWithSignature:test_revertOnExpiredMessage(address,uint256,bytes,uint256,uint256,uint32) (runs: 1000, μ: 17670, ~: 17623)
L1OpUSDCBridgeAdapter_Unit_SendMessageWithSignature:test_revertOnMessengerNotActive(address,uint256,bytes,uint256,uint32) (runs: 1000, μ: 37985, ~: 37942)
L1OpUSDCBridgeAdapter_Unit_SetBurnAmount:test_emitEvent(uint256) (runs: 1000, μ: 62436, ~: 62675)
L1OpUSDCBridgeAdapter_Unit_SetBurnAmount:test_revertIfLinkedAdapterDidntSendTheMessage(uint256,address) (runs: 1000, μ: 15430, ~: 15430)
L1OpUSDCBridgeAdapter_Unit_SetBurnAmount:test_revertIfMessengerDidntSendTheMessage(uint256,address) (runs: 1000, μ: 11579, ~: 11579)
L1OpUSDCBridgeAdapter_Unit_SetBurnAmount:test_revertIfMessengerStatusIsNotUpgrading(uint256,uint256) (runs: 1000, μ: 33266, ~: 42693)
L1OpUSDCBridgeAdapter_Unit_SetBurnAmount:test_setAmount(uint256) (runs: 1000, μ: 62690, ~: 62929)
L1OpUSDCBridgeAdapter_Unit_SetBurnAmount:test_setStatus(uint256) (runs: 1000, μ: 62737, ~: 62976)
L1OpUSDCBridgeAdapter_Unit_StopMessaging:test_emitEvent(uint32) (runs: 1000, μ: 45093, ~: 45093)
L1OpUSDCBridgeAdapter_Unit_StopMessaging:test_onlyOwner(address) (runs: 1000, μ: 14342, ~: 14342)
L1OpUSDCBridgeAdapter_Unit_StopMessaging:test_revertIfMessagingIsAlreadyPaused(uint32) (runs: 1000, μ: 36597, ~: 36597)
L1OpUSDCBridgeAdapter_Unit_StopMessaging:test_setMessengerStatusToPaused(uint32) (runs: 1000, μ: 46439, ~: 46439)
L1OpUSDCFactory_Unit_Constructor:test_setImmutables() (gas: 11041)
L1OpUSDCFactory_Unit_Deploy:test_callUsdcCurrency() (gas: 1582190)
L1OpUSDCFactory_Unit_Deploy:test_callUsdcDecimals() (gas: 1582124)
L1OpUSDCFactory_Unit_Deploy:test_deployL1Adapter() (gas: 1646390)
L1OpUSDCFactory_Unit_Deploy:test_emitEvent() (gas: 1582194)
L1OpUSDCFactory_Unit_Deploy:test_incrementSalt() (gas: 1583932)
L1OpUSDCFactory_Unit_Deploy:test_returnAdapters() (gas: 1639002)
L1OpUSDCFactory_Unit_Deploy:test_revertOnInitializeTx() (gas: 84784)
L1OpUSDCFactory_Unit_Deploy:test_sendFactoryDeploymentMessage() (gas: 1743713)
L1OpUSDCFactory_Unit_PrecalculateCreate2Address:test_precalculateCreate2Address(bytes32,address) (runs: 1000, μ: 54980, ~: 54980)
L1OpUSDCFactory_Unit_PrecalculateCreateAddress:test_precalculateCreateAddress(address,uint256) (runs: 1000, μ: 59863, ~: 59591)
L2OpUSDCBridgeAdapter_Unit_CallUsdcTransaction:test_emitEvent(bytes) (runs: 1000, μ: 21180, ~: 21172)
L2OpUSDCBridgeAdapter_Unit_CallUsdcTransaction:test_expectedCall(bytes) (runs: 1000, μ: 20682, ~: 20583)
L2OpUSDCBridgeAdapter_Unit_CallUsdcTransaction:test_onlyOwner(address,bytes) (runs: 1000, μ: 14781, ~: 14779)
L2OpUSDCBridgeAdapter_Unit_CallUsdcTransaction:test_refevertoIfTxIsTransferOwnership(bytes) (runs: 1000, μ: 14689, ~: 14631)
L2OpUSDCBridgeAdapter_Unit_CallUsdcTransaction:test_revertIfTxIsChangeAdmin(bytes) (runs: 1000, μ: 14794, ~: 14736)
L2OpUSDCBridgeAdapter_Unit_CallUsdcTransaction:test_revertOnCallRevert(bytes) (runs: 1000, μ: 21237, ~: 21140)
L2OpUSDCBridgeAdapter_Unit_CallUsdcTransaction:test_upgradeTo(address) (runs: 1000, μ: 18258, ~: 18258)
L2OpUSDCBridgeAdapter_Unit_CallUsdcTransaction:test_upgradeToAndCall(address,bytes) (runs: 1000, μ: 20218, ~: 19998)
L2OpUSDCBridgeAdapter_Unit_CallUsdcTransaction:test_upgradeToAndCallRevert(address,bytes) (runs: 1000, μ: 21439, ~: 21262)
L2OpUSDCBridgeAdapter_Unit_CallUsdcTransaction:test_upgradeToRevert(address) (runs: 1000, μ: 19603, ~: 19603)
L2OpUSDCBridgeAdapter_Unit_Constructor:test_constructorParams() (gas: 24734)
L2OpUSDCBridgeAdapter_Unit_ReceiveMessage:test_emitEvent(uint256) (runs: 1000, μ: 24611, ~: 24611)
L2OpUSDCBridgeAdapter_Unit_ReceiveMessage:test_mintTokens(uint256) (runs: 1000, μ: 23273, ~: 23273)
L2OpUSDCBridgeAdapter_Unit_ReceiveMessage:test_revertIfLinkedAdapterDidntSendTheMessage(uint256,address) (runs: 1000, μ: 17718, ~: 17718)
L2OpUSDCBridgeAdapter_Unit_ReceiveMessage:test_revertIfNotMessenger(uint256) (runs: 1000, μ: 11260, ~: 11260)
L2OpUSDCBridgeAdapter_Unit_ReceiveMigrateToNative:test_emitEvent(address,uint32,uint256) (runs: 1000, μ: 56027, ~: 56027)
L2OpUSDCBridgeAdapter_Unit_ReceiveMigrateToNative:test_expectCall(address,uint32,uint256) (runs: 1000, μ: 57675, ~: 57675)
L2OpUSDCBridgeAdapter_Unit_ReceiveMigrateToNative:test_revertIfNotLinkedAdapter(address,uint32) (runs: 1000, μ: 15361, ~: 15361)
L2OpUSDCBridgeAdapter_Unit_ReceiveMigrateToNative:test_revertIfNotMessenger(address,uint32) (runs: 1000, μ: 11425, ~: 11425)
L2OpUSDCBridgeAdapter_Unit_ReceiveMigrateToNative:test_stateChange(address,uint32) (runs: 1000, μ: 59439, ~: 59439)
L2OpUSDCBridgeAdapter_Unit_ReceiveResumeMessaging:test_emitEvent() (gas: 19353)
L2OpUSDCBridgeAdapter_Unit_ReceiveResumeMessaging:test_setIsMessagingDisabledToFalse() (gas: 20249)
L2OpUSDCBridgeAdapter_Unit_ReceiveResumeMessaging:test_wrongLinkedAdapter() (gas: 15265)
L2OpUSDCBridgeAdapter_Unit_ReceiveResumeMessaging:test_wrongMessenger(address) (runs: 1000, μ: 11567, ~: 11567)
L2OpUSDCBridgeAdapter_Unit_ReceiveStopMessaging:test_emitEvent() (gas: 39228)
L2OpUSDCBridgeAdapter_Unit_ReceiveStopMessaging:test_setIsMessagingDisabledToTrue() (gas: 40190)
L2OpUSDCBridgeAdapter_Unit_ReceiveStopMessaging:test_wrongLinkedAdapter() (gas: 18989)
L2OpUSDCBridgeAdapter_Unit_ReceiveStopMessaging:test_wrongMessenger(address) (runs: 1000, μ: 15312, ~: 15312)
L2OpUSDCBridgeAdapter_Unit_SendMessage:test_emitEvent(address,uint256,uint32) (runs: 1000, μ: 30948, ~: 30948)
L2OpUSDCBridgeAdapter_Unit_SendMessage:test_expectedCall(address,uint256,uint32) (runs: 1000, μ: 32729, ~: 32729)
L2OpUSDCBridgeAdapter_Unit_SendMessage:test_revertOnMessagingDisabled(address,uint256,uint32) (runs: 1000, μ: 34256, ~: 34256)
L2OpUSDCBridgeAdapter_Unit_SendMessageWithSignature:test_emitEvent(address,uint256,uint256,uint32) (runs: 1000, μ: 68698, ~: 68698)
L2OpUSDCBridgeAdapter_Unit_SendMessageWithSignature:test_expectedCall(address,uint256,uint256,uint32) (runs: 1000, μ: 69016, ~: 69016)
L2OpUSDCBridgeAdapter_Unit_SendMessageWithSignature:test_invalidSignature(address,uint256,uint256,uint32) (runs: 1000, μ: 53054, ~: 53054)
L2OpUSDCBridgeAdapter_Unit_SendMessageWithSignature:test_nonceIncrement(address,uint256,uint256,uint32) (runs: 1000, μ: 67918, ~: 67918)
L2OpUSDCBridgeAdapter_Unit_SendMessageWithSignature:test_revertOnExpiredMessage(address,uint256,bytes,uint256,uint256,uint32) (runs: 1000, μ: 17618, ~: 17571)
L2OpUSDCBridgeAdapter_Unit_SendMessageWithSignature:test_revertOnMessengerNotActive(address,uint256,bytes,uint256,uint32) (runs: 1000, μ: 37675, ~: 37632)
L2OpUSDCDeploy_Unit_Constructor:test_callChangeAdminWithFallbackProxy() (gas: 2617614)
L2OpUSDCDeploy_Unit_Constructor:test_deployAdapter() (gas: 2626966)
L2OpUSDCDeploy_Unit_Constructor:test_deployUsdcImplementation() (gas: 2617585)
L2OpUSDCDeploy_Unit_Constructor:test_deployUsdcProxy() (gas: 2620287)
L2OpUSDCDeploy_Unit_Constructor:test_executeUsdcImplInitTxs() (gas: 2632056)
L2OpUSDCDeploy_Unit_Constructor:test_executeUsdcProxyInitTxs() (gas: 2632101)
L2OpUSDCDeploy_Unit_DeployCreate:test_deployCreate() (gas: 467261)
L2OpUSDCDeploy_Unit_DeployCreate:test_revertIfDeploymentFailed() (gas: 41318)
L2OpUSDCDeploy_Unit_ExecuteInitTxs:test_callConfigureMinter(address) (runs: 1000, μ: 27586, ~: 27586)
L2OpUSDCDeploy_Unit_ExecuteInitTxs:test_callInitialize(address) (runs: 1000, μ: 30082, ~: 30082)
L2OpUSDCDeploy_Unit_ExecuteInitTxs:test_callTransferOwnership(address) (runs: 1000, μ: 27463, ~: 27463)
L2OpUSDCDeploy_Unit_ExecuteInitTxs:test_callUpdateMasterMinter(address) (runs: 1000, μ: 27420, ~: 27420)
L2OpUSDCDeploy_Unit_ExecuteInitTxs:test_executeInitTxsArray(address) (runs: 1000, μ: 45148, ~: 45148)
L2OpUSDCDeploy_Unit_ExecuteInitTxs:test_revertIfInitTxsOnArrayFail(address) (runs: 1000, μ: 77139, ~: 77139)
OpUSDCBridgeAdapter_Unit_CheckSignature:test_invalidSignature(bytes,string) (runs: 1000, μ: 70125, ~: 70146)
OpUSDCBridgeAdapter_Unit_CheckSignature:test_validSignature(bytes) (runs: 1000, μ: 19615, ~: 19563)
OpUSDCBridgeAdapter_Unit_Constructor:test_constructorParams() (gas: 20858)
OpUSDCBridgeAdapter_Unit_SendMessage:test_doNothing() (gas: 5709)
OpUSDCBridgeAdapter_Unit_SendMessageWithSignature:test_doNothing() (gas: 6138)