Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
amsanghi committed Jan 31, 2024
1 parent 8c07386 commit 6eea57d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bold
6 changes: 4 additions & 2 deletions system_tests/bold_challenge_protocol_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ func testBoldProtocol(t *testing.T, numberOfChallenges int, parallelChallenges b
l2nodeA.Execution,
l2nodeA.ArbDB,
nil,
nil,
StaticFetcherFrom(t, &blockValidatorConfig),
valStack,
)
Expand All @@ -176,6 +177,7 @@ func testBoldProtocol(t *testing.T, numberOfChallenges int, parallelChallenges b
l2nodeB.Execution,
l2nodeB.ArbDB,
nil,
nil,
StaticFetcherFrom(t, &blockValidatorConfig),
valStack,
)
Expand Down Expand Up @@ -595,7 +597,7 @@ func createTestNodeOnL1ForBoldProtocol(

currentNode, err = arbnode.CreateNode(
ctx, l2stack, execNode, l2arbDb, NewFetcherFromConfig(nodeConfig), l2blockchain.Config(), l1client,
addresses, sequencerTxOptsPtr, sequencerTxOptsPtr, dataSigner, fatalErrChan,
addresses, sequencerTxOptsPtr, sequencerTxOptsPtr, dataSigner, fatalErrChan, big.NewInt(1337),
)
Require(t, err)

Expand Down Expand Up @@ -780,7 +782,7 @@ func create2ndNodeWithConfigForBoldProtocol(
execConfigFetcher := func() *gethexec.Config { return execConfig }
execNode, err := gethexec.CreateExecutionNode(ctx, l2stack, l2chainDb, l2blockchain, l1client, execConfigFetcher)
Require(t, err)
l2node, err := arbnode.CreateNode(ctx, l2stack, execNode, l2arbDb, NewFetcherFromConfig(nodeConfig), l2blockchain.Config(), l1client, addresses, &txOpts, &txOpts, dataSigner, fatalErrChan)
l2node, err := arbnode.CreateNode(ctx, l2stack, execNode, l2arbDb, NewFetcherFromConfig(nodeConfig), l2blockchain.Config(), l1client, addresses, &txOpts, &txOpts, dataSigner, fatalErrChan, big.NewInt(1337))
Require(t, err)

Require(t, l2node.Start(ctx))
Expand Down

0 comments on commit 6eea57d

Please sign in to comment.