You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add sudo call to disable emissions for a subnet
Closes#2287
This PR adds a new sudo call `sudo_set_emissions_disabled` that allows
root to disable or enable emissions for a specific subnet.
Changes:
- Add EmissionsDisabled storage item in subtensor pallet
- Add EmissionsDisabledSet event
- Add getter/setter functions for EmissionsDisabled
- Add sudo_set_emissions_disabled call in admin-utils pallet (call_index 84)
- Update get_subnets_to_emit_to to filter out subnets with emissions disabled
- Add cleanup for EmissionsDisabled in remove_network
- Add benchmark for the new extrinsic
- Add tests for the new functionality
0 commit comments