Skip to content

Commit

Permalink
DUPN and SWAPN moved to SHANGHAI
Browse files Browse the repository at this point in the history
  • Loading branch information
rodiazet committed Nov 25, 2022
1 parent 9b815c6 commit 2dcf214
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/instructions/instruction_metrics.c
Original file line number Diff line number Diff line change
Expand Up @@ -472,8 +472,8 @@ static struct evmc_instruction_metrics shanghai_metrics[256] = {
/* = 0xaf */ {UNDEFINED, 0, 0},
/* = 0xb0 */ {UNDEFINED, 0, 0},
/* = 0xb1 */ {UNDEFINED, 0, 0},
/* = 0xb2 */ {UNDEFINED, 0, 0},
/* = 0xb3 */ {UNDEFINED, 0, 0},
/* DUPN = 0xb2 */ {VERYLOW, 0, 1},
/* SWAPN = 0xb3 */ {VERYLOW, 0, 0},
/* = 0xb4 */ {UNDEFINED, 0, 0},
/* = 0xb5 */ {UNDEFINED, 0, 0},
/* = 0xb6 */ {UNDEFINED, 0, 0},
Expand Down
4 changes: 2 additions & 2 deletions lib/instructions/instruction_names.c
Original file line number Diff line number Diff line change
Expand Up @@ -442,8 +442,8 @@ static const char* shanghai_names[256] = {
/* 0xaf */ NULL,
/* 0xb0 */ NULL,
/* 0xb1 */ NULL,
/* 0xb2 */ NULL,
/* 0xb3 */ NULL,
/* 0xb2 */ "DUPN",
/* 0xb3 */ "SWAPN",
/* 0xb4 */ NULL,
/* 0xb5 */ NULL,
/* 0xb6 */ NULL,
Expand Down

0 comments on commit 2dcf214

Please sign in to comment.