Skip to content

Commit

Permalink
Fix maxDataSize leftovers
Browse files Browse the repository at this point in the history
  • Loading branch information
gvladika committed Oct 13, 2023
1 parent fd0c404 commit 1539963
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
20 changes: 10 additions & 10 deletions arbnode/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ func deployBridgeCreator(ctx context.Context, l1Reader *headerreader.HeaderReade
}

ethBasedTemplates := rollupgen.BridgeCreatorBridgeContracts{
Bridge: bridgeTemplate,
SequencerInbox: seqInboxTemplate,
Inbox: inboxTemplate,
RollupEventInbox:rollupEventBridgeTemplate,
Outbox: outboxTemplate,
Bridge: bridgeTemplate,
SequencerInbox: seqInboxTemplate,
Inbox: inboxTemplate,
RollupEventInbox: rollupEventBridgeTemplate,
Outbox: outboxTemplate,
}

/// deploy ERC20 based templates
Expand Down Expand Up @@ -131,11 +131,11 @@ func deployBridgeCreator(ctx context.Context, l1Reader *headerreader.HeaderReade
}

erc20BasedTemplates := rollupgen.BridgeCreatorBridgeContracts{
Bridge: erc20BridgeTemplate,
SequencerInbox: seqInboxTemplate,
Inbox: erc20InboxTemplate,
RollupEventInbox:erc20RollupEventBridgeTemplate,
Outbox: erc20OutboxTemplate,
Bridge: erc20BridgeTemplate,
SequencerInbox: seqInboxTemplate,
Inbox: erc20InboxTemplate,
RollupEventInbox: erc20RollupEventBridgeTemplate,
Outbox: erc20OutboxTemplate,
}

bridgeCreatorAddr, tx, _, err := rollupgen.DeployBridgeCreator(auth, client, ethBasedTemplates, erc20BasedTemplates)
Expand Down
1 change: 1 addition & 0 deletions system_tests/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,7 @@ func DeployOnTestL1(
0,
arbnode.GenerateRollupConfig(false, locator.LatestWasmModuleRoot(), l1info.GetAddress("RollupOwner"), chainConfig, serializedChainConfig, common.Address{}),
common.Address{},
big.NewInt(117964),
)
Require(t, err)
l1info.SetContract("Bridge", addresses.Bridge)
Expand Down
1 change: 1 addition & 0 deletions system_tests/full_challenge_impl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ func setupSequencerInboxStub(ctx context.Context, t *testing.T, l1Info *Blockcha
bridgeAddr,
l1Info.GetAddress("sequencer"),
timeBounds,
big.NewInt(117964),
)
Require(t, err)
_, err = EnsureTxSucceeded(ctx, l1Client, tx)
Expand Down

0 comments on commit 1539963

Please sign in to comment.