generated from Kwenta/foundry-scaffold
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ec000eb
commit cedfa8c
Showing
2 changed files
with
462 additions
and
410 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,112 +1,108 @@ | ||
AccountDelegate:test_isAccountDelegate_account_doesnt_exist() (gas: 26492) | ||
AccountDelegate:test_isAccountDelegate_false() (gas: 396923) | ||
AccountDelegate:test_isAccountDelegate_true() (gas: 394870) | ||
AccountDelegate:test_isAccountDelegate_zero_address_caller() (gas: 28087) | ||
AccountOwner:test_isAccountOwner_account_doesnt_exist() (gas: 29906) | ||
AccountOwner:test_isAccountOwner_false() (gas: 234753) | ||
AccountOwner:test_isAccountOwner_true() (gas: 234676) | ||
AccountOwner:test_isAccountOwner_zero_address_caller() (gas: 15647) | ||
CanExecute:test_canExecute_false_insufficent_account_credit() (gas: 420796) | ||
CanExecute:test_canExecute_false_invalid_signature() (gas: 455166) | ||
CanExecute:test_canExecute_false_invalid_signer() (gas: 448221) | ||
CanExecute:test_canExecute_false_maxExecutorFee_exceeded() (gas: 403646) | ||
CanExecute:test_canExecute_false_nonce_used() (gas: 831410) | ||
CanExecute:test_canExecute_false_require_verify_condition_not_met() (gas: 538325) | ||
CanExecute:test_canExecute_false_trusted_executor() (gas: 444486) | ||
CanExecute:test_canExecute_true() (gas: 444080) | ||
CommitOrder:test_commitOrder() (gas: 387933) | ||
CommitOrder:test_commitOrder_Unauthorized() (gas: 37944) | ||
CommitOrder:test_commitOrder_insufficient_collateral() (gas: 446067) | ||
CommitOrder:test_commitOrder_invalid_market() (gas: 43202) | ||
Conditions:test_isMarketOpen() (gas: 31858) | ||
Conditions:test_isOrderFeeBelow() (gas: 185520) | ||
Conditions:test_isPositionSizeAbove() (gas: 24560) | ||
Conditions:test_isPositionSizeBelow() (gas: 24468) | ||
Conditions:test_isPriceAbove() (gas: 202533) | ||
Conditions:test_isPriceBelow() (gas: 202498) | ||
Conditions:test_isTimestampAfter() (gas: 13288) | ||
Conditions:test_isTimestampBefore() (gas: 13288) | ||
Credit:test_credit(uint256) (runs: 256, μ: 107465, ~: 117605) | ||
Credit:test_credit_AccountDoesNotExist() (gas: 32831) | ||
Credit:test_credit_event() (gas: 102066) | ||
Debit:test_debit(uint256) (runs: 256, μ: 138131, ~: 148022) | ||
Debit:test_debit_InsufficientBalance() (gas: 125261) | ||
Debit:test_debit_Unauthorized() (gas: 125291) | ||
Debit:test_debit_event() (gas: 106371) | ||
DeploymentTest:test_deploy() (gas: 3590064) | ||
DeploymentTest:test_deploy_perps_market_proxy_zero_address() (gas: 43343) | ||
DeploymentTest:test_deploy_spot_market_proxy_zero_address() (gas: 43366) | ||
DeploymentTest:test_deploy_susd_proxy_zero_address() (gas: 43423) | ||
DepositCollateral:test_depositCollateral() (gas: 263304) | ||
DepositCollateral:test_depositCollateral_availableMargin() (gas: 270872) | ||
DepositCollateral:test_depositCollateral_collateralAmount() (gas: 263858) | ||
DepositCollateral:test_depositCollateral_insufficient_balance() (gas: 60810) | ||
DepositCollateral:test_depositCollateral_totalCollateralValue() (gas: 268212) | ||
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) | ||
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_isTimestampBefore() (gas: 13310) | ||
Credit:test_credit(uint256) (runs: 256, μ: 107756, ~: 117896) | ||
Credit:test_credit_AccountDoesNotExist() (gas: 32903) | ||
Credit:test_credit_event() (gas: 102432) | ||
Debit:test_debit(uint256) (runs: 256, μ: 138815, ~: 148572) | ||
Debit:test_debit_InsufficientBalance() (gas: 125707) | ||
Debit:test_debit_Unauthorized() (gas: 125756) | ||
Debit:test_debit_event() (gas: 106793) | ||
DeploymentTest:test_deploy() (gas: 4314454) | ||
DeploymentTest:test_deploy_perps_market_proxy_zero_address() (gas: 58292) | ||
DeploymentTest:test_deploy_spot_market_proxy_zero_address() (gas: 55695) | ||
DeploymentTest:test_deploy_susd_proxy_zero_address() (gas: 55682) | ||
DepositCollateral:test_depositCollateral() (gas: 433746) | ||
DepositCollateral:test_depositCollateral_availableMargin() (gas: 437913) | ||
DepositCollateral:test_depositCollateral_collateralAmount() (gas: 433866) | ||
DepositCollateral:test_depositCollateral_insufficient_balance() (gas: 61182) | ||
DepositCollateral:test_depositCollateral_totalCollateralValue() (gas: 435520) | ||
EIP712Test:test_DOMAIN_SEPARATOR() (gas: 165) | ||
EIP712Test:test_buildDomainSeparator() (gas: 165) | ||
EIP712Test:test_cachedDomainSeparatorInvalidated() (gas: 144) | ||
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: 335437) | ||
Execute:test_execute_CannotExecuteOrder_invalid_settlementStrategyId() (gas: 101310) | ||
Execute:test_execute_CannotExecuteOrder_too_leveraged() (gas: 365987) | ||
Execute:test_execute_event() (gas: 438457) | ||
Execute:test_execute_order_committed() (gas: 434904) | ||
Fee:test_fee_exceeds_account_credit() (gas: 138974) | ||
Fee:test_fee_exceeds_maxExecutorFee() (gas: 138485) | ||
Fee:test_fee_imposed() (gas: 524817) | ||
FulfillOracleQuery:test_fulfillOracleQuery(bytes) (runs: 256, μ: 31323, ~: 31315) | ||
FulfillOracleQuery:test_fulfillOracleQuery_refund(bytes) (runs: 256, μ: 40346, ~: 40338) | ||
FulfillOracleQuery:test_fulfillOracleQuery_revert(bytes) (runs: 256, μ: 32970, ~: 32962) | ||
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) | ||
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_fuzz_abs128(int128) (runs: 256, μ: 576, ~: 603) | ||
MathLibTest:test_fuzz_abs256(int256) (runs: 256, μ: 471, ~: 458) | ||
MathLibTest:test_isSameSign() (gas: 999) | ||
MockUpgrade:test_upgrade() (gas: 3575535) | ||
MockUpgrade:test_upgrade_credit_state(uint256) (runs: 256, μ: 3670043, ~: 3670043) | ||
MockUpgrade:test_upgrade_nonce_state(uint256) (runs: 256, μ: 3611256, ~: 3611256) | ||
MockUpgrade:test_upgrade_only_pDAO() (gas: 3560685) | ||
MulticallFulfillOracleQuery:test_fulfillOracleQuery_multicall(bytes) (runs: 256, μ: 34651, ~: 34586) | ||
MulticallFulfillOracleQuery:test_fulfillOracleQuery_multicall_double_spend(bytes) (runs: 256, μ: 47701, ~: 47575) | ||
MockUpgrade:test_upgrade() (gas: 4335511) | ||
MockUpgrade:test_upgrade_credit_state(uint256) (runs: 256, μ: 4428305, ~: 4428305) | ||
MockUpgrade:test_upgrade_nonce_state(uint256) (runs: 256, μ: 4369224, ~: 4369224) | ||
MockUpgrade:test_upgrade_only_pDAO() (gas: 4320583) | ||
MulticallFulfillOracleQuery:test_fulfillOracleQuery_multicall(bytes) (runs: 256, μ: 34629, ~: 34564) | ||
MulticallFulfillOracleQuery:test_fulfillOracleQuery_multicall_double_spend(bytes) (runs: 256, μ: 47723, ~: 47597) | ||
MulticallablePayableTest:testMulticallableBenchmark() (gas: 29229) | ||
MulticallablePayableTest:testMulticallableOriginalBenchmark() (gas: 38407) | ||
MulticallablePayableTest:testMulticallablePreservesMsgSender() (gas: 11065) | ||
MulticallablePayableTest:testMulticallableReturnDataIsProperlyEncoded() (gas: 11548) | ||
MulticallablePayableTest:testMulticallableReturnDataIsProperlyEncoded(string,string,uint256) (runs: 256, μ: 9837, ~: 11626) | ||
MulticallablePayableTest:testMulticallableReturnDataIsProperlyEncoded(string,string,uint256) (runs: 256, μ: 10106, ~: 11887) | ||
MulticallablePayableTest:testMulticallableReturnDataIsProperlyEncoded(uint256,uint256,uint256,uint256) (runs: 256, μ: 11694, ~: 11694) | ||
MulticallablePayableTest:testMulticallableRevertWithCustomError() (gas: 11767) | ||
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, μ: 58005, ~: 58005) | ||
NonceBitmapTest:test_hasUnorderedNonceBeenUsed() (gas: 59703) | ||
NonceBitmapTest:test_invalidateUnorderedNonces() (gas: 83122) | ||
NonceBitmapTest:test_invalidateUnorderedNonces_Only_Owner_Delegate() (gas: 196322) | ||
NonceBitmapTest:test_invalidateUnorderedNonces_Unauthorized() (gas: 35565) | ||
NonceBitmapTest:test_invalidateUnorderedNonces_event() (gas: 58283) | ||
ReduceOnly:test_reduce_only() (gas: 436631) | ||
ReduceOnly:test_reduce_only_same_sign() (gas: 77813) | ||
ReduceOnly:test_reduce_only_truncate_size_down() (gas: 436739) | ||
ReduceOnly:test_reduce_only_truncate_size_up() (gas: 413488) | ||
ReduceOnly:test_reduce_only_when_position_doesnt_exist() (gas: 168200) | ||
ReduceOnly:test_reduce_only_zero_size_delta() (gas: 168257) | ||
RemoveUpgradability:test_removeUpgradability() (gas: 3539625) | ||
SignatureCheckerLibTest:test_isValidSignatureNowCalldata(address,bytes32,bytes) (runs: 256, μ: 35465847065546049, ~: 3474) | ||
VerifyConditions:test_max_condition_size_exceeded() (gas: 51339) | ||
VerifyConditions:test_verifyConditions_InvalidConditionSelector() (gas: 19107) | ||
VerifyConditions:test_verify_conditions_not_verified() (gas: 136154) | ||
VerifyConditions:test_verify_conditions_verified() (gas: 192508) | ||
VerifySignature:test_verifySignature(uint256) (runs: 256, μ: 30147, ~: 30147) | ||
VerifySignature:test_verifySignature_false_private_key() (gas: 32855) | ||
VerifySigner:test_verifySigner() (gas: 30907) | ||
VerifySigner:test_verifySigner_false() (gas: 33615) | ||
WithdrawCollateral:test_withdrawCollateral() (gas: 357248) | ||
WithdrawCollateral:test_withdrawCollateral_availableMargin() (gas: 358802) | ||
WithdrawCollateral:test_withdrawCollateral_collateralAmount() (gas: 357776) | ||
WithdrawCollateral:test_withdrawCollateral_insufficient_account_collateral_balance() (gas: 279294) | ||
WithdrawCollateral:test_withdrawCollateral_totalCollateralValue() (gas: 358283) | ||
WithdrawCollateral:test_withdrawCollateral_zero() (gas: 271246) | ||
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: 634122) | ||
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: 4305948) | ||
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) | ||
WithdrawCollateral:test_withdrawCollateral() (gas: 539673) | ||
WithdrawCollateral:test_withdrawCollateral_insufficient_account_collateral_balance() (gas: 445890) | ||
WithdrawCollateral:test_withdrawCollateral_zero() (gas: 441451) |
Oops, something went wrong.