Skip to content

Commit

Permalink
fix rename
Browse files Browse the repository at this point in the history
  • Loading branch information
pgherveou committed Jan 8, 2024
1 parent 0263726 commit 3d72712
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/e2e/macro/src/codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,11 @@ fn build_full_client(
None => {
quote! {
let node_rpc = if let Ok(url) = ::std::env::var("CONTRACTS_NODE_URL") {
::ink_e2e::TestNodeProcess::<::ink_e2e::PolkadotConfig>::from_url(url.clone())
::ink_e2e::TestNode::<::ink_e2e::PolkadotConfig>::from_url(url.clone())
.await
.unwrap_or_else(|err| ::core::panic!("Error using existing substrate-contracts-node at {url:?}: {err:?}"))
} else {
::ink_e2e::TestNodeProcess::<::ink_e2e::PolkadotConfig>
::ink_e2e::TestNode::<::ink_e2e::PolkadotConfig>
::build_with_env_or_default()
.spawn()
.await
Expand Down

0 comments on commit 3d72712

Please sign in to comment.