mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-19 11:20:45 +00:00
core/vm: add missing test case from eip
This commit is contained in:
parent
ce35dc324d
commit
40ab2dd1e2
1 changed files with 5 additions and 0 deletions
|
|
@ -1079,6 +1079,11 @@ func TestEIP8024_Execution(t *testing.T) {
|
||||||
codeHex: "600456e65b",
|
codeHex: "600456e65b",
|
||||||
wantErr: nil,
|
wantErr: nil,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "UNDERFLOW_DUPN",
|
||||||
|
codeHex: "6000808080808080808080808080808080e600",
|
||||||
|
wantErr: &ErrStackUnderflow{},
|
||||||
|
},
|
||||||
// Additional test cases
|
// Additional test cases
|
||||||
{
|
{
|
||||||
name: "INVALID_DUPN_LOW",
|
name: "INVALID_DUPN_LOW",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue