diff --git a/fastx_programmability/adapter/src/adapter.rs b/fastx_programmability/adapter/src/adapter.rs index 21fc1d89e9959..ab1541e1029d1 100644 --- a/fastx_programmability/adapter/src/adapter.rs +++ b/fastx_programmability/adapter/src/adapter.rs @@ -215,7 +215,9 @@ pub fn publish + ModuleResolver + ModuleResolver + Storage, @@ -225,7 +227,7 @@ pub fn verify_and_link< package_id: ObjectID, natives: NativeFunctionTable, ) -> Result<(), FastPayError> { - // run the Move bytecode verifier and linker. + // Run the Move bytecode verifier and linker. // It is important to do this before running the FastX verifier, since the fastX // verifier may assume well-formedness conditions enforced by the Move verifier hold let vm = MoveVM::new(natives) @@ -251,7 +253,7 @@ pub fn verify_and_link< // run the FastX verifier for module in modules.iter() { - // Run FastX bytecode verifier, which runs some additional checks that assume the Move bytecode verifier has passed + // Run FastX bytecode verifier, which runs some additional checks that assume the Move bytecode verifier has passed. verifier::verify_module(module)?; } Ok(())