Skip to content

Commit

Permalink
Rollup cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Jan 16, 2024
1 parent 6a9919d commit 88853f0
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions l1-contracts/src/core/Rollup.sol
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {AvailabilityOracle} from "./availability_oracle/AvailabilityOracle.sol";
/**
* @title Rollup
* @author Aztec Labs
* @notice Rollup contract that are concerned about readability and velocity of development
* @notice Rollup contract that is concerned about readability and velocity of development
* not giving a damn about gas costs.
*/
contract Rollup is IRollup {
Expand Down Expand Up @@ -78,12 +78,6 @@ contract Rollup is IRollup {
(bytes32 inHash,, bytes32[] memory l1ToL2Msgs, bytes32[] memory l2ToL1Msgs) =
MessagesDecoder.decode(_body);

// @todo @LHerskind Proper genesis state. If the state is empty, we allow anything for now.
// TODO(#3936): Temporarily disabling this because L2Block encoding has not yet been updated.
// if (rollupStateHash != bytes32(0) && rollupStateHash != oldStateHash) {
// revert Errors.Rollup__InvalidStateHash(rollupStateHash, oldStateHash);
// }

bytes32[] memory publicInputs = new bytes32[](1);
publicInputs[0] = _computePublicInputHash(_header, txsHash, inHash);

Expand Down

0 comments on commit 88853f0

Please sign in to comment.