-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
./scripts/localnet.sh looks for "release" directory #118
Comments
Ah, looks like faucet is disabled on --production build? ❌ Failed: Subtensor returned rebuilding with --release, will report back |
Error persisted even with --release |
Hi, I have same issue. Did you manage to solve it? |
i run it once with BUILD_BINARY=1 ./scripts/localnet.sh, then I was able to run the chain, but i couldnt mint the faucets from this chain.
|
I’m encountering the same error. Has anyone solved this problem or found a workaround? # Build with profile release
cargo build -p node-subtensor --profile release --features pow-faucet
# Start local
BUILD_BINARY=0 ./scripts/localnet.sh
# 2024-12-17 11:13:32 📦 Highest known block at #0
# 2024-12-17 11:13:32 〽️ Prometheus exporter started at 127.0.0.1:9615
# 2024-12-17 11:13:32 Running JSON-RPC server: addr=127.0.0.1:9945,[::1]:9945
btcli wallet faucet --wallet.name owner --subtensor.chain_endpoint ws://127.0.0.1:9945
# Using default wallet path: (~/.bittensor/wallets/)
# Run Faucet?
# wallet name: owner
# coldkey: 5ENu1EktuF...eQ
# network: Network: custom, Chain: ws://127.0.0.1:9945 [y/n]: y
# Enter your password:
# Decrypting...
# ❌ Failed: Subtensor returned `FaucetDisabled(Module)` error. This means: `Faucet is disabled.`.
# ❌ Failed: Subtensor returned `FaucetDisabled(Module)` error. This means: `Faucet is disabled.`.
# ❌ Failed: Subtensor returned `FaucetDisabled(Module)` error. This means: `Faucet is disabled.`. |
Not sure if this help. BUILD_BINARY=1 ./scripts/localnet.sh False It will automatically run the local test net with two node btcli wallet faucet --wallet.name owner --subtensor.chain_endpoint ws://127.0.0.1:9944
# Using default wallet path: (~/.bittensor/wallets/)
# Run Faucet?
# wallet name: owner
# coldkey: 5EN...WeQ
# network: Network: local, Chain: ws://127.0.0.1:9944 [y/n]: y
# Enter your password:
# Decrypting...
# Balance: τ0.000000000 ➡ τ1,000.000000000
# Balance: τ1,000.000000000 ➡ τ2,000.000000000
# Balance: τ2,000.000000000 ➡ τ3,000.000000000 |
updated localnet build is under "target/production"
therefore, localnet.sh fails when following the running_on_staging.md instructions. Build should either be named "release" or localnet.sh should be changed to point to target/production instead.
cheers!
The text was updated successfully, but these errors were encountered: