Skip to content

Commit

Permalink
Ledger signature verification fix (#63)
Browse files Browse the repository at this point in the history
* fix: ledger signature verification fallback

* refactor: optimize v adjustment

---------

Co-authored-by: Kevin Park <[email protected]>
  • Loading branch information
amarinkovic and kevin-fruitful authored May 12, 2023
1 parent eec4700 commit cc8ab90
Show file tree
Hide file tree
Showing 3 changed files with 195 additions and 141 deletions.
281 changes: 150 additions & 131 deletions .gas-snapshot
Original file line number Diff line number Diff line change
@@ -1,131 +1,150 @@
T01DeploymentTest:testDiamondLoupeFunctionality() (gas: 1418496)
T01DeploymentTest:testFork() (gas: 10921)
T01DeploymentTest:testInitDiamond() (gas: 3083196)
T01DeploymentTest:testOwnerOfDiamond() (gas: 12949)
T01LibERC20:testTransfer() (gas: 82353)
T01LibERC20:testTransferFrom() (gas: 114241)
T01LibHelpers:testAddressToBytes32Fuzz(address) (runs: 256, μ: 789, ~: 789)
T01LibHelpers:testBytes32ToBytesFuzz(bytes32) (runs: 256, μ: 9564, ~: 9564)
T01LibHelpers:testBytes32ToStringFuzz(bytes32) (runs: 256, μ: 1351, ~: 1351)
T01LibHelpers:testBytesToBytes32Fuzz(bytes) (runs: 256, μ: 860, ~: 857)
T01LibHelpers:testGetAddressFromIdFuzz(bytes32) (runs: 256, μ: 388, ~: 388)
T01LibHelpers:testGetIdForAddressFuzz(address) (runs: 256, μ: 567, ~: 567)
T01LibHelpers:testGetIdForObjectAtIndexFuzz(uint256) (runs: 256, μ: 671, ~: 671)
T01LibHelpers:testGetSenderId() (gas: 386)
T01LibHelpers:testStringToBytes32Fuzz(string) (runs: 256, μ: 976, ~: 977)
T02ACLTest:testAssignInvalidRole() (gas: 29647)
T02ACLTest:testAssignersCanAssignRole() (gas: 91940)
T02ACLTest:testAssignersCanUnassignRole() (gas: 102135)
T02ACLTest:testDeployerAssignAnyRoleToAnotherObjectInNewContext() (gas: 61562)
T02ACLTest:testDeployerAssignRoleToAnotherObject() (gas: 55959)
T02ACLTest:testDeployerAssignRoleToThemself() (gas: 36760)
T02ACLTest:testDeployerIsInGroup() (gas: 16370)
T02ACLTest:testDeployerUnassignRoleOnAnotherObject() (gas: 51395)
T02ACLTest:testDeployerUnassignRoleOnThemself() (gas: 26799)
T02ACLTest:testGetRoleInContext() (gas: 128426)
T02ACLTest:testHavingRoleInSystemContextConfersRoleInAllContexts() (gas: 98363)
T02ACLTest:testInvalidObjectIdWhenAssignRole() (gas: 14727)
T02ACLTest:testIsParentInGroup() (gas: 217576)
T02ACLTest:testNonAssignersCanAssignRoleIfTheirParentHasAssignerRoleInSystemContext() (gas: 255234)
T02ACLTest:testNonAssignersCanUnassignRoleIfTheirParentAsAssignerRoleInSystemContext() (gas: 276008)
T02ACLTest:testNonAssignersCannotAssignRole() (gas: 73319)
T02ACLTest:testNonAssignersCannotUnassignRole() (gas: 139113)
T02ACLTest:testRoleAssignmentEmitsAnEvent() (gas: 55966)
T02ACLTest:testRoleUnassignmentEmitsAnEvent() (gas: 85486)
T02AdminTest:testAddSupportedExternalToken() (gas: 105532)
T02AdminTest:testAddSupportedExternalTokenFailIfNotAdmin() (gas: 20362)
T02AdminTest:testAddSupportedExternalTokenIfAlreadyAdded() (gas: 109195)
T02AdminTest:testFuzzSetCoefficient(uint256) (runs: 256, μ: 40486, ~: 41575)
T02AdminTest:testFuzzSetDiscountToken(address) (runs: 256, μ: 22468, ~: 22468)
T02AdminTest:testFuzzSetEquilibriumLevel(uint256) (runs: 256, μ: 21984, ~: 22247)
T02AdminTest:testFuzzSetMaxDiscount(uint256) (runs: 256, μ: 21962, ~: 22236)
T02AdminTest:testFuzzSetPoolFee(uint24) (runs: 256, μ: 22407, ~: 22407)
T02AdminTest:testFuzzSetTargetNaymsAllocation(uint256) (runs: 256, μ: 21926, ~: 22189)
T02AdminTest:testGetActualNaymsAllocation() (gas: 12786)
T02AdminTest:testGetMaxDividendDenominationsDefaultValue() (gas: 12868)
T02AdminTest:testGetSystemId() (gas: 11106)
T02AdminTest:testIsSupportedToken() (gas: 97215)
T02AdminTest:testSetCoefficient() (gas: 50060)
T02AdminTest:testSetCoefficientFailIfNotAdmin() (gas: 20262)
T02AdminTest:testSetCoefficientFailIfValueTooHigh() (gas: 18802)
T02AdminTest:testSetDiscountToken() (gas: 33654)
T02AdminTest:testSetDiscountTokenFailIfNotAdmin() (gas: 20361)
T02AdminTest:testSetEquilibriumLevel() (gas: 33126)
T02AdminTest:testSetEquilibriumLevelFailIfNotAdmin() (gas: 20293)
T02AdminTest:testSetMaxDiscount() (gas: 33010)
T02AdminTest:testSetMaxDiscountFailIfNotAdmin() (gas: 20294)
T02AdminTest:testSetMaxDividendDenominations() (gas: 33470)
T02AdminTest:testSetMaxDividendDenominationsFailIfLowerThanBefore() (gas: 32599)
T02AdminTest:testSetMaxDividendDenominationsFailIfNotAdmin() (gas: 20371)
T02AdminTest:testSetPoolFee() (gas: 33191)
T02AdminTest:testSetPoolFeeFailIfNotAdmin() (gas: 20436)
T02AdminTest:testSetTargetNaymSAllocationFailIfNotAdmin() (gas: 20337)
T02AdminTest:testSetTargetNaymsAllocation() (gas: 32944)
T02AdminTest:testUpdateRoleAssigner() (gas: 100890)
T02AdminTest:testUpdateRoleAssignerFailIfNotAdmin() (gas: 21201)
T02AdminTest:testUpdateRoleGroup() (gas: 117349)
T02AdminTest:testUpdateRoleGroupFailIfNotAdmin() (gas: 21437)
T02LibHelpers:testAddressToBytes32Fuzz(address) (runs: 256, μ: 856, ~: 856)
T02LibHelpers:testBytes32ToBytes(bytes32) (runs: 256, μ: 9541, ~: 9541)
T02LibHelpers:testBytes32ToStringFuzz(bytes32) (runs: 256, μ: 9571, ~: 9571)
T02LibHelpers:testBytesToBytes32(bytes) (runs: 256, μ: 867, ~: 863)
T02LibHelpers:testGetAddressFromIdFuzz(bytes32) (runs: 256, μ: 455, ~: 455)
T02LibHelpers:testGetIdForAddressFuzz(address) (runs: 256, μ: 545, ~: 545)
T02LibHelpers:testIdForObjectAtIndexFuzz(uint256) (runs: 256, μ: 714, ~: 714)
T02LibHelpers:testStringToBytes32Fuzz(string) (runs: 256, μ: 976, ~: 977)
T02UserTest:testGetAddressFromExternalTokenId() (gas: 10893)
T02UserTest:testGetBalanceOfTokensForSale() (gas: 571164)
T02UserTest:testGetSetEntity() (gas: 188356)
T02UserTest:testGetUserIdFromAddress() (gas: 10897)
T02UserTest:testSetEntityFailsIfNotSysAdmin() (gas: 19867)
T03NaymsOwnershipTest:testTransferOwernship() (gas: 63517)
T03NaymsOwnershipTest:testTransferOwernshipFailsIfNotContractOwner() (gas: 16342)
T03NaymsOwnershipTest:testTransferOwernshipWithRoleGroupsNotSetPropertly() (gas: 61675)
T03SystemFacetTest:testD03CreateEntity() (gas: 16567)
T03SystemFacetTest:testGetObjectMeta() (gas: 235677)
T03SystemFacetTest:testIsObject() (gas: 232875)
T03SystemFacetTest:testMultipleCreateEntity() (gas: 427380)
T03SystemFacetTest:testNonManagerCreateEntity() (gas: 22954)
T03SystemFacetTest:testSingleCreateEntity() (gas: 227430)
T03SystemFacetTest:testStringToBytes32() (gas: 13406)
T03SystemFacetTest:testUnsupportedExternalTokenWhenCreatingEntity() (gas: 24062)
T03SystemFacetTest:testZeroCollateralRatioWhenCreatingEntity() (gas: 24230)
T03TokenizedVaultTest:testBasisPoints() (gas: 14004)
T03TokenizedVaultTest:testDepositAndBurn() (gas: 1504037)
T03TokenizedVaultTest:testMultipleDepositDividend() (gas: 1106658)
T03TokenizedVaultTest:testMultipleDepositDividendWithdraw() (gas: 1538891)
T03TokenizedVaultTest:testMultipleDepositDividendWithdrawWithTwoDividendTokens() (gas: 2973442)
T03TokenizedVaultTest:testPayDividendsWithNonZeroParticipationTokenSupply() (gas: 1232675)
T03TokenizedVaultTest:testPayDividendsWithZeroParticipationTokenSupply() (gas: 314601)
T03TokenizedVaultTest:testSingleExternalDeposit() (gas: 698969)
T03TokenizedVaultTest:testSingleExternalWithdraw() (gas: 732769)
T03TokenizedVaultTest:testSingleInternalTransfer() (gas: 302904)
T03TokenizedVaultTest:testSingleInternalTransferFromEntity() (gas: 299011)
T03TokenizedVaultTest:testWithdrawableDividenWhenPurchasedAfterDistribution() (gas: 1694241)
T04EntityTest:testCheckAndUpdateSimplePolicyState() (gas: 1035968)
T04EntityTest:testCreateSimplePolicyAlreadyExists() (gas: 1077106)
T04EntityTest:testCreateSimplePolicyEmitsEvent() (gas: 1068484)
T04EntityTest:testCreateSimplePolicyEntitiesAreAssignedRolesOnPolicy() (gas: 1115015)
T04EntityTest:testCreateSimplePolicyFundsAreLockedInitially() (gas: 1070581)
T04EntityTest:testCreateSimplePolicySignersAreNotEntityAdminsOfStakeholderEntities() (gas: 999238)
T04EntityTest:testCreateSimplePolicyUpdatesEntityUtilizedCapacity() (gas: 1574974)
T04EntityTest:testCreateSimplePolicyValidation() (gas: 1392006)
T04EntityTest:testEnableEntityTokenization() (gas: 241073)
T04EntityTest:testPayPremiumCommissions() (gas: 2414295)
T04EntityTest:testSimplePolicyPremiumsCommissionsClaims() (gas: 1590392)
T04EntityTest:testTokenSale() (gas: 715660)
T04EntityTest:testUpdateAllowSimplePolicy() (gas: 211451)
T04EntityTest:testUpdateCell() (gas: 239671)
T04EntityTest:testUpdateEntity() (gas: 168984)
T04MarketTest:testBestOffersWithCancel() (gas: 2368492)
T04MarketTest:testCancelOffer() (gas: 928881)
T04MarketTest:testCommissionsPayed() (gas: 2098429)
T04MarketTest:testFuzzMatchingOffers(uint256,uint256) (runs: 256, μ: 1296277, ~: 1301408)
T04MarketTest:testFuzzMatchingSellOffer(uint256,uint256) (runs: 256, μ: 1306485, ~: 1306485)
T04MarketTest:testGetBestOfferId() (gas: 2500593)
T04MarketTest:testLibFeeRouter() (gas: 2178822)
T04MarketTest:testMatchMakerPriceWithTakerBuyAmount() (gas: 1560766)
T04MarketTest:testMatchingExternalTokenOnSellSide() (gas: 1583610)
T04MarketTest:testOfferValidation() (gas: 1856227)
T04MarketTest:testStartTokenSale() (gas: 947860)
T04MarketTest:testUserCannotTransferFundsLockedInAnOffer() (gas: 1478625)
T01DeploymentTest:testCallInitDiamondTwice() (gas: 77396)
T01DeploymentTest:testDiamondLoupeFunctionality() (gas: 1549967)
T01DeploymentTest:testFork() (gas: 11031)
T01DeploymentTest:testInitDiamond() (gas: 5250856)
T01DeploymentTest:testOwnerOfDiamond() (gas: 15070)
T01GovernanceUpgrades:testCancelGovernanceUpgrade() (gas: 58034)
T01GovernanceUpgrades:testExpiredGovernanceUpgrade() (gas: 23258)
T01GovernanceUpgrades:testFacetAddress():(address) (gas: 2438)
T01GovernanceUpgrades:testGovernanceUpgrade() (gas: 86229)
T01GovernanceUpgrades:testGovernanceUpgradeMultiple() (gas: 129542)
T01GovernanceUpgrades:testMustBeOwnerToDoAGovernanceUpgrade() (gas: 60319)
T01GovernanceUpgrades:testScheduleTheSameGovernanceUpgradeBeforeExpiration() (gas: 56058)
T01GovernanceUpgrades:testUnscheduledGovernanceUpgrade() (gas: 22804)
T01GovernanceUpgrades:testUpdateUpgradeExpiration() (gas: 111338)
T01LibERC20:testBalanceOf() (gas: 67420)
T01LibERC20:testDecimals() (gas: 19406)
T01LibERC20:testTransfer() (gas: 85007)
T01LibERC20:testTransferFrom() (gas: 117761)
T01LibHelpers:testBytes32ToBytesFuzz(bytes32) (runs: 256, μ: 9543, ~: 9543)
T01LibHelpers:testBytesToBytes32Fuzz(bytes) (runs: 256, μ: 905, ~: 902)
T01LibHelpers:testGetAddressFromIdFuzz(bytes32) (runs: 256, μ: 3498, ~: 3510)
T01LibHelpers:testGetIdForAddressFuzz(address) (runs: 256, μ: 513, ~: 513)
T01LibHelpers:testGetIdForObjectAtIndexFuzz(uint256) (runs: 256, μ: 650, ~: 650)
T01LibHelpers:testGetSenderId() (gas: 429)
T01LibHelpers:testIdAddressConversionStabilityFuzz(address) (runs: 256, μ: 712, ~: 712)
T01LibHelpers:testStringToBytes32Fuzz(string) (runs: 256, μ: 954, ~: 955)
T02ACLTest:testAssignInvalidRole() (gas: 16734)
T02ACLTest:testAssignersCanAssignRole() (gas: 95308)
T02ACLTest:testAssignersCanUnassignRole() (gas: 106130)
T02ACLTest:testDeployerAssignRoleToAnotherObject() (gas: 59677)
T02ACLTest:testDeployerIsNotASystemAdmin() (gas: 14795)
T02ACLTest:testDeployerUnassignRoleOnAnotherObject() (gas: 53269)
T02ACLTest:testGetRoleInContext() (gas: 135972)
T02ACLTest:testHavingRoleInSystemContextConfersRoleInAllContexts() (gas: 98195)
T02ACLTest:testInvalidObjectIdWhenAssignRole() (gas: 14765)
T02ACLTest:testIsParentInGroup() (gas: 225333)
T02ACLTest:testNonAssignersCanAssignRoleIfTheirParentHasAssignerRoleInSystemContext() (gas: 261586)
T02ACLTest:testNonAssignersCanUnassignRoleIfTheirParentAsAssignerRoleInSystemContext() (gas: 287647)
T02ACLTest:testNonAssignersCannotAssignRole() (gas: 71631)
T02ACLTest:testNonAssignersCannotUnassignRole() (gas: 143219)
T02ACLTest:testReassignLastSystemAdminFails() (gas: 27039)
T02ACLTest:testRoleAssignmentEmitsAnEvent() (gas: 54818)
T02ACLTest:testRoleUnassignmentEmitsAnEvent() (gas: 90166)
T02ACLTest:testSystemAdminAssignAnyRoleToAnotherObjectInNewContext() (gas: 62528)
T02ACLTest:testUnassignLastSystemAdminFails() (gas: 26249)
T02ACLTest:testUnassignSystemAdmin() (gas: 61737)
T02ACLTest:testUpdateRoleAssigner() (gas: 98286)
T02ACLTest:testUpdateRoleAssignerFailIfNotAdmin() (gas: 18793)
T02ACLTest:testUpdateRoleGroup() (gas: 135942)
T02ACLTest:testUpdateRoleGroupFailIfNotAdmin() (gas: 19402)
T02AdminTest:testAddSupportedExternalToken() (gas: 117324)
T02AdminTest:testAddSupportedExternalTokenFailIfNotAdmin() (gas: 20466)
T02AdminTest:testAddSupportedExternalTokenFailIfTokenAddressHasNoCode() (gas: 21524)
T02AdminTest:testAddSupportedExternalTokenIfAlreadyAdded() (gas: 121660)
T02AdminTest:testAddSupportedExternalTokenIfWrapper() (gas: 1710994)
T02AdminTest:testGetMaxDividendDenominationsDefaultValue() (gas: 12871)
T02AdminTest:testGetSystemId() (gas: 11120)
T02AdminTest:testIsSupportedToken() (gas: 105060)
T02AdminTest:testLockFunction() (gas: 112140)
T02AdminTest:testLockFunctionExternalWithdrawFromEntity() (gas: 542553)
T02AdminTest:testOnlySystemAdminCanCallLockAndUnlockFunction(address) (runs: 256, μ: 34058, ~: 34058)
T02AdminTest:testSetMaxDividendDenominations() (gas: 33781)
T02AdminTest:testSetMaxDividendDenominationsFailIfLowerThanBefore() (gas: 32704)
T02AdminTest:testSetMaxDividendDenominationsFailIfNotAdmin() (gas: 18390)
T02AdminTest:testSetPremiumCommissionsBasisPoints() (gas: 48339)
T02AdminTest:testSetTradingCommissionsBasisPoints() (gas: 88164)
T02AdminTest:test_lockUnlockAllFundTransferFunctions() (gas: 479319)
T02UserTest:testGetAddressFromExternalTokenId() (gas: 10982)
T02UserTest:testGetSetEntity() (gas: 196275)
T02UserTest:testGetUserIdFromAddress() (gas: 13111)
T02UserTest:testSetEntityFailsIfNotSysAdmin() (gas: 17858)
T02UserTest:testSetNonExistingEntity() (gas: 21330)
T03NaymsOwnershipTest:testFuzz_TransferOwnership(address,address,address) (runs: 256, μ: 115399, ~: 115399)
T03NaymsOwnershipTest:testTransferOwernship() (gas: 80801)
T03NaymsOwnershipTest:testTransferOwernshipFailsIfNewOwnerIsSysAdmin() (gas: 63812)
T03NaymsOwnershipTest:testTransferOwernshipFailsIfNewOwnerIsSysManager() (gas: 102978)
T03NaymsOwnershipTest:testTransferOwernshipFailsIfNotSysAdmin() (gas: 17824)
T03SystemFacetTest:testD03CreateEntity() (gas: 18686)
T03SystemFacetTest:testGetObjectMeta() (gas: 250099)
T03SystemFacetTest:testIsObject() (gas: 239012)
T03SystemFacetTest:testMultipleCreateEntity() (gas: 438936)
T03SystemFacetTest:testNonManagerCreateEntity() (gas: 20456)
T03SystemFacetTest:testSingleCreateEntity() (gas: 233577)
T03SystemFacetTest:testStringToBytes32() (gas: 13478)
T03SystemFacetTest:testUnsupportedExternalTokenWhenCreatingEntity() (gas: 26043)
T03SystemFacetTest:testZeroCollateralRatioWhenCreatingEntity() (gas: 26147)
T03TokenizedVaultTest:testBasisPoints() (gas: 14339)
T03TokenizedVaultTest:testDepositAndBurn() (gas: 1839227)
T03TokenizedVaultTest:testDoubleCountingDividendPayoutsFix() (gas: 1460447)
T03TokenizedVaultTest:testFuzzSingleExternalDeposit(bytes32,bytes32,address,address,uint256) (runs: 256, μ: 1052636, ~: 1052665)
T03TokenizedVaultTest:testFuzzTwoEntityDepositDividendWithdraw(uint256,uint256,uint256,uint256,uint256) (runs: 256, μ: 1263867, ~: 1270935)
T03TokenizedVaultTest:testFuzzWithdrawableDividends(uint256,uint256,uint256) (runs: 256, μ: 1864475, ~: 1875739)
T03TokenizedVaultTest:testGetLockedBalance() (gas: 640855)
T03TokenizedVaultTest:testMultipleDepositDividend() (gas: 1344396)
T03TokenizedVaultTest:testMultipleDepositDividendWithdraw2() (gas: 1869474)
T03TokenizedVaultTest:testMultipleDepositDividendWithdrawWithTwoDividendTokens() (gas: 3745898)
T03TokenizedVaultTest:testOnlyEntityAdminCanPayDividend() (gas: 763545)
T03TokenizedVaultTest:testPayDividendsWithNonZeroParticipationTokenSupply() (gas: 1385440)
T03TokenizedVaultTest:testPayDividendsWithZeroParticipationTokenSupply() (gas: 448713)
T03TokenizedVaultTest:testReceivingDividendAfterTokenTrading() (gas: 2522352)
T03TokenizedVaultTest:testSingleExternalDeposit() (gas: 924887)
T03TokenizedVaultTest:testSingleExternalWithdraw() (gas: 986529)
T03TokenizedVaultTest:testSingleInternalTransferFromEntity() (gas: 329137)
T03TokenizedVaultTest:testWithdrawableDividendWhenPurchasedAfterDistribution() (gas: 1875702)
T04EntityTest:testCancelSimplePolicy() (gas: 1285861)
T04EntityTest:testCheckAndUpdateSimplePolicyState() (gas: 1187493)
T04EntityTest:testCreateSimplePolicyAlreadyExists() (gas: 1443590)
T04EntityTest:testCreateSimplePolicyEmitsEvent() (gas: 1304985)
T04EntityTest:testCreateSimplePolicyEntitiesAreAssignedRolesOnPolicy() (gas: 1338926)
T04EntityTest:testCreateSimplePolicyFundsAreLockedInitially() (gas: 1305783)
T04EntityTest:testCreateSimplePolicyStakeholderEntitiesAreNotSignersParent() (gas: 1172345)
T04EntityTest:testCreateSimplePolicyUpdatesEntityUtilizedCapacity() (gas: 1981288)
T04EntityTest:testCreateSimplePolicyValidation() (gas: 6562950)
T04EntityTest:testDomainSeparator() (gas: 24804)
T04EntityTest:testDuplicateSignerWhenCreatingSimplePolicy() (gas: 1491339)
T04EntityTest:testEnableEntityTokenization() (gas: 305002)
T04EntityTest:testPayPremiumCommissions() (gas: 2724860)
T04EntityTest:testPolicyDataHash():(bytes32) (gas: 2450)
T04EntityTest:testSignatureWhenCreatingSimplePolicy() (gas: 1770371)
T04EntityTest:testSimplePolicyEntityCapitalUtilization100CR() (gas: 2800884)
T04EntityTest:testSimplePolicyEntityCapitalUtilization50CR() (gas: 3519684)
T04EntityTest:testSimplePolicyLockedBalancesAfterPaySimpleClaim() (gas: 2111060)
T04EntityTest:testSimplePolicyPremiumsCommissionsClaims() (gas: 1769465)
T04EntityTest:testSimplePolicyStructHash() (gas: 22672)
T04EntityTest:testTokenSale() (gas: 819999)
T04EntityTest:testUpdateCell() (gas: 257685)
T04EntityTest:testUpdateCellCollateralRatio() (gas: 1298605)
T04EntityTest:testUpdateEntity() (gas: 302814)
T04EntityTest:testUtilizedCapacityMustBeZeroOnEntityCreate() (gas: 129187)
T04MarketTest:testBestOffersWithCancel() (gas: 2845758)
T04MarketTest:testCancelOffer() (gas: 1137840)
T04MarketTest:testCommissionsPayed() (gas: 2498910)
T04MarketTest:testFuzzMatchingOffers(uint256,uint256) (runs: 256, μ: 1463031, ~: 1468939)
T04MarketTest:testFuzzMatchingSellOffer(uint256,uint256) (runs: 256, μ: 1534237, ~: 1531199)
T04MarketTest:testGetBestOfferId() (gas: 2973709)
T04MarketTest:testLibFeeRouter() (gas: 2461882)
T04MarketTest:testMatchMakerPriceWithTakerBuyAmount() (gas: 1842631)
T04MarketTest:testMatchingExternalTokenOnSellSide() (gas: 1759381)
T04MarketTest:testNotAbleToTradeWithLockedFunds() (gas: 1807014)
T04MarketTest:testOfferValidation() (gas: 2235055)
T04MarketTest:testPolicyDataHash():(bytes32) (gas: 2428)
T04MarketTest:testQSP2() (gas: 1750656)
T04MarketTest:testStartTokenSale() (gas: 1150630)
T04MarketTest:testUserCannotTransferFundsLockedInAnOffer() (gas: 1777730)
T05TokenWrapper:testOnlyDiamondCanWrapTokens() (gas: 38928)
T05TokenWrapper:testPermit() (gas: 1842517)
T05TokenWrapper:testWrapEntityToken() (gas: 1780701)
T05TokenWrapper:testWrapperTransfersAndAllowance() (gas: 1884632)
TNaymsToken:testNaymsBalanceOf() (gas: 15165)
TNaymsToken:testNaymsTotalSupply() (gas: 12847)
Loading

0 comments on commit cc8ab90

Please sign in to comment.