subtensor
subtensor copied to clipboard
Current run_coinbase allows for >21M alpha
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
Hi @dougsillars, I would like to work on this issue. Kindly assign.
It's just quick fix by setting alpha_in_i as 0 when get_alpha_issuance(netuid_i) is bigger than 21M