mirror of
https://github.com/status-im/discover-dapps.git
synced 2025-01-12 11:44:49 +00:00
Try get embark coverage working WIP
This commit is contained in:
parent
26dbfbfcbe
commit
9216468a32
@ -268,11 +268,12 @@ contract BancorFormula {
|
|||||||
|
|
||||||
while (lo + 1 < hi) {
|
while (lo + 1 < hi) {
|
||||||
uint8 mid = (lo + hi) / 2;
|
uint8 mid = (lo + hi) / 2;
|
||||||
if (maxExpArray[mid] >= _x)
|
if (maxExpArray[mid] >= _x) {
|
||||||
lo = mid;
|
lo = mid;
|
||||||
else
|
} else {
|
||||||
hi = mid;
|
hi = mid;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (maxExpArray[hi] >= _x)
|
if (maxExpArray[hi] >= _x)
|
||||||
return hi;
|
return hi;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
pragma solidity ^0.5.2;
|
pragma solidity ^0.5.2;
|
||||||
|
|
||||||
import "../token/ERC20Token.sol";
|
import "./ERC20Token.sol";
|
||||||
|
|
||||||
|
|
||||||
contract MiniMeTokenInterface is ERC20Token {
|
contract MiniMeTokenInterface is ERC20Token {
|
||||||
|
@ -32,7 +32,8 @@ config({
|
|||||||
"DAppStore": {
|
"DAppStore": {
|
||||||
args: [ "$SNT" ]
|
args: [ "$SNT" ]
|
||||||
},
|
},
|
||||||
"TestBancorFormula": { }
|
"TestBancorFormula": { },
|
||||||
|
"Controlled": { }
|
||||||
}
|
}
|
||||||
}, (_err, web3_accounts) => {
|
}, (_err, web3_accounts) => {
|
||||||
accounts = web3_accounts
|
accounts = web3_accounts
|
||||||
|
Loading…
x
Reference in New Issue
Block a user