Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(forge): fix some typos in forge clone #7725

Merged
merged 1 commit into from
Apr 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions crates/forge/bin/cmd/clone.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub struct CloneMetadata {
pub path: PathBuf,
/// The name of the contract in the file.
pub target_contract: String,
/// The address of the contract on the blockchian.
/// The address of the contract on the blockchain.
pub address: Address,
/// The chain id.
pub chain_id: ChainId,
Expand Down Expand Up @@ -67,7 +67,7 @@ pub struct CloneArgs {
#[arg(value_hint = ValueHint::DirPath, default_value = ".", value_name = "PATH")]
pub root: PathBuf,

/// Do not generaet the remappings.txt file. Instead, keep the remappings in the configuration.
/// Do not generate the remappings.txt file. Instead, keep the remappings in the configuration.
#[arg(long)]
pub no_remappings_txt: bool,

Expand Down Expand Up @@ -160,7 +160,7 @@ impl CloneArgs {
/// Collect the compilation metadata of the cloned contract.
/// This function compiles the cloned contract and collects the compilation metadata.
///
/// * `meta` - the metadata of the contract (from Etherscam).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lmao

/// * `meta` - the metadata of the contract (from Etherscan).
/// * `chain` - the chain where the contract to be cloned locates.
/// * `address` - the address of the contract to be cloned.
/// * `root` - the root directory of the cloned project.
Expand Down
Loading