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

Faucet broken on development #426

Closed
distributedstatemachine opened this issue May 16, 2024 · 0 comments · Fixed by #427
Closed

Faucet broken on development #426

distributedstatemachine opened this issue May 16, 2024 · 0 comments · Fixed by #427
Assignees
Labels
blue team defensive programming, CI, etc bug Something isn't working

Comments

@distributedstatemachine
Copy link
Contributor

distributedstatemachine commented May 16, 2024

Describe the bug

We are currently unable to use the faucet on development. I suspect the regression comes from this PR, as checking out the commit before its merge resolves it.

To Reproduce

  1. checkout out development
  2. build a localnet (./scripts/localnet.sh).
  3. connect to it via btcli and try use the faucet. btcli w faucet --subtensor.network=ws://127.0.0.1:9946
btcli w faucet --subtensor.network=ws://127.0.0.1:9946
Enter wallet name (default): fob
Run Faucet ?
 coldkey:    5FQwc5vF6Ku657RENZBo3d9o8fwSmpMyQ4RfRgTQqaJ7rjYt
 network:    local [y/n]: y
Enter password to unlock key: 
❌ Failed: Error: {'type': 'Module', 'name': 'FaucetDisabled', 'docs': ['the faucet is disabled']}
❌ Failed: Error: {'type': 'Module', 'name': 'FaucetDisabled', 'docs': ['the faucet is disabled']}
❌ Failed: Error: {'type': 'Module', 'name': 'FaucetDisabled', 'docs': ['the faucet is disabled']}

Expected behavior

btcli w faucet --subtensor.network=ws://127.0.0.1:9946
Enter wallet name (default): fob
Run Faucet ?
 coldkey:    5FQwc5vF6Ku657RENZBo3d9o8fwSmpMyQ4RfRgTQqaJ7rjYt
 network:    local [y/n]: y
Enter password to unlock key: 
Balance: τ0.000000000 ➡ τ100.000000000
Balance: τ100.000000000 ➡ τ200.000000000
Balance: τ200.000000000 ➡ τ300.000000000

Screenshots

No response

Environment

m3 osx

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blue team defensive programming, CI, etc bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants