From 82bd9f60119995a016ae239129ca7276d2f52060 Mon Sep 17 00:00:00 2001 From: Randall-Mysten <109545725+randall-Mysten@users.noreply.github.com> Date: Wed, 14 Sep 2022 08:30:18 -0700 Subject: [PATCH] Correcting typos / spelling (#4610) --- crates/sui-core/src/authority_active/gossip/mod.rs | 2 +- crates/sui-framework/tests/bytecode_calibration_tests.move | 2 +- crates/sui-framework/tests/natives_calibration_tests.move | 2 +- sui_programmability/examples/defi/sources/pool.move | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/sui-core/src/authority_active/gossip/mod.rs b/crates/sui-core/src/authority_active/gossip/mod.rs index 743dc4514bfe6..a49a446d4fe5e 100644 --- a/crates/sui-core/src/authority_active/gossip/mod.rs +++ b/crates/sui-core/src/authority_active/gossip/mod.rs @@ -100,7 +100,7 @@ impl GossipMetrics { .unwrap(), total_attempts_cert_downloads: register_int_counter_with_registry!( "gossip_total_attempts_cert_downloads", - "Total number of certs/effects download attemps through gossip/node sync process", + "Total number of certs/effects download attempts through gossip/node sync process", registry, ) .unwrap(), diff --git a/crates/sui-framework/tests/bytecode_calibration_tests.move b/crates/sui-framework/tests/bytecode_calibration_tests.move index 72db530c52d7e..8eccdd6df997c 100644 --- a/crates/sui-framework/tests/bytecode_calibration_tests.move +++ b/crates/sui-framework/tests/bytecode_calibration_tests.move @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 -// This module attemps to find the computational cost of bytecode instructions by measuring the time +// This module attempts to find the computational cost of bytecode instructions by measuring the time // the instruction takes to execute. // Isolating the bytecode is tricky, so we run two functions with and without the bytecode instruction // The difference in execution times is the time the instruction takes diff --git a/crates/sui-framework/tests/natives_calibration_tests.move b/crates/sui-framework/tests/natives_calibration_tests.move index 0cd6724c4e892..b3bdc1c5f70a6 100644 --- a/crates/sui-framework/tests/natives_calibration_tests.move +++ b/crates/sui-framework/tests/natives_calibration_tests.move @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 -// This module attemps to find the computational cost of native function by measuring the time +// This module attempts to find the computational cost of native function by measuring the time // the native takes to execute. // Isolating the native function is tricky, so we run two functions with and without the native // The difference in execution times is the time the native takes diff --git a/sui_programmability/examples/defi/sources/pool.move b/sui_programmability/examples/defi/sources/pool.move index d0565a5cc3a42..b3b90d3046236 100644 --- a/sui_programmability/examples/defi/sources/pool.move +++ b/sui_programmability/examples/defi/sources/pool.move @@ -54,7 +54,7 @@ module defi::pool { /// For when initial LSP amount is zero. const EShareEmpty: u64 = 3; - /// For when someone attemps to add more liquidity than u128 Math allows. + /// For when someone attempts to add more liquidity than u128 Math allows. const EPoolFull: u64 = 4; /// The integer scaling setting for fees calculation.