fixup! Fix regression in DB write atomicity
This commit is contained in:
parent
bc468b4ce5
commit
6a37e84399
@ -3034,7 +3034,7 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
|
||||
if blobs.blobs.len() > 0 {
|
||||
//FIXME(sean) using this for debugging for now
|
||||
info!(
|
||||
self.log, "Writing blobs to store";
|
||||
self.log, "Writing blobs to store";
|
||||
"block_root" => ?block_root
|
||||
);
|
||||
ops.push(StoreOp::PutBlobs(block_root, blobs));
|
||||
|
@ -1870,7 +1870,7 @@ impl<E: EthSpec, Hot: ItemStore<E>, Cold: ItemStore<E>> HotColdDB<E, Hot, Cold>
|
||||
oldest_blob_slot: Some(end_slot + 1),
|
||||
},
|
||||
)?;
|
||||
ops.push(StoreOp::PutRawKVStoreOp(update_blob_info));
|
||||
ops.push(StoreOp::KeyValueOp(update_blob_info));
|
||||
|
||||
self.do_atomically(ops)?;
|
||||
info!(
|
||||
|
Loading…
Reference in New Issue
Block a user