From f3859b22accbab377046c9cddff75988ca193f9b Mon Sep 17 00:00:00 2001 From: Renato Dinhani Date: Mon, 29 Jul 2024 20:25:04 -0300 Subject: [PATCH] rename --- src/eth/miner/miner_config.rs | 2 +- src/eth/primitives/account.rs | 2 +- src/eth/primitives/mod.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/eth/miner/miner_config.rs b/src/eth/miner/miner_config.rs index ae717ec1a..294eebadd 100644 --- a/src/eth/miner/miner_config.rs +++ b/src/eth/miner/miner_config.rs @@ -7,7 +7,7 @@ use display_json::DebugAsJson; use crate::eth::miner::Miner; #[cfg(feature = "dev")] -use crate::eth::primitives::dev_accounts; +use crate::eth::primitives::test_accounts; use crate::eth::primitives::Block; use crate::eth::primitives::BlockFilter; use crate::eth::primitives::BlockNumber; diff --git a/src/eth/primitives/account.rs b/src/eth/primitives/account.rs index 8835062ba..9a4227eda 100644 --- a/src/eth/primitives/account.rs +++ b/src/eth/primitives/account.rs @@ -100,7 +100,7 @@ impl From<&Account> for RevmAccountInfo { // ----------------------------------------------------------------------------- /// Accounts to be used only in development-mode. -pub fn dev_accounts() -> Vec { +pub fn test_accounts() -> Vec { use hex_literal::hex; [ diff --git a/src/eth/primitives/mod.rs b/src/eth/primitives/mod.rs index 3a0b8e853..0c1aa6780 100644 --- a/src/eth/primitives/mod.rs +++ b/src/eth/primitives/mod.rs @@ -46,7 +46,7 @@ mod transaction_stage; mod unix_time; mod wei; -pub use account::dev_accounts; +pub use account::test_accounts; pub use account::Account; pub use address::Address; pub use block::Block;