Skip to content

Faucet broken on development #426

@distributedstatemachine

Description

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

Metadata

Metadata

Assignees

Labels

blue teamdefensive programming, CI, etcbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions