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 Oct 12, 2023
1 parent 6800e6d commit 5a50d79
Show file tree
Hide file tree
Showing 2 changed files with 309 additions and 338 deletions.
110 changes: 52 additions & 58 deletions .gas-snapshot
Original file line number Diff line number Diff line change
@@ -1,73 +1,67 @@
AccountDelegate:test_isAccountDelegate_account_doesnt_exist() (gas: 26514)
AccountDelegate:test_isAccountDelegate_false() (gas: 391946)
AccountDelegate:test_isAccountDelegate_true() (gas: 389915)
AccountDelegate:test_isAccountDelegate_false() (gas: 391991)
AccountDelegate:test_isAccountDelegate_true() (gas: 389960)
AccountOwner:test_isAccountOwner_account_doesnt_exist() (gas: 25010)
AccountOwner:test_isAccountOwner_false() (gas: 229790)
AccountOwner:test_isAccountOwner_true() (gas: 229780)
CanExecute:test_canExecute_false_nonce_used() (gas: 635986)
CanExecute:test_canExecute_false_trusted_executor() (gas: 44106)
CanExecute:test_canExecute_true() (gas: 43793)
CommitOrder:test_commitOrder() (gas: 382994)
CommitOrder:test_commitOrder_insufficient_collateral() (gas: 441147)
CommitOrder:test_commitOrder_invalid_market() (gas: 38351)
CanExecute:test_canExecute_false_nonce_used() (gas: 428875)
CanExecute:test_canExecute_false_trusted_executor() (gas: 46671)
CanExecute:test_canExecute_true() (gas: 46359)
CommitOrder:test_commitOrder() (gas: 382988)
CommitOrder:test_commitOrder_insufficient_collateral() (gas: 441169)
CommitOrder:test_commitOrder_invalid_market() (gas: 38373)
Conditions:test_isMarketOpen() (gas: 26586)
Conditions:test_isOrderFeeBelow() (gas: 179847)
Conditions:test_isPositionSizeAbove() (gas: 18867)
Conditions:test_isOrderFeeBelow() (gas: 179781)
Conditions:test_isPositionSizeAbove() (gas: 18801)
Conditions:test_isPositionSizeBelow() (gas: 18762)
Conditions:test_isPriceAbove() (gas: 19150)
Conditions:test_isPriceBelow() (gas: 19178)
Conditions:test_isTimestampAfter() (gas: 7513)
Conditions:test_isPriceAbove() (gas: 19054)
Conditions:test_isPriceBelow() (gas: 19070)
Conditions:test_isTimestampAfter() (gas: 7711)
Conditions:test_isTimestampBefore() (gas: 7602)
DeploymentTest:test_deploy() (gas: 2880751)
DeploymentTest:test_deploy_oracle_zero_address() (gas: 40293)
DeploymentTest:test_deploy_perps_market_proxy_zero_address() (gas: 40211)
DeploymentTest:test_deploy_spot_market_proxy_zero_address() (gas: 40267)
DeploymentTest:test_deploy_susd_proxy_zero_address() (gas: 40280)
DeploymentTest:test_deploy_trusted_forwarder_zero_address() (gas: 40327)
DepositCollateral:test_depositCollateral() (gas: 258507)
DepositCollateral:test_depositCollateral_availableMargin() (gas: 266075)
DepositCollateral:test_depositCollateral_collateralAmount() (gas: 259083)
DepositCollateral:test_depositCollateral_insufficient_balance() (gas: 56023)
DepositCollateral:test_depositCollateral_totalCollateralValue() (gas: 263459)
DeploymentTest:test_deploy() (gas: 2960716)
DeploymentTest:test_deploy_oracle_zero_address() (gas: 40388)
DeploymentTest:test_deploy_perps_market_proxy_zero_address() (gas: 40306)
DeploymentTest:test_deploy_spot_market_proxy_zero_address() (gas: 40362)
DeploymentTest:test_deploy_susd_proxy_zero_address() (gas: 40375)
DeploymentTest:test_deploy_trusted_forwarder_zero_address() (gas: 40422)
DepositCollateral:test_depositCollateral() (gas: 258552)
DepositCollateral:test_depositCollateral_availableMargin() (gas: 266120)
DepositCollateral:test_depositCollateral_collateralAmount() (gas: 259128)
DepositCollateral:test_depositCollateral_insufficient_balance() (gas: 56068)
DepositCollateral:test_depositCollateral_totalCollateralValue() (gas: 263504)
EIP7412Test:test_fulfillOracleQuery(bytes) (runs: 256, μ: 142463, ~: 142365)
Execute:test_execute_CannotExecuteOrder() (gas: 37220)
Execute:test_execute_leverage_exceeded() (gas: 716391)
Execute:test_execute_order_committed() (gas: 633942)
Fee:test_fee_imposed() (gas: 640084)
Fee:test_fee_imposed_above_upper_fee_cap() (gas: 618750)
Fee:test_fee_imposed_at_upper_fee_cap() (gas: 618653)
Fee:test_fee_imposed_below_lower_fee_cap() (gas: 617168)
Fee:test_fee_imposed_below_upper_fee_cap() (gas: 619573)
Fee:test_fee_imposed_fee_cannot_be_paid() (gas: 394180)
Fee:test_fee_imposed_insufficient_collateral_for_order() (gas: 716414)
Execute:test_execute_CannotExecuteOrder() (gas: 39723)
Execute:test_execute_leverage_exceeded() (gas: 207)
Execute:test_execute_order_committed() (gas: 426275)
Fee:test_fee_imposed() (gas: 186)
MathLibTest:test_abs128() (gas: 448)
MathLibTest:test_abs256() (gas: 480)
MathLibTest:test_castU128() (gas: 350)
MathLibTest:test_castU128_overflow() (gas: 3509)
MathLibTest:test_fuzz_abs128(int128) (runs: 256, μ: 576, ~: 603)
MathLibTest:test_fuzz_abs256(int256) (runs: 256, μ: 472, ~: 458)
MathLibTest:test_isSameSign() (gas: 999)
MulticallableTest:test_multicall_depositCollateral_commitOrder() (gas: 605194)
NonceBitmapTest:test_fuzz_invalidateUnorderedNonces(uint256) (runs: 256, μ: 52780, ~: 52780)
NonceBitmapTest:test_hasUnorderedNonceBeenUsed() (gas: 54136)
NonceBitmapTest:test_invalidateUnorderedNonces() (gas: 73100)
NonceBitmapTest:test_invalidateUnorderedNonces_Only_Owner_Delegate() (gas: 190344)
ReduceOnly:test_reduce_only() (gas: 635576)
ReduceOnly:test_reduce_only_same_sign() (gas: 68498)
ReduceOnly:test_reduce_only_truncate_size_down() (gas: 635706)
ReduceOnly:test_reduce_only_truncate_size_up() (gas: 610509)
ReduceOnly:test_reduce_only_zero_size() (gas: 159015)
VerifyConditions:test_max_condition_size_exceeded() (gas: 45024)
VerifyConditions:test_verifyConditions_InvalidConditionSelector() (gas: 14123)
VerifyConditions:test_verify_conditions_not_verified() (gas: 29682)
VerifyConditions:test_verify_conditions_verified() (gas: 135831)
VerifySignature:test_verifySignature() (gas: 23816)
VerifySignature:test_verifySignature_false_private_key() (gas: 26638)
VerifySigner:test_verifySigner() (gas: 25845)
VerifySigner:test_verifySigner_false() (gas: 28553)
WithdrawCollateral:test_withdrawCollateral() (gas: 353200)
WithdrawCollateral:test_withdrawCollateral_availableMargin() (gas: 354718)
WithdrawCollateral:test_withdrawCollateral_collateralAmount() (gas: 353710)
WithdrawCollateral:test_withdrawCollateral_insufficient_account_collateral_balance() (gas: 274196)
WithdrawCollateral:test_withdrawCollateral_totalCollateralValue() (gas: 354216)
WithdrawCollateral:test_withdrawCollateral_zero() (gas: 266154)
MulticallableTest:test_multicall_depositCollateral_commitOrder() (gas: 605211)
NonceBitmapTest:test_fuzz_invalidateUnorderedNonces(uint256) (runs: 256, μ: 52770, ~: 52770)
NonceBitmapTest:test_hasUnorderedNonceBeenUsed() (gas: 54126)
NonceBitmapTest:test_invalidateUnorderedNonces() (gas: 76152)
NonceBitmapTest:test_invalidateUnorderedNonces_Only_Owner_Delegate() (gas: 190324)
ReduceOnly:test_reduce_only() (gas: 427974)
ReduceOnly:test_reduce_only_same_sign() (gas: 72070)
ReduceOnly:test_reduce_only_truncate_size_down() (gas: 428104)
ReduceOnly:test_reduce_only_truncate_size_up() (gas: 404766)
ReduceOnly:test_reduce_only_zero_size() (gas: 162587)
VerifyConditions:test_max_condition_size_exceeded() (gas: 45057)
VerifyConditions:test_verifyConditions_InvalidConditionSelector() (gas: 14154)
VerifyConditions:test_verify_conditions_not_verified() (gas: 29729)
VerifyConditions:test_verify_conditions_verified() (gas: 135835)
VerifySignature:test_verifySignature() (gas: 23917)
VerifySignature:test_verifySignature_false_private_key() (gas: 26738)
VerifySigner:test_verifySigner() (gas: 25908)
VerifySigner:test_verifySigner_false() (gas: 28616)
WithdrawCollateral:test_withdrawCollateral() (gas: 353272)
WithdrawCollateral:test_withdrawCollateral_availableMargin() (gas: 354790)
WithdrawCollateral:test_withdrawCollateral_collateralAmount() (gas: 353782)
WithdrawCollateral:test_withdrawCollateral_insufficient_account_collateral_balance() (gas: 274286)
WithdrawCollateral:test_withdrawCollateral_totalCollateralValue() (gas: 354288)
WithdrawCollateral:test_withdrawCollateral_zero() (gas: 266244)
Loading

0 comments on commit 5a50d79

Please sign in to comment.