File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ contract ZkEvmVerifierPostFeynman is IZkEvmVerifierV2 {
2828 bytes32 public immutable verifierDigest2;
2929
3030 /// @notice The version of the protocol.
31+ /// @dev The protocol version for Validium@v1 onwards encodes `domain` and `version` such that
32+ /// @dev protocolVersion = (domain << 6) + version.
3133 uint256 public immutable protocolVersion;
3234
3335 /***************
@@ -54,8 +56,8 @@ contract ZkEvmVerifierPostFeynman is IZkEvmVerifierV2 {
5456 ///
5557 /// @dev Encoding for `publicInput`. And this is exactly the same as `ZkEvmVerifierV2`.
5658 /// ```text
57- /// | layer2ChainId | msgQueueHash | numBatches | prevStateRoot | prevBatchHash | postStateRoot | batchHash | withdrawRoot |
58- /// | 8 bytes | 32 bytes | 4 bytes | 32 bytes | 32 bytes | 32 bytes | 32 bytes | 32 bytes |
59+ /// | layer2ChainId | msgQueueHash | numBatches | prevStateRoot | prevBatchHash | postStateRoot | batchHash | withdrawRoot | validium ? encryptionKey |
60+ /// | 8 bytes | 32 bytes | 4 bytes | 32 bytes | 32 bytes | 32 bytes | 32 bytes | 32 bytes | 33 bytes |
5961 /// ```
6062 function verify (bytes calldata bundleProof , bytes calldata publicInput ) external view override {
6163 address _verifier = plonkVerifier;
You can’t perform that action at this time.
0 commit comments