handled exception

This commit is contained in:
agnxsh 2024-12-12 19:58:10 +05:30
parent 858844b29e
commit 3d3aa77b5d
No known key found for this signature in database
GPG Key ID: F9DCC22B4388C910
3 changed files with 48 additions and 3 deletions

View File

@ -141,8 +141,7 @@ func hasMissingDataColumns*(quarantine: DataColumnQuarantine,
max(SAMPLES_PER_SLOT.uint64, max(SAMPLES_PER_SLOT.uint64,
localSubnetCount)) localSubnetCount))
for i in localCustodyColumns: for i in localCustodyColumns:
if (blck.root, ColumnIndex i) notin quarantine.data_columns and if (blck.root, ColumnIndex i) notin quarantine.data_columns:
len(blck.message.body.blob_kzg_commitments) != 0:
inc counter inc counter
if quarantine.supernode and counter != NUMBER_OF_COLUMNS: if quarantine.supernode and counter != NUMBER_OF_COLUMNS:
return false return false

View File

@ -193,7 +193,7 @@ proc reconstruction_terms*(blobIdx: int,
debugEcho blobIdx debugEcho blobIdx
# Call the recovery function and handle results # Call the recovery function and handle results
let recovered_cell_and_proof = recoverCellsAndKzgProofs(cell_ids, ckzgCells) 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!") return err("Issue with computing cells and proofs!")
ok(recovered_cell_and_proof.get) ok(recovered_cell_and_proof.get)

View File

@ -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"