Skip to content

Commit

Permalink
fix some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
elfedy committed Dec 20, 2024
1 parent 824e42d commit a3c08f7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/zksync/compilers/src/artifacts/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ impl Contract {

// CompactContract variants
// TODO: for zkEvm, the distinction between bytecode and deployed_bytecode makes little sense,
// and there some fields that the ouptut doesn't provide (e.g: source_map)
// and there some fields that the output doesn't provide (e.g: source_map)
// However, we implement these because we get the Artifact trait and can reuse lots of
// the crate's helpers without needing to duplicate everything. Maybe there's a way
// we can get all these without having to add the same bytecode twice on each struct.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ impl ZkContractArtifact {

// CompactContract variants
// TODO: for zkEvm, the distinction between bytecode and deployed_bytecode makes little sense,
// and there some fields that the ouptut doesn't provide (e.g: source_map)
// and there some fields that the output doesn't provide (e.g: source_map)
// However, we implement these because we get the Artifact trait and can reuse lots of
// the crate's helpers without needing to duplicate everything. Maybe there's a way
// we can get all these without having to add the same bytecode twice on each struct.
Expand Down
4 changes: 2 additions & 2 deletions crates/zksync/compilers/src/compilers/zksolc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ fn compiler_blocking_install(
let _lock = try_lock_file(lock_path)?;
trace!("got lock for {label}");

// Only write to file if it is not there. The check is doneafter adquiring the lock
// Only write to file if it is not there. The check is done after acquiring the lock
// to ensure the thread remains blocked until the required compiler is
// fully installed
if !compiler_path.exists() {
Expand All @@ -679,7 +679,7 @@ fn compiler_blocking_install(
response.status()
)));
}
trace!("{label} instalation completed");
trace!("{label} installation completed");
Ok(compiler_path)
})
}
Expand Down

0 comments on commit a3c08f7

Please sign in to comment.