subtensor icon indicating copy to clipboard operation
subtensor copied to clipboard

Current run_coinbase allows for >21M alpha

Open dougsillars opened this issue 1 year ago • 2 comments

Describe the bug

This is just a placeholder for an issue that wont surface for years :D

In the run_coinbase, the current code checks tao_in, and then assigns alpha_in based on the price ratio.

There needs to be a mechanism to turn off alpha_in (and presumeably tao_in) for subnets that have emitted 21M alpha.

To Reproduce

Alpha in is always assigned a value - without a check for mex_supply

Expected behavior

if alpha ==21M - no more alpha_in

Screenshots

No response

Environment

run coinbase

Additional context

No response

dougsillars avatar Oct 08 '25 15:10 dougsillars

Hi @dougsillars, I would like to work on this issue. Kindly assign.

DeborahOlaboye avatar Dec 24 '25 14:12 DeborahOlaboye

It's just quick fix by setting alpha_in_i as 0 when get_alpha_issuance(netuid_i) is bigger than 21M

plind-junior avatar Apr 14 '26 15:04 plind-junior