mirror of https://github.com/status-im/evmc.git
Add Istanbul to evmc_revision
This commit is contained in:
parent
52da38836f
commit
f064fdcbd8
|
@ -141,6 +141,7 @@ const (
|
|||
SpuriousDragon Revision = C.EVMC_SPURIOUS_DRAGON
|
||||
Byzantium Revision = C.EVMC_BYZANTIUM
|
||||
Constantinople Revision = C.EVMC_CONSTANTINOPLE
|
||||
Istanbul Revision = C.EVMC_ISTANBUL
|
||||
)
|
||||
|
||||
type Instance struct {
|
||||
|
|
|
@ -706,8 +706,9 @@ enum evmc_revision
|
|||
EVMC_SPURIOUS_DRAGON = 3,
|
||||
EVMC_BYZANTIUM = 4,
|
||||
EVMC_CONSTANTINOPLE = 5,
|
||||
EVMC_ISTANBUL = 6,
|
||||
|
||||
EVMC_LATEST_REVISION = EVMC_CONSTANTINOPLE
|
||||
EVMC_LATEST_REVISION = EVMC_ISTANBUL
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -1321,6 +1321,8 @@ const struct evmc_instruction_metrics* evmc_get_instruction_metrics_table(
|
|||
{
|
||||
switch (revision)
|
||||
{
|
||||
case EVMC_ISTANBUL:
|
||||
/* Currently the same as Costantinople */
|
||||
case EVMC_CONSTANTINOPLE:
|
||||
return constantinople_metrics;
|
||||
case EVMC_BYZANTIUM:
|
||||
|
|
|
@ -1045,6 +1045,8 @@ const char* const* evmc_get_instruction_names_table(enum evmc_revision revision)
|
|||
{
|
||||
switch (revision)
|
||||
{
|
||||
case EVMC_ISTANBUL:
|
||||
/* Currently the same as Costantinople */
|
||||
case EVMC_CONSTANTINOPLE:
|
||||
return constantinople_names;
|
||||
case EVMC_BYZANTIUM:
|
||||
|
|
Loading…
Reference in New Issue