diff --git a/core/vm/instructions_test.go b/core/vm/instructions_test.go index 7154983f4a..5152b56406 100644 --- a/core/vm/instructions_test.go +++ b/core/vm/instructions_test.go @@ -1079,6 +1079,11 @@ func TestEIP8024_Execution(t *testing.T) { codeHex: "600456e65b", wantErr: nil, }, + { + name: "UNDERFLOW_DUPN", + codeHex: "6000808080808080808080808080808080e600", + wantErr: &ErrStackUnderflow{}, + }, // Additional test cases { name: "INVALID_DUPN_LOW",