cosmos-sdk icon indicating copy to clipboard operation
cosmos-sdk copied to clipboard

Documentation: No documentation on using hooks

Open jtremback opened this issue 4 years ago • 9 comments

Some modules have hooks, and in the docs they tend to have a list of the names of all the hooks. What is missing is a guide on how one can connect to hooks.

jtremback avatar Oct 28 '21 13:10 jtremback

Hye @jtremback i want to work on this issue /assign

GauravDhak avatar Aug 10 '23 09:08 GauravDhak

Awesome, thank you!

julienrbrt avatar Aug 10 '23 09:08 julienrbrt

hey @jtremback i need more clarification to work

GauravDhak avatar Aug 10 '23 10:08 GauravDhak

Modules like staking, gov or distribution have hooks. The staking hooks docs for instance, are very minimal and the gov one are not existing, we should make them as good as for distribution.

julienrbrt avatar Aug 10 '23 11:08 julienrbrt

@GauravDhak are you still up to work on this issue?

julienrbrt avatar Oct 19 '23 09:10 julienrbrt

Let's add a note in the gov hooks docs as well the following:

AfterProposalFailedMinDeposit and AfterProposalVotingPeriodEnded GovHooks should be not resource intensive

(A-39)

julienrbrt avatar Nov 15 '23 08:11 julienrbrt

@julienrbrt can I work on this issue?

Paulius0112 avatar Jul 27 '24 08:07 Paulius0112

@julienrbrt can I work on this issue?

Yes, thank you!!

julienrbrt avatar Jul 27 '24 08:07 julienrbrt

I want to help to close this issue. In which docs is a guide to be added regarding the use of hooks?

Learnedprawn avatar May 11 '25 11:05 Learnedprawn

Closing for now as this is stale

aljo242 avatar Jul 28 '25 19:07 aljo242