Skip to content

Commit

Permalink
📸 Update gas-snapshot/lcov
Browse files Browse the repository at this point in the history
  • Loading branch information
JaredBorders committed Jan 6, 2024
1 parent f876d6c commit a77895d
Show file tree
Hide file tree
Showing 2 changed files with 354 additions and 342 deletions.
143 changes: 71 additions & 72 deletions .gas-snapshot
Original file line number Diff line number Diff line change
@@ -1,41 +1,40 @@
AccountDelegate:test_isAccountDelegate_account_doesnt_exist() (gas: 26743)
AccountDelegate:test_isAccountDelegate_false() (gas: 397522)
AccountDelegate:test_isAccountDelegate_true() (gas: 395492)
AccountDelegate:test_isAccountDelegate_zero_address_caller() (gas: 28007)
AccountOwner:test_isAccountOwner_account_doesnt_exist() (gas: 29956)
AccountOwner:test_isAccountOwner_false() (gas: 235147)
AccountOwner:test_isAccountOwner_true() (gas: 235137)
AccountOwner:test_isAccountOwner_zero_address_caller() (gas: 15655)
CanExecute:test_canExecute_false_insufficent_account_credit() (gas: 420873)
CanExecute:test_canExecute_false_invalid_signature() (gas: 455235)
CanExecute:test_canExecute_false_invalid_signer() (gas: 448226)
CanExecute:test_canExecute_false_maxExecutorFee_exceeded() (gas: 403715)
CanExecute:test_canExecute_false_nonce_used() (gas: 1028822)
CanExecute:test_canExecute_false_require_verify_condition_not_met() (gas: 538394)
CanExecute:test_canExecute_false_trusted_executor() (gas: 444510)
CanExecute:test_canExecute_true() (gas: 444127)
CommitOrder:test_commitOrder() (gas: 585317)
CommitOrder:test_commitOrder_Unauthorized() (gas: 37886)
CommitOrder:test_commitOrder_insufficient_collateral() (gas: 425911)
CommitOrder:test_commitOrder_invalid_market() (gas: 44570)
Conditions:test_isOrderFeeBelow() (gas: 154736)
AccountDelegate:test_isAccountDelegate_false() (gas: 397544)
AccountDelegate:test_isAccountDelegate_true() (gas: 395514)
AccountDelegate:test_isAccountDelegate_zero_address_caller() (gas: 28029)
AccountOwner:test_isAccountOwner_account_doesnt_exist() (gas: 29978)
AccountOwner:test_isAccountOwner_false() (gas: 235169)
AccountOwner:test_isAccountOwner_true() (gas: 235159)
AccountOwner:test_isAccountOwner_zero_address_caller() (gas: 15677)
CanExecute:test_canExecute_false_insufficent_account_credit() (gas: 420895)
CanExecute:test_canExecute_false_invalid_signature() (gas: 455279)
CanExecute:test_canExecute_false_invalid_signer() (gas: 448270)
CanExecute:test_canExecute_false_maxExecutorFee_exceeded() (gas: 403759)
CanExecute:test_canExecute_false_nonce_used() (gas: 1028844)
CanExecute:test_canExecute_false_require_verify_condition_not_met() (gas: 538438)
CanExecute:test_canExecute_false_trusted_executor() (gas: 444532)
CanExecute:test_canExecute_true() (gas: 444149)
CommitOrder:test_commitOrder() (gas: 585339)
CommitOrder:test_commitOrder_Unauthorized() (gas: 37908)
CommitOrder:test_commitOrder_insufficient_collateral() (gas: 425933)
CommitOrder:test_commitOrder_invalid_market() (gas: 44592)
Conditions:test_isOrderFeeBelow() (gas: 154802)
Conditions:test_isPositionSizeAbove() (gas: 24623)
Conditions:test_isPositionSizeBelow() (gas: 24532)
Conditions:test_isPriceAbove() (gas: 175902)
Conditions:test_isPriceBelow() (gas: 175911)
Conditions:test_isTimestampAfter() (gas: 13222)
Conditions:test_isPriceAbove() (gas: 175726)
Conditions:test_isPriceBelow() (gas: 175643)
Conditions:test_isTimestampAfter() (gas: 13288)
Conditions:test_isTimestampBefore() (gas: 13310)
Credit:test_credit(uint256) (runs: 256, μ: 108122, ~: 117896)
Credit:test_credit_AccountDoesNotExist() (gas: 32903)
Credit:test_credit_event() (gas: 102432)
Debit:test_debit(uint256) (runs: 256, μ: 138566, ~: 148572)
Debit:test_debit_InsufficientBalance() (gas: 125707)
Debit:test_debit_Unauthorized() (gas: 125756)
Debit:test_debit_event() (gas: 106793)
DeploymentTest:test_deploy() (gas: 4507664)
DeploymentTest:test_deploy_perps_market_proxy_zero_address() (gas: 58569)
DeploymentTest:test_deploy_spot_market_proxy_zero_address() (gas: 55972)
DeploymentTest:test_deploy_susd_proxy_zero_address() (gas: 55959)
Credit:test_credit(uint256) (runs: 256, μ: 94026, ~: 103617)
Credit:test_credit_event() (gas: 88153)
Debit:test_debit(uint256) (runs: 256, μ: 135804, ~: 145727)
Debit:test_debit_InsufficientBalance() (gas: 122862)
Debit:test_debit_Unauthorized() (gas: 122911)
Debit:test_debit_event() (gas: 104517)
DeploymentTest:test_deploy() (gas: 4562614)
DeploymentTest:test_deploy_perps_market_proxy_zero_address() (gas: 58650)
DeploymentTest:test_deploy_spot_market_proxy_zero_address() (gas: 56053)
DeploymentTest:test_deploy_susd_proxy_zero_address() (gas: 56040)
DepositCollateral:test_depositCollateral() (gas: 433746)
DepositCollateral:test_depositCollateral_availableMargin() (gas: 437913)
DepositCollateral:test_depositCollateral_collateralAmount() (gas: 433866)
Expand All @@ -49,17 +48,17 @@ EIP712Test:test_constructor() (gas: 164)
EIP712Test:test_domainNameAndVersion() (gas: 1261)
EIP712Test:test_eip712Domain() (gas: 187)
EIP712Test:test_hashTypedData() (gas: 187)
Execute:test_execute_CannotExecuteOrder_invalid_acceptablePrice() (gas: 322429)
Execute:test_execute_CannotExecuteOrder_invalid_settlementStrategyId() (gas: 103642)
Execute:test_execute_CannotExecuteOrder_too_leveraged() (gas: 469075)
Execute:test_execute_event() (gas: 635760)
Execute:test_execute_order_committed() (gas: 632327)
Fee:test_fee_exceeds_account_credit() (gas: 139299)
Fee:test_fee_exceeds_maxExecutorFee() (gas: 138861)
Fee:test_fee_imposed() (gas: 722628)
FulfillOracleQuery:test_fulfillOracleQuery(bytes) (runs: 256, μ: 31345, ~: 31337)
FulfillOracleQuery:test_fulfillOracleQuery_refund(bytes) (runs: 256, μ: 40368, ~: 40360)
FulfillOracleQuery:test_fulfillOracleQuery_revert(bytes) (runs: 256, μ: 32992, ~: 32984)
Execute:test_execute_CannotExecuteOrder_invalid_acceptablePrice() (gas: 322451)
Execute:test_execute_CannotExecuteOrder_invalid_settlementStrategyId() (gas: 103664)
Execute:test_execute_CannotExecuteOrder_too_leveraged() (gas: 469097)
Execute:test_execute_event() (gas: 635782)
Execute:test_execute_order_committed() (gas: 632349)
Fee:test_fee_exceeds_account_credit() (gas: 125042)
Fee:test_fee_exceeds_maxExecutorFee() (gas: 124604)
Fee:test_fee_imposed() (gas: 719871)
FulfillOracleQuery:test_fulfillOracleQuery(bytes) (runs: 256, μ: 31280, ~: 31272)
FulfillOracleQuery:test_fulfillOracleQuery_refund(bytes) (runs: 256, μ: 40303, ~: 40295)
FulfillOracleQuery:test_fulfillOracleQuery_revert(bytes) (runs: 256, μ: 32927, ~: 32919)
MathLibTest:test_abs128() (gas: 448)
MathLibTest:test_abs256() (gas: 458)
MathLibTest:test_fuzz_abs128(int128) (runs: 256, μ: 578, ~: 603)
Expand All @@ -68,12 +67,12 @@ MathLibTest:test_fuzz_toInt256(uint256) (runs: 256, μ: 1054, ~: 438)
MathLibTest:test_isSameSign() (gas: 999)
MathLibTest:test_toInt256() (gas: 3347)
MathLibTest:test_toInt256_overflow() (gas: 3251)
MockUpgrade:test_upgrade() (gas: 4531858)
MockUpgrade:test_upgrade_credit_state(uint256) (runs: 256, μ: 4624658, ~: 4624658)
MockUpgrade:test_upgrade_nonce_state(uint256) (runs: 256, μ: 4565599, ~: 4565599)
MockUpgrade:test_upgrade_only_pDAO() (gas: 4517003)
MulticallFulfillOracleQuery:test_fulfillOracleQuery_multicall(bytes) (runs: 256, μ: 34629, ~: 34564)
MulticallFulfillOracleQuery:test_fulfillOracleQuery_multicall_double_spend(bytes) (runs: 256, μ: 47723, ~: 47597)
MockUpgrade:test_upgrade() (gas: 4586818)
MockUpgrade:test_upgrade_credit_state(uint256) (runs: 256, μ: 4665339, ~: 4665339)
MockUpgrade:test_upgrade_nonce_state(uint256) (runs: 256, μ: 4620625, ~: 4620625)
MockUpgrade:test_upgrade_only_pDAO() (gas: 4571918)
MulticallFulfillOracleQuery:test_fulfillOracleQuery_multicall(bytes) (runs: 256, μ: 34586, ~: 34521)
MulticallFulfillOracleQuery:test_fulfillOracleQuery_multicall_double_spend(bytes) (runs: 256, μ: 47615, ~: 47489)
MulticallablePayableTest:testMulticallableBenchmark() (gas: 29229)
MulticallablePayableTest:testMulticallableOriginalBenchmark() (gas: 38407)
MulticallablePayableTest:testMulticallablePreservesMsgSender() (gas: 11065)
Expand All @@ -85,28 +84,28 @@ MulticallablePayableTest:testMulticallableRevertWithMessage() (gas: 13406)
MulticallablePayableTest:testMulticallableRevertWithMessage(string) (runs: 256, μ: 14013, ~: 13861)
MulticallablePayableTest:testMulticallableRevertWithNothing() (gas: 11633)
MulticallablePayableTest:testMulticallableWithNoData() (gas: 6266)
NonceBitmapTest:test_fuzz_invalidateUnorderedNonces(uint256) (runs: 256, μ: 58021, ~: 58021)
NonceBitmapTest:test_hasUnorderedNonceBeenUsed() (gas: 59750)
NonceBitmapTest:test_invalidateUnorderedNonces() (gas: 83097)
NonceBitmapTest:test_invalidateUnorderedNonces_Only_Owner_Delegate() (gas: 196511)
NonceBitmapTest:test_invalidateUnorderedNonces_Unauthorized() (gas: 35551)
NonceBitmapTest:test_invalidateUnorderedNonces_event() (gas: 58299)
ReduceOnly:test_reduce_only() (gas: 634049)
ReduceOnly:test_reduce_only_same_sign() (gas: 77843)
ReduceOnly:test_reduce_only_truncate_size_down() (gas: 634189)
ReduceOnly:test_reduce_only_truncate_size_up() (gas: 614734)
ReduceOnly:test_reduce_only_when_position_doesnt_exist() (gas: 166297)
ReduceOnly:test_reduce_only_zero_size_delta() (gas: 166331)
RemoveUpgradability:test_removeUpgradability() (gas: 4502323)
NonceBitmapTest:test_fuzz_invalidateUnorderedNonces(uint256) (runs: 256, μ: 58065, ~: 58065)
NonceBitmapTest:test_hasUnorderedNonceBeenUsed() (gas: 59816)
NonceBitmapTest:test_invalidateUnorderedNonces() (gas: 83141)
NonceBitmapTest:test_invalidateUnorderedNonces_Only_Owner_Delegate() (gas: 196599)
NonceBitmapTest:test_invalidateUnorderedNonces_Unauthorized() (gas: 35573)
NonceBitmapTest:test_invalidateUnorderedNonces_event() (gas: 58321)
ReduceOnly:test_reduce_only() (gas: 634071)
ReduceOnly:test_reduce_only_same_sign() (gas: 77865)
ReduceOnly:test_reduce_only_truncate_size_down() (gas: 634211)
ReduceOnly:test_reduce_only_truncate_size_up() (gas: 614756)
ReduceOnly:test_reduce_only_when_position_doesnt_exist() (gas: 166319)
ReduceOnly:test_reduce_only_zero_size_delta() (gas: 166353)
RemoveUpgradability:test_removeUpgradability() (gas: 4557239)
SignatureCheckerLibTest:test_isValidSignatureNowCalldata(address,bytes32,bytes) (runs: 256, μ: 3487, ~: 3474)
VerifyConditions:test_max_condition_size_exceeded() (gas: 51295)
VerifyConditions:test_verifyConditions_InvalidConditionSelector() (gas: 19063)
VerifyConditions:test_verify_conditions_not_verified() (gas: 127946)
VerifyConditions:test_verify_conditions_verified() (gas: 175726)
VerifySignature:test_verifySignature(uint256) (runs: 256, μ: 30169, ~: 30169)
VerifySignature:test_verifySignature_false_private_key() (gas: 32833)
VerifySigner:test_verifySigner() (gas: 30896)
VerifySigner:test_verifySigner_false() (gas: 33604)
VerifyConditions:test_max_condition_size_exceeded() (gas: 51317)
VerifyConditions:test_verifyConditions_InvalidConditionSelector() (gas: 19085)
VerifyConditions:test_verify_conditions_not_verified() (gas: 127879)
VerifyConditions:test_verify_conditions_verified() (gas: 175681)
VerifySignature:test_verifySignature(uint256) (runs: 256, μ: 30191, ~: 30191)
VerifySignature:test_verifySignature_false_private_key() (gas: 32855)
VerifySigner:test_verifySigner() (gas: 30918)
VerifySigner:test_verifySigner_false() (gas: 33626)
WithdrawCollateral:test_withdrawCollateral() (gas: 539651)
WithdrawCollateral:test_withdrawCollateral_insufficient_account_collateral_balance() (gas: 445868)
WithdrawCollateral:test_withdrawCollateral_zap() (gas: 936156)
Expand Down
Loading

0 comments on commit a77895d

Please sign in to comment.