Skip to content

Commit 4656551

Browse files
authored
test: Change spelling to "TangerineWhistle" and "SpuriousDragon" (#1576)
Spell fork names without space to match execution-specs: - "Tangerine Whistle" → "TangerineWhistle", - "Spurious Dragon" → "SpuriousDragon". This allows us to execute new test suite for these forks in next release of tests in execution-specs. Also handy for `evmone t8n`. We decided not to support old spelling as this fork name is old and not very user-facing.
1 parent a2a993c commit 4656551

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

evmc/include/evmc/helpers.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,9 @@ static inline const char* evmc_revision_to_string(enum evmc_revision rev)
229229
case EVMC_HOMESTEAD:
230230
return "Homestead";
231231
case EVMC_TANGERINE_WHISTLE:
232-
return "Tangerine Whistle";
232+
return "TangerineWhistle";
233233
case EVMC_SPURIOUS_DRAGON:
234-
return "Spurious Dragon";
234+
return "SpuriousDragon";
235235
case EVMC_BYZANTIUM:
236236
return "Byzantium";
237237
case EVMC_CONSTANTINOPLE:

test/utils/utils.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ evmc_revision to_rev(std::string_view s)
1313
return EVMC_FRONTIER;
1414
if (s == "Homestead")
1515
return EVMC_HOMESTEAD;
16-
if (s == "Tangerine Whistle" || s == "EIP150")
16+
if (s == "TangerineWhistle" || s == "EIP150")
1717
return EVMC_TANGERINE_WHISTLE;
18-
if (s == "Spurious Dragon" || s == "EIP158")
18+
if (s == "SpuriousDragon" || s == "EIP158")
1919
return EVMC_SPURIOUS_DRAGON;
2020
if (s == "Byzantium")
2121
return EVMC_BYZANTIUM;

0 commit comments

Comments
 (0)