diff --git a/client/executor/wasmtime/src/instance_wrapper/globals_snapshot.rs b/client/executor/wasmtime/src/instance_wrapper/globals_snapshot.rs index 33fb15302eeab..f3742d6304306 100644 --- a/client/executor/wasmtime/src/instance_wrapper/globals_snapshot.rs +++ b/client/executor/wasmtime/src/instance_wrapper/globals_snapshot.rs @@ -21,8 +21,11 @@ use sc_executor_common::error::{Result, Error}; use sp_wasm_interface::Value; use crate::imports::{into_value, into_wasmtime_val}; +/// Saved value of particular exported global. struct SavedValue { + /// Index of the export. index: usize, + /// Global value. value: Value, }