Skip to content

Commit 256e115

Browse files
authored
Revert "feat: accept ETH_RPC_URL env as fork-url alias" (#11335)
Revert "feat: accept ETH_RPC_URL env as fork-url alias (#8972)" This reverts commit 5314461.
1 parent 690087f commit 256e115

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

.github/workflows/nextest.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
fail-fast: false
4848
matrix: ${{ fromJson(needs.matrices.outputs.test-matrix) }}
4949
env:
50+
ETH_RPC_URL: https://reth-ethereum.ithaca.xyz/rpc
5051
CARGO_PROFILE_DEV_DEBUG: 0
5152
steps:
5253
- uses: actions/checkout@v5

crates/anvil/src/cmd.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,6 @@ pub struct AnvilEvmArgs {
408408
long,
409409
short,
410410
visible_alias = "rpc-url",
411-
env = "ETH_RPC_URL",
412411
value_name = "URL",
413412
help_heading = "Fork config"
414413
)]

crates/common/src/evm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ pub struct EvmArgs {
4646
/// Fetch state over a remote endpoint instead of starting from an empty state.
4747
///
4848
/// If you want to fetch state from a specific block number, see --fork-block-number.
49-
#[arg(long, short, visible_alias = "rpc-url", env = "ETH_RPC_URL", value_name = "URL")]
49+
#[arg(long, short, visible_alias = "rpc-url", value_name = "URL")]
5050
#[serde(rename = "eth_rpc_url", skip_serializing_if = "Option::is_none")]
5151
pub fork_url: Option<String>,
5252

0 commit comments

Comments
 (0)