Skip to content

Commit

Permalink
chore(executor): remove constraint on pubdata hash for validiums
Browse files Browse the repository at this point in the history
  • Loading branch information
koloz193 committed Apr 24, 2024
1 parent 381911e commit 765cc1a
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ 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(logOutput.pubdataHash == 0x00, "v0h");
require(_newBatch.pubdataCommitments.length == 1, "EF: v0l");
} else if (pubdataSource == uint8(PubdataSource.Blob)) {
// In this scenario, pubdataCommitments is a list of: opening point (16 bytes) || claimed value (32 bytes) || commitment (48 bytes) || proof (48 bytes)) = 144 bytes
Expand Down

0 comments on commit 765cc1a

Please sign in to comment.