From 078b4746094c838b4f9b6a19b694a5e2a9b2fcb2 Mon Sep 17 00:00:00 2001 From: matthewkeil Date: Tue, 22 Oct 2024 00:51:51 +0700 Subject: [PATCH] fix: test bug --- packages/beacon-node/test/unit/util/dataColumn.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/beacon-node/test/unit/util/dataColumn.test.ts b/packages/beacon-node/test/unit/util/dataColumn.test.ts index 35cf977a2da..9cabf493435 100644 --- a/packages/beacon-node/test/unit/util/dataColumn.test.ts +++ b/packages/beacon-node/test/unit/util/dataColumn.test.ts @@ -136,7 +136,7 @@ describe("data column sidecars", () => { expect(columnSidecars.length).toEqual(NUMBER_OF_COLUMNS); expect(columnSidecars[0].column.length).toEqual(blobs.length); - signedBeaconBlock.message.body.blobKzgCommitments.length = []; + signedBeaconBlock.message.body.blobKzgCommitments = []; expect(() => validateDataColumnsSidecars(slot, blockRoot, kzgCommitments, columnSidecars)).toThrow( `Invalid data column sidecar slot=${slot}`