-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(StakeManager): Use maxMP instead of totalMP
- Loading branch information
Showing
4 changed files
with
131 additions
and
156 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
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,67 +1,67 @@ | ||
CreateVaultTest:testDeployment() (gas: 9774) | ||
CreateVaultTest:test_createVault() (gas: 700333) | ||
ExecuteAccountTest:testDeployment() (gas: 28875) | ||
ExecuteAccountTest:test_ExecuteAccountLimit() (gas: 1559514) | ||
ExecuteAccountTest:test_ExecuteAccountMintMP() (gas: 5232040) | ||
ExecuteAccountTest:test_RevertWhen_InvalidLimitEpoch() (gas: 1769214) | ||
ExecuteAccountTest:test_ShouldNotMintMoreThanCap() (gas: 320225995) | ||
ExecuteEpochTest:testDeployment() (gas: 28876) | ||
ExecuteEpochTest:testNewDeployment() (gas: 30948) | ||
ExecuteEpochTest:test_ExecuteEpochExecuteAccountAfterEpochEnd() (gas: 1350443) | ||
ExecuteEpochTest:test_ExecuteEpochExecuteAccountAfterManyEpochsJumoMany() (gas: 1367228) | ||
ExecuteEpochTest:test_ExecuteEpochExecuteAccountAfterManyEpochsWithBrokenTime() (gas: 1613317) | ||
ExecuteEpochTest:test_ExecuteEpochExecuteAccountAfterManyEpochsWithBrokenTimeJumpMany() (gas: 1377593) | ||
ExecuteEpochTest:test_ExecuteEpochExecuteEpochAfterEnd() (gas: 1910717) | ||
ExecuteEpochTest:test_ExecuteEpochExecuteEpochExecuteAccountAfterManyEpochs() (gas: 2492323) | ||
ExecuteEpochTest:test_ExecuteEpochExecuteEpochExecuteAccountAfterManyEpochsJumoMany() (gas: 1460710) | ||
ExecuteEpochTest:test_ExecuteEpochExecuteEpochExecuteAccountAfterManyEpochsWithBrokenTime() (gas: 2502709) | ||
ExecuteEpochTest:test_ExecuteEpochExecuteEpochExecuteAccountAfterManyEpochsWithBrokenTimeJumpMany() (gas: 1471052) | ||
ExecuteAccountTest:testDeployment() (gas: 28853) | ||
ExecuteAccountTest:test_ExecuteAccountLimit() (gas: 1559565) | ||
ExecuteAccountTest:test_ExecuteAccountMintMP() (gas: 5229838) | ||
ExecuteAccountTest:test_RevertWhen_InvalidLimitEpoch() (gas: 1769243) | ||
ExecuteAccountTest:test_ShouldNotMintMoreThanCap() (gas: 319099087) | ||
ExecuteEpochTest:testDeployment() (gas: 28898) | ||
ExecuteEpochTest:testNewDeployment() (gas: 31015) | ||
ExecuteEpochTest:test_ExecuteEpochExecuteAccountAfterEpochEnd() (gas: 1351146) | ||
ExecuteEpochTest:test_ExecuteEpochExecuteAccountAfterManyEpochsJumoMany() (gas: 1367601) | ||
ExecuteEpochTest:test_ExecuteEpochExecuteAccountAfterManyEpochsWithBrokenTime() (gas: 1613976) | ||
ExecuteEpochTest:test_ExecuteEpochExecuteAccountAfterManyEpochsWithBrokenTimeJumpMany() (gas: 1377966) | ||
ExecuteEpochTest:test_ExecuteEpochExecuteEpochAfterEnd() (gas: 1909295) | ||
ExecuteEpochTest:test_ExecuteEpochExecuteEpochExecuteAccountAfterManyEpochs() (gas: 2489731) | ||
ExecuteEpochTest:test_ExecuteEpochExecuteEpochExecuteAccountAfterManyEpochsJumoMany() (gas: 1460839) | ||
ExecuteEpochTest:test_ExecuteEpochExecuteEpochExecuteAccountAfterManyEpochsWithBrokenTime() (gas: 2500073) | ||
ExecuteEpochTest:test_ExecuteEpochExecuteEpochExecuteAccountAfterManyEpochsWithBrokenTimeJumpMany() (gas: 1471203) | ||
ExecuteEpochTest:test_ExecuteEpochNewEpoch() (gas: 1083615) | ||
ExecuteEpochTest:test_ExecuteEpochShouldIncreaseEpoch() (gas: 92277) | ||
ExecuteEpochTest:test_ExecuteEpochShouldIncreasePendingReward() (gas: 252659) | ||
ExecuteEpochTest:test_ExecuteEpochShouldNotIncreaseEpochBeforeEnd() (gas: 38961) | ||
ExecuteEpochTest:test_ExecuteEpochShouldIncreaseEpoch() (gas: 92233) | ||
ExecuteEpochTest:test_ExecuteEpochShouldIncreasePendingReward() (gas: 252720) | ||
ExecuteEpochTest:test_ExecuteEpochShouldNotIncreaseEpochBeforeEnd() (gas: 38962) | ||
ExecuteEpochTest:test_ExecuteEpochShouldNotIncreaseEpochInMigration() (gas: 149703) | ||
LeaveTest:testDeployment() (gas: 28853) | ||
LeaveTest:test_RevertWhen_NoPendingMigration() (gas: 1311974) | ||
LeaveTest:test_RevertWhen_SenderIsNotVault() (gas: 31740) | ||
LockTest:testDeployment() (gas: 28853) | ||
LockTest:test_NewLockupPeriod() (gas: 1310978) | ||
LockTest:test_RevertWhen_InvalidNewLockupPeriod() (gas: 1285586) | ||
LockTest:test_RevertWhen_InvalidUpdateLockupPeriod() (gas: 1406860) | ||
LockTest:test_RevertWhen_SenderIsNotVault() (gas: 31834) | ||
LockTest:test_ShouldIncreaseBonusMP() (gas: 1293620) | ||
LockTest:test_UpdateLockupPeriod() (gas: 1470415) | ||
MigrateTest:testDeployment() (gas: 28853) | ||
MigrateTest:test_RevertWhen_NoPendingMigration() (gas: 1276097) | ||
MigrateTest:test_RevertWhen_SenderIsNotVault() (gas: 31739) | ||
MigrationInitializeTest:testDeployment() (gas: 28853) | ||
MigrationInitializeTest:test_RevertWhen_MigrationPending() (gas: 5451158) | ||
MigrationStakeManagerTest:testDeployment() (gas: 28853) | ||
MigrationStakeManagerTest:testNewDeployment() (gas: 30992) | ||
MigrationStakeManagerTest:test_ExecuteEpochShouldNotIncreaseEpochInMigration() (gas: 149668) | ||
LeaveTest:testDeployment() (gas: 28831) | ||
LeaveTest:test_RevertWhen_NoPendingMigration() (gas: 1312647) | ||
LeaveTest:test_RevertWhen_SenderIsNotVault() (gas: 31763) | ||
LockTest:testDeployment() (gas: 28831) | ||
LockTest:test_NewLockupPeriod() (gas: 1311618) | ||
LockTest:test_RevertWhen_InvalidNewLockupPeriod() (gas: 1286248) | ||
LockTest:test_RevertWhen_InvalidUpdateLockupPeriod() (gas: 1407167) | ||
LockTest:test_RevertWhen_SenderIsNotVault() (gas: 31857) | ||
LockTest:test_ShouldIncreaseMaxMP() (gas: 1294282) | ||
LockTest:test_UpdateLockupPeriod() (gas: 1470744) | ||
MigrateTest:testDeployment() (gas: 28831) | ||
MigrateTest:test_RevertWhen_NoPendingMigration() (gas: 1276770) | ||
MigrateTest:test_RevertWhen_SenderIsNotVault() (gas: 31762) | ||
MigrationInitializeTest:testDeployment() (gas: 28831) | ||
MigrationInitializeTest:test_RevertWhen_MigrationPending() (gas: 5462037) | ||
MigrationStakeManagerTest:testDeployment() (gas: 28831) | ||
MigrationStakeManagerTest:testNewDeployment() (gas: 30948) | ||
MigrationStakeManagerTest:test_ExecuteEpochShouldNotIncreaseEpochInMigration() (gas: 149713) | ||
SetStakeManagerTest:testDeployment() (gas: 9774) | ||
SetStakeManagerTest:test_RevertWhen_InvalidStakeManagerAddress() (gas: 63105) | ||
SetStakeManagerTest:test_SetStakeManager() (gas: 41301) | ||
StakeManagerTest:testDeployment() (gas: 28625) | ||
StakeManagerTest:testDeployment() (gas: 28603) | ||
StakeTest:testDeployment() (gas: 28831) | ||
StakeTest:test_RevertWhen_InvalidLockupPeriod() (gas: 1057656) | ||
StakeTest:test_RevertWhen_Restake() (gas: 1301092) | ||
StakeTest:test_RevertWhen_RestakeWithLock() (gas: 1304525) | ||
StakeTest:test_RevertWhen_SenderIsNotVault() (gas: 32082) | ||
StakeTest:test_RevertWhen_StakeIsTooLow() (gas: 803915) | ||
StakeTest:test_RevertWhen_InvalidLockupPeriod() (gas: 1057645) | ||
StakeTest:test_RevertWhen_Restake() (gas: 1301832) | ||
StakeTest:test_RevertWhen_RestakeWithLock() (gas: 1305220) | ||
StakeTest:test_RevertWhen_SenderIsNotVault() (gas: 32104) | ||
StakeTest:test_RevertWhen_StakeIsTooLow() (gas: 803959) | ||
StakeTest:test_RevertWhen_StakeTokenTransferFails() (gas: 207758) | ||
StakeTest:test_StakeWithLockBonusMP() (gas: 2323783) | ||
StakeTest:test_StakeWithoutLockUpTimeMintsMultiplierPoints() (gas: 1297379) | ||
StakeTest:test_StakeWithLockMaxMP() (gas: 2325472) | ||
StakeTest:test_StakeWithoutLockUpTimeMintsMultiplierPoints() (gas: 1298474) | ||
StakedTokenTest:testStakeToken() (gas: 7597) | ||
UnstakeTest:testDeployment() (gas: 28875) | ||
UnstakeTest:test_RevertWhen_AmountMoreThanBalance() (gas: 1281609) | ||
UnstakeTest:test_RevertWhen_FundsLocked() (gas: 1325777) | ||
UnstakeTest:test_RevertWhen_SenderIsNotVault() (gas: 31879) | ||
UnstakeTest:test_UnstakeShouldBurnMultiplierPoints() (gas: 6432067) | ||
UnstakeTest:test_UnstakeShouldReturnFund_NoLockUp() (gas: 1303800) | ||
UnstakeTest:test_UnstakeShouldReturnFund_WithLockUp() (gas: 1387208) | ||
UserFlowsTest:testDeployment() (gas: 28853) | ||
UserFlowsTest:test_PendingMPToBeMintedCannotBeGreaterThanTotalSupplyMP(uint8,uint128) (runs: 114, μ: 130857603, ~: 130246926) | ||
UserFlowsTest:test_StakeWithLockUpTimeLocksStake() (gas: 1425816) | ||
UserFlowsTest:test_StakedSupplyShouldIncreaseAndDecreaseAgain() (gas: 2461484) | ||
UnstakeTest:testDeployment() (gas: 28853) | ||
UnstakeTest:test_RevertWhen_AmountMoreThanBalance() (gas: 1282314) | ||
UnstakeTest:test_RevertWhen_FundsLocked() (gas: 1326462) | ||
UnstakeTest:test_RevertWhen_SenderIsNotVault() (gas: 31857) | ||
UnstakeTest:test_UnstakeShouldBurnMultiplierPoints() (gas: 6413830) | ||
UnstakeTest:test_UnstakeShouldReturnFund_NoLockUp() (gas: 1304463) | ||
UnstakeTest:test_UnstakeShouldReturnFund_WithLockUp() (gas: 1387562) | ||
UserFlowsTest:testDeployment() (gas: 28831) | ||
UserFlowsTest:test_PendingMPToBeMintedCannotBeGreaterThanTotalSupplyMP(uint8,uint128) (runs: 114, μ: 130456714, ~: 129540928) | ||
UserFlowsTest:test_StakeWithLockUpTimeLocksStake() (gas: 1426181) | ||
UserFlowsTest:test_StakedSupplyShouldIncreaseAndDecreaseAgain() (gas: 2462875) | ||
VaultFactoryTest:testDeployment() (gas: 9774) |
Oops, something went wrong.