mirror of https://github.com/status-im/evmc.git
14 lines
358 B
C
14 lines
358 B
C
/* EVMC: Ethereum Client-VM Connector API.
|
|
* Copyright 2018-2019 The EVMC Authors.
|
|
* Licensed under the Apache License, Version 2.0.
|
|
*/
|
|
|
|
/** This example shows how to use evmc::instructions library from evmc CMake package. */
|
|
|
|
#include <evmc/instructions.h>
|
|
|
|
int main()
|
|
{
|
|
return evmc_get_instruction_metrics_table(EVMC_BYZANTIUM)[OP_STOP].gas_cost;
|
|
}
|