rollmint icon indicating copy to clipboard operation
rollmint copied to clipboard

[EPIC]: Node Pruning

Open tac0turtle opened this issue 1 year ago • 9 comments

We should allow nodes to prune historical blocks stored in storage. alternatively storing them in a way that we can attach volumes for certain block heights could be useful over an extended period of time.

ADR for Node Pruning: https://github.com/rollkit/rollkit/blob/feature/exec_api/specs/lazy-adr/adr-017-node-pruning.md

tac0turtle avatar Mar 19 '25 16:03 tac0turtle

I think prior to pruning we should enable light nodes and then the second part of this request which is the more flexible storage options.

What are the user flows that would want pruning of a rollup block.

MSevey avatar Mar 20 '25 16:03 MSevey

we should enable light nodes

can you touch on what this means?

more flexible storage options.

also this? we dont want to support many DBs, one is enough

tac0turtle avatar Mar 20 '25 16:03 tac0turtle

Can i pick up this one? @Manav-Aggarwal

Eoous avatar Apr 17 '25 10:04 Eoous

Hey @Eoous of course, assigned to you

Manav-Aggarwal avatar Apr 17 '25 14:04 Manav-Aggarwal

I read adr. I don't know whether got points for volume-based strategy. Looks like the strategy is best for full or archive node, not for pruned node.

Eoous avatar Apr 25 '25 10:04 Eoous

lets leave out volume based storage as it wont be needed for a while. Ill review your pr later today

tac0turtle avatar Apr 25 '25 11:04 tac0turtle

we need to revert this pr once we work on pruning https://github.com/evstack/ev-node/pull/2718

tac0turtle avatar Oct 01 '25 09:10 tac0turtle

Still need #2208?

Eoous avatar Oct 09 '25 13:10 Eoous

ref https://github.com/evstack/ev-node/issues/2111

tac0turtle avatar Nov 18 '25 11:11 tac0turtle