Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
amsanghi committed Jan 6, 2025
1 parent 43a6cdc commit 8a0b83a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions system_tests/bold_state_provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func TestChallengeProtocolBOLD_Bisections(t *testing.T) {
// Wait until the validator has validated the batches.
for {
time.Sleep(time.Millisecond * 100)
lastInfo, err := blockValidator.ReadLastValidatedInfo()
lastInfo, err := blockValidator.ReadLastValidatedInfo(ctx)
if lastInfo == nil || err != nil {
continue
}
Expand Down Expand Up @@ -202,7 +202,7 @@ func TestChallengeProtocolBOLD_StateProvider(t *testing.T) {
// Wait until the validator has validated the batches.
for {
time.Sleep(time.Millisecond * 100)
lastInfo, err := blockValidator.ReadLastValidatedInfo()
lastInfo, err := blockValidator.ReadLastValidatedInfo(ctx)
if lastInfo == nil || err != nil {
continue
}
Expand Down Expand Up @@ -390,11 +390,13 @@ func setupBoldStateProvider(t *testing.T, ctx context.Context, blockChallengeHei
Require(t, stateless.Start(ctx))

blockValidator, err := staker.NewBlockValidator(
ctx,
stateless,
l2node.InboxTracker,
l2node.TxStreamer,
StaticFetcherFrom(t, &blockValidatorConfig),
nil,
l1stack,
)
Require(t, err)
Require(t, blockValidator.Initialize(ctx))
Expand Down

0 comments on commit 8a0b83a

Please sign in to comment.