Skip to content

Commit d843ac7

Browse files
committed
fix: set batch poster manager in rollup creator
1 parent 11b105a commit d843ac7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/rollup/RollupCreator.sol

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,14 @@ contract RollupCreator is Ownable {
188188
})
189189
);
190190

191+
// Setting batch posters and batch poster manager
192+
for (uint256 i = 0; i < deployParams.batchPosters.length; i++) {
193+
bridgeContracts.sequencerInbox.setIsBatchPoster(deployParams.batchPosters[i], true);
194+
}
195+
if (deployParams.batchPosterManager != address(0)) {
196+
bridgeContracts.sequencerInbox.setBatchPosterManager(deployParams.batchPosterManager);
197+
}
198+
191199
// Call setValidator on the newly created rollup contract just if validator set is not empty
192200
if (deployParams.validators.length != 0) {
193201
bool[] memory _vals = new bool[](deployParams.validators.length);

0 commit comments

Comments
 (0)