1

Can someone please provide me with an example of when to increase sufficients and providers in an account?

Providers

The providers reference counter prevents Substrate pallets from storing data about an account until the account is active (providers > 0).

Is the account active only when it has an existential deposit?

I noticed the following post but I am still unclear of when to increase sufficients and providers.

What is the meaning of the account provider, sufficients and consumer?

1 Answer 1

2

You can find examples of when sufficients and providers are increased or decreased by checking where their corresponding functions are called in the polkadot-sdk codebase.

The functions that manage the increase or decrease of sufficients and providers can be found in the System pallet:

Some examples of where these functions are invoked in the polkadot-sdk codebase are the following:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.