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];