Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tudor-malene committed Jan 29, 2024
1 parent bc330b3 commit 8db1157
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions go/enclave/components/batch_executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,11 +221,8 @@ func (executor *batchExecutor) ComputeBatch(context *BatchExecutionContext, fail
log.TxKey, xChainTx.Hash(),
"type", xChainTx.Type(),
"time", xChainTx.Time(),
"to", xChainTx.To().Hex(),
"value", xChainTx.Value().Uint64(),
"payload", gethcommon.Bytes2Hex(xChainTx.Data()),
"gas", xChainTx.Gas(),
"gasPrice", xChainTx.GasPrice().Uint64(),
)
}

Expand Down Expand Up @@ -298,11 +295,8 @@ func (executor *batchExecutor) ExecuteBatch(batch *core.Batch) (types.Receipts,
log.TxKey, xChainTx.Hash(),
"type", xChainTx.Type(),
"time", xChainTx.Time(),
"to", xChainTx.To().Hex(),
"value", xChainTx.Value().Uint64(),
"payload", gethcommon.Bytes2Hex(xChainTx.Data()),
"gas", xChainTx.Gas(),
"gasPrice", xChainTx.GasPrice().Uint64(),
)
}
return nil, fmt.Errorf("batch is in invalid state. Incoming hash: %s Computed hash: %s", batch.Hash(), cb.Batch.Hash())
Expand Down

0 comments on commit 8db1157

Please sign in to comment.