diff --git a/go/enclave/components/batch_executor.go b/go/enclave/components/batch_executor.go index da37326c22..92d42c7deb 100644 --- a/go/enclave/components/batch_executor.go +++ b/go/enclave/components/batch_executor.go @@ -172,7 +172,7 @@ func (executor *batchExecutor) ComputeBatch(context *BatchExecutionContext, fail if err != nil { return nil, fmt.Errorf("could not create stateDB. Cause: %w", err) } - snap := stateDB.Snapshot() + // snap := stateDB.Snapshot() var messages common.CrossChainMessages var transfers common.ValueTransferEvents @@ -222,8 +222,9 @@ func (executor *batchExecutor) ComputeBatch(context *BatchExecutionContext, fail len(crossChainTransactions) == 0 && len(messages) == 0 && len(transfers) == 0 { - // revert any unexpected mutation to the statedb - stateDB.RevertToSnapshot(snap) + // todo review why this is failing deployment with "panic: revision id 0 cannot be reverted" - https://github.com/ten-protocol/ten-internal/issues/2654 + //// revert any unexpected mutation to the statedb + //stateDB.RevertToSnapshot(snap) return nil, ErrNoTransactionsToProcess }