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 13, 2023
1 parent ba51478 commit 39176d1
Show file tree
Hide file tree
Showing 2 changed files with 168 additions and 139 deletions.
55 changes: 34 additions & 21 deletions .gas-snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,42 @@ 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: 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: 179781)
CanExecute:test_canExecute_false_nonce_used() (gas: 428892)
CanExecute:test_canExecute_false_trusted_executor() (gas: 46667)
CanExecute:test_canExecute_true() (gas: 46355)
CommitOrder:test_commitOrder() (gas: 382966)
CommitOrder:test_commitOrder_insufficient_collateral() (gas: 441236)
CommitOrder:test_commitOrder_invalid_market() (gas: 38351)
Conditions:test_isMarketOpen() (gas: 26619)
Conditions:test_isOrderFeeBelow() (gas: 179759)
Conditions:test_isPositionSizeAbove() (gas: 18801)
Conditions:test_isPositionSizeBelow() (gas: 18762)
Conditions:test_isPriceAbove() (gas: 19054)
Conditions:test_isPositionSizeBelow() (gas: 18740)
Conditions:test_isPriceAbove() (gas: 19098)
Conditions:test_isPriceBelow() (gas: 19070)
Conditions:test_isTimestampAfter() (gas: 7711)
Conditions:test_isTimestampAfter() (gas: 7734)
Conditions:test_isTimestampBefore() (gas: 7602)
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)
Deposit:test_depositEth() (gas: 40953)
Deposit:test_depositEth_event() (gas: 42502)
Deposit:test_depositEth_fuzz(uint256,uint128) (runs: 256, μ: 39335, ~: 40375)
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: 39723)
Execute:test_execute_leverage_exceeded() (gas: 207)
Execute:test_execute_order_committed() (gas: 426275)
Fee:test_fee_imposed() (gas: 186)
EIP7412Test:test_fulfillOracleQuery(bytes) (runs: 256, μ: 142507, ~: 142409)
Execute:test_execute_CannotExecuteOrder_invalid_acceptablePrice() (gas: 330567)
Execute:test_execute_CannotExecuteOrder_invalid_settlementStrategyId() (gas: 96441)
Execute:test_execute_CannotExecuteOrder_too_leveraged() (gas: 361140)
Execute:test_execute_order_committed() (gas: 426297)
Fee:test_fee_exceeds_account_credit() (gas: 53436)
Fee:test_fee_exceeds_maxExecutorFee() (gas: 53037)
Fee:test_fee_imposed() (gas: 461740)
MathLibTest:test_abs128() (gas: 448)
MathLibTest:test_abs256() (gas: 480)
MathLibTest:test_castU128() (gas: 350)
Expand All @@ -46,19 +52,26 @@ NonceBitmapTest:test_fuzz_invalidateUnorderedNonces(uint256) (runs: 256, μ: 527
NonceBitmapTest:test_hasUnorderedNonceBeenUsed() (gas: 54126)
NonceBitmapTest:test_invalidateUnorderedNonces() (gas: 76152)
NonceBitmapTest:test_invalidateUnorderedNonces_Only_Owner_Delegate() (gas: 190324)
ReduceOnly:test_reduce_only() (gas: 427974)
NonceBitmapTest:test_invalidateUnorderedNonces_event() (gas: 53464)
ReduceOnly:test_reduce_only() (gas: 427997)
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_max_condition_size_exceeded() (gas: 45101)
VerifyConditions:test_verifyConditions_InvalidConditionSelector() (gas: 14132)
VerifyConditions:test_verify_conditions_not_verified() (gas: 29707)
VerifyConditions:test_verify_conditions_verified() (gas: 135835)
VerifySignature:test_verifySignature() (gas: 23917)
VerifySignature:test_verifySignature() (gas: 23895)
VerifySignature:test_verifySignature_false_private_key() (gas: 26738)
VerifySigner:test_verifySigner() (gas: 25908)
VerifySigner:test_verifySigner_false() (gas: 28616)
Withdraw:test_withdrawEth() (gas: 50332)
Withdraw:test_withdrawEth_EthTransferFailed() (gas: 78823)
Withdraw:test_withdrawEth_InsufficientEthBalance() (gas: 57013)
Withdraw:test_withdrawEth_Unauthorized() (gas: 56652)
Withdraw:test_withdrawEth_event() (gas: 49594)
Withdraw:test_withdrawEth_fuzz(uint256) (runs: 256, μ: 68170, ~: 68720)
WithdrawCollateral:test_withdrawCollateral() (gas: 353272)
WithdrawCollateral:test_withdrawCollateral_availableMargin() (gas: 354790)
WithdrawCollateral:test_withdrawCollateral_collateralAmount() (gas: 353782)
Expand Down
Loading

0 comments on commit 39176d1

Please sign in to comment.