Skip to content

Commit

Permalink
added set_finalizers to host functions list
Browse files Browse the repository at this point in the history
  • Loading branch information
dimas1185 committed Sep 6, 2023
1 parent 8fad42e commit 9de9f6a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
1 change: 1 addition & 0 deletions libraries/chain/webassembly/runtimes/eos-vm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9de9f6a

Please sign in to comment.