Skip to content

Implement support for ephemeral headers #2375

Implement support for ephemeral headers

Implement support for ephemeral headers #2375

Triggered via pull request February 15, 2025 01:49
Status Failure
Total duration 1m 11s
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#L186
Error: invalid proof for block 0xcb5cab7266694daa0d28cbf40496c08dd30bf732c41e0455e7ad389c10d79f4f ❯ HistoryNetwork.validateHeader src/networks/history/history.ts:186:15 ❯ HistoryNetwork.store src/networks/history/history.ts:360:22 ❯ test/integration/gossip.spec.ts:68:20
test/integration/integration.spec.ts: packages/portalnetwork/src/networks/history/history.ts#L186
Error: invalid proof for block 0x46b332ceda6777098fe7943929e76a5fcea772a866c0fb1d170ec65c46c7e3ae ❯ HistoryNetwork.validateHeader src/networks/history/history.ts:186:15 ❯ HistoryNetwork.store src/networks/history/history.ts:360: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#L236
Error: invalid proof for block 0x1e98ea9bdf6e44eaed730041682e7db748812d5baef84a38435c8ad5f6c5d1e2 ❯ HistoryNetwork.validateHeader src/networks/history/history.ts:236:15 ❯ HistoryNetwork.store src/networks/history/history.ts:360: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#L186
Error: invalid proof for block 0x46b332ceda6777098fe7943929e76a5fcea772a866c0fb1d170ec65c46c7e3ae ❯ HistoryNetwork.validateHeader src/networks/history/history.ts:186:15 ❯ HistoryNetwork.store src/networks/history/history.ts:360:22 ❯ test/integration/recursiveContentLookup.spec.ts:79:22
test/integration/eth/getBlockByNumber.spec.ts: packages/portalnetwork/src/networks/history/util.ts#L256
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:256: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