Skip to content

Commit 7b09b7c

Browse files
committed
Replace substrate-contracts-node with ink-node
1 parent 7954bfb commit 7b09b7c

File tree

11 files changed

+21
-23
lines changed

11 files changed

+21
-23
lines changed

.github/rust-info/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ runs:
99
rustup +nightly show
1010
cargo +nightly --version
1111
bash --version
12-
substrate-contracts-node --version
12+
ink-node --version
1313
cargo contract --version
1414
git --version
1515
shell: bash

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ jobs:
726726
RUSTFLAGS: -Clink-arg=-z -Clink-arg=nostart-stop-gc -Clink-dead-code
727727
run: |
728728
# run flipper E2E test with on-chain contract
729-
substrate-contracts-node -lruntime::revive=debug 2>&1 &
729+
ink-node -lruntime::revive=debug 2>&1 &
730730
cargo +nightly contract build --release --manifest-path integration-tests/public/flipper/Cargo.toml
731731
export CONTRACT_ADDR_HEX=$(cargo +nightly-2025-02-20 contract instantiate \
732732
--manifest-path integration-tests/public/flipper/Cargo.toml \

.github/workflows/issue-notifier.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- link
2626
- squink-splash-advanced
2727
- squink-splash-beginner
28-
- substrate-contracts-node
28+
- ink-node
2929
steps:
3030
- name: Generate token
3131
id: generate_token

.github/workflows/pr-notifier.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- smart-bench
2828
- squink-splash-advanced
2929
- squink-splash-beginner
30-
- substrate-contracts-node
30+
- ink-node
3131
steps:
3232
- name: Generate token
3333
id: generate_token

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ More relevant links:
4545
* [Substrate Stack Exchange](https://substrate.stackexchange.com/questions/tagged/ink?tab=Votes) ‒ Forum for getting your ink! questions answered
4646
* [`cargo-contract`](https://github.com/use-ink/cargo-contract) ‒ CLI tool for ink! contracts
4747
* [Contracts UI](https://contracts-ui.substrate.io/) ‒ Frontend for contract instantiation and interaction
48-
* [Substrate Contracts Node](https://github.com/paritytech/substrate-contracts-node) ‒ Simple Substrate blockchain which includes smart contract functionality
48+
* [`ink-node](https://github.com/use-ink/ink-node) ‒ Simple Substrate blockchain which includes smart contract functionality
4949
* [Awesome ink!](https://github.com/use-ink/awesome-ink) - A curated list of awesome projects for Polkadot's ink!
5050
* We post announcements on [Telegram][k2] and [Twitter][l2].
5151

@@ -75,7 +75,7 @@ More relevant links:
7575
The best way to start is to check out the [Getting Started](https://use.ink/getting-started/setup)
7676
page in our documentation.
7777

78-
If you want to have a local setup you can use our [`substrate-contracts-node`](https://github.com/paritytech/substrate-contracts-node) for a quickstart.
78+
If you want to have a local setup you can use our [`ink-node`](https://github.com/use-ink/ink-node) for a quickstart.
7979
It's a simple Substrate blockchain which includes the Substrate module for smart contract functionality ‒ the `contracts` pallet (see [How it Works](#how-it-works) for more).
8080

8181
We also have a live testnet named "Contracts" on Rococo. Rococo is a Substrate based

crates/e2e/macro/src/codegen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ fn build_full_client(
135135
.spawn()
136136
.await
137137
.unwrap_or_else(|err|
138-
::core::panic!("Error spawning substrate-contracts-node: {err:?}")
138+
::core::panic!("Error spawning ink-node: {err:?}")
139139
);
140140
let mut client = ::ink_e2e::Client::<
141141
::ink_e2e::PolkadotConfig,

crates/e2e/macro/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ use syn::Result;
3030
/// The system requirements are:
3131
///
3232
/// - A Substrate node with `pallet-revive` installed on the local system. You can e.g.
33-
/// use [`substrate-contracts-node`](https://github.com/paritytech/substrate-contracts-node)
33+
/// use [`ink-node`](https://github.com/use-ink/ink-node)
3434
/// and install it on your PATH, or provide a path to an executable using the
3535
/// `CONTRACTS_NODE` environment variable.
3636
///

crates/e2e/src/node_proc.rs

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ where
6363
/// Construct a builder for spawning a test node process, using the environment
6464
/// variable `CONTRACTS_NODE`, otherwise using the default contracts node.
6565
pub fn build_with_env_or_default() -> TestNodeProcessBuilder<R> {
66-
const DEFAULT_CONTRACTS_NODE: &str = "substrate-contracts-node";
66+
const DEFAULT_CONTRACTS_NODE: &str = "ink-node";
6767

6868
// Use the user supplied `CONTRACTS_NODE` or default to `DEFAULT_CONTRACTS_NODE`.
6969
let contracts_node =
@@ -251,18 +251,16 @@ mod tests {
251251
let mut client2: Option<LegacyRpcMethods<SubxtConfig>> = None;
252252

253253
{
254-
let node_proc1 =
255-
TestNodeProcess::<SubxtConfig>::build("substrate-contracts-node")
256-
.spawn()
257-
.await
258-
.unwrap();
254+
let node_proc1 = TestNodeProcess::<SubxtConfig>::build("ink-node")
255+
.spawn()
256+
.await
257+
.unwrap();
259258
client1 = Some(LegacyRpcMethods::new(node_proc1.rpc()));
260259

261-
let node_proc2 =
262-
TestNodeProcess::<SubxtConfig>::build("substrate-contracts-node")
263-
.spawn()
264-
.await
265-
.unwrap();
260+
let node_proc2 = TestNodeProcess::<SubxtConfig>::build("ink-node")
261+
.spawn()
262+
.await
263+
.unwrap();
266264
client2 = Some(LegacyRpcMethods::new(node_proc2.rpc()));
267265

268266
let res1 = client1.clone().unwrap().chain_get_block_hash(None).await;

crates/e2e/src/xts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ where
362362
// Below we use the low level API to replicate the `wait_for_in_block` behaviour
363363
// which was removed in subxt 0.33.0. See https://github.com/paritytech/subxt/pull/1237.
364364
//
365-
// We require this because we use `substrate-contracts-node` as our development
365+
// We require this because we use `ink-node` as our development
366366
// node, which does not currently support finality, so we just want to
367367
// wait until it is included in a block.
368368
while let Some(status) = tx.next().await {

integration-tests/public/call-runtime/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ mod runtime_call {
134134
type E2EResult<T> = Result<T, Box<dyn std::error::Error>>;
135135

136136
/// The base number of indivisible units for balances on the
137-
/// `substrate-contracts-node`.
137+
/// `ink-node`.
138138
const UNIT: Balance = 1_000_000_000_000;
139139

140140
/// The contract will be given 1000 tokens during instantiation.

0 commit comments

Comments
 (0)