diff --git a/examples/examplevm.c b/examples/examplevm.c index 3783b56..0e5c74a 100644 --- a/examples/examplevm.c +++ b/examples/examplevm.c @@ -56,8 +56,8 @@ static struct evm_result execute(struct evm_instance* instance, struct evm_result ret = {}; if (code_size == 0) { // In case of empty code return a fancy error message. - const char* error = mode == EVM_METROPOLIS ? - "Welcome to Metropolis!" : "Hello Ethereum!"; + const char* error = mode == EVM_BYZANTIUM ? + "Welcome to Byzantium!" : "Hello Ethereum!"; ret.output_data = (const uint8_t*)error; ret.output_size = strlen(error); ret.code = EVM_FAILURE; diff --git a/include/evm.h b/include/evm.h index d3c4ee7..6706ff0 100644 --- a/include/evm.h +++ b/include/evm.h @@ -387,7 +387,8 @@ enum evm_mode { EVM_HOMESTEAD = 1, EVM_ANTI_DOS = 2, EVM_CLEARING = 3, - EVM_METROPOLIS = 4, + EVM_BYZANTIUM = 4, + EVM_CONSTANTINOPLE = 5, };