core: drop OLDPUSH1, it's no longer needed

Fixes #927.
This commit is contained in:
Roman Khimov 2020-06-05 13:04:20 +03:00
parent 0a09a20900
commit 35b30ccfdf
6 changed files with 3 additions and 15 deletions

View file

@ -135,12 +135,8 @@ func testFile(t *testing.T, filename string) {
require.NoErrorf(t, json.Unmarshal(data, ut), "file: %s", filename)
t.Run(ut.Category+":"+ut.Name, func(t *testing.T) {
isRot := strings.HasSuffix(filename, "ROT.json")
for i := range ut.Tests {
test := ut.Tests[i]
if isRot && test.Name == "Without push" {
return // FIXME #927 single ROT is interpreted as PUSH1
}
t.Run(ut.Tests[i].Name, func(t *testing.T) {
prog := []byte(test.Script)
vm := load(prog)