diff --git a/src/blob-inner/blob-processor.js b/src/blob-inner/blob-processor.js index 8a2f7af5..929f4058 100644 --- a/src/blob-inner/blob-processor.js +++ b/src/blob-inner/blob-processor.js @@ -347,7 +347,7 @@ module.exports = class BlobProcessor { ); // invalidate blob - if (this.inInvalid === true) { + if (this.isInvalid === true) { this.finalAccBatchHashData = Constants.ZERO_BYTES32; } else { // compute finalAccBatchHashData diff --git a/test/helpers/test-vectors/blob-inner/blob-inner-data.json b/test/helpers/test-vectors/blob-inner/blob-inner-data.json index f8b83150..82c87808 100644 --- a/test/helpers/test-vectors/blob-inner/blob-inner-data.json +++ b/test/helpers/test-vectors/blob-inner/blob-inner-data.json @@ -10,7 +10,7 @@ "oldBlobStateRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", "oldBlobAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", "oldNumBlob": 0, - "forkID": 9, + "forkID": 10, "oldStateRoot": "0x799c98013da3f7a43b6e8086d0cedd89bd6a9bfef7179ce30755b27f7e9be302" }, "private": { @@ -46,7 +46,7 @@ "oldBlobStateRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", "oldBlobAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", "oldNumBlob": 0, - "forkID": 9, + "forkID": 10, "oldStateRoot": "0x799c98013da3f7a43b6e8086d0cedd89bd6a9bfef7179ce30755b27f7e9be302" }, "private": { @@ -82,7 +82,7 @@ "oldBlobStateRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", "oldBlobAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", "oldNumBlob": 0, - "forkID": 9, + "forkID": 10, "oldStateRoot": "0x799c98013da3f7a43b6e8086d0cedd89bd6a9bfef7179ce30755b27f7e9be302" }, "private": { @@ -102,7 +102,7 @@ "newBlobStateRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", "newBlobAccInputHash": "0x16a732fdf8b663112fa30baa38f484ca298e87d563601eace4a3d9e1620960ee", "newNumBlob": 1, - "finalAccBatchHashData": "0xa78cd7278eb8b48a40e791486985ad6290af374ca45ad962ed08cc83b2e184ba", + "finalAccBatchHashData": "0x0000000000000000000000000000000000000000000000000000000000000000", "localExitRootFromBlob": "0x0000000000000000000000000000000000000000000000000000000000000001", "isInvalid": true }