From a60122ca197ce12ad28b16a667f1e39adb3b7728 Mon Sep 17 00:00:00 2001 From: cryptam <102138190+CryptAm@users.noreply.github.com> Date: Sat, 14 Mar 2026 13:08:34 +0500 Subject: [PATCH] Fix RPC_URL mismatch in Foundry tutorial ## Fix inconsistent RPC environment variable name The tutorial defines the RPC endpoint in `.env` as: RPC_URL=https://rpc-gel-sepolia.inkonchain.com/ and the deployment command uses: forge script ... --rpc-url $RPC_URL However, the `foundry.toml` example referenced a different variable: ${INKSEPOLIA_RPC_URL} Following the guide step-by-step would therefore create only `RPC_URL`, causing the `foundry.toml` configuration to reference a non-existent environment variable. This PR makes the tutorial consistent by updating the `foundry.toml` example to use `${RPC_URL}`. Documentation-only change. --- .../build/tutorials/deploying-a-smart-contract/foundry.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/build/tutorials/deploying-a-smart-contract/foundry.mdx b/src/pages/build/tutorials/deploying-a-smart-contract/foundry.mdx index da4ea397..0f2cd83e 100644 --- a/src/pages/build/tutorials/deploying-a-smart-contract/foundry.mdx +++ b/src/pages/build/tutorials/deploying-a-smart-contract/foundry.mdx @@ -178,7 +178,7 @@ optimizer = true optimizer_runs = 200 [rpc_endpoints] -inksepolia = "${INKSEPOLIA_RPC_URL}" +inksepolia = "${RPC_URL}" ``` ## Next Steps