Commit a0505132b8612ca530c2f3038001b9749a8507e3
TestEnvironment: use U256 directly for values
Alex Beregszaszi committed on 8/18/2016, 12:18:06 AMParent: 33a823411795d572879d98dbdbbb5f2f8ecb888f
Files changed
testEnvironment.js | changed |
tests/interface/balance.json | changed |
tests/interface/callValue.json | changed |
testEnvironment.js | ||
---|---|---|
@@ -16,9 +16,9 @@ | ||
16 | 16 | if (data.accounts) { |
17 | 17 | data.accounts.forEach((account) => { |
18 | 18 | let tmp = account[1] |
19 | 19 | self.state.set(new Address(account[0]).toString(), { |
20 | - balance: new U256(new BN(tmp.balance, 16, 'le')) | |
20 | + balance: new U256(tmp.balance) | |
21 | 21 | }) |
22 | 22 | }) |
23 | 23 | } |
24 | 24 |
Built with git-ssb-web