Skip to content

Commit

Permalink
update executor VM hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-marinica committed Jul 25, 2024
1 parent 4a1c679 commit 7fec3b6
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 0 deletions.
Binary file modified wasmer2/libvmexeccapi.dylib
Binary file not shown.
4 changes: 4 additions & 0 deletions wasmer2/libvmexeccapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ typedef struct {
int64_t (*get_prev_block_round_func_ptr)(void *context);
int64_t (*get_prev_block_epoch_func_ptr)(void *context);
void (*get_prev_block_random_seed_func_ptr)(void *context, int32_t pointer);
int64_t (*get_round_time_func_ptr)(void *context);
int64_t (*epoch_start_block_time_stamp_func_ptr)(void *context);
int64_t (*epoch_start_block_nonce_func_ptr)(void *context);
int64_t (*epoch_start_block_round_func_ptr)(void *context);
void (*finish_func_ptr)(void *context, int32_t pointer, int32_t length);
int32_t (*execute_on_same_context_func_ptr)(void *context, int64_t gas_limit, int32_t address_offset, int32_t value_offset, int32_t function_offset, int32_t function_length, int32_t num_arguments, int32_t arguments_length_offset, int32_t data_offset);
int32_t (*execute_on_dest_context_func_ptr)(void *context, int64_t gas_limit, int32_t address_offset, int32_t value_offset, int32_t function_offset, int32_t function_length, int32_t num_arguments, int32_t arguments_length_offset, int32_t data_offset);
Expand Down
Binary file modified wasmer2/libvmexeccapi.so
Binary file not shown.
Binary file modified wasmer2/libvmexeccapi_arm.dylib
Binary file not shown.
Binary file modified wasmer2/libvmexeccapi_arm.so
Binary file not shown.

0 comments on commit 7fec3b6

Please sign in to comment.