From 388d1e8127540cddc35c18c54e310282ec7ae155 Mon Sep 17 00:00:00 2001 From: amsanghi Date: Wed, 31 Jan 2024 21:45:55 +0530 Subject: [PATCH] fixes --- system_tests/state_provider_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/system_tests/state_provider_test.go b/system_tests/state_provider_test.go index b2448b20f6..88b4fb1128 100644 --- a/system_tests/state_provider_test.go +++ b/system_tests/state_provider_test.go @@ -2,7 +2,6 @@ // For license information, see https://github.com/offchainlabs/bold/blob/main/LICENSE // race detection makes things slow and miss timeouts -//go:build challengetest && !race package arbtest @@ -159,7 +158,7 @@ func TestStateProvider_BOLD(t *testing.T) { stateRoots, err := stateManager.StatesInBatchRange(fromHeight, toHeight, fromBatch, toBatch) Require(t, err) - if stateRoots.Length() != 15 { + if len(stateRoots) != 15 { Fatal(t, "wrong number of state roots") } })