diff --git a/op-challenger/game/fault/preimages/large_test.go b/op-challenger/game/fault/preimages/large_test.go index 1913e5a6a47d..3f4a78ddb348 100644 --- a/op-challenger/game/fault/preimages/large_test.go +++ b/op-challenger/game/fault/preimages/large_test.go @@ -169,7 +169,7 @@ func mockPreimageOracleData() *types.PreimageOracleData { for i := 0; i < keccakTypes.BlockSize; i++ { fullLeaf[i] = byte(i) } - oracleData := make([]byte, 5*MaxBlocksPerChunk) + oracleData := make([]byte, 0, 5*MaxBlocksPerChunk) for i := 0; i < 5*MaxBlocksPerChunk; i++ { oracleData = append(oracleData, fullLeaf...) }