Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore!: delete testground #3666

Merged
merged 2 commits into from
Jul 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ install: go.sum
mod:
@echo "--> Updating go.mod"
@go mod tidy
@echo "--> Updating go.mod in ./test/testground"
@(cd ./test/testground && go mod tidy)
@echo "--> Updating go.mod in ./test/interchain"
@(cd ./test/interchain && go mod tidy)
.PHONY: mod
Expand Down
1 change: 0 additions & 1 deletion go.work.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@ go 1.22.4

use (
.
./test/testground
./test/interchain
)
10 changes: 0 additions & 10 deletions pkg/appconsts/testground/app_consts.go

This file was deleted.

11 changes: 2 additions & 9 deletions pkg/appconsts/versioned_consts.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package appconsts

import (
"github.com/celestiaorg/celestia-app/v2/pkg/appconsts/testground"
v1 "github.com/celestiaorg/celestia-app/v2/pkg/appconsts/v1"
v2 "github.com/celestiaorg/celestia-app/v2/pkg/appconsts/v2"
)
Expand All @@ -23,14 +22,8 @@ func SubtreeRootThreshold(_ uint64) int {
}

// SquareSizeUpperBound imposes an upper bound on the max effective square size.
func SquareSizeUpperBound(v uint64) int {
switch v {
case testground.Version:
return testground.SquareSizeUpperBound
// There is currently only a single square size upper bound.
default:
return v1.SquareSizeUpperBound
}
func SquareSizeUpperBound(_ uint64) int {
return v1.SquareSizeUpperBound
}

var (
Expand Down
9 changes: 0 additions & 9 deletions pkg/appconsts/versioned_consts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"github.com/stretchr/testify/require"

"github.com/celestiaorg/celestia-app/v2/pkg/appconsts"
"github.com/celestiaorg/celestia-app/v2/pkg/appconsts/testground"
v1 "github.com/celestiaorg/celestia-app/v2/pkg/appconsts/v1"
v2 "github.com/celestiaorg/celestia-app/v2/pkg/appconsts/v2"
)
Expand All @@ -25,10 +24,6 @@ func TestSubtreeRootThreshold(t *testing.T) {
version: v2.Version,
expected: v2.SubtreeRootThreshold,
},
{
version: testground.Version,
expected: testground.SubtreeRootThreshold,
},
}

for _, tc := range testCases {
Expand All @@ -53,10 +48,6 @@ func TestSquareSizeUpperBound(t *testing.T) {
version: v2.Version,
expected: v2.SquareSizeUpperBound,
},
{
version: testground.Version,
expected: testground.SquareSizeUpperBound,
},
}

for _, tc := range testCases {
Expand Down
89 changes: 0 additions & 89 deletions test/testground/Dockerfile

This file was deleted.

112 changes: 0 additions & 112 deletions test/testground/README.md

This file was deleted.

56 changes: 0 additions & 56 deletions test/testground/compositions/standard/plan.toml

This file was deleted.

56 changes: 0 additions & 56 deletions test/testground/compositions/unbounded/cat.toml

This file was deleted.

Loading
Loading