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 · 10 comments
Open

Can't mint tokens from faucet locally #39

toilaluan opened this issue Dec 1, 2023 · 10 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

@aaytuncc
Copy link

I couldn't mint faucet as well but my error is following. How can i solve this ?

{'jsonrpc': '2.0', 'id': 0, 'error': {'code': 1014, 'message': 'Priority is too low: (18446744073709551615 vs 
18446744073709551615)', 'data': 'The transaction has too low priority to replace another transaction already in
the pool.'}}

@Sviat838
Copy link

Sviat838 commented Dec 6, 2024

I went through this guide: https://github.com/opentensor/bittensor-subnet-template/blob/main/docs/running_on_staging.md

But I am stacked on the 8th step. I am receiving logs about tokens mining, however this is running for 2 hours and still no results, here is the logs:

Decrypting...
⠙ Solving
Time Spent (total): 0:00:19.403512
Registration Difficulty: 1.00 M
Iters (Inst/Perp): 52.1KH/s / 43.8KH/s
Block Number: 5828
Block Hash: b'0x356e4accc1b0908d981815dad0df8a996334ca0fbd3d5aabc4d20d381098d713'

@manh-vv
Copy link

manh-vv commented Dec 19, 2024

I was able to make faucet, and leave a comment here: #118 (comment).

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

8 participants