-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: don't run tests on all distribution model
test: test only cancel withdraw renounce and calculation functions for all distribution models test: add getters common test file and run them only for dynamic test: add and use expectRevert function in Integration_Test test: remove shared dir from integration test: remove "multiple" fuzz tests test: remove getWithdrawnAmount fuzz tests test: rename create dirs to contain the model test: add revert test for unique getters test: dry fy create with timestamps test with a common file in lockup-base test: dry fy tests by adding lockupModel variable in Integration_Test test: use only createDefaultStream function where possible test: other dry fy and code improvements
- Loading branch information
1 parent
0828db8
commit d919d60
Showing
172 changed files
with
2,455 additions
and
4,656 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
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
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
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,31 +1,31 @@ | ||
# Benchmarks for Lockup Dynamic | ||
# Benchmarks for Lockup Dynamic Model | ||
|
||
| Implementation | Gas Usage | | ||
| ------------------------------------------------------------ | --------- | | ||
| `burn` | 15737 | | ||
| `cancel` | 69877 | | ||
| `renounce` | 37913 | | ||
| `createWithDurationsLD` (2 segments) (Broker fee set) | 211048 | | ||
| `createWithDurationsLD` (2 segments) (Broker fee not set) | 194992 | | ||
| `createWithTimestampsLD` (2 segments) (Broker fee set) | 191907 | | ||
| `createWithTimestampsLD` (2 segments) (Broker fee not set) | 187158 | | ||
| `withdraw` (2 segments) (After End Time) (by Recipient) | 19081 | | ||
| `withdraw` (2 segments) (Before End Time) (by Recipient) | 28414 | | ||
| `withdraw` (2 segments) (After End Time) (by Anyone) | 14337 | | ||
| `withdraw` (2 segments) (Before End Time) (by Anyone) | 28470 | | ||
| `createWithDurationsLD` (10 segments) (Broker fee set) | 418495 | | ||
| `createWithDurationsLD` (10 segments) (Broker fee not set) | 413754 | | ||
| `createWithTimestampsLD` (10 segments) (Broker fee set) | 398397 | | ||
| `createWithTimestampsLD` (10 segments) (Broker fee not set) | 393659 | | ||
| `withdraw` (10 segments) (After End Time) (by Recipient) | 14268 | | ||
| `withdraw` (10 segments) (Before End Time) (by Recipient) | 35941 | | ||
| `withdraw` (10 segments) (After End Time) (by Anyone) | 14345 | | ||
| `withdraw` (10 segments) (Before End Time) (by Anyone) | 35997 | | ||
| `createWithDurationsLD` (100 segments) (Broker fee set) | 2917762 | | ||
| `createWithDurationsLD` (100 segments) (Broker fee not set) | 2914004 | | ||
| `createWithTimestampsLD` (100 segments) (Broker fee set) | 2725623 | | ||
| `createWithTimestampsLD` (100 segments) (Broker fee not set) | 2721888 | | ||
| `withdraw` (100 segments) (After End Time) (by Recipient) | 14268 | | ||
| `withdraw` (100 segments) (Before End Time) (by Recipient) | 121045 | | ||
| `withdraw` (100 segments) (After End Time) (by Anyone) | 14324 | | ||
| `withdraw` (100 segments) (Before End Time) (by Anyone) | 121101 | | ||
| `burn` | 15759 | | ||
| `cancel` | 68674 | | ||
| `renounce` | 37726 | | ||
| `createWithDurationsLD` (2 segments) (Broker fee set) | 210925 | | ||
| `createWithDurationsLD` (2 segments) (Broker fee not set) | 194672 | | ||
| `createWithTimestampsLD` (2 segments) (Broker fee set) | 191434 | | ||
| `createWithTimestampsLD` (2 segments) (Broker fee not set) | 186483 | | ||
| `withdraw` (2 segments) (After End Time) (by Recipient) | 19035 | | ||
| `withdraw` (2 segments) (Before End Time) (by Recipient) | 28249 | | ||
| `withdraw` (2 segments) (After End Time) (by Anyone) | 14291 | | ||
| `withdraw` (2 segments) (Before End Time) (by Anyone) | 28305 | | ||
| `createWithDurationsLD` (10 segments) (Broker fee set) | 418459 | | ||
| `createWithDurationsLD` (10 segments) (Broker fee not set) | 413521 | | ||
| `createWithTimestampsLD` (10 segments) (Broker fee set) | 398011 | | ||
| `createWithTimestampsLD` (10 segments) (Broker fee not set) | 393076 | | ||
| `withdraw` (10 segments) (After End Time) (by Recipient) | 14222 | | ||
| `withdraw` (10 segments) (Before End Time) (by Recipient) | 35552 | | ||
| `withdraw` (10 segments) (After End Time) (by Anyone) | 14299 | | ||
| `withdraw` (10 segments) (Before End Time) (by Anyone) | 35608 | | ||
| `createWithDurationsLD` (100 segments) (Broker fee set) | 2918719 | | ||
| `createWithDurationsLD` (100 segments) (Broker fee not set) | 2914766 | | ||
| `createWithTimestampsLD` (100 segments) (Broker fee set) | 2726237 | | ||
| `createWithTimestampsLD` (100 segments) (Broker fee not set) | 2722308 | | ||
| `withdraw` (100 segments) (After End Time) (by Recipient) | 14222 | | ||
| `withdraw` (100 segments) (Before End Time) (by Recipient) | 118136 | | ||
| `withdraw` (100 segments) (After End Time) (by Anyone) | 14278 | | ||
| `withdraw` (100 segments) (Before End Time) (by Anyone) | 118192 | |
Oops, something went wrong.