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 Dec 15, 2023
1 parent 4fc8dad commit 1e6141a
Show file tree
Hide file tree
Showing 2 changed files with 383 additions and 421 deletions.
173 changes: 81 additions & 92 deletions .gas-snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -2,104 +2,93 @@ AccountDelegate:test_isAccountDelegate_account_doesnt_exist() (gas: 26492)
AccountDelegate:test_isAccountDelegate_false() (gas: 391995)
AccountDelegate:test_isAccountDelegate_true() (gas: 389942)
AccountDelegate:test_isAccountDelegate_zero_address_caller() (gas: 23159)
AccountOwner:test_isAccountOwner_account_doesnt_exist() (gas: 25088)
AccountOwner:test_isAccountOwner_false() (gas: 229890)
AccountOwner:test_isAccountOwner_true() (gas: 229880)
AccountOwner:test_isAccountOwner_zero_address_caller() (gas: 10829)
Aggregate:test_aggregate_EIP7412Mock(bytes) (runs: 256, μ: 46915, ~: 46810)
Aggregate:test_aggregate_EIP7412MockRefund(bytes) (runs: 256, μ: 53026, ~: 52923)
Aggregate:test_aggregate_EIP7412MockRevert(bytes) (runs: 256, μ: 46046, ~: 45943)
Aggregate:test_aggregate_EIP7412Mock_fail(bytes) (runs: 256, μ: 25935, ~: 25832)
Aggregate:test_aggregate_EIP7412_multiple(bytes) (runs: 256, μ: 33894, ~: 33786)
Aggregate:test_aggregate_MismatchedValue_multiple() (gas: 52923)
Aggregate:test_aggregate_MismatchedValue_single() (gas: 32775)
Aggregate:test_aggregate_TargetNotTrusted() (gas: 17834)
Aggregate:test_aggregate_empty() (gas: 6605)
Aggregate:test_aggregate_multiple() (gas: 51400)
Aggregate:test_aggregate_refund() (gas: 38955)
Aggregate:test_aggregate_result() (gas: 55683)
Aggregate:test_aggregate_single() (gas: 15208)
Aggregate:test_aggregate_value_multiple() (gas: 51915)
Aggregate:test_aggregate_value_single(uint256) (runs: 256, μ: 24828, ~: 29186)
CanExecute:test_canExecute_false_insufficent_account_credit() (gas: 414818)
CanExecute:test_canExecute_false_invalid_signature() (gas: 446729)
CanExecute:test_canExecute_false_invalid_signer() (gas: 442013)
CanExecute:test_canExecute_false_maxExecutorFee_exceeded() (gas: 397486)
CanExecute:test_canExecute_false_nonce_used() (gas: 827209)
CanExecute:test_canExecute_false_require_verify_condition_not_met() (gas: 51501)
CanExecute:test_canExecute_false_trusted_executor() (gas: 439497)
CanExecute:test_canExecute_true() (gas: 439136)
CommitOrder:test_commitOrder() (gas: 383166)
CommitOrder:test_commitOrder_Unauthorized() (gas: 33210)
CommitOrder:test_commitOrder_insufficient_collateral() (gas: 441323)
CommitOrder:test_commitOrder_invalid_market() (gas: 38435)
AccountOwner:test_isAccountOwner_account_doesnt_exist() (gas: 25022)
AccountOwner:test_isAccountOwner_false() (gas: 229824)
AccountOwner:test_isAccountOwner_true() (gas: 229814)
AccountOwner:test_isAccountOwner_zero_address_caller() (gas: 10763)
CanExecute:test_canExecute_false_insufficent_account_credit() (gas: 414842)
CanExecute:test_canExecute_false_invalid_signature() (gas: 446773)
CanExecute:test_canExecute_false_invalid_signer() (gas: 442057)
CanExecute:test_canExecute_false_maxExecutorFee_exceeded() (gas: 397530)
CanExecute:test_canExecute_false_nonce_used() (gas: 825813)
CanExecute:test_canExecute_false_require_verify_condition_not_met() (gas: 532721)
CanExecute:test_canExecute_false_trusted_executor() (gas: 439323)
CanExecute:test_canExecute_true() (gas: 438962)
CommitOrder:test_commitOrder() (gas: 382970)
CommitOrder:test_commitOrder_Unauthorized() (gas: 33014)
CommitOrder:test_commitOrder_insufficient_collateral() (gas: 441127)
CommitOrder:test_commitOrder_invalid_market() (gas: 38239)
Conditions:test_isMarketOpen() (gas: 26596)
Conditions:test_isOrderFeeBelow() (gas: 179894)
Conditions:test_isOrderFeeBelow() (gas: 179828)
Conditions:test_isPositionSizeAbove() (gas: 18827)
Conditions:test_isPositionSizeBelow() (gas: 18732)
Conditions:test_isPriceAbove() (gas: 196191)
Conditions:test_isPriceBelow() (gas: 195969)
Conditions:test_isTimestampAfter() (gas: 7645)
Conditions:test_isTimestampBefore() (gas: 7579)
Context:test_context_trustedForwarder() (gas: 13142)
DeploymentTest:test_deploy() (gas: 3485101)
DeploymentTest:test_deploy_perps_market_proxy_zero_address() (gas: 422450)
DeploymentTest:test_deploy_spot_market_proxy_zero_address() (gas: 422517)
DeploymentTest:test_deploy_susd_proxy_zero_address() (gas: 422508)
Deposit:test_depositEth() (gas: 55243)
Deposit:test_depositEth_Account_Doesnt_Exist() (gas: 34248)
Deposit:test_depositEth_event() (gas: 56770)
Deposit:test_depositEth_fuzz(uint256,uint128) (runs: 256, μ: 36454, ~: 34866)
DepositCollateral:test_depositCollateral() (gas: 258627)
DepositCollateral:test_depositCollateral_availableMargin() (gas: 266195)
DepositCollateral:test_depositCollateral_collateralAmount() (gas: 259203)
DepositCollateral:test_depositCollateral_insufficient_balance() (gas: 56208)
DepositCollateral:test_depositCollateral_totalCollateralValue() (gas: 263557)
EIP7412Test:test_fulfillOracleQuery(bytes) (runs: 256, μ: 153304, ~: 153300)
EIP7412Test:test_fulfillOracleQuery_refund(bytes) (runs: 256, μ: 161879, ~: 161875)
EIP7412Test:test_fulfillOracleQuery_revert(bytes) (runs: 256, μ: 154920, ~: 154916)
Execute:test_execute_CannotExecuteOrder_invalid_acceptablePrice() (gas: 331736)
Execute:test_execute_CannotExecuteOrder_invalid_settlementStrategyId() (gas: 97657)
Execute:test_execute_CannotExecuteOrder_too_leveraged() (gas: 362331)
Execute:test_execute_event() (gas: 434764)
Execute:test_execute_order_committed() (gas: 431211)
Fee:test_fee_exceeds_account_credit() (gas: 67862)
Fee:test_fee_exceeds_maxExecutorFee() (gas: 67464)
Fee:test_fee_imposed() (gas: 469423)
Conditions:test_isPositionSizeBelow() (gas: 18798)
Conditions:test_isPriceAbove() (gas: 196011)
Conditions:test_isPriceBelow() (gas: 196233)
Conditions:test_isTimestampAfter() (gas: 7579)
Conditions:test_isTimestampBefore() (gas: 7645)
DeploymentTest:test_deploy() (gas: 3167931)
DeploymentTest:test_deploy_perps_market_proxy_zero_address() (gas: 42636)
DeploymentTest:test_deploy_spot_market_proxy_zero_address() (gas: 42703)
DeploymentTest:test_deploy_susd_proxy_zero_address() (gas: 42694)
Deposit:test_deposit(uint256) (runs: 256, μ: 277, ~: 277)
DepositCollateral:test_depositCollateral() (gas: 258418)
DepositCollateral:test_depositCollateral_availableMargin() (gas: 265986)
DepositCollateral:test_depositCollateral_collateralAmount() (gas: 258994)
DepositCollateral:test_depositCollateral_insufficient_balance() (gas: 56001)
DepositCollateral:test_depositCollateral_totalCollateralValue() (gas: 263348)
Execute:test_execute_CannotExecuteOrder_invalid_acceptablePrice() (gas: 330340)
Execute:test_execute_CannotExecuteOrder_invalid_settlementStrategyId() (gas: 96261)
Execute:test_execute_CannotExecuteOrder_too_leveraged() (gas: 360935)
Execute:test_execute_event() (gas: 433368)
Execute:test_execute_order_committed() (gas: 429815)
Fee:test_fee_exceeds_account_credit() (gas: 132986)
Fee:test_fee_exceeds_maxExecutorFee() (gas: 132567)
Fee:test_fee_imposed() (gas: 519270)
FulfillOracleQuery:test_fulfillOracleQuery(bytes) (runs: 256, μ: 26426, ~: 26422)
FulfillOracleQuery:test_fulfillOracleQuery_refund(bytes) (runs: 256, μ: 35063, ~: 35059)
FulfillOracleQuery:test_fulfillOracleQuery_revert(bytes) (runs: 256, μ: 28060, ~: 28056)
MathLibTest:test_abs128() (gas: 425)
MathLibTest:test_abs256() (gas: 480)
MathLibTest:test_fuzz_abs128(int128) (runs: 256, μ: 577, ~: 603)
MathLibTest:test_fuzz_abs256(int256) (runs: 256, μ: 472, ~: 458)
MathLibTest:test_isSameSign() (gas: 999)
NonceBitmapTest:test_fuzz_invalidateUnorderedNonces(uint256) (runs: 256, μ: 52942, ~: 52942)
NonceBitmapTest:test_hasUnorderedNonceBeenUsed() (gas: 54209)
NonceBitmapTest:test_invalidateUnorderedNonces() (gas: 77468)
NonceBitmapTest:test_invalidateUnorderedNonces_Only_Owner_Delegate() (gas: 190668)
NonceBitmapTest:test_invalidateUnorderedNonces_Unauthorized() (gas: 30803)
NonceBitmapTest:test_invalidateUnorderedNonces_event() (gas: 53604)
ReduceOnly:test_reduce_only() (gas: 432946)
ReduceOnly:test_reduce_only_same_sign() (gas: 73941)
ReduceOnly:test_reduce_only_truncate_size_down() (gas: 433054)
ReduceOnly:test_reduce_only_truncate_size_up() (gas: 409803)
ReduceOnly:test_reduce_only_when_position_doesnt_exist() (gas: 163763)
ReduceOnly:test_reduce_only_zero_size_delta() (gas: 164392)
VerifyConditions:test_max_condition_size_exceeded() (gas: 45071)
VerifyConditions:test_verifyConditions_InvalidConditionSelector() (gas: 14081)
VerifyConditions:test_verify_conditions_not_verified() (gas: 129150)
VerifyConditions:test_verify_conditions_verified() (gas: 183733)
VerifySignature:test_verifySignature(uint256) (runs: 256, μ: 24992, ~: 24992)
VerifySignature:test_verifySignature_false_private_key() (gas: 24968)
MulticallFulfillOracleQuery:test_fulfillOracleQuery_multicall(bytes) (runs: 256, μ: 29293, ~: 29236)
MulticallFulfillOracleQuery:test_fulfillOracleQuery_multicall_double_spend(bytes) (runs: 256, μ: 41910, ~: 41800)
MulticallableTest:testMulticallableBenchmark() (gas: 29229)
MulticallableTest:testMulticallableOriginalBenchmark() (gas: 38407)
MulticallableTest:testMulticallablePreservesMsgSender() (gas: 11065)
MulticallableTest:testMulticallableReturnDataIsProperlyEncoded() (gas: 11548)
MulticallableTest:testMulticallableReturnDataIsProperlyEncoded(string,string,uint256) (runs: 256, μ: 9774, ~: 9386)
MulticallableTest:testMulticallableReturnDataIsProperlyEncoded(uint256,uint256,uint256,uint256) (runs: 256, μ: 11694, ~: 11694)
MulticallableTest:testMulticallableRevertWithCustomError() (gas: 11767)
MulticallableTest:testMulticallableRevertWithMessage() (gas: 13406)
MulticallableTest:testMulticallableRevertWithMessage(string) (runs: 256, μ: 14013, ~: 13861)
MulticallableTest:testMulticallableRevertWithNothing() (gas: 11633)
MulticallableTest:testMulticallableWithNoData() (gas: 6266)
NonceBitmapTest:test_fuzz_invalidateUnorderedNonces(uint256) (runs: 256, μ: 52734, ~: 52734)
NonceBitmapTest:test_hasUnorderedNonceBeenUsed() (gas: 54023)
NonceBitmapTest:test_invalidateUnorderedNonces() (gas: 77064)
NonceBitmapTest:test_invalidateUnorderedNonces_Only_Owner_Delegate() (gas: 190252)
NonceBitmapTest:test_invalidateUnorderedNonces_Unauthorized() (gas: 30585)
NonceBitmapTest:test_invalidateUnorderedNonces_event() (gas: 53374)
ReduceOnly:test_reduce_only() (gas: 431550)
ReduceOnly:test_reduce_only_same_sign() (gas: 72545)
ReduceOnly:test_reduce_only_truncate_size_down() (gas: 431658)
ReduceOnly:test_reduce_only_truncate_size_up() (gas: 408407)
ReduceOnly:test_reduce_only_when_position_doesnt_exist() (gas: 162367)
ReduceOnly:test_reduce_only_zero_size_delta() (gas: 162996)
VerifyConditions:test_max_condition_size_exceeded() (gas: 45049)
VerifyConditions:test_verifyConditions_InvalidConditionSelector() (gas: 14059)
VerifyConditions:test_verify_conditions_not_verified() (gas: 129149)
VerifyConditions:test_verify_conditions_verified() (gas: 183732)
VerifySignature:test_verifySignature(uint256) (runs: 256, μ: 25014, ~: 25014)
VerifySignature:test_verifySignature_false_private_key() (gas: 24990)
VerifySigner:test_verifySigner() (gas: 25939)
VerifySigner:test_verifySigner_false() (gas: 28647)
Withdraw:test_withdrawEth() (gas: 52652)
Withdraw:test_withdrawEth_EthTransferFailed() (gas: 93200)
Withdraw:test_withdrawEth_InsufficientEthBalance() (gas: 59867)
Withdraw:test_withdrawEth_Unauthorized() (gas: 59616)
Withdraw:test_withdrawEth_event() (gas: 51878)
Withdraw:test_withdrawEth_fuzz(uint256) (runs: 256, μ: 71114, ~: 71664)
WithdrawCollateral:test_withdrawCollateral() (gas: 353419)
WithdrawCollateral:test_withdrawCollateral_availableMargin() (gas: 354955)
WithdrawCollateral:test_withdrawCollateral_collateralAmount() (gas: 353929)
WithdrawCollateral:test_withdrawCollateral_insufficient_account_collateral_balance() (gas: 274470)
WithdrawCollateral:test_withdrawCollateral_totalCollateralValue() (gas: 354418)
WithdrawCollateral:test_withdrawCollateral_zero() (gas: 266428)
Withdraw:test_withdraw(uint256) (runs: 256, μ: 257, ~: 257)
WithdrawCollateral:test_withdrawCollateral() (gas: 353084)
WithdrawCollateral:test_withdrawCollateral_availableMargin() (gas: 354620)
WithdrawCollateral:test_withdrawCollateral_collateralAmount() (gas: 353594)
WithdrawCollateral:test_withdrawCollateral_insufficient_account_collateral_balance() (gas: 274053)
WithdrawCollateral:test_withdrawCollateral_totalCollateralValue() (gas: 354083)
WithdrawCollateral:test_withdrawCollateral_zero() (gas: 266011)
Loading

0 comments on commit 1e6141a

Please sign in to comment.