subtensor icon indicating copy to clipboard operation
subtensor copied to clipboard

Add the origin AccountId to StakeAdded and StakeRemoved events

Open vstam1 opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe.

Currently the StakeAdded/Removed events do not list the origin that initiated the stake add or removal action. This makes it hard to track staking action based on events and requires a link to the actual extrinsic triggering this event.

Describe the solution you'd like

Add the origin's AccountId to these events. The information is already available in the functions emitting the events, so it should be as simple as adding another field to the Events tuple.

Describe alternatives you've considered

No response

Additional context

No response

vstam1 avatar Apr 10 '24 11:04 vstam1

Thanks for reaching out ! We will prioritise it and get back to you.

distributedstatemachine avatar Apr 10 '24 11:04 distributedstatemachine