From 4f29c7fad4b97ebb05ce6c07a488866a23724d11 Mon Sep 17 00:00:00 2001 From: laterlaugh Date: Sat, 8 Mar 2025 00:05:16 +0800 Subject: [PATCH] chore: fix some comments Signed-off-by: laterlaugh --- contracts/ibc-reflect/src/contract.rs | 2 +- packages/vm/src/wasm_backend/limiting_tunables.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/ibc-reflect/src/contract.rs b/contracts/ibc-reflect/src/contract.rs index 60d4b85db7..5d4bfd73bf 100644 --- a/contracts/ibc-reflect/src/contract.rs +++ b/contracts/ibc-reflect/src/contract.rs @@ -257,7 +257,7 @@ fn encode_ibc_error(msg: impl Into) -> Binary { } #[entry_point] -/// we look for a the proper reflect contract to relay to and send the message +/// we look for the proper reflect contract to relay to and send the message /// We cannot return any meaningful response value as we do not know the response value /// of execution. We just return ok if we dispatched, error if we failed to dispatch pub fn ibc_packet_receive( diff --git a/packages/vm/src/wasm_backend/limiting_tunables.rs b/packages/vm/src/wasm_backend/limiting_tunables.rs index b1e817c395..56086fc656 100644 --- a/packages/vm/src/wasm_backend/limiting_tunables.rs +++ b/packages/vm/src/wasm_backend/limiting_tunables.rs @@ -38,7 +38,7 @@ impl LimitingTunables { adjusted } - /// Ensures the a given memory type does not exceed the memory limit. + /// Ensures a given memory type does not exceed the memory limit. /// Call this after adjusting the memory. fn validate_memory(&self, ty: &MemoryType) -> Result<(), MemoryError> { if ty.minimum > self.limit {