gnolang / gno

Gno: An interpreted, stack-based Go virtual machine to build succinct and composable apps + gno.land: a blockchain for timeless code and fair open-source.
https://gno.land/
Other
900 stars 378 forks source link

[chain] Revised Chain Storage #1825

Open zivkovicmilos opened 8 months ago

zivkovicmilos commented 8 months ago

Description

This effort covers the concern of storage creep in Gnoland, as the blockchain advances to new heights.

Essentially, as the Gno chain progresses, it will become more and more expensive to manage storage-wise, since it can grow into gigabytes / terabytes in size for archive nodes. This can be mitigated with a few strategies:

Successful outcome of this effort:

moul commented 1 month ago

This is definitely a significant challenge for us, but we will primarily address it after the launch by introducing special node types, among other things.

Before the launch, we should consider implementing "storage rent gas" for contracts. However, the question is how to establish proper garbage collection, which depends on #2743.

Let's remove "must have" for now.