Skip to content

metagraph emission is incorrect for miners in subnets with subsubnets/mechanisms. #2194

@dougsillars

Description

@dougsillars

Describe the bug

across all subnets, if you sum the emissions - they all come to be ~296 alpha... which is 82% of 360.

There are 5 subnets that report MUCH lower values

Image

These 5 subnets have subnet mechanisms turned on.

It appears that incentive per mechanism, and overall incentive are correct - but somehow when that is being propagated to the emission - the incorrect number is being calculated.

Image

it appears the correct values are being awarded to miners, only the value in the metagraph is incorrect

To Reproduce

find a subnet with mechansims turned on.

find a miner. manually calculate their emissions - compare to the chain.

I have a jupyter notebook I am happy to share.

Expected behavior

Emission is properly reported for all neurons.

Screenshots

No response

Environment

the chain - nov 10

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions