diff --git a/libraries/chain/include/eosio/chain/webassembly/eos-vm-oc/intrinsic_mapping.hpp b/libraries/chain/include/eosio/chain/webassembly/eos-vm-oc/intrinsic_mapping.hpp index ea92a9cf86..6d8b9b5141 100644 --- a/libraries/chain/include/eosio/chain/webassembly/eos-vm-oc/intrinsic_mapping.hpp +++ b/libraries/chain/include/eosio/chain/webassembly/eos-vm-oc/intrinsic_mapping.hpp @@ -277,7 +277,8 @@ inline constexpr auto get_intrinsic_table() { "env.bls_pairing", "env.bls_g1_map", "env.bls_g2_map", - "env.bls_fp_mod" + "env.bls_fp_mod", + "env.set_finalizers" ); } inline constexpr std::size_t find_intrinsic_index(std::string_view hf) { diff --git a/libraries/chain/webassembly/runtimes/eos-vm.cpp b/libraries/chain/webassembly/runtimes/eos-vm.cpp index e23f91b90e..d0eaea4b32 100644 --- a/libraries/chain/webassembly/runtimes/eos-vm.cpp +++ b/libraries/chain/webassembly/runtimes/eos-vm.cpp @@ -357,6 +357,7 @@ REGISTER_LEGACY_HOST_FUNCTION(get_blockchain_parameters_packed, privileged_check REGISTER_LEGACY_HOST_FUNCTION(set_blockchain_parameters_packed, privileged_check); REGISTER_HOST_FUNCTION(is_privileged, privileged_check); REGISTER_HOST_FUNCTION(set_privileged, privileged_check); +REGISTER_HOST_FUNCTION(set_finalizers, privileged_check); // softfloat api REGISTER_INJECTED_HOST_FUNCTION(_eosio_f32_add);