Set OP_EXP cost to HIGH

This commit is contained in:
Paweł Bylica 2018-06-11 18:09:26 +02:00
parent bfa5c5bf06
commit 2c83269f62
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
1 changed files with 5 additions and 5 deletions

View File

@ -32,7 +32,7 @@ static struct evmc_instruction_metrics constantinople_metrics[256] = {
/* SMOD = 0x07 */ {LOW, 2, 1},
/* ADDMOD = 0x08 */ {MID, 3, 1},
/* MULMOD = 0x09 */ {MID, 3, 1},
/* EXP = 0x0a */ {10, 2, 1},
/* EXP = 0x0a */ {HIGH, 2, 1},
/* SIGNEXTEND = 0x0b */ {LOW, 2, 1},
/* = 0x0c */ {UNDEFINED, 0, 0},
/* = 0x0d */ {UNDEFINED, 0, 0},
@ -291,7 +291,7 @@ static struct evmc_instruction_metrics byzantium_metrics[256] = {
/* SMOD = 0x07 */ {LOW, 2, 1},
/* ADDMOD = 0x08 */ {MID, 3, 1},
/* MULMOD = 0x09 */ {MID, 3, 1},
/* EXP = 0x0a */ {10, 2, 1},
/* EXP = 0x0a */ {HIGH, 2, 1},
/* SIGNEXTEND = 0x0b */ {LOW, 2, 1},
/* = 0x0c */ {UNDEFINED, 0, 0},
/* = 0x0d */ {UNDEFINED, 0, 0},
@ -550,7 +550,7 @@ static struct evmc_instruction_metrics tangerine_whistle_metrics[256] = {
/* SMOD = 0x07 */ {LOW, 2, 1},
/* ADDMOD = 0x08 */ {MID, 3, 1},
/* MULMOD = 0x09 */ {MID, 3, 1},
/* EXP = 0x0a */ {10, 2, 1},
/* EXP = 0x0a */ {HIGH, 2, 1},
/* SIGNEXTEND = 0x0b */ {LOW, 2, 1},
/* = 0x0c */ {UNDEFINED, 0, 0},
/* = 0x0d */ {UNDEFINED, 0, 0},
@ -809,7 +809,7 @@ static struct evmc_instruction_metrics homestead_metrics[256] = {
/* SMOD = 0x07 */ {LOW, 2, 1},
/* ADDMOD = 0x08 */ {MID, 3, 1},
/* MULMOD = 0x09 */ {MID, 3, 1},
/* EXP = 0x0a */ {10, 2, 1},
/* EXP = 0x0a */ {HIGH, 2, 1},
/* SIGNEXTEND = 0x0b */ {LOW, 2, 1},
/* = 0x0c */ {UNDEFINED, 0, 0},
/* = 0x0d */ {UNDEFINED, 0, 0},
@ -1068,7 +1068,7 @@ static struct evmc_instruction_metrics frontier_metrics[256] = {
/* SMOD = 0x07 */ {LOW, 2, 1},
/* ADDMOD = 0x08 */ {MID, 3, 1},
/* MULMOD = 0x09 */ {MID, 3, 1},
/* EXP = 0x0a */ {10, 2, 1},
/* EXP = 0x0a */ {HIGH, 2, 1},
/* SIGNEXTEND = 0x0b */ {LOW, 2, 1},
/* = 0x0c */ {UNDEFINED, 0, 0},
/* = 0x0d */ {UNDEFINED, 0, 0},