Skip to content

Remove BlockHeaderProofType union type #2386

Remove BlockHeaderProofType union type

Remove BlockHeaderProofType union type #2386

Triggered via pull request February 19, 2025 20:14
Status Failure
Total duration 1m 16s
Artifacts

portalnetwork-build.yml

on: pull_request
Matrix: test-integration-portalnetwork
Matrix: test-unit-portalnetwork
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 2 warnings
test/integration/gossip.spec.ts > gossip tests > should be able to gossip: packages/portalnetwork/src/networks/history/history.ts#L183
Error: invalid proof for block 0xcb5cab7266694daa0d28cbf40496c08dd30bf732c41e0455e7ad389c10d79f4f ❯ HistoryNetwork.validateHeader src/networks/history/history.ts:183:15 ❯ HistoryNetwork.store src/networks/history/history.ts:345:22 ❯ test/integration/gossip.spec.ts:68:20
test/integration/integration.spec.ts: packages/portalnetwork/src/networks/history/history.ts#L183
Error: invalid proof for block 0x46b332ceda6777098fe7943929e76a5fcea772a866c0fb1d170ec65c46c7e3ae ❯ HistoryNetwork.validateHeader src/networks/history/history.ts:183:15 ❯ HistoryNetwork.store src/networks/history/history.ts:345:22 ❯ test/integration/integration.spec.ts:89:20
test/integration/postCapellaHeaderProof.spec.ts > Block Bridge Data Test > should store and retrieve block header data: packages/portalnetwork/src/networks/history/history.ts#L233
Error: invalid proof for block 0x1e98ea9bdf6e44eaed730041682e7db748812d5baef84a38435c8ad5f6c5d1e2 ❯ HistoryNetwork.validateHeader src/networks/history/history.ts:233:15 ❯ HistoryNetwork.store src/networks/history/history.ts:345:22 ❯ test/integration/postCapellaHeaderProof.spec.ts:104:24
test/integration/recursiveContentLookup.spec.ts > Recursive Content Lookup Test > should retrieve the block from node1 via node3: packages/portalnetwork/src/networks/history/history.ts#L183
Error: invalid proof for block 0x46b332ceda6777098fe7943929e76a5fcea772a866c0fb1d170ec65c46c7e3ae ❯ HistoryNetwork.validateHeader src/networks/history/history.ts:183:15 ❯ HistoryNetwork.store src/networks/history/history.ts:345:22 ❯ test/integration/recursiveContentLookup.spec.ts:79:22
test/integration/eth/getBlockByNumber.spec.ts: packages/portalnetwork/src/networks/history/util.ts#L224
TypeError: Cannot convert undefined or null to object ❯ ByteVectorType.value_serializeToBytes node_modules/@chainsafe/ssz/src/type/byteArray.ts:63:23 ❯ Object.value_serializeToBytesArrayComposite node_modules/@chainsafe/ssz/src/type/arrayComposite.ts:88:19 ❯ VectorCompositeType.value_serializeToBytes node_modules/@chainsafe/ssz/src/type/vectorComposite.ts:109:12 ❯ VectorCompositeType.serialize node_modules/@chainsafe/ssz/src/type/abstract.ts:121:10 ❯ Module.addRLPSerializedBlock src/networks/history/util.ts:224:38 ❯ test/integration/eth/getBlockByNumber.spec.ts:155:9
test-integration-portalnetwork (20)
Process completed with exit code 1.
test/networks/history/portalSpecTests.spec.ts > pre-merge header tests > should deserialize pre-merge header with proof: packages/portalnetwork/test/networks/history/portalSpecTests.spec.ts#L82
TypeError: Cannot read properties of undefined (reading '0') ❯ test/networks/history/portalSpecTests.spec.ts:82:41
test-unit-portalnetwork (20)
Process completed with exit code 1.
test-integration-portalnetwork (20)
Cache not found for keys: node-cache-Linux-x64-npm-3650bb1d652056d7170281c61e049e68a4f64f735c9d3a5f7303c6cfa4bd1a09
test-unit-portalnetwork (20)
Cache not found for keys: node-cache-Linux-x64-npm-3650bb1d652056d7170281c61e049e68a4f64f735c9d3a5f7303c6cfa4bd1a09