Skip to content

Events for Incentive Emitted To Miners#2033

Merged
sam0x17 merged 4 commits intodevnet-readyfrom
incentive-alpha-emitted-to-miners
Sep 9, 2025
Merged

Events for Incentive Emitted To Miners#2033
sam0x17 merged 4 commits intodevnet-readyfrom
incentive-alpha-emitted-to-miners

Conversation

@JohnReedV
Copy link
Contributor

Description

Emit and event for

  • Incentive alpha emitted to miners in the epoch
  • Auto Stakes to hotkey

let destination = AutoStakeDestination::<T>::get(&owner).unwrap_or(hotkey.clone());

Self::deposit_event(Event::<T>::AutoStakeAdded(
netuid,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add miner hotkey here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

destination is the hotkey if there is no autostake key. Should we add both regardless?

@sam0x17 sam0x17 added the skip-cargo-audit This PR fails cargo audit but needs to be merged anyway label Sep 9, 2025
@sam0x17 sam0x17 merged commit 86c1d31 into devnet-ready Sep 9, 2025
30 of 35 checks passed
@sam0x17 sam0x17 mentioned this pull request Sep 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-cargo-audit This PR fails cargo audit but needs to be merged anyway

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants