I was having this error when I was trying to deploy my ink smart contract in rococo:

StorageDepositLimitExhausted More storage was created than allowed by the storage deposit limit.

What might be the problem

1 Answer 1


The StorageDepositLimitExhausted error occurs when the storage required by your ink! smart contract exceeds the allowed storage deposit limit on the Rococo testnet.

This error typically arises due to one or more of the following reasons:

Large storage variables: Your smart contract might have large storage variables or a large number of storage variables that, when combined, exceed the allowed storage deposit limit. You should review your contract's storage usage and consider optimizing or reducing the size of your storage variables.

Incorrect storage deposit limit configuration: It's possible that the storage deposit limit configuration in the Rococo testnet is set too low for your specific smart contract use case. If you believe this is the issue, you might want to discuss it with the developers or maintainers of the Rococo testnet.

To address this issue, you can try the following:

Optimize your smart contract: Review your ink! smart contract's storage usage and optimize it by reducing the size or number of storage variables. This might involve using more efficient data structures or rethinking your contract's design to minimize storage requirements.

Reach out to the testnet maintainers: If you believe that the storage deposit limit on the Rococo testnet is too low for your use case, consider reaching out to the testnet maintainers through their support channels or forums. They might be able to provide guidance or even adjust the storage deposit limit, if necessary.

Test on a different network: If the Rococo testnet's storage deposit limit continues to be a limitation for your smart contract, you can consider deploying and testing your contract on a different testnet or a local development network. This way, you can continue testing and development without being constrained by the storage deposit limit.

Remember that each network may have different storage deposit limits and rules, so it's essential to test your smart contract on your target network to ensure it functions as expected.

  • Great explanation, but would you happen to know where on the substrate-node-template you can increase this allowed storage deposit limit? What I find is when I deploy a variety of contracts with one address (400-600) contracts, I get this error.
    Mar 19 at 20:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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