Skip to content

Commit e42905f

Browse files
authored
Merge branch 'master' into refactor/anvil_txtype_enveloppe_macro
2 parents 5eec493 + 3791d61 commit e42905f

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

crates/anvil/tests/it/api.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,7 @@ async fn can_send_tx_sync() {
456456
}
457457

458458
#[tokio::test(flavor = "multi_thread")]
459+
#[ignore = "no debug_"]
459460
async fn can_get_code_by_hash() {
460461
let (api, _) =
461462
spawn(NodeConfig::test().with_eth_rpc_url(Some(rpc::next_http_archive_rpc_url()))).await;

crates/cli/src/utils/cmd.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ use std::{
2222
};
2323
use yansi::Paint;
2424

25-
/// Given a `Project`'s output, removes the matching ABI, Bytecode and
26-
/// Runtime Bytecode of the given contract.
25+
/// Given a `Project`'s output, finds the contract by path and name and returns its
26+
/// ABI, creation bytecode, and `ArtifactId`.
2727
#[track_caller]
28-
pub fn remove_contract(
28+
pub fn find_contract_artifacts(
2929
output: ProjectCompileOutput,
3030
path: &Path,
3131
name: &str,

crates/cli/src/utils/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ ignore them in the `.gitignore` file."
630630
.map(|stdout| stdout.lines().any(|line| line.starts_with('-')))
631631
}
632632

633-
/// Returns true if the given path has no submodules by checking `git submodule status`
633+
/// Returns true if the given path has submodules by checking `git submodule status`
634634
pub fn has_submodules<I, S>(self, paths: I) -> Result<bool>
635635
where
636636
I: IntoIterator<Item = S>,

crates/forge/src/cmd/create.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use eyre::{Context, Result};
1414
use forge_verify::{RetryArgs, VerifierArgs, VerifyArgs};
1515
use foundry_cli::{
1616
opts::{BuildOpts, EthereumOpts, EtherscanOpts, TransactionOpts},
17-
utils::{self, LoadConfig, read_constructor_args_file, remove_contract},
17+
utils::{self, LoadConfig, find_contract_artifacts, read_constructor_args_file},
1818
};
1919
use foundry_common::{
2020
compile::{self},
@@ -123,7 +123,7 @@ impl CreateArgs {
123123

124124
let output = compile::compile_target(&target_path, &project, shell::is_json())?;
125125

126-
let (abi, bin, id) = remove_contract(output, &target_path, &self.contract.name)?;
126+
let (abi, bin, id) = find_contract_artifacts(output, &target_path, &self.contract.name)?;
127127

128128
let bin = match bin.object {
129129
BytecodeObject::Bytecode(_) => bin.object,

0 commit comments

Comments
 (0)