rollmint icon indicating copy to clipboard operation
rollmint copied to clipboard

Immediate vs Delayed Execution

Open tac0turtle opened this issue 5 months ago • 1 comments

In rollkit we decided to continue with delayed execution meaning that the header contains the state root for the previous height. While this works in the cosmos sdk case, we should aim to contain the current state root in the header for the EVM. We attempted to make this work but the flow with the execution api seems to be causing issues. We should solve this sooner than later but for the first tag we will continue with the current path

tac0turtle avatar Jul 03 '25 09:07 tac0turtle

I do think it might actually make sense to just keep deferred execution tbh, that way we can get rid of the state root computation every block too and move it to an epoch. It really should boost the performance, since apparently state root computation (at least MPT) is 70-80% of the block building time in the EVM.

Manav-Aggarwal avatar Jul 04 '25 03:07 Manav-Aggarwal