Skip to content

Commit 294c5ce

Browse files
committed
Preheating and unit tests
1 parent d208a8b commit 294c5ce

File tree

3 files changed

+221
-177
lines changed

3 files changed

+221
-177
lines changed

l1-contracts/src/core/libraries/rollup/STFLib.sol

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,14 @@ library STFLib {
7070
blockLog.blobCommitmentsHash = bytes32(uint256(0x1));
7171
}
7272

73+
if (blockLog.attestationsHash == bytes32(0)) {
74+
blockLog.attestationsHash = bytes32(uint256(0x1));
75+
}
76+
77+
if (blockLog.payloadDigest == bytes32(0)) {
78+
blockLog.payloadDigest = bytes32(uint256(0x1));
79+
}
80+
7381
store.tempBlockLogs[i] = blockLog.compress();
7482
}
7583
}

0 commit comments

Comments
 (0)