Contract execution should have a limit of used memory #1314
Labels
bug
Something isn't working
smart contracts
Involve smart contracts
system
Involve system management
Describe the problem you discovered
Currently the contract are executed without much restriction. But this can have unexpected effect.
For example a contract retrieving some data from an HTTP request and adding this into a list:
The resulting list will have a size of 2 Go and will be stored in miner memory.
This can causes miner to crash if memory consumption is not handled.
Describe the solution you'd like
Implement a solution to limit the memory used by a contract execution
Epic
No response
The text was updated successfully, but these errors were encountered: