From 1b94973b0ac72fafbbe3848bc8da49283ae37e03 Mon Sep 17 00:00:00 2001 From: JaredBorders Date: Mon, 27 Nov 2023 16:54:13 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=B8=20Update=20gas-snapshot/lcov?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gas-snapshot | 60 +++++++++++++++++++++++++-------------------------- lcov.info | 44 ++++++++++++++++++------------------- 2 files changed, 52 insertions(+), 52 deletions(-) diff --git a/.gas-snapshot b/.gas-snapshot index 5cb577b5..54484d18 100644 --- a/.gas-snapshot +++ b/.gas-snapshot @@ -4,13 +4,13 @@ AccountDelegate:test_isAccountDelegate_true() (gas: 389938) AccountOwner:test_isAccountOwner_account_doesnt_exist() (gas: 25010) AccountOwner:test_isAccountOwner_false() (gas: 229790) AccountOwner:test_isAccountOwner_true() (gas: 229780) -CanExecute:test_canExecute_false_insufficent_account_credit() (gas: 414793) -CanExecute:test_canExecute_false_invalid_signature() (gas: 448688) -CanExecute:test_canExecute_false_invalid_signer() (gas: 441908) -CanExecute:test_canExecute_false_maxExecutorFee_exceeded() (gas: 397407) -CanExecute:test_canExecute_false_nonce_used() (gas: 826227) -CanExecute:test_canExecute_false_trusted_executor() (gas: 438669) -CanExecute:test_canExecute_true() (gas: 438263) +CanExecute:test_canExecute_false_insufficent_account_credit() (gas: 414871) +CanExecute:test_canExecute_false_invalid_signature() (gas: 448904) +CanExecute:test_canExecute_false_invalid_signer() (gas: 442063) +CanExecute:test_canExecute_false_maxExecutorFee_exceeded() (gas: 397562) +CanExecute:test_canExecute_false_nonce_used() (gas: 826365) +CanExecute:test_canExecute_false_trusted_executor() (gas: 438807) +CanExecute:test_canExecute_true() (gas: 438401) CommitOrder:test_commitOrder() (gas: 382994) CommitOrder:test_commitOrder_insufficient_collateral() (gas: 441236) CommitOrder:test_commitOrder_invalid_market() (gas: 38373) @@ -22,12 +22,12 @@ Conditions:test_isPriceAbove() (gas: 19098) Conditions:test_isPriceBelow() (gas: 19092) Conditions:test_isTimestampAfter() (gas: 7711) Conditions:test_isTimestampBefore() (gas: 7579) -DeploymentTest:test_deploy() (gas: 4823251) -DeploymentTest:test_deploy_oracle_zero_address() (gas: 1903153) -DeploymentTest:test_deploy_perps_market_proxy_zero_address() (gas: 1903069) -DeploymentTest:test_deploy_spot_market_proxy_zero_address() (gas: 1903136) -DeploymentTest:test_deploy_susd_proxy_zero_address() (gas: 1903149) -DeploymentTest:test_deploy_trusted_forwarder_zero_address() (gas: 37482) +DeploymentTest:test_deploy() (gas: 4835682) +DeploymentTest:test_deploy_oracle_zero_address() (gas: 1903169) +DeploymentTest:test_deploy_perps_market_proxy_zero_address() (gas: 1903085) +DeploymentTest:test_deploy_spot_market_proxy_zero_address() (gas: 1903152) +DeploymentTest:test_deploy_susd_proxy_zero_address() (gas: 1903165) +DeploymentTest:test_deploy_trusted_forwarder_zero_address() (gas: 37498) Deposit:test_depositEth() (gas: 40987) Deposit:test_depositEth_event() (gas: 42547) Deposit:test_depositEth_fuzz(uint256,uint128) (runs: 256, μ: 39369, ~: 40409) @@ -39,15 +39,15 @@ DepositCollateral:test_depositCollateral_availableMargin() (gas: 266098) DepositCollateral:test_depositCollateral_collateralAmount() (gas: 259106) DepositCollateral:test_depositCollateral_insufficient_balance() (gas: 56046) DepositCollateral:test_depositCollateral_totalCollateralValue() (gas: 263482) -EIP7412Test:test_fulfillOracleQuery(bytes) (runs: 256, μ: 142507, ~: 142409) -Execute:test_execute_CannotExecuteOrder_invalid_acceptablePrice() (gas: 330812) -Execute:test_execute_CannotExecuteOrder_invalid_settlementStrategyId() (gas: 96690) -Execute:test_execute_CannotExecuteOrder_too_leveraged() (gas: 361385) -Execute:test_execute_event() (gas: 433795) -Execute:test_execute_order_committed() (gas: 430287) -Fee:test_fee_exceeds_account_credit() (gas: 53562) -Fee:test_fee_exceeds_maxExecutorFee() (gas: 53141) -Fee:test_fee_imposed() (gas: 465708) +EIP7412Test:test_fulfillOracleQuery(bytes) (runs: 256, μ: 149614, ~: 149516) +Execute:test_execute_CannotExecuteOrder_invalid_acceptablePrice() (gas: 330951) +Execute:test_execute_CannotExecuteOrder_invalid_settlementStrategyId() (gas: 96827) +Execute:test_execute_CannotExecuteOrder_too_leveraged() (gas: 361524) +Execute:test_execute_event() (gas: 433933) +Execute:test_execute_order_committed() (gas: 430425) +Fee:test_fee_exceeds_account_credit() (gas: 53639) +Fee:test_fee_exceeds_maxExecutorFee() (gas: 53218) +Fee:test_fee_imposed() (gas: 465846) MathLibTest:test_abs128() (gas: 448) MathLibTest:test_abs256() (gas: 480) MathLibTest:test_castU128() (gas: 350) @@ -57,20 +57,20 @@ MathLibTest:test_fuzz_abs256(int256) (runs: 256, μ: 472, ~: 458) MathLibTest:test_isSameSign() (gas: 999) NonceBitmapTest:test_fuzz_invalidateUnorderedNonces(uint256) (runs: 256, μ: 52770, ~: 52770) NonceBitmapTest:test_hasUnorderedNonceBeenUsed() (gas: 54126) -NonceBitmapTest:test_invalidateUnorderedNonces() (gas: 76375) +NonceBitmapTest:test_invalidateUnorderedNonces() (gas: 76509) NonceBitmapTest:test_invalidateUnorderedNonces_Only_Owner_Delegate() (gas: 190324) NonceBitmapTest:test_invalidateUnorderedNonces_event() (gas: 53464) -ReduceOnly:test_reduce_only() (gas: 431988) -ReduceOnly:test_reduce_only_same_sign() (gas: 72344) -ReduceOnly:test_reduce_only_truncate_size_down() (gas: 432095) -ReduceOnly:test_reduce_only_truncate_size_up() (gas: 408757) -ReduceOnly:test_reduce_only_zero_size() (gas: 162838) +ReduceOnly:test_reduce_only() (gas: 432125) +ReduceOnly:test_reduce_only_same_sign() (gas: 72481) +ReduceOnly:test_reduce_only_truncate_size_down() (gas: 432232) +ReduceOnly:test_reduce_only_truncate_size_up() (gas: 408894) +ReduceOnly:test_reduce_only_zero_size() (gas: 162976) 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(uint256) (runs: 256, μ: 24263, ~: 24263) -VerifySignature:test_verifySignature_false_private_key() (gas: 26940) +VerifySignature:test_verifySignature(uint256) (runs: 256, μ: 24402, ~: 24402) +VerifySignature:test_verifySignature_false_private_key() (gas: 27079) VerifySigner:test_verifySigner() (gas: 25862) VerifySigner:test_verifySigner_false() (gas: 28614) Withdraw:test_withdrawEth() (gas: 50332) diff --git a/lcov.info b/lcov.info index 55080d29..1cd11278 100644 --- a/lcov.info +++ b/lcov.info @@ -1,33 +1,33 @@ TN: SF:script/Deploy.s.sol +FN:133,DeployOptimism_Synthetix.run +FNDA:0,DeployOptimism_Synthetix.run +DA:134,0 +DA:135,0 +DA:137,0 +DA:144,0 FN:54,DeployBase_Synthetix.run FNDA:0,DeployBase_Synthetix.run DA:55,0 DA:56,0 DA:58,0 DA:65,0 -FN:152,DeployOptimismGoerli_Synthetix.run -FNDA:0,DeployOptimismGoerli_Synthetix.run -DA:153,0 -DA:154,0 -DA:156,0 -DA:163,0 +FN:26,Setup.deploySystem +FNDA:5,Setup.deploySystem +DA:38,5 +DA:40,5 FN:73,DeployBaseGoerli_Synthetix.run FNDA:0,DeployBaseGoerli_Synthetix.run DA:74,0 DA:75,0 DA:77,0 DA:84,0 -FN:133,DeployOptimism_Synthetix.run -FNDA:0,DeployOptimism_Synthetix.run -DA:134,0 -DA:135,0 -DA:137,0 -DA:144,0 -FN:26,Setup.deploySystem -FNDA:5,Setup.deploySystem -DA:38,5 -DA:40,5 +FN:152,DeployOptimismGoerli_Synthetix.run +FNDA:0,DeployOptimismGoerli_Synthetix.run +DA:153,0 +DA:154,0 +DA:156,0 +DA:163,0 FN:95,DeployBaseGoerli_KwentaFork.run FNDA:0,DeployBaseGoerli_KwentaFork.run DA:96,0 @@ -469,12 +469,6 @@ DA:117,0 DA:118,0 DA:125,0 DA:133,0 -FN:146,BootstrapOptimismGoerli.init -FNDA:0,BootstrapOptimismGoerli.init -DA:150,0 -DA:151,0 -DA:158,0 -DA:166,0 FN:41,Bootstrap.initializeOptimismGoerli FNDA:0,Bootstrap.initializeOptimismGoerli DA:42,0 @@ -513,6 +507,12 @@ DA:100,0 DA:101,0 DA:106,0 DA:108,0 +FN:146,BootstrapOptimismGoerli.init +FNDA:0,BootstrapOptimismGoerli.init +DA:150,0 +DA:151,0 +DA:158,0 +DA:166,0 FNF:4 FNH:0 LF:42