Open mikelik opened 1 year ago
@larryk85 created a workaround here: https://github.com/larryk85/examples-for-eos-vm
Basically, above functions are implemented and mapped in the example contract. In the long term, we need to fix the above issue, so the user doesn't have to map those functions.
This issue should be solved when https://github.com/AntelopeIO/cdt/issues/189 will be done.
When I compile and run
hello_driver.cpp
and removingmemset
from the example I get the error that:no mapping for imported function
for at least 3 functions:set_blockchain_parameters_packed
get_blockchain_parameters_packed
set_proposed_producers
get_active_producers
Exception is thrown from
eosio/vm/host_function.hpp:463
.Used leap v3.2.3, CDT v3.2.0.
Example output if I remove
try catch
fromhello_driver.cpp
: