mirror of
https://github.com/status-im/ethereumj-personal.git
synced 2025-02-11 03:06:26 +00:00
Fix regressions, use signum constructor for BigInteger
This commit is contained in:
parent
9f5678c769
commit
8d8b734859
@ -89,10 +89,10 @@ public class TestRunner {
|
||||
coinbase,
|
||||
ByteUtil.EMPTY_BYTE_ARRAY,
|
||||
testCase.getEnv().getCurrentDifficulty(),
|
||||
new BigInteger(testCase.getEnv().getCurrentNumber()).longValue(),
|
||||
new BigInteger(testCase.getEnv().getCurrentGasLimit()).longValue(),
|
||||
new BigInteger(1, testCase.getEnv().getCurrentNumber()).longValue(),
|
||||
new BigInteger(1, testCase.getEnv().getCurrentGasLimit()).longValue(),
|
||||
0L,
|
||||
new BigInteger(testCase.getEnv().getCurrentTimestamp()).longValue(),
|
||||
new BigInteger(1, testCase.getEnv().getCurrentTimestamp()).longValue(),
|
||||
ByteUtil.ZERO_BYTE_ARRAY,
|
||||
ByteUtil.ZERO_BYTE_ARRAY,
|
||||
null, null);
|
||||
|
@ -26,8 +26,6 @@ public class GitHubStateTest {
|
||||
public void runWithExcludedTest() throws ParseException {
|
||||
|
||||
Set<String> excluded = new HashSet<>();
|
||||
|
||||
|
||||
String json = JSONReader.loadJSON("StateTests/stPreCompiledContracts.json");
|
||||
GitHubJSONTestSuite.runGitHubJsonStateTest(json, excluded);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user