Skip to content

Commit 8648008

Browse files
committed
add brief comment
1 parent d235861 commit 8648008

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src.rs/src/verkle_ffi_api.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,9 @@ pub fn zero_commitment() -> Uint8Array {
205205
bytes_to_js_value(ffi_interface::ZERO_POINT).into()
206206
}
207207

208+
/// Verifies an execution witness' pre-state values and proof against a prestate root
209+
/// At a high level, this method verifies that the reads in the pre-state are consistent with the
210+
/// root.
208211
#[allow(deprecated)]
209212
#[wasm_bindgen(js_name = "verifyExecutionWitnessPreState")]
210213
pub fn verify_execution_witness_prestate(prestate_root: &str, execution_witness: &str) -> bool {

0 commit comments

Comments
 (0)