Skip to content

Improve EVM rollback #2967

@julienrbrt

Description

@julienrbrt

ev-reth rollback command only rollbacks ev-node. We use the ev-reth behavior that automatically rollbacks when the consensus sends an earlier head. This is different from ev-abci, where we rollback directly from the command: https://github.com/evstack/ev-abci/blob/main/server/rollback_cmd.go#L91-L95.

With #2966 change, the evm rollback command won't work, as ev-reth will be ahead and you won't be able to restart (as hitting the inconsistent state error). The rollback must be manual.

We should update the EVM rollback command to do the payload re-submission directly in the rollback command. To effectively rollback both ev-reth and ev-node. This is slightly breaking as ev-reth and ev-node both need to be started to perform a rollback

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions