Skip to content
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

Can't mint tokens from faucet locally #39

Open
toilaluan opened this issue Dec 1, 2023 · 7 comments
Open

Can't mint tokens from faucet locally #39

toilaluan opened this issue Dec 1, 2023 · 7 comments

Comments

@toilaluan
Copy link

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.

  1. 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.

  2. 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.

@dnstufff
Copy link

dnstufff commented Dec 1, 2023

Same here

@toilaluan
Copy link
Author

toilaluan commented Dec 1, 2023

@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:
image

@dnstufff
Copy link

dnstufff commented Dec 1, 2023

@toilaluan
Copy link
Author

toilaluan commented Dec 2, 2023

@ermenkov i resolved, just comment all rate limit exceptions in source code. it's ok for me cus i just want to run locally

@362024758
Copy link

@toilaluan I want to run locally, but I also encountered the same error. May I ask which source code you annotated

@urkh
Copy link

urkh commented Mar 4, 2024

@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.

@YmClash
Copy link

YmClash commented Jun 3, 2024

same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants