From 1ba8948466ee937f29a54707cabd9a329a9fcdbc Mon Sep 17 00:00:00 2001 From: Agnish Ghosh Date: Tue, 1 Oct 2024 20:57:15 +0530 Subject: [PATCH] fix for put operations --- beacon_chain/beacon_chain_db.nim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/beacon_chain/beacon_chain_db.nim b/beacon_chain/beacon_chain_db.nim index e89da8d06..7b5e134e6 100644 --- a/beacon_chain/beacon_chain_db.nim +++ b/beacon_chain/beacon_chain_db.nim @@ -819,17 +819,17 @@ proc putDataColumnSidecar*( db: BeaconChainDB, value: DataColumnSidecar) = let block_root = hash_tree_root(value.signed_block_header.message) - db.blobs.putSZSSZ(columnkey(block_root, value.index), value) + db.columns.putSZSSZ(columnkey(block_root, value.index), value) proc delBlobSidecar*( db: BeaconChainDB, root: Eth2Digest, index: BlobIndex): bool = - db.blobs.del(blobkey(root, index)).expectDb() + db.columns.del(blobkey(root, index)).expectDb() proc delDataColumnSidecar*( db: BeaconChainDB, root: Eth2Digest, index: ColumnIndex): bool = - db.blobs.del(columnkey(root, index)).expectDb() + db.columns.del(columnkey(root, index)).expectDb() proc updateImmutableValidators*( db: BeaconChainDB, validators: openArray[Validator]) =