[KLC-1209] Add Get Multi KDA CallValue without KLV #11
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new function
managed_get_multi_kda_without_klv_call_value
across various files in the codebase. This change involves adding the function to multiple structures and implementing it in different modules. Additionally, there is a minor improvement in thevalidate_memories
function signature.Introduction of
managed_get_multi_kda_without_klv_call_value
function:c-api/libvmexeccapi.h
: Added the function pointermanaged_get_multi_kda_without_klv_call_value_func_ptr
to thetypedef struct
.c-api/src/capi_vm_hook_pointers.rs
: Added the function pointermanaged_get_multi_kda_without_klv_call_value_func_ptr
to thevm_exec_vm_hook_c_func_pointers
struct.c-api/src/capi_vm_hooks.rs
: Implemented themanaged_get_multi_kda_without_klv_call_value
function in theimpl klever_chain_vm_executor::VMHooks for CapiVMHooks
block.vm-executor-wasmer/src/wasmer_imports.rs
: Added the functionwasmer_import_managed_get_multi_kda_without_klv_call_value
and included it in thegenerate_import_object
function. [1] [2]vm-executor/src/vm_hooks.rs
: Added the function to theVMHooks
trait and provided a default implementation in theVMHooksDefault
struct. [1] [2]Minor improvement:
vm-executor-wasmer/src/wasmer_instance.rs
: Changed thevalidate_memories
function signature to take a slice reference instead of a vector reference.