Skip to content

Commit 86ec976

Browse files
author
fbranciard
authored
Merge pull request #36 from iExecBlockchainComputing/v1.0.13
V1.0.13
2 parents e147adb + 8952b8f commit 86ec976

File tree

114 files changed

+48684
-46647
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+48684
-46647
lines changed

ChangeLog.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
2+
3+
### backlog
4+
Features:
5+
* [#17](https://github.com/iExecBlockchainComputing/PoCo/issues/17): do not revert bad reveal but store it to a wrong status [POST V2]
6+
* [#19](https://github.com/iExecBlockchainComputing/PoCo/issues/19): MarketOrder (Direction & Status) [GO/NOGO]
7+
* [#22](https://github.com/iExecBlockchainComputing/PoCo/issues/22): allow to deposit on someone else's account [GO/NOGO]
8+
* [#23](https://github.com/iExecBlockchainComputing/PoCo/issues/23): rename createMarketOrder => createOrder || createWorkOrder [GO/NOGO]
9+
10+
Bugfixes:
11+
12+
13+
### v1.0.13 (unreleased)
14+
15+
Features:
16+
* [#16](https://github.com/iExecBlockchainComputing/PoCo/issues/16) add counters info in Hub
17+
* [#21](https://github.com/iExecBlockchainComputing/PoCo/issues/21): remove change ownership in OwnableOZ.sol
18+
19+
Bugfixes:
20+
* [#24](https://github.com/iExecBlockchainComputing/PoCo/issues/24) : possibly useless RLC address getter
21+
* [#15](https://github.com/iExecBlockchainComputing/PoCo/issues/15) :[CS AUDIT] Result without Payment. Malicious IexecAPI contract without callback
22+
* [#25](https://github.com/iExecBlockchainComputing/PoCo/issues/25) :[CS AUDIT] Scheduler can manipulate its reward percentage
23+
* [#26](https://github.com/iExecBlockchainComputing/PoCo/issues/26) :[CS AUDIT] Arbitrary Contract are trusted
24+
* [#27](https://github.com/iExecBlockchainComputing/PoCo/issues/27) :[CS AUDIT] fix consensusTimout, failled typo to consensusTimeout, failed
25+
* [#28](https://github.com/iExecBlockchainComputing/PoCo/issues/28) : Attacker can race to attach invalid hubs.
26+
* [#29](https://github.com/iExecBlockchainComputing/PoCo/issues/29) : [CS AUDIT] Addresses are are duplicates
27+
* [#30](https://github.com/iExecBlockchainComputing/PoCo/issues/30) : IexecHubInterface is not up to date
28+
* [#31](https://github.com/iExecBlockchainComputing/PoCo/issues/31) : OwnableOZ event not correct
29+
* [#32](https://github.com/iExecBlockchainComputing/PoCo/issues/32) : Need more gas
30+
* [#33](https://github.com/iExecBlockchainComputing/PoCo/issues/33) : [CS AUDIT] Both a contract and an event are called WorkOrder.
31+
* [#34](https://github.com/iExecBlockchainComputing/PoCo/issues/34) : [CS AUDIT] the variable names workerReward and workersReward are confusingly similar
32+
33+
34+
### [v1.0.12](https://github.com/iExecBlockchainComputing/PoCo/releases/tag/v1.0.12)
35+
Initial version. external audit launched on this release v1.0.12

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -492,15 +492,15 @@ or
492492

493493

494494
```
495-
coverage : 12/04/2018
495+
coverage : 20/05/2018
496496
497-
180 passing (12m)
497+
184 passing (10m)
498498
1 pending
499499
500500
-----------------------------|----------|----------|----------|----------|----------------|
501501
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines |
502502
-----------------------------|----------|----------|----------|----------|----------------|
503-
contracts/ | 100 | 75.16 | 100 | 100 | |
503+
contracts/ | 100 | 74.7 | 100 | 100 | |
504504
App.sol | 100 | 50 | 100 | 100 | |
505505
AppHub.sol | 100 | 100 | 100 | 100 | |
506506
Dataset.sol | 100 | 50 | 100 | 100 | |
@@ -511,17 +511,17 @@ IexecHub.sol | 100 | 70.54 | 100 | 100 |
511511
IexecHubAccessor.sol | 100 | 75 | 100 | 100 | |
512512
IexecHubInterface.sol | 100 | 100 | 100 | 100 | |
513513
IexecLib.sol | 100 | 100 | 100 | 100 | |
514-
Marketplace.sol | 100 | 88.89 | 100 | 100 | |
514+
Marketplace.sol | 100 | 83.33 | 100 | 100 | |
515515
MarketplaceAccessor.sol | 100 | 50 | 100 | 100 | |
516516
MarketplaceInterface.sol | 100 | 100 | 100 | 100 | |
517-
OwnableOZ.sol | 100 | 75 | 100 | 100 | |
517+
OwnableOZ.sol | 100 | 66.67 | 100 | 100 | |
518518
SafeMathOZ.sol | 100 | 75 | 100 | 100 | |
519519
TestSha.sol | 100 | 100 | 100 | 100 | |
520-
WorkOrder.sol | 100 | 60 | 100 | 100 | |
521-
WorkerPool.sol | 100 | 82.69 | 100 | 100 | |
520+
WorkOrder.sol | 100 | 56.25 | 100 | 100 | |
521+
WorkerPool.sol | 100 | 81.9 | 100 | 100 | |
522522
WorkerPoolHub.sol | 100 | 75 | 100 | 100 | |
523523
-----------------------------|----------|----------|----------|----------|----------------|
524-
All files | 100 | 75.16 | 100 | 100 | |
524+
All files | 100 | 74.7 | 100 | 100 | |
525525
-----------------------------|----------|----------|----------|----------|----------------|
526526
```
527527
## Oyente analyse see [here](./oyente)

autotest.sh

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function runDeploy
7575
fi
7676
}
7777

78-
function runTests
78+
function runCoreTests
7979
{
8080
# running tests
8181
for filepath in `find test/ -maxdepth 1 -type f -name "*.js" -print | sort`
@@ -99,12 +99,30 @@ function runTests
9999
done
100100
}
101101

102+
function runAllTests
103+
{
104+
# running tests
105+
logfile="logs/alltests.$date.log"
106+
printf "Starting all test ... "
107+
$TRUFFLE test > $logfile 2>&1
108+
if [[ $? -ne 0 ]];
109+
then
110+
print_style 'danger' "failure\n"
111+
print_style 'danger' "Full report is available at $logfile\n"
112+
catch
113+
else
114+
print_style 'success' "success\n"
115+
rm -f $logfile
116+
fi
117+
}
118+
102119
date=$(date --utc +"%Y-%m-%dT%H:%M:%S")
103120
checkpoint="$1"
104121

105122
# MAIN
106123
initialize
107124
runCompile
108125
runDeploy
109-
runTests
126+
runCoreTests
127+
#runAllTests
110128
finalize

0 commit comments

Comments
 (0)