bittensor-subnet-template
bittensor-subnet-template copied to clipboard
Can't mint tokens from faucet locally
I am encountering issues while attempting to set up the subnet template locally, as outlined in your documentation (https://github.com/opentensor/bittensor-subnet-template/blob/main/docs/running_on_staging.md). I have run into a couple of challenges that I'd like to bring to your attention for guidance or resolution.
-
Non-existent Branch for User-Creation: In the documentation, step 4 instructs to switch to the 'user-creation' branch under the subnets section. However, I've observed that this branch does not exist in the repository. This has led me to bypass step 4 entirely, but I am unsure if this impacts the subsequent steps or the overall setup.
-
Faucet Token Minting Error: Following the steps and proceeding to step 9, which involves minting tokens from the faucet, I encountered an error. The specific error message is as follows:
Failed: Error: {'type': 'Module', 'name': 'FaucetDisabled', 'docs': []}
. This error suggests an issue with the faucet module, perhaps indicating that it is disabled or not functioning as expected.
Same here
@ermenkov i resolved the FaucetDisabled
exception by changing cargo build --release
to cargo build --release --features pow-faucet
in scripts/localrun.sh
but then i encounter another issue when create new subnet:
Again same here. It appears that this flag is too low: https://github.com/opentensor/subtensor/blob/f7b34e3ac8a3dec52b3c2213cd001f81f449f19b/pallets/subtensor/src/utils.rs#L1033
This MD might help with the flags: https://github.com/opentensor/substrate-docs/blob/9d9e2421b7498e5de89cb6df300f20c634687a29/content/md/en/docs/reference/command-line-tools/node-template.md
Haven't solved it yet either. Anyone else?
@ermenkov i resolved, just comment all rate limit exceptions in source code. it's ok for me cus i just want to run locally
@toilaluan I want to run locally, but I also encountered the same error. May I ask which source code you annotated
@362024758
Are you running subtensor with docker?
If I do from the build, it doesn't happen to me, but running the docker image it does.
same problem