From 3ae155fdee6228549a675a49a089764523199adc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Thu, 19 Sep 2019 15:37:14 +0200 Subject: [PATCH] instructions: Rename comment SUICIDE -> SELFDESTRUCT --- lib/instructions/instruction_metrics.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/instructions/instruction_metrics.c b/lib/instructions/instruction_metrics.c index 3056d74..1f387e9 100644 --- a/lib/instructions/instruction_metrics.c +++ b/lib/instructions/instruction_metrics.c @@ -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(