Merge pull request #206 from ethereum/revert-205-master
Revert "Correct stSystemOperationsTest run with programCode.length prote...
This commit is contained in:
commit
ff0f25252b
|
@ -389,11 +389,6 @@ public class Program {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (programCode.length == 0) {
|
|
||||||
result = new ProgramResult();
|
|
||||||
result.setHReturn(new byte[] {});
|
|
||||||
}
|
|
||||||
|
|
||||||
// 4. CREATE THE CONTRACT OUT OF RETURN
|
// 4. CREATE THE CONTRACT OUT OF RETURN
|
||||||
byte[] code = result.getHReturn().array();
|
byte[] code = result.getHReturn().array();
|
||||||
|
|
||||||
|
|
|
@ -104,6 +104,10 @@ public class GitHubStateTest {
|
||||||
public void stSystemOperationsTest() throws ParseException {
|
public void stSystemOperationsTest() throws ParseException {
|
||||||
|
|
||||||
Set<String> excluded = new HashSet<>();
|
Set<String> excluded = new HashSet<>();
|
||||||
|
excluded.add("createNameRegistratorZeroMem2");
|
||||||
|
excluded.add("createNameRegistratorZeroMem");
|
||||||
|
excluded.add("createNameRegistratorZeroMemExpansion");
|
||||||
|
|
||||||
|
|
||||||
String json = JSONReader.loadJSON("StateTests/stSystemOperationsTest.json");
|
String json = JSONReader.loadJSON("StateTests/stSystemOperationsTest.json");
|
||||||
GitHubJSONTestSuite.runGitHubJsonStateTest(json, excluded);
|
GitHubJSONTestSuite.runGitHubJsonStateTest(json, excluded);
|
||||||
|
|
Loading…
Reference in New Issue