instructions: Rename comment SUICIDE -> SELFDESTRUCT

This commit is contained in:
Paweł Bylica 2019-09-19 15:37:14 +02:00
parent 3379a946f4
commit 3ae155fdee
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
1 changed files with 6 additions and 6 deletions

View File

@ -277,7 +277,7 @@ static struct evmc_instruction_metrics istanbul_metrics[256] = {
/* = 0xfc */ {UNDEFINED, 0, 0},
/* REVERT = 0xfd */ {ZERO, 2, 0},
/* INVALID = 0xfe */ {ZERO, 0, 0},
/* SUICIDE = 0xff */ {5000, 1, 0},
/* SELFDESTRUCT = 0xff */ {5000, 1, 0},
};
static struct evmc_instruction_metrics constantinople_metrics[256] = {
@ -536,7 +536,7 @@ static struct evmc_instruction_metrics constantinople_metrics[256] = {
/* = 0xfc */ {UNDEFINED, 0, 0},
/* REVERT = 0xfd */ {ZERO, 2, 0},
/* INVALID = 0xfe */ {ZERO, 0, 0},
/* SUICIDE = 0xff */ {5000, 1, 0},
/* SELFDESTRUCT = 0xff */ {5000, 1, 0},
};
static struct evmc_instruction_metrics byzantium_metrics[256] = {
@ -795,7 +795,7 @@ static struct evmc_instruction_metrics byzantium_metrics[256] = {
/* = 0xfc */ {UNDEFINED, 0, 0},
/* REVERT = 0xfd */ {ZERO, 2, 0},
/* INVALID = 0xfe */ {ZERO, 0, 0},
/* SUICIDE = 0xff */ {5000, 1, 0},
/* SELFDESTRUCT = 0xff */ {5000, 1, 0},
};
static struct evmc_instruction_metrics tangerine_whistle_metrics[256] = {
@ -1054,7 +1054,7 @@ static struct evmc_instruction_metrics tangerine_whistle_metrics[256] = {
/* = 0xfc */ {UNDEFINED, 0, 0},
/* = 0xfd */ {UNDEFINED, 0, 0},
/* INVALID = 0xfe */ {ZERO, 0, 0},
/* SUICIDE = 0xff */ {5000, 1, 0},
/* SELFDESTRUCT = 0xff */ {5000, 1, 0},
};
static struct evmc_instruction_metrics homestead_metrics[256] = {
@ -1313,7 +1313,7 @@ static struct evmc_instruction_metrics homestead_metrics[256] = {
/* = 0xfc */ {UNDEFINED, 0, 0},
/* = 0xfd */ {UNDEFINED, 0, 0},
/* INVALID = 0xfe */ {ZERO, 0, 0},
/* SUICIDE = 0xff */ {ZERO, 1, 0},
/* SELFDESTRUCT = 0xff */ {ZERO, 1, 0},
};
static struct evmc_instruction_metrics frontier_metrics[256] = {
@ -1572,7 +1572,7 @@ static struct evmc_instruction_metrics frontier_metrics[256] = {
/* = 0xfc */ {UNDEFINED, 0, 0},
/* = 0xfd */ {UNDEFINED, 0, 0},
/* INVALID = 0xfe */ {ZERO, 0, 0},
/* SUICIDE = 0xff */ {ZERO, 1, 0},
/* SELFDESTRUCT = 0xff */ {ZERO, 1, 0},
};
const struct evmc_instruction_metrics* evmc_get_instruction_metrics_table(