-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add acceptance manifestos * rename to winner, add basic tests! :) * more manifesto tests * add max speech length * Update AuctionHouse.sol * fix bug... * new gas reports
- Loading branch information
1 parent
abc7062
commit c463b00
Showing
8 changed files
with
1,285 additions
and
858 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@cobuild/revolution": patch | ||
--- | ||
|
||
Manifestos |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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,10 +1,45 @@ | ||
Compiling 41 files with 0.8.22 | ||
Solc 0.8.22 finished in 6.46s | ||
Compiler run [32msuccessful![0m | ||
Compiling 62 files with 0.8.22 | ||
Solc 0.8.22 finished in 18.55s | ||
Compiler run [33msuccessful with warnings:[0m | ||
[1;33mWarning (2018)[0m[1;37m: Function state mutability can be restricted to view[0m | ||
[34m-->[0m test/Splits.t.sol:58:5: | ||
[34m |[0m | ||
[34m58 |[0m [33mfunction setupBasicSplit()[0m | ||
[34m |[0m [1;33m^ (Relevant source part starts here and spans across multiple lines).[0m | ||
|
||
|
||
Running 10 tests for test/ValidateSplits.t.sol:ValidateSplitsTest | ||
[32m[PASS][0m test__NO_Revert_TooFewSplitAccounts() (gas: 121569) | ||
[32m[PASS][0m test__Revert_AccountsAndAllocationsMismatch() (gas: 17792) | ||
[32m[PASS][0m test__Revert_AllocationMustBePositive() (gas: 21788) | ||
[32m[PASS][0m test__Revert_LargePointsSplit() (gas: 20282) | ||
[32m[PASS][0m test__Revert_LargeTreasurySplit() (gas: 18437) | ||
[32m[PASS][0m test__Revert_NoTreasurySplit() (gas: 17391) | ||
[32m[PASS][0m test__Revert_PointsAccountsAndAllocationsMismatch() (gas: 18600) | ||
[32m[PASS][0m test__Revert_PointsAccountsMustBeOrdered() (gas: 21512) | ||
[32m[PASS][0m test__Revert_SmallPointsSplit() (gas: 20197) | ||
[32m[PASS][0m test__Revert_TooFewPointsAccounts() (gas: 17410) | ||
Test result: [32mok[0m. [32m10[0m passed; [31m0[0m failed; [33m0[0m skipped; finished in 1.24ms | ||
| node_modules/@cobuild/utility-contracts/src/proxy/ERC1967Proxy.sol:ERC1967Proxy contract | | | | | | | ||
|------------------------------------------------------------------------------------------|-----------------|--------|--------|--------|---------| | ||
| Deployment Cost | Deployment Size | | | | | | ||
| 52860 | 825 | | | | | | ||
| Function Name | min | avg | median | max | # calls | | ||
| PERCENTAGE_SCALE | 611 | 611 | 611 | 611 | 10 | | ||
| createSplit | 6866 | 19225 | 9034 | 114681 | 10 | | ||
| initialize | 414799 | 414799 | 414799 | 414799 | 10 | | ||
|
||
|
||
| src/SplitMain.sol:SplitMain contract | | | | | | | ||
|--------------------------------------|-----------------|--------|--------|--------|---------| | ||
| Deployment Cost | Deployment Size | | | | | | ||
| 4773417 | 24187 | | | | | | ||
| Function Name | min | avg | median | max | # calls | | ||
| PERCENTAGE_SCALE | 313 | 313 | 313 | 313 | 10 | | ||
| createSplit | 1986 | 14332 | 4142 | 109805 | 10 | | ||
| initialize | 414498 | 414498 | 414498 | 414498 | 10 | | ||
|
||
|
||
Running 1 test for test/Splits.t.sol:SplitsTest | ||
[32m[PASS][0m test__Blank() (gas: 200) | ||
Test result: [32mok[0m. [32m1[0m passed; [31m0[0m failed; [33m0[0m skipped; finished in 498.67µs | ||
|
||
|
||
Ran 1 test suites: [32m1[0m tests passed, [31m0[0m failed, [33m0[0m skipped (1 total tests) | ||
Ran 1 test suites: [32m10[0m tests passed, [31m0[0m failed, [33m0[0m skipped (10 total tests) |
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
Oops, something went wrong.