Skip to content

Commit 352c9ba

Browse files
Imod7pkhry
andauthored
[Forge test][Cheatcodes support] vm.load (#321)
* add vm.load * run cargo fmt * add tracing * removed unused log import * removed unused command imports * removed deprecated doc_auto_cfg feature * removed doc_auto_cfg from test-utils * removed deprecated doc_auto_cfg from all files --------- Co-authored-by: Pavlo Khrystenko <[email protected]>
1 parent a65a8e1 commit 352c9ba

File tree

35 files changed

+121
-38
lines changed

35 files changed

+121
-38
lines changed

crates/anvil-polkadot/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Anvil is a fast local Ethereum development node.
22
3-
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
3+
#![cfg_attr(docsrs, feature(doc_cfg))]
44

55
use crate::{
66
api_server::ApiHandle,

crates/anvil/core/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//! Core Ethereum types for Anvil.
44
55
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
6-
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
6+
#![cfg_attr(docsrs, feature(doc_cfg))]
77

88
/// Various Ethereum types
99
pub mod eth;

crates/anvil/rpc/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//! JSON-RPC types.
44
55
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
6-
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
6+
#![cfg_attr(docsrs, feature(doc_cfg))]
77

88
/// JSON-RPC request bindings
99
pub mod request;

crates/anvil/server/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! Bootstrap [axum] RPC servers.
22
33
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
4-
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
4+
#![cfg_attr(docsrs, feature(doc_cfg))]
55

66
#[macro_use]
77
extern crate tracing;

crates/anvil/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Anvil is a fast local Ethereum development node.
22
3-
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
3+
#![cfg_attr(docsrs, feature(doc_cfg))]
44
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
55

66
use crate::{

crates/cast/src/cmd/artifact.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use super::{
44
};
55
use alloy_primitives::Address;
66
use alloy_provider::Provider;
7-
use clap::{Parser, command};
7+
use clap::Parser;
88
use eyre::Result;
99
use foundry_cli::{
1010
opts::{EtherscanOpts, RpcOpts},

crates/cast/src/cmd/constructor_args.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use super::{
55
use alloy_dyn_abi::DynSolType;
66
use alloy_primitives::{Address, Bytes};
77
use alloy_provider::Provider;
8-
use clap::{Parser, command};
8+
use clap::Parser;
99
use eyre::{OptionExt, Result, eyre};
1010
use foundry_cli::{
1111
opts::{EtherscanOpts, RpcOpts},

crates/cast/src/cmd/creation_code.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use alloy_consensus::Transaction;
44
use alloy_primitives::{Address, Bytes};
55
use alloy_provider::{Provider, ext::TraceApi};
66
use alloy_rpc_types::trace::parity::{Action, CreateAction, CreateOutput, TraceOutput};
7-
use clap::{Parser, command};
7+
use clap::Parser;
88
use eyre::{OptionExt, Result, eyre};
99
use foundry_block_explorers::Client;
1010
use foundry_cli::{

crates/cast/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Cast is a Swiss Army knife for interacting with Ethereum applications from the command line.
22
3-
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
3+
#![cfg_attr(docsrs, feature(doc_cfg))]
44
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
55

66
use alloy_consensus::{Header, TxEnvelope};

crates/cheatcodes/spec/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! Cheatcode specification for Foundry.
22
33
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
4-
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
4+
#![cfg_attr(docsrs, feature(doc_cfg))]
55

66
use serde::{Deserialize, Serialize};
77
use std::{borrow::Cow, fmt};

0 commit comments

Comments
 (0)