Skip to content

Commit

Permalink
fix hera_get_buildinfo symbol error
Browse files Browse the repository at this point in the history
  • Loading branch information
cdetrio committed Mar 26, 2019
1 parent bc8835b commit d5412ff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/hera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,10 @@ struct hera_instance : evmc_instance {
bool metering = false;
map<evmc_address, vector<uint8_t>> contract_preload_list;

hera_instance() noexcept : evmc_instance({EVMC_ABI_VERSION, "hera", hera_get_buildinfo()->project_version, nullptr, nullptr, nullptr, nullptr, nullptr}) {}
// hera_instance() noexcept : evmc_instance({EVMC_ABI_VERSION, "hera", hera_get_buildinfo()->project_version, nullptr, nullptr, nullptr, nullptr, nullptr}) {}
// fix error with geth+evmc: /tmp/go-build940146972/b001/runtime.test: symbol lookup error: /tmp/go-build940146972/b001/runtime.test: undefined symbol: hera_get_buildinfo
hera_instance() noexcept : evmc_instance({EVMC_ABI_VERSION, "hera", nullptr, nullptr, nullptr, nullptr, nullptr, nullptr}) {}

};

const evmc_address sentinelAddress = { .bytes = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0xa } };
Expand Down

0 comments on commit d5412ff

Please sign in to comment.