2

Can an evil contract fill users' ram with junk data?

2

Yes, but it can only consume the ram of users who send it actions. Users should avoid sending actions to contracts which don't provide a way to release users' ram.

| improve this answer | |
  • but many users don't review the code, they just use the dapp, I think @user1627's suggestion below is a good solution – Jimmy Guo Jun 28 '18 at 10:24
0

I am confused because you are asking questions without distinguishing between users and contract deployers.

If your question implies a contract deployer, it is to use the RAM of the account that deployed the contract.

RAM is purchased and used by contract writer(deployer), and it is entirely the contract writer's fault that they are misused within their limits.

Of course, it would be nice to provide a way to make sure your network can respond to these mistakes.

| improve this answer | |

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.