Skip to content

Commit 97c232d

Browse files
authored
test: fix after boxes and prefetcher remerge (#4716)
1 parent e6f396b commit 97c232d

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

ledger/internal/eval.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1558,7 +1558,7 @@ transactionGroupLoop:
15581558
if !ok {
15591559
break transactionGroupLoop
15601560
} else if txgroup.Err != nil {
1561-
logging.Base().Errorf("eval prefetcher error: %w", txgroup.Err)
1561+
logging.Base().Errorf("eval prefetcher error: %v", txgroup.Err)
15621562
}
15631563

15641564
if txgroup.Err == nil {

test/e2e-go/features/transactions/accountv2_test.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -343,31 +343,31 @@ func TestAccountInformationWithBadAssetIdx(t *testing.T) {
343343
defer fixtures.ShutdownSynchronizedTest(t)
344344

345345
t.Parallel()
346-
AccountInformationCheckWithOffendingFields(t, []basics.AssetIndex{12181853637140359511}, nil, nil)
346+
accountInformationCheckWithOffendingFields(t, []basics.AssetIndex{12181853637140359511}, nil, nil)
347347
}
348348

349349
// Add missing asset index
350350
func TestAccountInformationWithMissingAssetIdx(t *testing.T) {
351351
partitiontest.PartitionTest(t)
352352
defer fixtures.ShutdownSynchronizedTest(t)
353353

354-
AccountInformationCheckWithOffendingFields(t, []basics.AssetIndex{121818}, nil, nil)
354+
accountInformationCheckWithOffendingFields(t, []basics.AssetIndex{121818}, nil, nil)
355355
}
356356

357357
// Add offending app index greater than uint64
358358
func TestAccountInformationWithBadAppIdx(t *testing.T) {
359359
partitiontest.PartitionTest(t)
360360
defer fixtures.ShutdownSynchronizedTest(t)
361361

362-
AccountInformationCheckWithOffendingFields(t, nil, []basics.AppIndex{12181853637140359511}, nil)
362+
accountInformationCheckWithOffendingFields(t, nil, []basics.AppIndex{12181853637140359511}, nil)
363363
}
364364

365365
// Add missing app index
366366
func TestAccountInformationWithMissingApp(t *testing.T) {
367367
partitiontest.PartitionTest(t)
368368
defer fixtures.ShutdownSynchronizedTest(t)
369369

370-
AccountInformationCheckWithOffendingFields(t, nil, []basics.AppIndex{121818}, nil)
370+
accountInformationCheckWithOffendingFields(t, nil, []basics.AppIndex{121818}, nil)
371371
}
372372

373373
// Add missing account address
@@ -377,10 +377,10 @@ func TestAccountInformationWithMissingAddress(t *testing.T) {
377377

378378
randAddr := basics.Address{}
379379
crypto.RandBytes(randAddr[:])
380-
AccountInformationCheckWithOffendingFields(t, nil, nil, []basics.Address{randAddr})
380+
accountInformationCheckWithOffendingFields(t, nil, nil, []basics.Address{randAddr})
381381
}
382382

383-
func AccountInformationCheckWithOffendingFields(t *testing.T,
383+
func accountInformationCheckWithOffendingFields(t *testing.T,
384384
foreignAssets []basics.AssetIndex,
385385
foreignApps []basics.AppIndex,
386386
accounts []basics.Address) {
@@ -464,7 +464,7 @@ int 1
464464

465465
// create the app
466466
tx, err := client.MakeUnsignedAppCreateTx(
467-
transactions.OptInOC, approvalOps.Program, clearstateOps.Program, schema, schema, nil, nil, nil, nil, 0)
467+
transactions.OptInOC, approvalOps.Program, clearstateOps.Program, schema, schema, nil, nil, nil, nil, nil, 0)
468468
a.NoError(err)
469469
tx, err = client.FillUnsignedTxTemplate(creator, 0, 0, fee, tx)
470470
a.NoError(err)
@@ -519,7 +519,7 @@ int 1
519519
checkEvalDelta(t, &client, txnRound, txnRound+1, 1, 1)
520520

521521
// call the app
522-
tx, err = client.MakeUnsignedAppOptInTx(uint64(appIdx), nil, nil, nil, nil)
522+
tx, err = client.MakeUnsignedAppOptInTx(uint64(appIdx), nil, nil, nil, nil, nil)
523523
a.NoError(err)
524524
if foreignAssets != nil {
525525
tx.ForeignAssets = foreignAssets
@@ -608,7 +608,7 @@ int 1
608608
a.Equal(creator, app.Params.Creator)
609609

610610
// call the app
611-
tx, err = client.MakeUnsignedAppNoOpTx(uint64(appIdx), nil, nil, nil, nil)
611+
tx, err = client.MakeUnsignedAppNoOpTx(uint64(appIdx), nil, nil, nil, nil, nil)
612612
a.NoError(err)
613613
tx, err = client.FillUnsignedTxTemplate(user, 0, 0, fee, tx)
614614
a.NoError(err)

0 commit comments

Comments
 (0)