You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A CheckNominatedRestaked SignedExtension is needed to be in the Runtime SignedExtra where it will check for all the unbond calls to the Staking pallet. These checks happens before the call reaches the pallet itself.
Steps to add:
Create the CheckNominatedRestaked in the runtime, similar to the above one.
Add it to the list of SignedExtra tuple, for example, here.
A
CheckNominatedRestakedSignedExtension is needed to be in the RuntimeSignedExtrawhere it will check for all theunbondcalls to the Staking pallet. These checks happens before the call reaches the pallet itself.Steps to add:
CheckNominatedRestakedin the runtime, similar to the above one.SignedExtratuple, for example, here.Steps to test:
Here is a test that you can follow:
tangle/pallets/multi-asset-delegation/src/tests/native_restaking.rs
Line 91 in e5646b7
But basically the steps are:
multiAssetDelegation.delegateNominationmethod, to restake some or all of the Nominated TNT.