Skip to content

Commit

Permalink
chore: rename to node-bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes committed Jan 13, 2024
1 parent d62795e commit 4d49fbe
Show file tree
Hide file tree
Showing 14 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
--exclude alloy-signer-aws \
--exclude alloy-signer-ledger \
--exclude alloy-signer-trezor \
--exclude alloy-test-utils \
--exclude alloy-node-bindings \
--exclude alloy-transport-ipc
feature-checks:
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ alloy-consensus = { version = "0.1.0", path = "crates/consensus" }
alloy-eips = { version = "0.1.0", path = "crates/eips" }
alloy-json-rpc = { version = "0.1.0", path = "crates/json-rpc" }
alloy-network = { version = "0.1.0", path = "crates/network" }
alloy-node-bindings = { version = "0.1.0", path = "crates/node-bindings" }
alloy-pubsub = { version = "0.1.0", path = "crates/pubsub" }
alloy-rpc-client = { version = "0.1.0", path = "crates/rpc-client" }
alloy-rpc-types = { version = "0.1.0", path = "crates/rpc-types" }
alloy-rpc-trace-types = { version = "0.1.0", path = "crates/rpc-trace-types" }
alloy-rpc-types = { version = "0.1.0", path = "crates/rpc-types" }
alloy-signer = { version = "0.1.0", path = "crates/signer" }
alloy-signer-aws = { version = "0.1.0", path = "crates/signer-aws" }
alloy-signer-ledger = { version = "0.1.0", path = "crates/signer-ledger" }
alloy-signer-trezor = { version = "0.1.0", path = "crates/signer-trezor" }
alloy-test-utils = { version = "0.1.0", path = "crates/test-utils" }
alloy-transport = { version = "0.1.0", path = "crates/transport" }
alloy-transport-http = { version = "0.1.0", path = "crates/transport-http" }
alloy-transport-ipc = { version = "0.1.0", path = "crates/transport-ipc" }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "alloy-test-utils"
description = "Common Ethereum testing utilities"
name = "alloy-node-bindings"
description = "Ethereum execution-layer client bindings"

version.workspace = true
edition.workspace = true
Expand Down
3 changes: 3 additions & 0 deletions crates/node-bindings/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# alloy-node-bindings

Ethereum execution-layer client bindings.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ impl Drop for AnvilInstance {
/// # Example
///
/// ```no_run
/// use alloy_test_utils::Anvil;
/// use alloy_node_bindings::Anvil;
///
/// let port = 8545u16;
/// let url = format!("http://localhost:{}", port).to_string();
Expand Down Expand Up @@ -106,7 +106,7 @@ impl Anvil {
/// # Example
///
/// ```
/// # use alloy_test_utils::Anvil;
/// # use alloy_node_bindings::Anvil;
/// fn a() {
/// let anvil = Anvil::default().spawn();
///
Expand All @@ -122,7 +122,7 @@ impl Anvil {
/// # Example
///
/// ```
/// # use alloy_test_utils::Anvil;
/// # use alloy_node_bindings::Anvil;
/// fn a() {
/// let anvil = Anvil::at("~/.foundry/bin/anvil").spawn();
///
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ impl Default for PrivateNetOptions {
/// # Example
///
/// ```no_run
/// use alloy_test_utils::Geth;
/// use alloy_node_bindings::Geth;
///
/// let port = 8545u16;
/// let url = format!("http://localhost:{}", port).to_string();
Expand Down Expand Up @@ -215,7 +215,7 @@ impl Geth {
/// # Example
///
/// ```
/// use alloy_test_utils::Geth;
/// use alloy_node_bindings::Geth;
/// # fn a() {
/// let geth = Geth::at("../go-ethereum/build/bin/geth").spawn();
///
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion crates/providers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ reqwest.workspace = true
auto_impl = "1.1.0"

[dev-dependencies]
alloy-test-utils.workspace = true
alloy-node-bindings.workspace = true
tokio = { version = "1.33.0", features = ["macros"] }

[features]
Expand Down
2 changes: 1 addition & 1 deletion crates/providers/src/provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -521,9 +521,9 @@ mod tests {
provider::{Provider, TempProvider},
utils,
};
use alloy_node_bindings::Anvil;
use alloy_primitives::{address, b256, bytes, U256, U64};
use alloy_rpc_types::{Block, BlockNumberOrTag, Filter};
use alloy_test_utils::Anvil;

#[tokio::test]
async fn gets_block_number() {
Expand Down
2 changes: 1 addition & 1 deletion crates/rpc-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ alloy-transport-ipc = { workspace = true, optional = true }

[dev-dependencies]
alloy-primitives.workspace = true
alloy-test-utils.workspace = true
alloy-node-bindings.workspace = true
alloy-transport-ipc = { workspace = true, features = ["mock"] }
alloy-transport-ws.workspace = true

Expand Down
2 changes: 1 addition & 1 deletion crates/rpc-client/tests/it/ipc.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use alloy_node_bindings::{Geth, GethInstance};
use alloy_primitives::U64;
use alloy_pubsub::PubSubFrontend;
use alloy_rpc_client::{ClientBuilder, RpcCall, RpcClient};
use alloy_test_utils::{Geth, GethInstance};
use alloy_transport_ipc::IpcConnect;
use std::borrow::Cow;
use tempfile::NamedTempFile;
Expand Down
3 changes: 0 additions & 3 deletions crates/test-utils/README.md

This file was deleted.

0 comments on commit 4d49fbe

Please sign in to comment.