stacks-network / stacks-core

The Stacks blockchain implementation
https://docs.stacks.co
GNU General Public License v3.0
3k stars 659 forks source link

Emit simulated events for delegate-stack-stx in PoX contract #2556

Open kantai opened 3 years ago

kantai commented 3 years ago

Various API consumers/event observers would like to be able to react/build around events from the PoX contract.

See:

https://github.com/blockstack/stacks-blockchain-api/issues/518

This can be addressed with some "special casing" in the stacks-node, which would enable a generic approach elsewhere: producing simulated events for the PoX contract for the event stream.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

kantai commented 2 years ago

This is still something that would be useful for Stacks 2.1

zone117x commented 1 year ago

Is this still possible to get in the Stacks 2.1 release? It looks like there's several new PoX events that need to be added anyway.

kantai commented 1 year ago

Yeah, definitely. In fact, we won't have to simulate the events, we can just add new print statements to the pox-2 contract.

Do you have any ideas for the different events that would be useful to emit?

stale[bot] commented 9 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

kantai commented 9 months ago

@zone117x -- is this something that has since been solved in the event stream, or is this information still missing?

zone117x commented 9 months ago

This simulated event is implemented, AFAIK the remaining one is here: https://github.com/stacks-network/stacks-blockchain/issues/3529

This issue can be closed