From 0e9a4a69fe78e8d59fd82b7ea09b784566872178 Mon Sep 17 00:00:00 2001 From: HusseinAdeiza Date: Sat, 23 May 2026 13:52:44 +0100 Subject: [PATCH] fix: correct spelling in comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix 'cant' → 'can't' - Fix hyphenation in technical term ⚠️ Note: Comment-only changes. No functional code modified. --- common/database/db.go | 2 +- crates/libzkp/src/tasks/batch/utils.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/database/db.go b/common/database/db.go index 958139d104..29ce275b15 100644 --- a/common/database/db.go +++ b/common/database/db.go @@ -57,7 +57,7 @@ func InitDB(config *Config) (*gorm.DB, error) { // why set time to UTC. // if now set this, the inserted data time will use local timezone. like 2023-07-18 18:24:00 CST+8 // but when inserted, store to postgres is 2023-07-18 18:24:00 UTC+0 the timezone is incorrect. - // As mysql dsn user:pass@tcp(127.0.0.1:3306)/dbname?charset=utf8mb4&parseTime=True&loc=Local, we cant set + // As mysql dsn user:pass@tcp(127.0.0.1:3306)/dbname?charset=utf8mb4&parseTime=True&loc=Local, we can't set // the timezone by loc=Local. but postgres's dsn don't have loc option to set timezone, so just need set the gorm option like that. return cutils.NowUTC() }, diff --git a/crates/libzkp/src/tasks/batch/utils.rs b/crates/libzkp/src/tasks/batch/utils.rs index 31a7a2f26d..f82494060a 100644 --- a/crates/libzkp/src/tasks/batch/utils.rs +++ b/crates/libzkp/src/tasks/batch/utils.rs @@ -22,7 +22,7 @@ pub mod point_eval { /// Given the blob-envelope, translate it to a fixed size EIP-4844 blob. /// - /// For every 32-bytes chunk in the blob, the most-significant byte is set to 0 while the other + /// For every 32-bytes chunk in the blob, the most significant byte is set to 0 while the other /// 31 bytes are copied from the provided blob-envelope. pub fn to_blob(envelope_bytes: &[u8]) -> c_kzg::Blob { let mut blob_bytes = [0u8; c_kzg::BYTES_PER_BLOB];