mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 13:07:17 +00:00
tevm_open_cursor_after_commit (#2141)
This commit is contained in:
parent
eedabfca85
commit
7b08a3b138
@ -207,7 +207,11 @@ func transpileBatch(logPrefix string, s *StageState, fromBlock uint64, toBlock u
|
||||
if err != nil {
|
||||
return fmt.Errorf("cannot begin the batch transaction on %q: %w", codeHash, err)
|
||||
}
|
||||
|
||||
k, hash = common.CopyBytes(k), common.CopyBytes(hash)
|
||||
_, err = c.SeekBothRange(k, hash)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
// TODO: This creates stacked up deferrals
|
||||
defer tx.Rollback()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user