From 3d3aa77b5db770c32aebff14a0c88ec4e26724e5 Mon Sep 17 00:00:00 2001 From: agnxsh Date: Thu, 12 Dec 2024 19:58:10 +0530 Subject: [PATCH] handled exception --- .../data_column_quarantine.nim | 3 +- beacon_chain/spec/eip7594_helpers.nim | 2 +- nimbus-build-system 2.paths | 46 +++++++++++++++++++ 3 files changed, 48 insertions(+), 3 deletions(-) create mode 100644 nimbus-build-system 2.paths diff --git a/beacon_chain/consensus_object_pools/data_column_quarantine.nim b/beacon_chain/consensus_object_pools/data_column_quarantine.nim index 869890998..2f3623310 100644 --- a/beacon_chain/consensus_object_pools/data_column_quarantine.nim +++ b/beacon_chain/consensus_object_pools/data_column_quarantine.nim @@ -141,8 +141,7 @@ func hasMissingDataColumns*(quarantine: DataColumnQuarantine, max(SAMPLES_PER_SLOT.uint64, localSubnetCount)) for i in localCustodyColumns: - if (blck.root, ColumnIndex i) notin quarantine.data_columns and - len(blck.message.body.blob_kzg_commitments) != 0: + if (blck.root, ColumnIndex i) notin quarantine.data_columns: inc counter if quarantine.supernode and counter != NUMBER_OF_COLUMNS: return false diff --git a/beacon_chain/spec/eip7594_helpers.nim b/beacon_chain/spec/eip7594_helpers.nim index c79a1d00d..f173cd8e5 100644 --- a/beacon_chain/spec/eip7594_helpers.nim +++ b/beacon_chain/spec/eip7594_helpers.nim @@ -193,7 +193,7 @@ proc reconstruction_terms*(blobIdx: int, debugEcho blobIdx # Call the recovery function and handle results let recovered_cell_and_proof = recoverCellsAndKzgProofs(cell_ids, ckzgCells) - if recovered_cell_and_proof.isErr: + if not recovered_cell_and_proof.isOk: return err("Issue with computing cells and proofs!") ok(recovered_cell_and_proof.get) diff --git a/nimbus-build-system 2.paths b/nimbus-build-system 2.paths new file mode 100644 index 000000000..f393a5ecf --- /dev/null +++ b/nimbus-build-system 2.paths @@ -0,0 +1,46 @@ +--noNimblePath +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/EIPs" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/NimYAML" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/eth2-networks" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/gnosis-chain-configs" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/holesky" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-bearssl" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-blscurve" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-chronicles" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-chronos" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-confutils" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-eth" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-eth2-scenarios" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-faststreams" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-http-utils" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-json-rpc" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-json-serialization" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-kzg4844" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-libbacktrace" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-libp2p" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-metrics" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-nat-traversal" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-normalize/src" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-presto" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-results" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-secp256k1" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-serialization" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-snappy" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-sqlite3-abi" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-ssz-serialization" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-stew" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-stint" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-taskpools" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-testutils" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-toml-serialization" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-unicodedb/src" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-unittest2" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-web3" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-websock" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-zlib" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nim-zxcvbn" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nimbus-benchmarking" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nimbus-build-system" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nimbus-security-resources" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/nimcrypto" +--path:"/Users/agnish/Desktop/work/ne2pd/vendor/sepolia"