Skip to content

Commit

Permalink
Remove validium check
Browse files Browse the repository at this point in the history
  • Loading branch information
gianbelinche committed Sep 19, 2024
1 parent bce4b2d commit 071aa0e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ contract ExecutorFacet is ZkSyncHyperchainBase, IExecutor {
bytes32[] memory blobCommitments = new bytes32[](MAX_NUMBER_OF_BLOBS);
if (pricingMode == PubdataPricingMode.Validium) {
// skipping data validation for validium, we just check that the data is empty
require(_newBatch.pubdataCommitments.length == 1, "EF: v0l");
//require(_newBatch.pubdataCommitments.length == 1, "EF: v0l");
for (uint8 i = uint8(SystemLogKey.BLOB_ONE_HASH_KEY); i <= uint8(SystemLogKey.BLOB_SIX_HASH_KEY); i++) {
logOutput.blobHashes[i - uint8(SystemLogKey.BLOB_ONE_HASH_KEY)] = bytes32(0);
}
Expand Down

0 comments on commit 071aa0e

Please sign in to comment.