There was an error while loading. Please reload this page.
1 parent 9a855a7 commit cdcd237Copy full SHA for cdcd237
1 file changed
packages/cli/src/commands/dev-contracts.ts
@@ -56,6 +56,8 @@ const commandModule: CommandModule<typeof devOptions, InferredOptionTypes<typeof
56
);
57
58
rpc = "http://127.0.0.1:8545";
59
+ } else if (!rpc.includes("127.0.0.1") && !rpc.includes("localhost")) {
60
+ console.log(chalk.yellow("Warning: dev-contracts is intended for local development. Deploying to a non-local chain may cause unexpected failures."));
61
}
62
63
// Watch for changes
0 commit comments