@@ -47,6 +47,7 @@ contract RollupTest is Test {
4747 uint256 constant MINI_STAKE_VALUE = 2 ;
4848 uint64 constant CONFIRM_PERIOD_BLOCKS = 100 ;
4949 uint256 constant MAX_DATA_SIZE = 117964 ;
50+ bool constant DISABLE_MESSAGE_FROM_ORIGIN_EVENT = false ;
5051 uint64 constant CHALLENGE_GRACE_PERIOD_BLOCKS = 10 ;
5152
5253 bytes32 constant FIRST_ASSERTION_BLOCKHASH = keccak256 ("FIRST_ASSERTION_BLOCKHASH " );
@@ -94,15 +95,15 @@ contract RollupTest is Test {
9495 bridge: new Bridge (),
9596 sequencerInbox: new SequencerInbox (MAX_DATA_SIZE, dummyReader4844, false , false ),
9697 delayBufferableSequencerInbox: new SequencerInbox (MAX_DATA_SIZE, dummyReader4844, false , true ),
97- inbox: new Inbox (MAX_DATA_SIZE),
98+ inbox: new Inbox (MAX_DATA_SIZE, DISABLE_MESSAGE_FROM_ORIGIN_EVENT ),
9899 rollupEventInbox: new RollupEventInbox (),
99100 outbox: new Outbox ()
100101 });
101102 BridgeCreator.BridgeTemplates erc20BasedTemplates = BridgeCreator.BridgeTemplates ({
102103 bridge: new ERC20Bridge (),
103104 sequencerInbox: new SequencerInbox (MAX_DATA_SIZE, dummyReader4844, true , false ),
104105 delayBufferableSequencerInbox: new SequencerInbox (MAX_DATA_SIZE, dummyReader4844, true , true ),
105- inbox: new ERC20Inbox (MAX_DATA_SIZE),
106+ inbox: new ERC20Inbox (MAX_DATA_SIZE, DISABLE_MESSAGE_FROM_ORIGIN_EVENT ),
106107 rollupEventInbox: new ERC20RollupEventInbox (),
107108 outbox: new ERC20Outbox ()
108109 });
0 commit comments