From daca54d933d4a7c736324cc4add9f74d5394b648 Mon Sep 17 00:00:00 2001 From: Facundo Medica <14063057+facundomedica@users.noreply.github.com> Date: Wed, 10 Aug 2022 19:53:48 -0300 Subject: [PATCH] docs: add AfterDelegationModified x/staking hook (#12896) --- x/staking/spec/06_hooks.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/x/staking/spec/06_hooks.md b/x/staking/spec/06_hooks.md index 18af7723874f..5c98e5e6a00d 100644 --- a/x/staking/spec/06_hooks.md +++ b/x/staking/spec/06_hooks.md @@ -23,5 +23,7 @@ following hooks can registered with staking: * called when a delegation is created * `BeforeDelegationSharesModified(Context, AccAddress, ValAddress) error` * called when a delegation's shares are modified +* `AfterDelegationModified(Context, AccAddress, ValAddress) error` + * called when a delegation is created or modified * `BeforeDelegationRemoved(Context, AccAddress, ValAddress) error` * called when a delegation is removed