diff --git a/beacon-chain/core/BUILD.bazel b/beacon-chain/core/BUILD.bazel index c69b7b270..e0b53388f 100644 --- a/beacon-chain/core/BUILD.bazel +++ b/beacon-chain/core/BUILD.bazel @@ -17,7 +17,7 @@ go_library( "//shared/testutil:__pkg__", "//shared/testutil/altair:__pkg__", "//slasher:__subpackages__", - "//spectest:__subpackages__", + "//testing/spectest:__subpackages__", "//tools:__subpackages__", "//validator:__subpackages__", ], diff --git a/beacon-chain/core/altair/BUILD.bazel b/beacon-chain/core/altair/BUILD.bazel index 634fdd821..1cc5058f3 100644 --- a/beacon-chain/core/altair/BUILD.bazel +++ b/beacon-chain/core/altair/BUILD.bazel @@ -17,7 +17,7 @@ go_library( visibility = [ "//beacon-chain:__subpackages__", "//shared/testutil:__pkg__", - "//spectest:__subpackages__", + "//testing/spectest:__subpackages__", "//validator/client:__pkg__", ], deps = [ diff --git a/beacon-chain/core/blocks/BUILD.bazel b/beacon-chain/core/blocks/BUILD.bazel index 04ad872a6..f349af95d 100644 --- a/beacon-chain/core/blocks/BUILD.bazel +++ b/beacon-chain/core/blocks/BUILD.bazel @@ -20,7 +20,7 @@ go_library( "//beacon-chain:__subpackages__", "//fuzz:__pkg__", "//shared/testutil:__pkg__", - "//spectest:__subpackages__", + "//testing/spectest:__subpackages__", "//validator/accounts:__pkg__", ], deps = [ diff --git a/beacon-chain/core/epoch/BUILD.bazel b/beacon-chain/core/epoch/BUILD.bazel index 0ac6c51e9..6fe6360c8 100644 --- a/beacon-chain/core/epoch/BUILD.bazel +++ b/beacon-chain/core/epoch/BUILD.bazel @@ -6,7 +6,7 @@ go_library( importpath = "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch", visibility = [ "//beacon-chain:__subpackages__", - "//spectest:__subpackages__", + "//testing/spectest:__subpackages__", ], deps = [ "//beacon-chain/core:go_default_library", diff --git a/beacon-chain/core/epoch/precompute/BUILD.bazel b/beacon-chain/core/epoch/precompute/BUILD.bazel index 9c1b4d84e..869687345 100644 --- a/beacon-chain/core/epoch/precompute/BUILD.bazel +++ b/beacon-chain/core/epoch/precompute/BUILD.bazel @@ -13,7 +13,7 @@ go_library( importpath = "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch/precompute", visibility = [ "//beacon-chain:__subpackages__", - "//spectest:__subpackages__", + "//testing/spectest:__subpackages__", ], deps = [ "//beacon-chain/core:go_default_library", diff --git a/beacon-chain/core/helpers/BUILD.bazel b/beacon-chain/core/helpers/BUILD.bazel index 51711efbf..5f597aa85 100644 --- a/beacon-chain/core/helpers/BUILD.bazel +++ b/beacon-chain/core/helpers/BUILD.bazel @@ -29,7 +29,7 @@ go_library( "//shared/testutil:__pkg__", "//shared/testutil/altair:__pkg__", "//slasher:__subpackages__", - "//spectest:__subpackages__", + "//testing/spectest:__subpackages__", "//tools:__subpackages__", "//validator:__subpackages__", ], diff --git a/beacon-chain/core/transition/BUILD.bazel b/beacon-chain/core/transition/BUILD.bazel index 591b7e99e..ef1f72c36 100644 --- a/beacon-chain/core/transition/BUILD.bazel +++ b/beacon-chain/core/transition/BUILD.bazel @@ -19,7 +19,7 @@ go_library( "//fuzz:__pkg__", "//shared/interop:__pkg__", "//shared/testutil:__pkg__", - "//spectest:__subpackages__", + "//testing/spectest:__subpackages__", "//tools/benchmark-files-gen:__pkg__", "//tools/genesis-state-gen:__pkg__", "//tools/pcli:__pkg__", diff --git a/beacon-chain/core/validators/BUILD.bazel b/beacon-chain/core/validators/BUILD.bazel index be2d16d5b..049b95cd5 100644 --- a/beacon-chain/core/validators/BUILD.bazel +++ b/beacon-chain/core/validators/BUILD.bazel @@ -6,7 +6,7 @@ go_library( importpath = "github.com/prysmaticlabs/prysm/beacon-chain/core/validators", visibility = [ "//beacon-chain:__subpackages__", - "//spectest:__subpackages__", + "//testing/spectest:__subpackages__", ], deps = [ "//beacon-chain/core:go_default_library", diff --git a/beacon-chain/state/BUILD.bazel b/beacon-chain/state/BUILD.bazel index 9a17edb90..f3103bb6f 100644 --- a/beacon-chain/state/BUILD.bazel +++ b/beacon-chain/state/BUILD.bazel @@ -16,7 +16,7 @@ go_library( "//shared/depositutil:__subpackages__", "//shared/testutil:__pkg__", "//slasher/rpc:__subpackages__", - "//spectest:__subpackages__", + "//testing/spectest:__subpackages__", "//tools/benchmark-files-gen:__pkg__", "//tools/exploredb:__pkg__", "//tools/pcli:__pkg__", diff --git a/beacon-chain/state/v1/BUILD.bazel b/beacon-chain/state/v1/BUILD.bazel index dfeb4c107..0aa4a8fa7 100644 --- a/beacon-chain/state/v1/BUILD.bazel +++ b/beacon-chain/state/v1/BUILD.bazel @@ -38,7 +38,7 @@ go_library( "//shared/interop:__subpackages__", "//shared/testutil:__pkg__", "//slasher/rpc:__subpackages__", - "//spectest:__subpackages__", + "//testing/spectest:__subpackages__", "//tools/benchmark-files-gen:__pkg__", "//tools/pcli:__pkg__", ], diff --git a/beacon-chain/state/v2/BUILD.bazel b/beacon-chain/state/v2/BUILD.bazel index 2b0375ca2..1854f8435 100644 --- a/beacon-chain/state/v2/BUILD.bazel +++ b/beacon-chain/state/v2/BUILD.bazel @@ -21,7 +21,7 @@ go_library( "//beacon-chain:__subpackages__", "//proto/migration:__subpackages__", "//shared/testutil:__pkg__", - "//spectest:__subpackages__", + "//testing/spectest:__subpackages__", ], deps = [ "//beacon-chain/state:go_default_library", diff --git a/shared/bls/common/BUILD.bazel b/shared/bls/common/BUILD.bazel index 6525f1bd3..b1e7e4f39 100644 --- a/shared/bls/common/BUILD.bazel +++ b/shared/bls/common/BUILD.bazel @@ -10,6 +10,6 @@ go_library( importpath = "github.com/prysmaticlabs/prysm/shared/bls/common", visibility = [ "//shared/bls:__subpackages__", - "//spectest:__subpackages__", + "//testing/spectest:__subpackages__", ], ) diff --git a/spectest/README.md b/testing/spectest/README.md similarity index 100% rename from spectest/README.md rename to testing/spectest/README.md diff --git a/spectest/general/phase0/bls/BUILD.bazel b/testing/spectest/general/phase0/bls/BUILD.bazel similarity index 88% rename from spectest/general/phase0/bls/BUILD.bazel rename to testing/spectest/general/phase0/bls/BUILD.bazel index dad49a51d..7d43056c5 100644 --- a/spectest/general/phase0/bls/BUILD.bazel +++ b/testing/spectest/general/phase0/bls/BUILD.bazel @@ -11,7 +11,7 @@ go_library( "sign_test.yaml.go", "verify_test.yaml.go", ], - importpath = "github.com/prysmaticlabs/prysm/spectest/general/phase0/bls", + importpath = "github.com/prysmaticlabs/prysm/testing/spectest/general/phase0/bls", visibility = ["//visibility:public"], ) @@ -36,7 +36,7 @@ go_test( "//shared/bytesutil:go_default_library", "//shared/testutil:go_default_library", "//shared/testutil/require:go_default_library", - "//spectest/utils:go_default_library", + "//testing/spectest/utils:go_default_library", "@com_github_ghodss_yaml//:go_default_library", ], ) diff --git a/spectest/general/phase0/bls/aggregate_test.go b/testing/spectest/general/phase0/bls/aggregate_test.go similarity index 96% rename from spectest/general/phase0/bls/aggregate_test.go rename to testing/spectest/general/phase0/bls/aggregate_test.go index ca0d2b538..c5d8c481c 100644 --- a/spectest/general/phase0/bls/aggregate_test.go +++ b/testing/spectest/general/phase0/bls/aggregate_test.go @@ -11,7 +11,7 @@ import ( "github.com/prysmaticlabs/prysm/shared/bls/common" "github.com/prysmaticlabs/prysm/shared/testutil" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) func TestAggregate(t *testing.T) { diff --git a/spectest/general/phase0/bls/aggregate_test.yaml.go b/testing/spectest/general/phase0/bls/aggregate_test.yaml.go similarity index 100% rename from spectest/general/phase0/bls/aggregate_test.yaml.go rename to testing/spectest/general/phase0/bls/aggregate_test.yaml.go diff --git a/spectest/general/phase0/bls/aggregate_verify_test.go b/testing/spectest/general/phase0/bls/aggregate_verify_test.go similarity index 97% rename from spectest/general/phase0/bls/aggregate_verify_test.go rename to testing/spectest/general/phase0/bls/aggregate_verify_test.go index bd9803f26..f8201581a 100644 --- a/spectest/general/phase0/bls/aggregate_verify_test.go +++ b/testing/spectest/general/phase0/bls/aggregate_verify_test.go @@ -12,7 +12,7 @@ import ( "github.com/prysmaticlabs/prysm/shared/bytesutil" "github.com/prysmaticlabs/prysm/shared/testutil" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) func TestAggregateVerify(t *testing.T) { diff --git a/spectest/general/phase0/bls/aggregate_verify_test.yaml.go b/testing/spectest/general/phase0/bls/aggregate_verify_test.yaml.go similarity index 100% rename from spectest/general/phase0/bls/aggregate_verify_test.yaml.go rename to testing/spectest/general/phase0/bls/aggregate_verify_test.yaml.go diff --git a/spectest/general/phase0/bls/doc.go b/testing/spectest/general/phase0/bls/doc.go similarity index 100% rename from spectest/general/phase0/bls/doc.go rename to testing/spectest/general/phase0/bls/doc.go diff --git a/spectest/general/phase0/bls/fast_aggregate_verify_test.go b/testing/spectest/general/phase0/bls/fast_aggregate_verify_test.go similarity index 97% rename from spectest/general/phase0/bls/fast_aggregate_verify_test.go rename to testing/spectest/general/phase0/bls/fast_aggregate_verify_test.go index 3884935ec..e7c6b6558 100644 --- a/spectest/general/phase0/bls/fast_aggregate_verify_test.go +++ b/testing/spectest/general/phase0/bls/fast_aggregate_verify_test.go @@ -12,7 +12,7 @@ import ( "github.com/prysmaticlabs/prysm/shared/bytesutil" "github.com/prysmaticlabs/prysm/shared/testutil" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) func TestFastAggregateVerify(t *testing.T) { diff --git a/spectest/general/phase0/bls/fast_aggregate_verify_test.yaml.go b/testing/spectest/general/phase0/bls/fast_aggregate_verify_test.yaml.go similarity index 100% rename from spectest/general/phase0/bls/fast_aggregate_verify_test.yaml.go rename to testing/spectest/general/phase0/bls/fast_aggregate_verify_test.yaml.go diff --git a/spectest/general/phase0/bls/sign_test.go b/testing/spectest/general/phase0/bls/sign_test.go similarity index 96% rename from spectest/general/phase0/bls/sign_test.go rename to testing/spectest/general/phase0/bls/sign_test.go index c16a3385d..09c75cc99 100644 --- a/spectest/general/phase0/bls/sign_test.go +++ b/testing/spectest/general/phase0/bls/sign_test.go @@ -12,7 +12,7 @@ import ( "github.com/prysmaticlabs/prysm/shared/bls/common" "github.com/prysmaticlabs/prysm/shared/testutil" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) func TestSign(t *testing.T) { diff --git a/spectest/general/phase0/bls/sign_test.yaml.go b/testing/spectest/general/phase0/bls/sign_test.yaml.go similarity index 100% rename from spectest/general/phase0/bls/sign_test.yaml.go rename to testing/spectest/general/phase0/bls/sign_test.yaml.go diff --git a/spectest/general/phase0/bls/verify_test.go b/testing/spectest/general/phase0/bls/verify_test.go similarity index 96% rename from spectest/general/phase0/bls/verify_test.go rename to testing/spectest/general/phase0/bls/verify_test.go index 0f3841470..c76d95aa0 100644 --- a/spectest/general/phase0/bls/verify_test.go +++ b/testing/spectest/general/phase0/bls/verify_test.go @@ -11,7 +11,7 @@ import ( "github.com/prysmaticlabs/prysm/shared/bls/common" "github.com/prysmaticlabs/prysm/shared/testutil" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) func TestVerify(t *testing.T) { diff --git a/spectest/general/phase0/bls/verify_test.yaml.go b/testing/spectest/general/phase0/bls/verify_test.yaml.go similarity index 100% rename from spectest/general/phase0/bls/verify_test.yaml.go rename to testing/spectest/general/phase0/bls/verify_test.yaml.go diff --git a/spectest/mainnet/altair/epoch_processing/BUILD.bazel b/testing/spectest/mainnet/altair/epoch_processing/BUILD.bazel similarity index 89% rename from spectest/mainnet/altair/epoch_processing/BUILD.bazel rename to testing/spectest/mainnet/altair/epoch_processing/BUILD.bazel index bf73ff68d..838223c82 100644 --- a/spectest/mainnet/altair/epoch_processing/BUILD.bazel +++ b/testing/spectest/mainnet/altair/epoch_processing/BUILD.bazel @@ -21,5 +21,5 @@ go_test( ], shard_count = 4, tags = ["spectest"], - deps = ["//spectest/shared/altair/epoch_processing:go_default_library"], + deps = ["//testing/spectest/shared/altair/epoch_processing:go_default_library"], ) diff --git a/spectest/mainnet/altair/epoch_processing/effective_balance_updates_test.go b/testing/spectest/mainnet/altair/epoch_processing/effective_balance_updates_test.go similarity index 70% rename from spectest/mainnet/altair/epoch_processing/effective_balance_updates_test.go rename to testing/spectest/mainnet/altair/epoch_processing/effective_balance_updates_test.go index a3430aa37..66c423a20 100644 --- a/spectest/mainnet/altair/epoch_processing/effective_balance_updates_test.go +++ b/testing/spectest/mainnet/altair/epoch_processing/effective_balance_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" ) func TestMainnet_Altair_EpochProcessing_EffectiveBalanceUpdates(t *testing.T) { diff --git a/spectest/mainnet/altair/epoch_processing/eth1_data_reset_test.go b/testing/spectest/mainnet/altair/epoch_processing/eth1_data_reset_test.go similarity index 68% rename from spectest/mainnet/altair/epoch_processing/eth1_data_reset_test.go rename to testing/spectest/mainnet/altair/epoch_processing/eth1_data_reset_test.go index fe1cccf66..dc40e53a5 100644 --- a/spectest/mainnet/altair/epoch_processing/eth1_data_reset_test.go +++ b/testing/spectest/mainnet/altair/epoch_processing/eth1_data_reset_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" ) func TestMainnet_Altair_EpochProcessing_Eth1DataReset(t *testing.T) { diff --git a/spectest/mainnet/altair/epoch_processing/historical_roots_update_test.go b/testing/spectest/mainnet/altair/epoch_processing/historical_roots_update_test.go similarity index 70% rename from spectest/mainnet/altair/epoch_processing/historical_roots_update_test.go rename to testing/spectest/mainnet/altair/epoch_processing/historical_roots_update_test.go index a0242555a..a2d917cf4 100644 --- a/spectest/mainnet/altair/epoch_processing/historical_roots_update_test.go +++ b/testing/spectest/mainnet/altair/epoch_processing/historical_roots_update_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" ) func TestMainnet_Altair_EpochProcessing_HistoricalRootsUpdate(t *testing.T) { diff --git a/spectest/mainnet/altair/epoch_processing/inactivity_updates_test.go b/testing/spectest/mainnet/altair/epoch_processing/inactivity_updates_test.go similarity index 69% rename from spectest/mainnet/altair/epoch_processing/inactivity_updates_test.go rename to testing/spectest/mainnet/altair/epoch_processing/inactivity_updates_test.go index 02a25869d..665c809d9 100644 --- a/spectest/mainnet/altair/epoch_processing/inactivity_updates_test.go +++ b/testing/spectest/mainnet/altair/epoch_processing/inactivity_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" ) func TestMainnet_Altair_EpochProcessing_InactivityUpdates(t *testing.T) { diff --git a/spectest/mainnet/altair/epoch_processing/justification_and_finalization_test.go b/testing/spectest/mainnet/altair/epoch_processing/justification_and_finalization_test.go similarity index 71% rename from spectest/mainnet/altair/epoch_processing/justification_and_finalization_test.go rename to testing/spectest/mainnet/altair/epoch_processing/justification_and_finalization_test.go index 65cd655ce..ba1f79550 100644 --- a/spectest/mainnet/altair/epoch_processing/justification_and_finalization_test.go +++ b/testing/spectest/mainnet/altair/epoch_processing/justification_and_finalization_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" ) func TestMainnet_Altair_EpochProcessing_JustificationAndFinalization(t *testing.T) { diff --git a/spectest/mainnet/altair/epoch_processing/participation_flag_updates_test.go b/testing/spectest/mainnet/altair/epoch_processing/participation_flag_updates_test.go similarity index 69% rename from spectest/mainnet/altair/epoch_processing/participation_flag_updates_test.go rename to testing/spectest/mainnet/altair/epoch_processing/participation_flag_updates_test.go index d7d76ba5c..5798ed25d 100644 --- a/spectest/mainnet/altair/epoch_processing/participation_flag_updates_test.go +++ b/testing/spectest/mainnet/altair/epoch_processing/participation_flag_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" ) func TestMainnet_Altair_EpochProcessing_ParticipationFlag(t *testing.T) { diff --git a/spectest/mainnet/altair/epoch_processing/randao_mixes_reset_test.go b/testing/spectest/mainnet/altair/epoch_processing/randao_mixes_reset_test.go similarity index 68% rename from spectest/mainnet/altair/epoch_processing/randao_mixes_reset_test.go rename to testing/spectest/mainnet/altair/epoch_processing/randao_mixes_reset_test.go index b182175b1..1ad64a45e 100644 --- a/spectest/mainnet/altair/epoch_processing/randao_mixes_reset_test.go +++ b/testing/spectest/mainnet/altair/epoch_processing/randao_mixes_reset_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" ) func TestMainnet_Altair_EpochProcessing_RandaoMixesReset(t *testing.T) { diff --git a/spectest/mainnet/altair/epoch_processing/registry_updates_test.go b/testing/spectest/mainnet/altair/epoch_processing/registry_updates_test.go similarity index 69% rename from spectest/mainnet/altair/epoch_processing/registry_updates_test.go rename to testing/spectest/mainnet/altair/epoch_processing/registry_updates_test.go index 0e1b52ca1..7d69a06f3 100644 --- a/spectest/mainnet/altair/epoch_processing/registry_updates_test.go +++ b/testing/spectest/mainnet/altair/epoch_processing/registry_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" ) func TestMainnet_Altair_EpochProcessing_ResetRegistryUpdates(t *testing.T) { diff --git a/spectest/mainnet/altair/epoch_processing/rewards_and_penalties_test.go b/testing/spectest/mainnet/altair/epoch_processing/rewards_and_penalties_test.go similarity index 69% rename from spectest/mainnet/altair/epoch_processing/rewards_and_penalties_test.go rename to testing/spectest/mainnet/altair/epoch_processing/rewards_and_penalties_test.go index 162fc0d1f..22dd45d7c 100644 --- a/spectest/mainnet/altair/epoch_processing/rewards_and_penalties_test.go +++ b/testing/spectest/mainnet/altair/epoch_processing/rewards_and_penalties_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" ) func TestMainnet_Altair_EpochProcessing_RewardsAndPenalties(t *testing.T) { diff --git a/spectest/mainnet/altair/epoch_processing/slashings_reset_test.go b/testing/spectest/mainnet/altair/epoch_processing/slashings_reset_test.go similarity index 68% rename from spectest/mainnet/altair/epoch_processing/slashings_reset_test.go rename to testing/spectest/mainnet/altair/epoch_processing/slashings_reset_test.go index a413e847e..ffffd633d 100644 --- a/spectest/mainnet/altair/epoch_processing/slashings_reset_test.go +++ b/testing/spectest/mainnet/altair/epoch_processing/slashings_reset_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" ) func TestMainnet_Altair_EpochProcessing_SlashingsReset(t *testing.T) { diff --git a/spectest/mainnet/altair/epoch_processing/slashings_test.go b/testing/spectest/mainnet/altair/epoch_processing/slashings_test.go similarity index 67% rename from spectest/mainnet/altair/epoch_processing/slashings_test.go rename to testing/spectest/mainnet/altair/epoch_processing/slashings_test.go index 6fc8f8239..2edb0990f 100644 --- a/spectest/mainnet/altair/epoch_processing/slashings_test.go +++ b/testing/spectest/mainnet/altair/epoch_processing/slashings_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" ) func TestMainnet_Altair_EpochProcessing_Slashings(t *testing.T) { diff --git a/spectest/mainnet/altair/finality/BUILD.bazel b/testing/spectest/mainnet/altair/finality/BUILD.bazel similarity index 78% rename from spectest/mainnet/altair/finality/BUILD.bazel rename to testing/spectest/mainnet/altair/finality/BUILD.bazel index 2390a5b2c..712fcb593 100644 --- a/spectest/mainnet/altair/finality/BUILD.bazel +++ b/testing/spectest/mainnet/altair/finality/BUILD.bazel @@ -9,5 +9,5 @@ go_test( ], shard_count = 4, tags = ["spectest"], - deps = ["//spectest/shared/altair/finality:go_default_library"], + deps = ["//testing/spectest/shared/altair/finality:go_default_library"], ) diff --git a/spectest/mainnet/altair/finality/finality_test.go b/testing/spectest/mainnet/altair/finality/finality_test.go similarity index 64% rename from spectest/mainnet/altair/finality/finality_test.go rename to testing/spectest/mainnet/altair/finality/finality_test.go index 98b2d37c5..853365cc5 100644 --- a/spectest/mainnet/altair/finality/finality_test.go +++ b/testing/spectest/mainnet/altair/finality/finality_test.go @@ -3,7 +3,7 @@ package finality import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/finality" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/finality" ) func TestMainnet_Altair_Finality(t *testing.T) { diff --git a/spectest/mainnet/altair/fork_helper/BUILD.bazel b/testing/spectest/mainnet/altair/fork_helper/BUILD.bazel similarity index 79% rename from spectest/mainnet/altair/fork_helper/BUILD.bazel rename to testing/spectest/mainnet/altair/fork_helper/BUILD.bazel index d3df51038..e5ecebb66 100644 --- a/spectest/mainnet/altair/fork_helper/BUILD.bazel +++ b/testing/spectest/mainnet/altair/fork_helper/BUILD.bazel @@ -9,5 +9,5 @@ go_test( ], shard_count = 4, tags = ["spectest"], - deps = ["//spectest/shared/altair/fork:go_default_library"], + deps = ["//testing/spectest/shared/altair/fork:go_default_library"], ) diff --git a/spectest/mainnet/altair/fork_helper/upgrade_to_altair_test.go b/testing/spectest/mainnet/altair/fork_helper/upgrade_to_altair_test.go similarity index 66% rename from spectest/mainnet/altair/fork_helper/upgrade_to_altair_test.go rename to testing/spectest/mainnet/altair/fork_helper/upgrade_to_altair_test.go index f16af4bfc..ab6dfa17e 100644 --- a/spectest/mainnet/altair/fork_helper/upgrade_to_altair_test.go +++ b/testing/spectest/mainnet/altair/fork_helper/upgrade_to_altair_test.go @@ -3,7 +3,7 @@ package fork_helper import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/fork" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/fork" ) func TestMainnet_Altair_UpgradeToAltair(t *testing.T) { diff --git a/spectest/mainnet/altair/fork_transition/BUILD.bazel b/testing/spectest/mainnet/altair/fork_transition/BUILD.bazel similarity index 76% rename from spectest/mainnet/altair/fork_transition/BUILD.bazel rename to testing/spectest/mainnet/altair/fork_transition/BUILD.bazel index f4d4f49f0..b47ed37db 100644 --- a/spectest/mainnet/altair/fork_transition/BUILD.bazel +++ b/testing/spectest/mainnet/altair/fork_transition/BUILD.bazel @@ -7,5 +7,5 @@ go_test( "@consensus_spec_tests_mainnet//:test_data", ], tags = ["spectest"], - deps = ["//spectest/shared/altair/fork:go_default_library"], + deps = ["//testing/spectest/shared/altair/fork:go_default_library"], ) diff --git a/spectest/mainnet/altair/fork_transition/transition_test.go b/testing/spectest/mainnet/altair/fork_transition/transition_test.go similarity index 67% rename from spectest/mainnet/altair/fork_transition/transition_test.go rename to testing/spectest/mainnet/altair/fork_transition/transition_test.go index 3965b61db..2b5716d6f 100644 --- a/spectest/mainnet/altair/fork_transition/transition_test.go +++ b/testing/spectest/mainnet/altair/fork_transition/transition_test.go @@ -3,7 +3,7 @@ package fork_transition import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/fork" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/fork" ) func TestMainnet_Altair_Transition(t *testing.T) { diff --git a/spectest/mainnet/altair/operations/BUILD.bazel b/testing/spectest/mainnet/altair/operations/BUILD.bazel similarity index 86% rename from spectest/mainnet/altair/operations/BUILD.bazel rename to testing/spectest/mainnet/altair/operations/BUILD.bazel index 84d04c092..ae6dcacfb 100644 --- a/spectest/mainnet/altair/operations/BUILD.bazel +++ b/testing/spectest/mainnet/altair/operations/BUILD.bazel @@ -17,5 +17,5 @@ go_test( ], shard_count = 4, tags = ["spectest"], - deps = ["//spectest/shared/altair/operations:go_default_library"], + deps = ["//testing/spectest/shared/altair/operations:go_default_library"], ) diff --git a/spectest/mainnet/altair/operations/attestation_test.go b/testing/spectest/mainnet/altair/operations/attestation_test.go similarity index 66% rename from spectest/mainnet/altair/operations/attestation_test.go rename to testing/spectest/mainnet/altair/operations/attestation_test.go index ff734edef..9299d3f40 100644 --- a/spectest/mainnet/altair/operations/attestation_test.go +++ b/testing/spectest/mainnet/altair/operations/attestation_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/operations" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/operations" ) func TestMainnet_Altair_Operations_Attestation(t *testing.T) { diff --git a/spectest/mainnet/altair/operations/attester_slashing_test.go b/testing/spectest/mainnet/altair/operations/attester_slashing_test.go similarity index 68% rename from spectest/mainnet/altair/operations/attester_slashing_test.go rename to testing/spectest/mainnet/altair/operations/attester_slashing_test.go index 187c57b3d..02e937006 100644 --- a/spectest/mainnet/altair/operations/attester_slashing_test.go +++ b/testing/spectest/mainnet/altair/operations/attester_slashing_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/operations" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/operations" ) func TestMainnet_Altair_Operations_AttesterSlashing(t *testing.T) { diff --git a/spectest/mainnet/altair/operations/block_header_test.go b/testing/spectest/mainnet/altair/operations/block_header_test.go similarity index 66% rename from spectest/mainnet/altair/operations/block_header_test.go rename to testing/spectest/mainnet/altair/operations/block_header_test.go index 4d4d7671d..92cb8adc9 100644 --- a/spectest/mainnet/altair/operations/block_header_test.go +++ b/testing/spectest/mainnet/altair/operations/block_header_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/operations" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/operations" ) func TestMainnet_Altair_Operations_BlockHeader(t *testing.T) { diff --git a/spectest/mainnet/altair/operations/deposit_test.go b/testing/spectest/mainnet/altair/operations/deposit_test.go similarity index 65% rename from spectest/mainnet/altair/operations/deposit_test.go rename to testing/spectest/mainnet/altair/operations/deposit_test.go index 1bac2c6f0..1d374be85 100644 --- a/spectest/mainnet/altair/operations/deposit_test.go +++ b/testing/spectest/mainnet/altair/operations/deposit_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/operations" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/operations" ) func TestMainnet_Altair_Operations_Deposit(t *testing.T) { diff --git a/spectest/mainnet/altair/operations/proposer_slashing_test.go b/testing/spectest/mainnet/altair/operations/proposer_slashing_test.go similarity index 68% rename from spectest/mainnet/altair/operations/proposer_slashing_test.go rename to testing/spectest/mainnet/altair/operations/proposer_slashing_test.go index 205e0f3ef..02cc321ef 100644 --- a/spectest/mainnet/altair/operations/proposer_slashing_test.go +++ b/testing/spectest/mainnet/altair/operations/proposer_slashing_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/operations" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/operations" ) func TestMainnet_Altair_Operations_ProposerSlashing(t *testing.T) { diff --git a/spectest/mainnet/altair/operations/sync_committee_test.go b/testing/spectest/mainnet/altair/operations/sync_committee_test.go similarity index 67% rename from spectest/mainnet/altair/operations/sync_committee_test.go rename to testing/spectest/mainnet/altair/operations/sync_committee_test.go index 375973739..ebc4e5b8d 100644 --- a/spectest/mainnet/altair/operations/sync_committee_test.go +++ b/testing/spectest/mainnet/altair/operations/sync_committee_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/operations" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/operations" ) func TestMainnet_Altair_Operations_SyncCommittee(t *testing.T) { diff --git a/spectest/mainnet/altair/operations/voluntary_exit_test.go b/testing/spectest/mainnet/altair/operations/voluntary_exit_test.go similarity index 67% rename from spectest/mainnet/altair/operations/voluntary_exit_test.go rename to testing/spectest/mainnet/altair/operations/voluntary_exit_test.go index 462d089f7..fa39e1437 100644 --- a/spectest/mainnet/altair/operations/voluntary_exit_test.go +++ b/testing/spectest/mainnet/altair/operations/voluntary_exit_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/operations" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/operations" ) func TestMainnet_Altair_Operations_VoluntaryExit(t *testing.T) { diff --git a/spectest/mainnet/phase0/random/BUILD.bazel b/testing/spectest/mainnet/altair/random/BUILD.bazel similarity index 77% rename from spectest/mainnet/phase0/random/BUILD.bazel rename to testing/spectest/mainnet/altair/random/BUILD.bazel index 9eee1efea..404d7434c 100644 --- a/spectest/mainnet/phase0/random/BUILD.bazel +++ b/testing/spectest/mainnet/altair/random/BUILD.bazel @@ -8,5 +8,5 @@ go_test( "@consensus_spec_tests_mainnet//:test_data", ], tags = ["spectest"], - deps = ["//spectest/shared/phase0/sanity:go_default_library"], + deps = ["//testing/spectest/shared/altair/sanity:go_default_library"], ) diff --git a/spectest/mainnet/altair/random/random_test.go b/testing/spectest/mainnet/altair/random/random_test.go similarity index 69% rename from spectest/mainnet/altair/random/random_test.go rename to testing/spectest/mainnet/altair/random/random_test.go index 2af2a4857..04b41e2f7 100644 --- a/spectest/mainnet/altair/random/random_test.go +++ b/testing/spectest/mainnet/altair/random/random_test.go @@ -3,7 +3,7 @@ package random import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/sanity" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/sanity" ) func TestMainnet_Altair_Random(t *testing.T) { diff --git a/spectest/mainnet/altair/rewards/BUILD.bazel b/testing/spectest/mainnet/altair/rewards/BUILD.bazel similarity index 77% rename from spectest/mainnet/altair/rewards/BUILD.bazel rename to testing/spectest/mainnet/altair/rewards/BUILD.bazel index 3a6c4d756..6abf6e69c 100644 --- a/spectest/mainnet/altair/rewards/BUILD.bazel +++ b/testing/spectest/mainnet/altair/rewards/BUILD.bazel @@ -8,5 +8,5 @@ go_test( "@consensus_spec_tests_mainnet//:test_data", ], tags = ["spectest"], - deps = ["//spectest/shared/altair/rewards:go_default_library"], + deps = ["//testing/spectest/shared/altair/rewards:go_default_library"], ) diff --git a/spectest/mainnet/altair/rewards/rewards_test.go b/testing/spectest/mainnet/altair/rewards/rewards_test.go similarity index 67% rename from spectest/mainnet/altair/rewards/rewards_test.go rename to testing/spectest/mainnet/altair/rewards/rewards_test.go index 6fc49e976..baf2a8b4c 100644 --- a/spectest/mainnet/altair/rewards/rewards_test.go +++ b/testing/spectest/mainnet/altair/rewards/rewards_test.go @@ -3,7 +3,7 @@ package rewards import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/rewards" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/rewards" ) func TestMainnet_Altair_Rewards(t *testing.T) { diff --git a/spectest/mainnet/phase0/sanity/BUILD.bazel b/testing/spectest/mainnet/altair/sanity/BUILD.bazel similarity index 79% rename from spectest/mainnet/phase0/sanity/BUILD.bazel rename to testing/spectest/mainnet/altair/sanity/BUILD.bazel index 8096369c4..d5ec7b405 100644 --- a/spectest/mainnet/phase0/sanity/BUILD.bazel +++ b/testing/spectest/mainnet/altair/sanity/BUILD.bazel @@ -11,5 +11,5 @@ go_test( "@consensus_spec_tests_mainnet//:test_data", ], tags = ["spectest"], - deps = ["//spectest/shared/phase0/sanity:go_default_library"], + deps = ["//testing/spectest/shared/altair/sanity:go_default_library"], ) diff --git a/spectest/mainnet/altair/sanity/blocks_test.go b/testing/spectest/mainnet/altair/sanity/blocks_test.go similarity index 70% rename from spectest/mainnet/altair/sanity/blocks_test.go rename to testing/spectest/mainnet/altair/sanity/blocks_test.go index 27e36b9c3..85f805423 100644 --- a/spectest/mainnet/altair/sanity/blocks_test.go +++ b/testing/spectest/mainnet/altair/sanity/blocks_test.go @@ -3,7 +3,7 @@ package sanity import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/sanity" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/sanity" ) func TestMainnet_Altair_Sanity_Blocks(t *testing.T) { diff --git a/spectest/mainnet/altair/sanity/slots_test.go b/testing/spectest/mainnet/altair/sanity/slots_test.go similarity index 66% rename from spectest/mainnet/altair/sanity/slots_test.go rename to testing/spectest/mainnet/altair/sanity/slots_test.go index c6b01b06b..966ea1818 100644 --- a/spectest/mainnet/altair/sanity/slots_test.go +++ b/testing/spectest/mainnet/altair/sanity/slots_test.go @@ -3,7 +3,7 @@ package sanity import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/sanity" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/sanity" ) func TestMainnet_Altair_Sanity_Slots(t *testing.T) { diff --git a/spectest/mainnet/phase0/ssz_static/BUILD.bazel b/testing/spectest/mainnet/altair/ssz_static/BUILD.bazel similarity index 76% rename from spectest/mainnet/phase0/ssz_static/BUILD.bazel rename to testing/spectest/mainnet/altair/ssz_static/BUILD.bazel index 390aa0503..11ce6c4cf 100644 --- a/spectest/mainnet/phase0/ssz_static/BUILD.bazel +++ b/testing/spectest/mainnet/altair/ssz_static/BUILD.bazel @@ -8,5 +8,5 @@ go_test( "@consensus_spec_tests_mainnet//:test_data", ], tags = ["spectest"], - deps = ["//spectest/shared/phase0/ssz_static:go_default_library"], + deps = ["//testing/spectest/shared/altair/ssz_static:go_default_library"], ) diff --git a/spectest/mainnet/altair/ssz_static/ssz_static_test.go b/testing/spectest/mainnet/altair/ssz_static/ssz_static_test.go similarity index 64% rename from spectest/mainnet/altair/ssz_static/ssz_static_test.go rename to testing/spectest/mainnet/altair/ssz_static/ssz_static_test.go index e3a0ebc1a..ce8782f1a 100644 --- a/spectest/mainnet/altair/ssz_static/ssz_static_test.go +++ b/testing/spectest/mainnet/altair/ssz_static/ssz_static_test.go @@ -3,7 +3,7 @@ package ssz_static import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/ssz_static" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/ssz_static" ) func TestMainnet_Altair_SSZStatic(t *testing.T) { diff --git a/spectest/mainnet/phase0/epoch_processing/BUILD.bazel b/testing/spectest/mainnet/phase0/epoch_processing/BUILD.bazel similarity index 90% rename from spectest/mainnet/phase0/epoch_processing/BUILD.bazel rename to testing/spectest/mainnet/phase0/epoch_processing/BUILD.bazel index dbe5babb5..1241537a2 100644 --- a/spectest/mainnet/phase0/epoch_processing/BUILD.bazel +++ b/testing/spectest/mainnet/phase0/epoch_processing/BUILD.bazel @@ -23,6 +23,6 @@ go_test( tags = ["spectest"], deps = [ "//shared/params:go_default_library", - "//spectest/shared/phase0/epoch_processing:go_default_library", + "//testing/spectest/shared/phase0/epoch_processing:go_default_library", ], ) diff --git a/spectest/mainnet/phase0/epoch_processing/effective_balance_updates_test.go b/testing/spectest/mainnet/phase0/epoch_processing/effective_balance_updates_test.go similarity index 70% rename from spectest/mainnet/phase0/epoch_processing/effective_balance_updates_test.go rename to testing/spectest/mainnet/phase0/epoch_processing/effective_balance_updates_test.go index aeabdce00..0bb7a7c88 100644 --- a/spectest/mainnet/phase0/epoch_processing/effective_balance_updates_test.go +++ b/testing/spectest/mainnet/phase0/epoch_processing/effective_balance_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" ) func TestMainnet_Phase0_EpochProcessing_EffectiveBalanceUpdates(t *testing.T) { diff --git a/spectest/mainnet/phase0/epoch_processing/epoch_processing_test.go b/testing/spectest/mainnet/phase0/epoch_processing/epoch_processing_test.go similarity index 100% rename from spectest/mainnet/phase0/epoch_processing/epoch_processing_test.go rename to testing/spectest/mainnet/phase0/epoch_processing/epoch_processing_test.go diff --git a/spectest/mainnet/phase0/epoch_processing/eth1_data_reset_test.go b/testing/spectest/mainnet/phase0/epoch_processing/eth1_data_reset_test.go similarity index 68% rename from spectest/mainnet/phase0/epoch_processing/eth1_data_reset_test.go rename to testing/spectest/mainnet/phase0/epoch_processing/eth1_data_reset_test.go index 01f4bfb0f..11ea27eae 100644 --- a/spectest/mainnet/phase0/epoch_processing/eth1_data_reset_test.go +++ b/testing/spectest/mainnet/phase0/epoch_processing/eth1_data_reset_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" ) func TestMainnet_Phase0_EpochProcessing_Eth1DataReset(t *testing.T) { diff --git a/spectest/mainnet/phase0/epoch_processing/historical_roots_update_test.go b/testing/spectest/mainnet/phase0/epoch_processing/historical_roots_update_test.go similarity index 70% rename from spectest/mainnet/phase0/epoch_processing/historical_roots_update_test.go rename to testing/spectest/mainnet/phase0/epoch_processing/historical_roots_update_test.go index 637400d1d..888aa83e7 100644 --- a/spectest/mainnet/phase0/epoch_processing/historical_roots_update_test.go +++ b/testing/spectest/mainnet/phase0/epoch_processing/historical_roots_update_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" ) func TestMainnet_Phase0_EpochProcessing_HistoricalRootsUpdate(t *testing.T) { diff --git a/spectest/mainnet/phase0/epoch_processing/justification_and_finalization_test.go b/testing/spectest/mainnet/phase0/epoch_processing/justification_and_finalization_test.go similarity index 71% rename from spectest/mainnet/phase0/epoch_processing/justification_and_finalization_test.go rename to testing/spectest/mainnet/phase0/epoch_processing/justification_and_finalization_test.go index bdbeb116d..b413f38f9 100644 --- a/spectest/mainnet/phase0/epoch_processing/justification_and_finalization_test.go +++ b/testing/spectest/mainnet/phase0/epoch_processing/justification_and_finalization_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" ) func TestMainnet_Phase0_EpochProcessing_JustificationAndFinalization(t *testing.T) { diff --git a/spectest/mainnet/phase0/epoch_processing/participation_record_updates_test.go b/testing/spectest/mainnet/phase0/epoch_processing/participation_record_updates_test.go similarity index 71% rename from spectest/mainnet/phase0/epoch_processing/participation_record_updates_test.go rename to testing/spectest/mainnet/phase0/epoch_processing/participation_record_updates_test.go index cc36a8140..6344ecffb 100644 --- a/spectest/mainnet/phase0/epoch_processing/participation_record_updates_test.go +++ b/testing/spectest/mainnet/phase0/epoch_processing/participation_record_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" ) func TestMainnet_Phase0_EpochProcessing_ParticipationRecordUpdates(t *testing.T) { diff --git a/spectest/mainnet/phase0/epoch_processing/randao_mixes_reset_test.go b/testing/spectest/mainnet/phase0/epoch_processing/randao_mixes_reset_test.go similarity index 68% rename from spectest/mainnet/phase0/epoch_processing/randao_mixes_reset_test.go rename to testing/spectest/mainnet/phase0/epoch_processing/randao_mixes_reset_test.go index 4ecebcefa..a82797106 100644 --- a/spectest/mainnet/phase0/epoch_processing/randao_mixes_reset_test.go +++ b/testing/spectest/mainnet/phase0/epoch_processing/randao_mixes_reset_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" ) func TestMainnet_Phase0_EpochProcessing_RandaoMixesReset(t *testing.T) { diff --git a/spectest/mainnet/phase0/epoch_processing/registry_updates_test.go b/testing/spectest/mainnet/phase0/epoch_processing/registry_updates_test.go similarity index 69% rename from spectest/mainnet/phase0/epoch_processing/registry_updates_test.go rename to testing/spectest/mainnet/phase0/epoch_processing/registry_updates_test.go index ad8577353..78c4b2005 100644 --- a/spectest/mainnet/phase0/epoch_processing/registry_updates_test.go +++ b/testing/spectest/mainnet/phase0/epoch_processing/registry_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" ) func TestMainnet_Phase0_EpochProcessing_ResetRegistryUpdates(t *testing.T) { diff --git a/spectest/mainnet/phase0/epoch_processing/rewards_and_penalties_test.go b/testing/spectest/mainnet/phase0/epoch_processing/rewards_and_penalties_test.go similarity index 69% rename from spectest/mainnet/phase0/epoch_processing/rewards_and_penalties_test.go rename to testing/spectest/mainnet/phase0/epoch_processing/rewards_and_penalties_test.go index 3b6ca29be..9e224c2f6 100644 --- a/spectest/mainnet/phase0/epoch_processing/rewards_and_penalties_test.go +++ b/testing/spectest/mainnet/phase0/epoch_processing/rewards_and_penalties_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" ) func TestMainnet_Phase0_EpochProcessing_RewardsAndPenalties(t *testing.T) { diff --git a/spectest/mainnet/phase0/epoch_processing/slashings_reset_test.go b/testing/spectest/mainnet/phase0/epoch_processing/slashings_reset_test.go similarity index 68% rename from spectest/mainnet/phase0/epoch_processing/slashings_reset_test.go rename to testing/spectest/mainnet/phase0/epoch_processing/slashings_reset_test.go index c0ab59a3f..f379a7156 100644 --- a/spectest/mainnet/phase0/epoch_processing/slashings_reset_test.go +++ b/testing/spectest/mainnet/phase0/epoch_processing/slashings_reset_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" ) func TestMainnet_Phase0_EpochProcessing_SlashingsReset(t *testing.T) { diff --git a/spectest/mainnet/phase0/epoch_processing/slashings_test.go b/testing/spectest/mainnet/phase0/epoch_processing/slashings_test.go similarity index 67% rename from spectest/mainnet/phase0/epoch_processing/slashings_test.go rename to testing/spectest/mainnet/phase0/epoch_processing/slashings_test.go index cd2896d1a..37a1e2f03 100644 --- a/spectest/mainnet/phase0/epoch_processing/slashings_test.go +++ b/testing/spectest/mainnet/phase0/epoch_processing/slashings_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" ) func TestMainnet_Phase0_EpochProcessing_Slashings(t *testing.T) { diff --git a/spectest/mainnet/phase0/finality/BUILD.bazel b/testing/spectest/mainnet/phase0/finality/BUILD.bazel similarity index 78% rename from spectest/mainnet/phase0/finality/BUILD.bazel rename to testing/spectest/mainnet/phase0/finality/BUILD.bazel index 23bcb2183..bf3ff463c 100644 --- a/spectest/mainnet/phase0/finality/BUILD.bazel +++ b/testing/spectest/mainnet/phase0/finality/BUILD.bazel @@ -9,5 +9,5 @@ go_test( ], shard_count = 4, tags = ["spectest"], - deps = ["//spectest/shared/phase0/finality:go_default_library"], + deps = ["//testing/spectest/shared/phase0/finality:go_default_library"], ) diff --git a/spectest/mainnet/phase0/finality/finality_test.go b/testing/spectest/mainnet/phase0/finality/finality_test.go similarity index 64% rename from spectest/mainnet/phase0/finality/finality_test.go rename to testing/spectest/mainnet/phase0/finality/finality_test.go index a8ac79062..a97cd25af 100644 --- a/spectest/mainnet/phase0/finality/finality_test.go +++ b/testing/spectest/mainnet/phase0/finality/finality_test.go @@ -3,7 +3,7 @@ package finality import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/finality" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/finality" ) func TestMainnet_Phase0_Finality(t *testing.T) { diff --git a/spectest/mainnet/phase0/operations/BUILD.bazel b/testing/spectest/mainnet/phase0/operations/BUILD.bazel similarity index 85% rename from spectest/mainnet/phase0/operations/BUILD.bazel rename to testing/spectest/mainnet/phase0/operations/BUILD.bazel index 457d75e28..615a96613 100644 --- a/spectest/mainnet/phase0/operations/BUILD.bazel +++ b/testing/spectest/mainnet/phase0/operations/BUILD.bazel @@ -16,5 +16,5 @@ go_test( ], shard_count = 4, tags = ["spectest"], - deps = ["//spectest/shared/phase0/operations:go_default_library"], + deps = ["//testing/spectest/shared/phase0/operations:go_default_library"], ) diff --git a/spectest/mainnet/phase0/operations/attestation_test.go b/testing/spectest/mainnet/phase0/operations/attestation_test.go similarity index 66% rename from spectest/mainnet/phase0/operations/attestation_test.go rename to testing/spectest/mainnet/phase0/operations/attestation_test.go index de50b5924..b89250e4b 100644 --- a/spectest/mainnet/phase0/operations/attestation_test.go +++ b/testing/spectest/mainnet/phase0/operations/attestation_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/operations" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/operations" ) func TestMainnet_Phase0_Operations_Attestation(t *testing.T) { diff --git a/spectest/mainnet/phase0/operations/attester_slashing_test.go b/testing/spectest/mainnet/phase0/operations/attester_slashing_test.go similarity index 68% rename from spectest/mainnet/phase0/operations/attester_slashing_test.go rename to testing/spectest/mainnet/phase0/operations/attester_slashing_test.go index 6a0a62188..953bf038b 100644 --- a/spectest/mainnet/phase0/operations/attester_slashing_test.go +++ b/testing/spectest/mainnet/phase0/operations/attester_slashing_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/operations" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/operations" ) func TestMainnet_Phase0_Operations_AttesterSlashing(t *testing.T) { diff --git a/spectest/mainnet/phase0/operations/block_header_test.go b/testing/spectest/mainnet/phase0/operations/block_header_test.go similarity index 66% rename from spectest/mainnet/phase0/operations/block_header_test.go rename to testing/spectest/mainnet/phase0/operations/block_header_test.go index b2215b1f8..90bb06a90 100644 --- a/spectest/mainnet/phase0/operations/block_header_test.go +++ b/testing/spectest/mainnet/phase0/operations/block_header_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/operations" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/operations" ) func TestMainnet_Phase0_Operations_BlockHeader(t *testing.T) { diff --git a/spectest/mainnet/phase0/operations/deposit_test.go b/testing/spectest/mainnet/phase0/operations/deposit_test.go similarity index 65% rename from spectest/mainnet/phase0/operations/deposit_test.go rename to testing/spectest/mainnet/phase0/operations/deposit_test.go index 0b332f832..06fdf021c 100644 --- a/spectest/mainnet/phase0/operations/deposit_test.go +++ b/testing/spectest/mainnet/phase0/operations/deposit_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/operations" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/operations" ) func TestMainnet_Phase0_Operations_Deposit(t *testing.T) { diff --git a/spectest/mainnet/phase0/operations/proposer_slashing_test.go b/testing/spectest/mainnet/phase0/operations/proposer_slashing_test.go similarity index 68% rename from spectest/mainnet/phase0/operations/proposer_slashing_test.go rename to testing/spectest/mainnet/phase0/operations/proposer_slashing_test.go index 4bccd7b3c..791a53e03 100644 --- a/spectest/mainnet/phase0/operations/proposer_slashing_test.go +++ b/testing/spectest/mainnet/phase0/operations/proposer_slashing_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/operations" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/operations" ) func TestMainnet_Phase0_Operations_ProposerSlashing(t *testing.T) { diff --git a/spectest/mainnet/phase0/operations/voluntary_exit_test.go b/testing/spectest/mainnet/phase0/operations/voluntary_exit_test.go similarity index 67% rename from spectest/mainnet/phase0/operations/voluntary_exit_test.go rename to testing/spectest/mainnet/phase0/operations/voluntary_exit_test.go index 09702acea..71864178d 100644 --- a/spectest/mainnet/phase0/operations/voluntary_exit_test.go +++ b/testing/spectest/mainnet/phase0/operations/voluntary_exit_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/operations" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/operations" ) func TestMainnet_Phase0_Operations_VoluntaryExit(t *testing.T) { diff --git a/spectest/mainnet/altair/random/BUILD.bazel b/testing/spectest/mainnet/phase0/random/BUILD.bazel similarity index 77% rename from spectest/mainnet/altair/random/BUILD.bazel rename to testing/spectest/mainnet/phase0/random/BUILD.bazel index 555fc8795..bc450e49b 100644 --- a/spectest/mainnet/altair/random/BUILD.bazel +++ b/testing/spectest/mainnet/phase0/random/BUILD.bazel @@ -8,5 +8,5 @@ go_test( "@consensus_spec_tests_mainnet//:test_data", ], tags = ["spectest"], - deps = ["//spectest/shared/altair/sanity:go_default_library"], + deps = ["//testing/spectest/shared/phase0/sanity:go_default_library"], ) diff --git a/spectest/mainnet/phase0/random/random_test.go b/testing/spectest/mainnet/phase0/random/random_test.go similarity index 69% rename from spectest/mainnet/phase0/random/random_test.go rename to testing/spectest/mainnet/phase0/random/random_test.go index 909cd76f9..609a7e18e 100644 --- a/spectest/mainnet/phase0/random/random_test.go +++ b/testing/spectest/mainnet/phase0/random/random_test.go @@ -3,7 +3,7 @@ package random import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/sanity" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/sanity" ) func TestMainnet_Phase0_Random(t *testing.T) { diff --git a/spectest/mainnet/phase0/rewards/BUILD.bazel b/testing/spectest/mainnet/phase0/rewards/BUILD.bazel similarity index 77% rename from spectest/mainnet/phase0/rewards/BUILD.bazel rename to testing/spectest/mainnet/phase0/rewards/BUILD.bazel index fab36f4ea..91761b53a 100644 --- a/spectest/mainnet/phase0/rewards/BUILD.bazel +++ b/testing/spectest/mainnet/phase0/rewards/BUILD.bazel @@ -8,5 +8,5 @@ go_test( "@consensus_spec_tests_mainnet//:test_data", ], tags = ["spectest"], - deps = ["//spectest/shared/phase0/rewards:go_default_library"], + deps = ["//testing/spectest/shared/phase0/rewards:go_default_library"], ) diff --git a/spectest/mainnet/phase0/rewards/rewards_test.go b/testing/spectest/mainnet/phase0/rewards/rewards_test.go similarity index 67% rename from spectest/mainnet/phase0/rewards/rewards_test.go rename to testing/spectest/mainnet/phase0/rewards/rewards_test.go index 495044722..0e1b4a4f6 100644 --- a/spectest/mainnet/phase0/rewards/rewards_test.go +++ b/testing/spectest/mainnet/phase0/rewards/rewards_test.go @@ -3,7 +3,7 @@ package rewards import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/rewards" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/rewards" ) func TestMainnet_Phase0_Rewards(t *testing.T) { diff --git a/spectest/mainnet/altair/sanity/BUILD.bazel b/testing/spectest/mainnet/phase0/sanity/BUILD.bazel similarity index 79% rename from spectest/mainnet/altair/sanity/BUILD.bazel rename to testing/spectest/mainnet/phase0/sanity/BUILD.bazel index aa3e343c9..8d43eb904 100644 --- a/spectest/mainnet/altair/sanity/BUILD.bazel +++ b/testing/spectest/mainnet/phase0/sanity/BUILD.bazel @@ -11,5 +11,5 @@ go_test( "@consensus_spec_tests_mainnet//:test_data", ], tags = ["spectest"], - deps = ["//spectest/shared/altair/sanity:go_default_library"], + deps = ["//testing/spectest/shared/phase0/sanity:go_default_library"], ) diff --git a/spectest/mainnet/phase0/sanity/blocks_test.go b/testing/spectest/mainnet/phase0/sanity/blocks_test.go similarity index 70% rename from spectest/mainnet/phase0/sanity/blocks_test.go rename to testing/spectest/mainnet/phase0/sanity/blocks_test.go index fe73b7c5c..697af82a6 100644 --- a/spectest/mainnet/phase0/sanity/blocks_test.go +++ b/testing/spectest/mainnet/phase0/sanity/blocks_test.go @@ -3,7 +3,7 @@ package sanity import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/sanity" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/sanity" ) func TestMainnet_Phase0_Sanity_Blocks(t *testing.T) { diff --git a/spectest/mainnet/phase0/sanity/slots_test.go b/testing/spectest/mainnet/phase0/sanity/slots_test.go similarity index 66% rename from spectest/mainnet/phase0/sanity/slots_test.go rename to testing/spectest/mainnet/phase0/sanity/slots_test.go index edc4576df..19b9a593d 100644 --- a/spectest/mainnet/phase0/sanity/slots_test.go +++ b/testing/spectest/mainnet/phase0/sanity/slots_test.go @@ -3,7 +3,7 @@ package sanity import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/sanity" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/sanity" ) func TestMainnet_Phase0_Sanity_Slots(t *testing.T) { diff --git a/spectest/mainnet/phase0/shuffling/core/shuffle/BUILD.bazel b/testing/spectest/mainnet/phase0/shuffling/core/shuffle/BUILD.bazel similarity index 75% rename from spectest/mainnet/phase0/shuffling/core/shuffle/BUILD.bazel rename to testing/spectest/mainnet/phase0/shuffling/core/shuffle/BUILD.bazel index b6f2b6b23..fba3710e2 100644 --- a/spectest/mainnet/phase0/shuffling/core/shuffle/BUILD.bazel +++ b/testing/spectest/mainnet/phase0/shuffling/core/shuffle/BUILD.bazel @@ -9,5 +9,5 @@ go_test( "@consensus_spec_tests_mainnet//:test_data", ], tags = ["spectest"], - deps = ["//spectest/shared/phase0/shuffling/core/shuffle:go_default_library"], + deps = ["//testing/spectest/shared/phase0/shuffling/core/shuffle:go_default_library"], ) diff --git a/spectest/mainnet/phase0/shuffling/core/shuffle/shuffle_test.go b/testing/spectest/mainnet/phase0/shuffling/core/shuffle/shuffle_test.go similarity index 62% rename from spectest/mainnet/phase0/shuffling/core/shuffle/shuffle_test.go rename to testing/spectest/mainnet/phase0/shuffling/core/shuffle/shuffle_test.go index 83b7fe438..07cb2cc37 100644 --- a/spectest/mainnet/phase0/shuffling/core/shuffle/shuffle_test.go +++ b/testing/spectest/mainnet/phase0/shuffling/core/shuffle/shuffle_test.go @@ -3,7 +3,7 @@ package shuffle import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/shuffling/core/shuffle" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/shuffling/core/shuffle" ) func TestMainnet_Phase0_Shuffling_Core_Shuffle(t *testing.T) { diff --git a/spectest/mainnet/altair/ssz_static/BUILD.bazel b/testing/spectest/mainnet/phase0/ssz_static/BUILD.bazel similarity index 76% rename from spectest/mainnet/altair/ssz_static/BUILD.bazel rename to testing/spectest/mainnet/phase0/ssz_static/BUILD.bazel index 72c507a7c..fd0fad30d 100644 --- a/spectest/mainnet/altair/ssz_static/BUILD.bazel +++ b/testing/spectest/mainnet/phase0/ssz_static/BUILD.bazel @@ -8,5 +8,5 @@ go_test( "@consensus_spec_tests_mainnet//:test_data", ], tags = ["spectest"], - deps = ["//spectest/shared/altair/ssz_static:go_default_library"], + deps = ["//testing/spectest/shared/phase0/ssz_static:go_default_library"], ) diff --git a/spectest/mainnet/phase0/ssz_static/ssz_static_test.go b/testing/spectest/mainnet/phase0/ssz_static/ssz_static_test.go similarity index 64% rename from spectest/mainnet/phase0/ssz_static/ssz_static_test.go rename to testing/spectest/mainnet/phase0/ssz_static/ssz_static_test.go index d02623e58..b20ebaf1e 100644 --- a/spectest/mainnet/phase0/ssz_static/ssz_static_test.go +++ b/testing/spectest/mainnet/phase0/ssz_static/ssz_static_test.go @@ -3,7 +3,7 @@ package ssz_static import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/ssz_static" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/ssz_static" ) func TestMainnet_Phase0_SSZStatic(t *testing.T) { diff --git a/spectest/minimal/altair/epoch_processing/BUILD.bazel b/testing/spectest/minimal/altair/epoch_processing/BUILD.bazel similarity index 89% rename from spectest/minimal/altair/epoch_processing/BUILD.bazel rename to testing/spectest/minimal/altair/epoch_processing/BUILD.bazel index 98433fef4..3b82194bd 100644 --- a/spectest/minimal/altair/epoch_processing/BUILD.bazel +++ b/testing/spectest/minimal/altair/epoch_processing/BUILD.bazel @@ -24,5 +24,5 @@ go_test( "minimal", "spectest", ], - deps = ["//spectest/shared/altair/epoch_processing:go_default_library"], + deps = ["//testing/spectest/shared/altair/epoch_processing:go_default_library"], ) diff --git a/spectest/minimal/altair/epoch_processing/effective_balance_updates_test.go b/testing/spectest/minimal/altair/epoch_processing/effective_balance_updates_test.go similarity index 70% rename from spectest/minimal/altair/epoch_processing/effective_balance_updates_test.go rename to testing/spectest/minimal/altair/epoch_processing/effective_balance_updates_test.go index e41ab9b0b..98e310122 100644 --- a/spectest/minimal/altair/epoch_processing/effective_balance_updates_test.go +++ b/testing/spectest/minimal/altair/epoch_processing/effective_balance_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" ) func TestMinimal_Altair_EpochProcessing_EffectiveBalanceUpdates(t *testing.T) { diff --git a/spectest/minimal/altair/epoch_processing/eth1_data_reset_test.go b/testing/spectest/minimal/altair/epoch_processing/eth1_data_reset_test.go similarity index 68% rename from spectest/minimal/altair/epoch_processing/eth1_data_reset_test.go rename to testing/spectest/minimal/altair/epoch_processing/eth1_data_reset_test.go index 4e417c88c..9376798aa 100644 --- a/spectest/minimal/altair/epoch_processing/eth1_data_reset_test.go +++ b/testing/spectest/minimal/altair/epoch_processing/eth1_data_reset_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" ) func TestMinimal_Altair_EpochProcessing_Eth1DataReset(t *testing.T) { diff --git a/spectest/minimal/altair/epoch_processing/historical_roots_update_test.go b/testing/spectest/minimal/altair/epoch_processing/historical_roots_update_test.go similarity index 70% rename from spectest/minimal/altair/epoch_processing/historical_roots_update_test.go rename to testing/spectest/minimal/altair/epoch_processing/historical_roots_update_test.go index c9282bfbb..02ea21572 100644 --- a/spectest/minimal/altair/epoch_processing/historical_roots_update_test.go +++ b/testing/spectest/minimal/altair/epoch_processing/historical_roots_update_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" ) func TestMinimal_Altair_EpochProcessing_HistoricalRootsUpdate(t *testing.T) { diff --git a/spectest/minimal/altair/epoch_processing/inactivity_updates_test.go b/testing/spectest/minimal/altair/epoch_processing/inactivity_updates_test.go similarity index 69% rename from spectest/minimal/altair/epoch_processing/inactivity_updates_test.go rename to testing/spectest/minimal/altair/epoch_processing/inactivity_updates_test.go index cc06171c0..fa88f0e28 100644 --- a/spectest/minimal/altair/epoch_processing/inactivity_updates_test.go +++ b/testing/spectest/minimal/altair/epoch_processing/inactivity_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" ) func TestMinimal_Altair_EpochProcessing_InactivityUpdates(t *testing.T) { diff --git a/spectest/minimal/altair/epoch_processing/justification_and_finalization_test.go b/testing/spectest/minimal/altair/epoch_processing/justification_and_finalization_test.go similarity index 71% rename from spectest/minimal/altair/epoch_processing/justification_and_finalization_test.go rename to testing/spectest/minimal/altair/epoch_processing/justification_and_finalization_test.go index ee2f4bc3b..aa1952490 100644 --- a/spectest/minimal/altair/epoch_processing/justification_and_finalization_test.go +++ b/testing/spectest/minimal/altair/epoch_processing/justification_and_finalization_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" ) func TestMinimal_Altair_EpochProcessing_JustificationAndFinalization(t *testing.T) { diff --git a/spectest/minimal/altair/epoch_processing/participation_flag_updates_test.go b/testing/spectest/minimal/altair/epoch_processing/participation_flag_updates_test.go similarity index 69% rename from spectest/minimal/altair/epoch_processing/participation_flag_updates_test.go rename to testing/spectest/minimal/altair/epoch_processing/participation_flag_updates_test.go index 5d96435db..0c94a261d 100644 --- a/spectest/minimal/altair/epoch_processing/participation_flag_updates_test.go +++ b/testing/spectest/minimal/altair/epoch_processing/participation_flag_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" ) func TestMinimal_Altair_EpochProcessing_ParticipationFlag(t *testing.T) { diff --git a/spectest/minimal/altair/epoch_processing/randao_mixes_reset_test.go b/testing/spectest/minimal/altair/epoch_processing/randao_mixes_reset_test.go similarity index 68% rename from spectest/minimal/altair/epoch_processing/randao_mixes_reset_test.go rename to testing/spectest/minimal/altair/epoch_processing/randao_mixes_reset_test.go index fc077dac2..af44fee22 100644 --- a/spectest/minimal/altair/epoch_processing/randao_mixes_reset_test.go +++ b/testing/spectest/minimal/altair/epoch_processing/randao_mixes_reset_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" ) func TestMinimal_Altair_EpochProcessing_RandaoMixesReset(t *testing.T) { diff --git a/spectest/minimal/altair/epoch_processing/registry_updates_test.go b/testing/spectest/minimal/altair/epoch_processing/registry_updates_test.go similarity index 69% rename from spectest/minimal/altair/epoch_processing/registry_updates_test.go rename to testing/spectest/minimal/altair/epoch_processing/registry_updates_test.go index da5896eef..cc1fcc9a7 100644 --- a/spectest/minimal/altair/epoch_processing/registry_updates_test.go +++ b/testing/spectest/minimal/altair/epoch_processing/registry_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" ) func TestMinimal_Altair_EpochProcessing_ResetRegistryUpdates(t *testing.T) { diff --git a/spectest/minimal/altair/epoch_processing/rewards_and_penalties_test.go b/testing/spectest/minimal/altair/epoch_processing/rewards_and_penalties_test.go similarity index 69% rename from spectest/minimal/altair/epoch_processing/rewards_and_penalties_test.go rename to testing/spectest/minimal/altair/epoch_processing/rewards_and_penalties_test.go index f84015a22..1e5a6b74f 100644 --- a/spectest/minimal/altair/epoch_processing/rewards_and_penalties_test.go +++ b/testing/spectest/minimal/altair/epoch_processing/rewards_and_penalties_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" ) func TestMinimal_Altair_EpochProcessing_RewardsAndPenalties(t *testing.T) { diff --git a/spectest/minimal/altair/epoch_processing/slashings_reset_test.go b/testing/spectest/minimal/altair/epoch_processing/slashings_reset_test.go similarity index 68% rename from spectest/minimal/altair/epoch_processing/slashings_reset_test.go rename to testing/spectest/minimal/altair/epoch_processing/slashings_reset_test.go index 3a7071780..51dd226a4 100644 --- a/spectest/minimal/altair/epoch_processing/slashings_reset_test.go +++ b/testing/spectest/minimal/altair/epoch_processing/slashings_reset_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" ) func TestMinimal_Altair_EpochProcessing_SlashingsReset(t *testing.T) { diff --git a/spectest/minimal/altair/epoch_processing/slashings_test.go b/testing/spectest/minimal/altair/epoch_processing/slashings_test.go similarity index 67% rename from spectest/minimal/altair/epoch_processing/slashings_test.go rename to testing/spectest/minimal/altair/epoch_processing/slashings_test.go index 4412b7dda..0491181b1 100644 --- a/spectest/minimal/altair/epoch_processing/slashings_test.go +++ b/testing/spectest/minimal/altair/epoch_processing/slashings_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" ) func TestMinimal_Altair_EpochProcessing_Slashings(t *testing.T) { diff --git a/spectest/minimal/phase0/finality/BUILD.bazel b/testing/spectest/minimal/altair/finality/BUILD.bazel similarity index 81% rename from spectest/minimal/phase0/finality/BUILD.bazel rename to testing/spectest/minimal/altair/finality/BUILD.bazel index f558a810e..2c8f83697 100644 --- a/spectest/minimal/phase0/finality/BUILD.bazel +++ b/testing/spectest/minimal/altair/finality/BUILD.bazel @@ -13,5 +13,5 @@ go_test( "minimal", "spectest", ], - deps = ["//spectest/shared/phase0/finality:go_default_library"], + deps = ["//testing/spectest/shared/altair/finality:go_default_library"], ) diff --git a/spectest/minimal/altair/finality/finality_test.go b/testing/spectest/minimal/altair/finality/finality_test.go similarity index 64% rename from spectest/minimal/altair/finality/finality_test.go rename to testing/spectest/minimal/altair/finality/finality_test.go index b5d0225da..500b3b7d9 100644 --- a/spectest/minimal/altair/finality/finality_test.go +++ b/testing/spectest/minimal/altair/finality/finality_test.go @@ -3,7 +3,7 @@ package finality import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/finality" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/finality" ) func TestMinimal_Altair_Finality(t *testing.T) { diff --git a/spectest/minimal/altair/fork/BUILD.bazel b/testing/spectest/minimal/altair/fork/BUILD.bazel similarity index 82% rename from spectest/minimal/altair/fork/BUILD.bazel rename to testing/spectest/minimal/altair/fork/BUILD.bazel index 4c131c6bc..64d6d199d 100644 --- a/spectest/minimal/altair/fork/BUILD.bazel +++ b/testing/spectest/minimal/altair/fork/BUILD.bazel @@ -13,5 +13,5 @@ go_test( "minimal", "spectest", ], - deps = ["//spectest/shared/altair/fork:go_default_library"], + deps = ["//testing/spectest/shared/altair/fork:go_default_library"], ) diff --git a/spectest/minimal/altair/fork/upgrade_to_altair_test.go b/testing/spectest/minimal/altair/fork/upgrade_to_altair_test.go similarity index 65% rename from spectest/minimal/altair/fork/upgrade_to_altair_test.go rename to testing/spectest/minimal/altair/fork/upgrade_to_altair_test.go index cfaea8375..421cb0000 100644 --- a/spectest/minimal/altair/fork/upgrade_to_altair_test.go +++ b/testing/spectest/minimal/altair/fork/upgrade_to_altair_test.go @@ -3,7 +3,7 @@ package fork import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/fork" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/fork" ) func TestMinimal_Altair_UpgradeToAltair(t *testing.T) { diff --git a/spectest/minimal/altair/operations/BUILD.bazel b/testing/spectest/minimal/altair/operations/BUILD.bazel similarity index 87% rename from spectest/minimal/altair/operations/BUILD.bazel rename to testing/spectest/minimal/altair/operations/BUILD.bazel index 3e06775a5..de1a01241 100644 --- a/spectest/minimal/altair/operations/BUILD.bazel +++ b/testing/spectest/minimal/altair/operations/BUILD.bazel @@ -20,5 +20,5 @@ go_test( "minimal", "spectest", ], - deps = ["//spectest/shared/altair/operations:go_default_library"], + deps = ["//testing/spectest/shared/altair/operations:go_default_library"], ) diff --git a/spectest/minimal/altair/operations/attestation_test.go b/testing/spectest/minimal/altair/operations/attestation_test.go similarity index 66% rename from spectest/minimal/altair/operations/attestation_test.go rename to testing/spectest/minimal/altair/operations/attestation_test.go index 07b87d825..fbc1ee44e 100644 --- a/spectest/minimal/altair/operations/attestation_test.go +++ b/testing/spectest/minimal/altair/operations/attestation_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/operations" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/operations" ) func TestMinimal_Altair_Operations_Attestation(t *testing.T) { diff --git a/spectest/minimal/altair/operations/attester_slashing_test.go b/testing/spectest/minimal/altair/operations/attester_slashing_test.go similarity index 68% rename from spectest/minimal/altair/operations/attester_slashing_test.go rename to testing/spectest/minimal/altair/operations/attester_slashing_test.go index ad3efa1ea..144ff14d6 100644 --- a/spectest/minimal/altair/operations/attester_slashing_test.go +++ b/testing/spectest/minimal/altair/operations/attester_slashing_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/operations" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/operations" ) func TestMinimal_Altair_Operations_AttesterSlashing(t *testing.T) { diff --git a/spectest/minimal/altair/operations/block_header_test.go b/testing/spectest/minimal/altair/operations/block_header_test.go similarity index 66% rename from spectest/minimal/altair/operations/block_header_test.go rename to testing/spectest/minimal/altair/operations/block_header_test.go index aab42869a..a4897991c 100644 --- a/spectest/minimal/altair/operations/block_header_test.go +++ b/testing/spectest/minimal/altair/operations/block_header_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/operations" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/operations" ) func TestMinimal_Altair_Operations_BlockHeader(t *testing.T) { diff --git a/spectest/minimal/altair/operations/deposit_test.go b/testing/spectest/minimal/altair/operations/deposit_test.go similarity index 65% rename from spectest/minimal/altair/operations/deposit_test.go rename to testing/spectest/minimal/altair/operations/deposit_test.go index 9ba8026aa..f0fc6c86d 100644 --- a/spectest/minimal/altair/operations/deposit_test.go +++ b/testing/spectest/minimal/altair/operations/deposit_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/operations" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/operations" ) func TestMinimal_Altair_Operations_Deposit(t *testing.T) { diff --git a/spectest/minimal/altair/operations/proposer_slashing_test.go b/testing/spectest/minimal/altair/operations/proposer_slashing_test.go similarity index 68% rename from spectest/minimal/altair/operations/proposer_slashing_test.go rename to testing/spectest/minimal/altair/operations/proposer_slashing_test.go index 702eebb05..c5cfc5338 100644 --- a/spectest/minimal/altair/operations/proposer_slashing_test.go +++ b/testing/spectest/minimal/altair/operations/proposer_slashing_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/operations" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/operations" ) func TestMinimal_Altair_Operations_ProposerSlashing(t *testing.T) { diff --git a/spectest/minimal/altair/operations/sync_committee_test.go b/testing/spectest/minimal/altair/operations/sync_committee_test.go similarity index 67% rename from spectest/minimal/altair/operations/sync_committee_test.go rename to testing/spectest/minimal/altair/operations/sync_committee_test.go index 610a9b336..95cd42b08 100644 --- a/spectest/minimal/altair/operations/sync_committee_test.go +++ b/testing/spectest/minimal/altair/operations/sync_committee_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/operations" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/operations" ) func TestMinimal_Altair_Operations_SyncCommittee(t *testing.T) { diff --git a/spectest/minimal/altair/operations/voluntary_exit_test.go b/testing/spectest/minimal/altair/operations/voluntary_exit_test.go similarity index 67% rename from spectest/minimal/altair/operations/voluntary_exit_test.go rename to testing/spectest/minimal/altair/operations/voluntary_exit_test.go index 3cdee5753..704551e5b 100644 --- a/spectest/minimal/altair/operations/voluntary_exit_test.go +++ b/testing/spectest/minimal/altair/operations/voluntary_exit_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/operations" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/operations" ) func TestMinimal_Altair_Operations_VoluntaryExit(t *testing.T) { diff --git a/spectest/minimal/altair/random/BUILD.bazel b/testing/spectest/minimal/altair/random/BUILD.bazel similarity index 79% rename from spectest/minimal/altair/random/BUILD.bazel rename to testing/spectest/minimal/altair/random/BUILD.bazel index 3b3d86faa..3cbceded2 100644 --- a/spectest/minimal/altair/random/BUILD.bazel +++ b/testing/spectest/minimal/altair/random/BUILD.bazel @@ -9,5 +9,5 @@ go_test( ], eth_network = "minimal", tags = ["spectest"], - deps = ["//spectest/shared/altair/sanity:go_default_library"], + deps = ["//testing/spectest/shared/altair/sanity:go_default_library"], ) diff --git a/spectest/minimal/altair/random/random_test.go b/testing/spectest/minimal/altair/random/random_test.go similarity index 69% rename from spectest/minimal/altair/random/random_test.go rename to testing/spectest/minimal/altair/random/random_test.go index dedd52e81..38510e79f 100644 --- a/spectest/minimal/altair/random/random_test.go +++ b/testing/spectest/minimal/altair/random/random_test.go @@ -3,7 +3,7 @@ package random import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/sanity" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/sanity" ) func TestMinimal_Altair_Random(t *testing.T) { diff --git a/spectest/minimal/altair/rewards/BUILD.bazel b/testing/spectest/minimal/altair/rewards/BUILD.bazel similarity index 80% rename from spectest/minimal/altair/rewards/BUILD.bazel rename to testing/spectest/minimal/altair/rewards/BUILD.bazel index c87f0b8f4..314da26c1 100644 --- a/spectest/minimal/altair/rewards/BUILD.bazel +++ b/testing/spectest/minimal/altair/rewards/BUILD.bazel @@ -12,5 +12,5 @@ go_test( "minimal", "spectest", ], - deps = ["//spectest/shared/altair/rewards:go_default_library"], + deps = ["//testing/spectest/shared/altair/rewards:go_default_library"], ) diff --git a/spectest/minimal/altair/rewards/rewards_test.go b/testing/spectest/minimal/altair/rewards/rewards_test.go similarity index 67% rename from spectest/minimal/altair/rewards/rewards_test.go rename to testing/spectest/minimal/altair/rewards/rewards_test.go index 20051fdf1..3668639cd 100644 --- a/spectest/minimal/altair/rewards/rewards_test.go +++ b/testing/spectest/minimal/altair/rewards/rewards_test.go @@ -3,7 +3,7 @@ package rewards import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/rewards" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/rewards" ) func TestMinimal_Altair_Rewards(t *testing.T) { diff --git a/spectest/minimal/phase0/sanity/BUILD.bazel b/testing/spectest/minimal/altair/sanity/BUILD.bazel similarity index 82% rename from spectest/minimal/phase0/sanity/BUILD.bazel rename to testing/spectest/minimal/altair/sanity/BUILD.bazel index 17e2fc168..1c5d41d41 100644 --- a/spectest/minimal/phase0/sanity/BUILD.bazel +++ b/testing/spectest/minimal/altair/sanity/BUILD.bazel @@ -15,5 +15,5 @@ go_test( "minimal", "spectest", ], - deps = ["//spectest/shared/phase0/sanity:go_default_library"], + deps = ["//testing/spectest/shared/altair/sanity:go_default_library"], ) diff --git a/spectest/minimal/altair/sanity/blocks_test.go b/testing/spectest/minimal/altair/sanity/blocks_test.go similarity index 70% rename from spectest/minimal/altair/sanity/blocks_test.go rename to testing/spectest/minimal/altair/sanity/blocks_test.go index 09e9f7caa..e7cef2bf8 100644 --- a/spectest/minimal/altair/sanity/blocks_test.go +++ b/testing/spectest/minimal/altair/sanity/blocks_test.go @@ -3,7 +3,7 @@ package sanity import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/sanity" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/sanity" ) func TestMinimal_Altair_Sanity_Blocks(t *testing.T) { diff --git a/spectest/minimal/altair/sanity/slots_test.go b/testing/spectest/minimal/altair/sanity/slots_test.go similarity index 66% rename from spectest/minimal/altair/sanity/slots_test.go rename to testing/spectest/minimal/altair/sanity/slots_test.go index b59ef7fb0..9186f5879 100644 --- a/spectest/minimal/altair/sanity/slots_test.go +++ b/testing/spectest/minimal/altair/sanity/slots_test.go @@ -3,7 +3,7 @@ package sanity import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/sanity" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/sanity" ) func TestMinimal_Altair_Sanity_Slots(t *testing.T) { diff --git a/spectest/minimal/phase0/ssz_static/BUILD.bazel b/testing/spectest/minimal/altair/ssz_static/BUILD.bazel similarity index 80% rename from spectest/minimal/phase0/ssz_static/BUILD.bazel rename to testing/spectest/minimal/altair/ssz_static/BUILD.bazel index 7a1356e14..3e77751e4 100644 --- a/spectest/minimal/phase0/ssz_static/BUILD.bazel +++ b/testing/spectest/minimal/altair/ssz_static/BUILD.bazel @@ -12,5 +12,5 @@ go_test( "minimal", "spectest", ], - deps = ["//spectest/shared/phase0/ssz_static:go_default_library"], + deps = ["//testing/spectest/shared/altair/ssz_static:go_default_library"], ) diff --git a/spectest/minimal/altair/ssz_static/ssz_static_test.go b/testing/spectest/minimal/altair/ssz_static/ssz_static_test.go similarity index 64% rename from spectest/minimal/altair/ssz_static/ssz_static_test.go rename to testing/spectest/minimal/altair/ssz_static/ssz_static_test.go index 217a412bc..f72dcd2e2 100644 --- a/spectest/minimal/altair/ssz_static/ssz_static_test.go +++ b/testing/spectest/minimal/altair/ssz_static/ssz_static_test.go @@ -3,7 +3,7 @@ package ssz_static import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/altair/ssz_static" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/ssz_static" ) func TestMinimal_Altair_SSZStatic(t *testing.T) { diff --git a/spectest/minimal/phase0/epoch_processing/BUILD.bazel b/testing/spectest/minimal/phase0/epoch_processing/BUILD.bazel similarity index 90% rename from spectest/minimal/phase0/epoch_processing/BUILD.bazel rename to testing/spectest/minimal/phase0/epoch_processing/BUILD.bazel index 91979e190..120d5e45e 100644 --- a/spectest/minimal/phase0/epoch_processing/BUILD.bazel +++ b/testing/spectest/minimal/phase0/epoch_processing/BUILD.bazel @@ -26,6 +26,6 @@ go_test( ], deps = [ "//shared/params:go_default_library", - "//spectest/shared/phase0/epoch_processing:go_default_library", + "//testing/spectest/shared/phase0/epoch_processing:go_default_library", ], ) diff --git a/spectest/minimal/phase0/epoch_processing/effective_balance_updates_test.go b/testing/spectest/minimal/phase0/epoch_processing/effective_balance_updates_test.go similarity index 70% rename from spectest/minimal/phase0/epoch_processing/effective_balance_updates_test.go rename to testing/spectest/minimal/phase0/epoch_processing/effective_balance_updates_test.go index 6fd9bd099..1e46d40cb 100644 --- a/spectest/minimal/phase0/epoch_processing/effective_balance_updates_test.go +++ b/testing/spectest/minimal/phase0/epoch_processing/effective_balance_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" ) func TestMinimal_Phase0_EpochProcessing_EffectiveBalanceUpdates(t *testing.T) { diff --git a/spectest/minimal/phase0/epoch_processing/epoch_processing_test.go b/testing/spectest/minimal/phase0/epoch_processing/epoch_processing_test.go similarity index 100% rename from spectest/minimal/phase0/epoch_processing/epoch_processing_test.go rename to testing/spectest/minimal/phase0/epoch_processing/epoch_processing_test.go diff --git a/spectest/minimal/phase0/epoch_processing/eth1_data_reset_test.go b/testing/spectest/minimal/phase0/epoch_processing/eth1_data_reset_test.go similarity index 68% rename from spectest/minimal/phase0/epoch_processing/eth1_data_reset_test.go rename to testing/spectest/minimal/phase0/epoch_processing/eth1_data_reset_test.go index a9176e667..78cc357e9 100644 --- a/spectest/minimal/phase0/epoch_processing/eth1_data_reset_test.go +++ b/testing/spectest/minimal/phase0/epoch_processing/eth1_data_reset_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" ) func TestMinimal_Phase0_EpochProcessing_Eth1DataReset(t *testing.T) { diff --git a/spectest/minimal/phase0/epoch_processing/historical_roots_update_test.go b/testing/spectest/minimal/phase0/epoch_processing/historical_roots_update_test.go similarity index 70% rename from spectest/minimal/phase0/epoch_processing/historical_roots_update_test.go rename to testing/spectest/minimal/phase0/epoch_processing/historical_roots_update_test.go index 6845a923e..fb1dba2eb 100644 --- a/spectest/minimal/phase0/epoch_processing/historical_roots_update_test.go +++ b/testing/spectest/minimal/phase0/epoch_processing/historical_roots_update_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" ) func TestMinimal_Phase0_EpochProcessing_HistoricalRootsUpdate(t *testing.T) { diff --git a/spectest/minimal/phase0/epoch_processing/justification_and_finalization_test.go b/testing/spectest/minimal/phase0/epoch_processing/justification_and_finalization_test.go similarity index 71% rename from spectest/minimal/phase0/epoch_processing/justification_and_finalization_test.go rename to testing/spectest/minimal/phase0/epoch_processing/justification_and_finalization_test.go index 17d118727..5d18dfbd0 100644 --- a/spectest/minimal/phase0/epoch_processing/justification_and_finalization_test.go +++ b/testing/spectest/minimal/phase0/epoch_processing/justification_and_finalization_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" ) func TestMinimal_Phase0_EpochProcessing_JustificationAndFinalization(t *testing.T) { diff --git a/spectest/minimal/phase0/epoch_processing/participation_record_updates_test.go b/testing/spectest/minimal/phase0/epoch_processing/participation_record_updates_test.go similarity index 71% rename from spectest/minimal/phase0/epoch_processing/participation_record_updates_test.go rename to testing/spectest/minimal/phase0/epoch_processing/participation_record_updates_test.go index 9868a0cbc..d61a29f91 100644 --- a/spectest/minimal/phase0/epoch_processing/participation_record_updates_test.go +++ b/testing/spectest/minimal/phase0/epoch_processing/participation_record_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" ) func TestMinimal_Phase0_EpochProcessing_ParticipationRecordUpdates(t *testing.T) { diff --git a/spectest/minimal/phase0/epoch_processing/randao_mixes_reset_test.go b/testing/spectest/minimal/phase0/epoch_processing/randao_mixes_reset_test.go similarity index 68% rename from spectest/minimal/phase0/epoch_processing/randao_mixes_reset_test.go rename to testing/spectest/minimal/phase0/epoch_processing/randao_mixes_reset_test.go index 392914027..38b44c773 100644 --- a/spectest/minimal/phase0/epoch_processing/randao_mixes_reset_test.go +++ b/testing/spectest/minimal/phase0/epoch_processing/randao_mixes_reset_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" ) func TestMinimal_Phase0_EpochProcessing_RandaoMixesReset(t *testing.T) { diff --git a/spectest/minimal/phase0/epoch_processing/registry_updates_test.go b/testing/spectest/minimal/phase0/epoch_processing/registry_updates_test.go similarity index 69% rename from spectest/minimal/phase0/epoch_processing/registry_updates_test.go rename to testing/spectest/minimal/phase0/epoch_processing/registry_updates_test.go index 7e23281ad..da18fadba 100644 --- a/spectest/minimal/phase0/epoch_processing/registry_updates_test.go +++ b/testing/spectest/minimal/phase0/epoch_processing/registry_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" ) func TestMinimal_Phase0_EpochProcessing_ResetRegistryUpdates(t *testing.T) { diff --git a/spectest/minimal/phase0/epoch_processing/rewards_and_penalties_test.go b/testing/spectest/minimal/phase0/epoch_processing/rewards_and_penalties_test.go similarity index 69% rename from spectest/minimal/phase0/epoch_processing/rewards_and_penalties_test.go rename to testing/spectest/minimal/phase0/epoch_processing/rewards_and_penalties_test.go index 8d6907d56..18fbc4578 100644 --- a/spectest/minimal/phase0/epoch_processing/rewards_and_penalties_test.go +++ b/testing/spectest/minimal/phase0/epoch_processing/rewards_and_penalties_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" ) func TestMinimal_Phase0_EpochProcessing_RewardsAndPenalties(t *testing.T) { diff --git a/spectest/minimal/phase0/epoch_processing/slashings_reset_test.go b/testing/spectest/minimal/phase0/epoch_processing/slashings_reset_test.go similarity index 68% rename from spectest/minimal/phase0/epoch_processing/slashings_reset_test.go rename to testing/spectest/minimal/phase0/epoch_processing/slashings_reset_test.go index 84b9f133d..63f6f6a9a 100644 --- a/spectest/minimal/phase0/epoch_processing/slashings_reset_test.go +++ b/testing/spectest/minimal/phase0/epoch_processing/slashings_reset_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" ) func TestMinimal_Phase0_EpochProcessing_SlashingsReset(t *testing.T) { diff --git a/spectest/minimal/phase0/epoch_processing/slashings_test.go b/testing/spectest/minimal/phase0/epoch_processing/slashings_test.go similarity index 67% rename from spectest/minimal/phase0/epoch_processing/slashings_test.go rename to testing/spectest/minimal/phase0/epoch_processing/slashings_test.go index f61916ec5..62fea1d67 100644 --- a/spectest/minimal/phase0/epoch_processing/slashings_test.go +++ b/testing/spectest/minimal/phase0/epoch_processing/slashings_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" ) func TestMinimal_Phase0_EpochProcessing_Slashings(t *testing.T) { diff --git a/spectest/minimal/altair/finality/BUILD.bazel b/testing/spectest/minimal/phase0/finality/BUILD.bazel similarity index 81% rename from spectest/minimal/altair/finality/BUILD.bazel rename to testing/spectest/minimal/phase0/finality/BUILD.bazel index 142dcca06..28ef3754a 100644 --- a/spectest/minimal/altair/finality/BUILD.bazel +++ b/testing/spectest/minimal/phase0/finality/BUILD.bazel @@ -13,5 +13,5 @@ go_test( "minimal", "spectest", ], - deps = ["//spectest/shared/altair/finality:go_default_library"], + deps = ["//testing/spectest/shared/phase0/finality:go_default_library"], ) diff --git a/spectest/minimal/phase0/finality/finality_test.go b/testing/spectest/minimal/phase0/finality/finality_test.go similarity index 64% rename from spectest/minimal/phase0/finality/finality_test.go rename to testing/spectest/minimal/phase0/finality/finality_test.go index 0dbb66283..b4b1b0b93 100644 --- a/spectest/minimal/phase0/finality/finality_test.go +++ b/testing/spectest/minimal/phase0/finality/finality_test.go @@ -3,7 +3,7 @@ package finality import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/finality" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/finality" ) func TestMinimal_Phase0_Finality(t *testing.T) { diff --git a/spectest/minimal/phase0/operations/BUILD.bazel b/testing/spectest/minimal/phase0/operations/BUILD.bazel similarity index 86% rename from spectest/minimal/phase0/operations/BUILD.bazel rename to testing/spectest/minimal/phase0/operations/BUILD.bazel index 494f5315d..5db1e2c86 100644 --- a/spectest/minimal/phase0/operations/BUILD.bazel +++ b/testing/spectest/minimal/phase0/operations/BUILD.bazel @@ -19,5 +19,5 @@ go_test( "minimal", "spectest", ], - deps = ["//spectest/shared/phase0/operations:go_default_library"], + deps = ["//testing/spectest/shared/phase0/operations:go_default_library"], ) diff --git a/spectest/minimal/phase0/operations/attestation_test.go b/testing/spectest/minimal/phase0/operations/attestation_test.go similarity index 66% rename from spectest/minimal/phase0/operations/attestation_test.go rename to testing/spectest/minimal/phase0/operations/attestation_test.go index 32f9f29fe..56b14e729 100644 --- a/spectest/minimal/phase0/operations/attestation_test.go +++ b/testing/spectest/minimal/phase0/operations/attestation_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/operations" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/operations" ) func TestMinimal_Phase0_Operations_Attestation(t *testing.T) { diff --git a/spectest/minimal/phase0/operations/attester_slashing_test.go b/testing/spectest/minimal/phase0/operations/attester_slashing_test.go similarity index 68% rename from spectest/minimal/phase0/operations/attester_slashing_test.go rename to testing/spectest/minimal/phase0/operations/attester_slashing_test.go index 0db5f8331..d618bec1c 100644 --- a/spectest/minimal/phase0/operations/attester_slashing_test.go +++ b/testing/spectest/minimal/phase0/operations/attester_slashing_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/operations" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/operations" ) func TestMinimal_Phase0_Operations_AttesterSlashing(t *testing.T) { diff --git a/spectest/minimal/phase0/operations/block_header_test.go b/testing/spectest/minimal/phase0/operations/block_header_test.go similarity index 66% rename from spectest/minimal/phase0/operations/block_header_test.go rename to testing/spectest/minimal/phase0/operations/block_header_test.go index f501e3713..b9852c6ec 100644 --- a/spectest/minimal/phase0/operations/block_header_test.go +++ b/testing/spectest/minimal/phase0/operations/block_header_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/operations" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/operations" ) func TestMinimal_Phase0_Operations_BlockHeader(t *testing.T) { diff --git a/spectest/minimal/phase0/operations/deposit_test.go b/testing/spectest/minimal/phase0/operations/deposit_test.go similarity index 65% rename from spectest/minimal/phase0/operations/deposit_test.go rename to testing/spectest/minimal/phase0/operations/deposit_test.go index a7e8516c2..54a72a018 100644 --- a/spectest/minimal/phase0/operations/deposit_test.go +++ b/testing/spectest/minimal/phase0/operations/deposit_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/operations" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/operations" ) func TestMinimal_Phase0_Operations_Deposit(t *testing.T) { diff --git a/spectest/minimal/phase0/operations/proposer_slashing_test.go b/testing/spectest/minimal/phase0/operations/proposer_slashing_test.go similarity index 68% rename from spectest/minimal/phase0/operations/proposer_slashing_test.go rename to testing/spectest/minimal/phase0/operations/proposer_slashing_test.go index 8c31e2018..0d0fe50d7 100644 --- a/spectest/minimal/phase0/operations/proposer_slashing_test.go +++ b/testing/spectest/minimal/phase0/operations/proposer_slashing_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/operations" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/operations" ) func TestMinimal_Phase0_Operations_ProposerSlashing(t *testing.T) { diff --git a/spectest/minimal/phase0/operations/voluntary_exit_test.go b/testing/spectest/minimal/phase0/operations/voluntary_exit_test.go similarity index 67% rename from spectest/minimal/phase0/operations/voluntary_exit_test.go rename to testing/spectest/minimal/phase0/operations/voluntary_exit_test.go index cb27424a3..786f4813d 100644 --- a/spectest/minimal/phase0/operations/voluntary_exit_test.go +++ b/testing/spectest/minimal/phase0/operations/voluntary_exit_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/operations" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/operations" ) func TestMinimal_Phase0_Operations_VoluntaryExit(t *testing.T) { diff --git a/spectest/minimal/phase0/random/BUILD.bazel b/testing/spectest/minimal/phase0/random/BUILD.bazel similarity index 80% rename from spectest/minimal/phase0/random/BUILD.bazel rename to testing/spectest/minimal/phase0/random/BUILD.bazel index 4a4f53093..dd7898da5 100644 --- a/spectest/minimal/phase0/random/BUILD.bazel +++ b/testing/spectest/minimal/phase0/random/BUILD.bazel @@ -12,5 +12,5 @@ go_test( "minimal", "spectest", ], - deps = ["//spectest/shared/phase0/sanity:go_default_library"], + deps = ["//testing/spectest/shared/phase0/sanity:go_default_library"], ) diff --git a/spectest/minimal/phase0/random/random_test.go b/testing/spectest/minimal/phase0/random/random_test.go similarity index 69% rename from spectest/minimal/phase0/random/random_test.go rename to testing/spectest/minimal/phase0/random/random_test.go index 9b23d8246..6355ed95c 100644 --- a/spectest/minimal/phase0/random/random_test.go +++ b/testing/spectest/minimal/phase0/random/random_test.go @@ -3,7 +3,7 @@ package random import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/sanity" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/sanity" ) func TestMinimal_Phase0_Random(t *testing.T) { diff --git a/spectest/minimal/phase0/rewards/BUILD.bazel b/testing/spectest/minimal/phase0/rewards/BUILD.bazel similarity index 80% rename from spectest/minimal/phase0/rewards/BUILD.bazel rename to testing/spectest/minimal/phase0/rewards/BUILD.bazel index c7af03345..ec7d5492c 100644 --- a/spectest/minimal/phase0/rewards/BUILD.bazel +++ b/testing/spectest/minimal/phase0/rewards/BUILD.bazel @@ -12,5 +12,5 @@ go_test( "minimal", "spectest", ], - deps = ["//spectest/shared/phase0/rewards:go_default_library"], + deps = ["//testing/spectest/shared/phase0/rewards:go_default_library"], ) diff --git a/spectest/minimal/phase0/rewards/rewards_test.go b/testing/spectest/minimal/phase0/rewards/rewards_test.go similarity index 67% rename from spectest/minimal/phase0/rewards/rewards_test.go rename to testing/spectest/minimal/phase0/rewards/rewards_test.go index 738934b4d..392dc56e3 100644 --- a/spectest/minimal/phase0/rewards/rewards_test.go +++ b/testing/spectest/minimal/phase0/rewards/rewards_test.go @@ -3,7 +3,7 @@ package rewards import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/rewards" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/rewards" ) func TestMinimal_Phase0_Rewards(t *testing.T) { diff --git a/spectest/minimal/altair/sanity/BUILD.bazel b/testing/spectest/minimal/phase0/sanity/BUILD.bazel similarity index 82% rename from spectest/minimal/altair/sanity/BUILD.bazel rename to testing/spectest/minimal/phase0/sanity/BUILD.bazel index 074606a40..f8c3a2551 100644 --- a/spectest/minimal/altair/sanity/BUILD.bazel +++ b/testing/spectest/minimal/phase0/sanity/BUILD.bazel @@ -15,5 +15,5 @@ go_test( "minimal", "spectest", ], - deps = ["//spectest/shared/altair/sanity:go_default_library"], + deps = ["//testing/spectest/shared/phase0/sanity:go_default_library"], ) diff --git a/spectest/minimal/phase0/sanity/blocks_test.go b/testing/spectest/minimal/phase0/sanity/blocks_test.go similarity index 70% rename from spectest/minimal/phase0/sanity/blocks_test.go rename to testing/spectest/minimal/phase0/sanity/blocks_test.go index 761bdaae3..44fa5f834 100644 --- a/spectest/minimal/phase0/sanity/blocks_test.go +++ b/testing/spectest/minimal/phase0/sanity/blocks_test.go @@ -3,7 +3,7 @@ package sanity import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/sanity" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/sanity" ) func TestMinimal_Phase0_Sanity_Blocks(t *testing.T) { diff --git a/spectest/minimal/phase0/sanity/slots_test.go b/testing/spectest/minimal/phase0/sanity/slots_test.go similarity index 66% rename from spectest/minimal/phase0/sanity/slots_test.go rename to testing/spectest/minimal/phase0/sanity/slots_test.go index 90966fe8f..1802ea05b 100644 --- a/spectest/minimal/phase0/sanity/slots_test.go +++ b/testing/spectest/minimal/phase0/sanity/slots_test.go @@ -3,7 +3,7 @@ package sanity import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/sanity" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/sanity" ) func TestMinimal_Phase0_Sanity_Slots(t *testing.T) { diff --git a/spectest/minimal/phase0/shuffling/core/shuffle/BUILD.bazel b/testing/spectest/minimal/phase0/shuffling/core/shuffle/BUILD.bazel similarity index 77% rename from spectest/minimal/phase0/shuffling/core/shuffle/BUILD.bazel rename to testing/spectest/minimal/phase0/shuffling/core/shuffle/BUILD.bazel index b75e76344..01916b4ab 100644 --- a/spectest/minimal/phase0/shuffling/core/shuffle/BUILD.bazel +++ b/testing/spectest/minimal/phase0/shuffling/core/shuffle/BUILD.bazel @@ -12,5 +12,5 @@ go_test( "minimal", "spectest", ], - deps = ["//spectest/shared/phase0/shuffling/core/shuffle:go_default_library"], + deps = ["//testing/spectest/shared/phase0/shuffling/core/shuffle:go_default_library"], ) diff --git a/spectest/minimal/phase0/shuffling/core/shuffle/shuffle_test.go b/testing/spectest/minimal/phase0/shuffling/core/shuffle/shuffle_test.go similarity index 62% rename from spectest/minimal/phase0/shuffling/core/shuffle/shuffle_test.go rename to testing/spectest/minimal/phase0/shuffling/core/shuffle/shuffle_test.go index 8ae1674c1..b88176eaf 100644 --- a/spectest/minimal/phase0/shuffling/core/shuffle/shuffle_test.go +++ b/testing/spectest/minimal/phase0/shuffling/core/shuffle/shuffle_test.go @@ -3,7 +3,7 @@ package shuffle import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/shuffling/core/shuffle" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/shuffling/core/shuffle" ) func TestMinimal_Phase0_Shuffling_Core_Shuffle(t *testing.T) { diff --git a/spectest/minimal/altair/ssz_static/BUILD.bazel b/testing/spectest/minimal/phase0/ssz_static/BUILD.bazel similarity index 80% rename from spectest/minimal/altair/ssz_static/BUILD.bazel rename to testing/spectest/minimal/phase0/ssz_static/BUILD.bazel index a6fe807b7..1662da3e3 100644 --- a/spectest/minimal/altair/ssz_static/BUILD.bazel +++ b/testing/spectest/minimal/phase0/ssz_static/BUILD.bazel @@ -12,5 +12,5 @@ go_test( "minimal", "spectest", ], - deps = ["//spectest/shared/altair/ssz_static:go_default_library"], + deps = ["//testing/spectest/shared/phase0/ssz_static:go_default_library"], ) diff --git a/spectest/minimal/phase0/ssz_static/ssz_static_test.go b/testing/spectest/minimal/phase0/ssz_static/ssz_static_test.go similarity index 64% rename from spectest/minimal/phase0/ssz_static/ssz_static_test.go rename to testing/spectest/minimal/phase0/ssz_static/ssz_static_test.go index 13a8139d3..4c36685c6 100644 --- a/spectest/minimal/phase0/ssz_static/ssz_static_test.go +++ b/testing/spectest/minimal/phase0/ssz_static/ssz_static_test.go @@ -3,7 +3,7 @@ package ssz_static import ( "testing" - "github.com/prysmaticlabs/prysm/spectest/shared/phase0/ssz_static" + "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/ssz_static" ) func TestMinimal_Phase0_SSZStatic(t *testing.T) { diff --git a/spectest/shared/altair/epoch_processing/BUILD.bazel b/testing/spectest/shared/altair/epoch_processing/BUILD.bazel similarity index 86% rename from spectest/shared/altair/epoch_processing/BUILD.bazel rename to testing/spectest/shared/altair/epoch_processing/BUILD.bazel index 5b8bbd0ee..39879a634 100644 --- a/spectest/shared/altair/epoch_processing/BUILD.bazel +++ b/testing/spectest/shared/altair/epoch_processing/BUILD.bazel @@ -17,8 +17,8 @@ go_library( "slashings.go", "slashings_reset.go", ], - importpath = "github.com/prysmaticlabs/prysm/spectest/shared/altair/epoch_processing", - visibility = ["//spectest:__subpackages__"], + importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing", + visibility = ["//testing/spectest:__subpackages__"], deps = [ "//beacon-chain/core/altair:go_default_library", "//beacon-chain/core/epoch:go_default_library", @@ -30,7 +30,7 @@ go_library( "//shared/params:go_default_library", "//shared/testutil:go_default_library", "//shared/testutil/require:go_default_library", - "//spectest/utils:go_default_library", + "//testing/spectest/utils:go_default_library", "@com_github_golang_snappy//:go_default_library", "@in_gopkg_d4l3k_messagediff_v1//:go_default_library", "@io_bazel_rules_go//go/tools/bazel:go_default_library", diff --git a/spectest/shared/altair/epoch_processing/effective_balance_updates.go b/testing/spectest/shared/altair/epoch_processing/effective_balance_updates.go similarity index 94% rename from spectest/shared/altair/epoch_processing/effective_balance_updates.go rename to testing/spectest/shared/altair/epoch_processing/effective_balance_updates.go index 3e8ab9719..8719816c2 100644 --- a/spectest/shared/altair/epoch_processing/effective_balance_updates.go +++ b/testing/spectest/shared/altair/epoch_processing/effective_balance_updates.go @@ -7,7 +7,7 @@ import ( "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" "github.com/prysmaticlabs/prysm/beacon-chain/state" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) // RunEffectiveBalanceUpdatesTests executes "epoch_processing/effective_balance_updates" tests. diff --git a/spectest/shared/altair/epoch_processing/eth1_data_reset.go b/testing/spectest/shared/altair/epoch_processing/eth1_data_reset.go similarity index 94% rename from spectest/shared/altair/epoch_processing/eth1_data_reset.go rename to testing/spectest/shared/altair/epoch_processing/eth1_data_reset.go index f5330785c..b26b16e04 100644 --- a/spectest/shared/altair/epoch_processing/eth1_data_reset.go +++ b/testing/spectest/shared/altair/epoch_processing/eth1_data_reset.go @@ -7,7 +7,7 @@ import ( "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" "github.com/prysmaticlabs/prysm/beacon-chain/state" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) // RunEth1DataResetTests executes "epoch_processing/eth1_data_reset" tests. diff --git a/spectest/shared/altair/epoch_processing/helpers.go b/testing/spectest/shared/altair/epoch_processing/helpers.go similarity index 100% rename from spectest/shared/altair/epoch_processing/helpers.go rename to testing/spectest/shared/altair/epoch_processing/helpers.go diff --git a/spectest/shared/altair/epoch_processing/historical_roots_update.go b/testing/spectest/shared/altair/epoch_processing/historical_roots_update.go similarity index 94% rename from spectest/shared/altair/epoch_processing/historical_roots_update.go rename to testing/spectest/shared/altair/epoch_processing/historical_roots_update.go index d62c60305..8cea8f93c 100644 --- a/spectest/shared/altair/epoch_processing/historical_roots_update.go +++ b/testing/spectest/shared/altair/epoch_processing/historical_roots_update.go @@ -7,7 +7,7 @@ import ( "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" "github.com/prysmaticlabs/prysm/beacon-chain/state" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) // RunHistoricalRootsUpdateTests executes "epoch_processing/historical_roots_update" tests. diff --git a/spectest/shared/altair/epoch_processing/inactivity_updates.go b/testing/spectest/shared/altair/epoch_processing/inactivity_updates.go similarity index 95% rename from spectest/shared/altair/epoch_processing/inactivity_updates.go rename to testing/spectest/shared/altair/epoch_processing/inactivity_updates.go index d02e75d75..8f5cae277 100644 --- a/spectest/shared/altair/epoch_processing/inactivity_updates.go +++ b/testing/spectest/shared/altair/epoch_processing/inactivity_updates.go @@ -9,7 +9,7 @@ import ( "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" "github.com/prysmaticlabs/prysm/beacon-chain/state" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) // RunInactivityUpdatesTest executes "epoch_processing/inactivity_updates" tests. diff --git a/spectest/shared/altair/epoch_processing/justification_and_finalization.go b/testing/spectest/shared/altair/epoch_processing/justification_and_finalization.go similarity index 96% rename from spectest/shared/altair/epoch_processing/justification_and_finalization.go rename to testing/spectest/shared/altair/epoch_processing/justification_and_finalization.go index eeab3f86a..97660470f 100644 --- a/spectest/shared/altair/epoch_processing/justification_and_finalization.go +++ b/testing/spectest/shared/altair/epoch_processing/justification_and_finalization.go @@ -9,7 +9,7 @@ import ( "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch/precompute" "github.com/prysmaticlabs/prysm/beacon-chain/state" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) // RunJustificationAndFinalizationTests executes "epoch_processing/justification_and_finalization" tests. diff --git a/spectest/shared/altair/epoch_processing/participation_flag_updates.go b/testing/spectest/shared/altair/epoch_processing/participation_flag_updates.go similarity index 94% rename from spectest/shared/altair/epoch_processing/participation_flag_updates.go rename to testing/spectest/shared/altair/epoch_processing/participation_flag_updates.go index dbcd4bd24..6d528b4c8 100644 --- a/spectest/shared/altair/epoch_processing/participation_flag_updates.go +++ b/testing/spectest/shared/altair/epoch_processing/participation_flag_updates.go @@ -7,7 +7,7 @@ import ( "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" "github.com/prysmaticlabs/prysm/beacon-chain/state" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) // RunParticipationFlagUpdatesTests executes "epoch_processing/participation_flag_updates" tests. diff --git a/spectest/shared/altair/epoch_processing/randao_mixes_reset.go b/testing/spectest/shared/altair/epoch_processing/randao_mixes_reset.go similarity index 94% rename from spectest/shared/altair/epoch_processing/randao_mixes_reset.go rename to testing/spectest/shared/altair/epoch_processing/randao_mixes_reset.go index eb44ea88e..833767d7c 100644 --- a/spectest/shared/altair/epoch_processing/randao_mixes_reset.go +++ b/testing/spectest/shared/altair/epoch_processing/randao_mixes_reset.go @@ -7,7 +7,7 @@ import ( "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" "github.com/prysmaticlabs/prysm/beacon-chain/state" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) // RunRandaoMixesResetTests executes "epoch_processing/randao_mixes_reset" tests. diff --git a/spectest/shared/altair/epoch_processing/registry_updates.go b/testing/spectest/shared/altair/epoch_processing/registry_updates.go similarity index 95% rename from spectest/shared/altair/epoch_processing/registry_updates.go rename to testing/spectest/shared/altair/epoch_processing/registry_updates.go index bebe4e188..7b7e9ffbe 100644 --- a/spectest/shared/altair/epoch_processing/registry_updates.go +++ b/testing/spectest/shared/altair/epoch_processing/registry_updates.go @@ -8,7 +8,7 @@ import ( "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" "github.com/prysmaticlabs/prysm/beacon-chain/state" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) // RunRegistryUpdatesTests executes "epoch_processing/registry_updates" tests. diff --git a/spectest/shared/altair/epoch_processing/rewards_and_penalties.go b/testing/spectest/shared/altair/epoch_processing/rewards_and_penalties.go similarity index 95% rename from spectest/shared/altair/epoch_processing/rewards_and_penalties.go rename to testing/spectest/shared/altair/epoch_processing/rewards_and_penalties.go index abdd03503..5decf2570 100644 --- a/spectest/shared/altair/epoch_processing/rewards_and_penalties.go +++ b/testing/spectest/shared/altair/epoch_processing/rewards_and_penalties.go @@ -9,7 +9,7 @@ import ( "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" "github.com/prysmaticlabs/prysm/beacon-chain/state" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) // RunRewardsAndPenaltiesTests executes "epoch_processing/rewards_and_penalties" tests. diff --git a/spectest/shared/altair/epoch_processing/slashings.go b/testing/spectest/shared/altair/epoch_processing/slashings.go similarity index 95% rename from spectest/shared/altair/epoch_processing/slashings.go rename to testing/spectest/shared/altair/epoch_processing/slashings.go index 1eeb99cdf..e02bb766c 100644 --- a/spectest/shared/altair/epoch_processing/slashings.go +++ b/testing/spectest/shared/altair/epoch_processing/slashings.go @@ -9,7 +9,7 @@ import ( "github.com/prysmaticlabs/prysm/beacon-chain/state" "github.com/prysmaticlabs/prysm/shared/params" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) // RunSlashingsTests executes "epoch_processing/slashings" tests. diff --git a/spectest/shared/altair/epoch_processing/slashings_reset.go b/testing/spectest/shared/altair/epoch_processing/slashings_reset.go similarity index 94% rename from spectest/shared/altair/epoch_processing/slashings_reset.go rename to testing/spectest/shared/altair/epoch_processing/slashings_reset.go index 076f7adea..305330ae0 100644 --- a/spectest/shared/altair/epoch_processing/slashings_reset.go +++ b/testing/spectest/shared/altair/epoch_processing/slashings_reset.go @@ -7,7 +7,7 @@ import ( "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" "github.com/prysmaticlabs/prysm/beacon-chain/state" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) // RunSlashingsResetTests executes "epoch_processing/slashings_reset" tests. diff --git a/spectest/shared/altair/finality/BUILD.bazel b/testing/spectest/shared/altair/finality/BUILD.bazel similarity index 84% rename from spectest/shared/altair/finality/BUILD.bazel rename to testing/spectest/shared/altair/finality/BUILD.bazel index 66294a547..949c7c54e 100644 --- a/spectest/shared/altair/finality/BUILD.bazel +++ b/testing/spectest/shared/altair/finality/BUILD.bazel @@ -4,7 +4,7 @@ go_library( name = "go_default_library", testonly = True, srcs = ["finality.go"], - importpath = "github.com/prysmaticlabs/prysm/spectest/shared/altair/finality", + importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/finality", visibility = ["//visibility:public"], deps = [ "//beacon-chain/core/helpers:go_default_library", @@ -15,7 +15,7 @@ go_library( "//proto/prysm/v1alpha1/wrapper:go_default_library", "//shared/testutil:go_default_library", "//shared/testutil/require:go_default_library", - "//spectest/utils:go_default_library", + "//testing/spectest/utils:go_default_library", "@com_github_golang_snappy//:go_default_library", "@org_golang_google_protobuf//proto:go_default_library", ], diff --git a/spectest/shared/altair/finality/finality.go b/testing/spectest/shared/altair/finality/finality.go similarity index 98% rename from spectest/shared/altair/finality/finality.go rename to testing/spectest/shared/altair/finality/finality.go index e67637cc4..71b421a7a 100644 --- a/spectest/shared/altair/finality/finality.go +++ b/testing/spectest/shared/altair/finality/finality.go @@ -14,7 +14,7 @@ import ( "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/wrapper" "github.com/prysmaticlabs/prysm/shared/testutil" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" "google.golang.org/protobuf/proto" ) diff --git a/spectest/shared/altair/fork/BUILD.bazel b/testing/spectest/shared/altair/fork/BUILD.bazel similarity index 88% rename from spectest/shared/altair/fork/BUILD.bazel rename to testing/spectest/shared/altair/fork/BUILD.bazel index 3c26da745..ca3e3e6ed 100644 --- a/spectest/shared/altair/fork/BUILD.bazel +++ b/testing/spectest/shared/altair/fork/BUILD.bazel @@ -7,7 +7,7 @@ go_library( "transition.go", "upgrade_to_altair.go", ], - importpath = "github.com/prysmaticlabs/prysm/spectest/shared/altair/fork", + importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/fork", visibility = ["//visibility:public"], deps = [ "//beacon-chain/core/altair:go_default_library", @@ -21,7 +21,7 @@ go_library( "//shared/params:go_default_library", "//shared/testutil:go_default_library", "//shared/testutil/require:go_default_library", - "//spectest/utils:go_default_library", + "//testing/spectest/utils:go_default_library", "@com_github_golang_snappy//:go_default_library", "@com_github_prysmaticlabs_eth2_types//:go_default_library", "@org_golang_google_protobuf//proto:go_default_library", diff --git a/spectest/shared/altair/fork/transition.go b/testing/spectest/shared/altair/fork/transition.go similarity index 98% rename from spectest/shared/altair/fork/transition.go rename to testing/spectest/shared/altair/fork/transition.go index 9b1600666..6eb26da2a 100644 --- a/spectest/shared/altair/fork/transition.go +++ b/testing/spectest/shared/altair/fork/transition.go @@ -18,7 +18,7 @@ import ( "github.com/prysmaticlabs/prysm/shared/params" "github.com/prysmaticlabs/prysm/shared/testutil" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) type ForkConfig struct { diff --git a/spectest/shared/altair/fork/upgrade_to_altair.go b/testing/spectest/shared/altair/fork/upgrade_to_altair.go similarity index 97% rename from spectest/shared/altair/fork/upgrade_to_altair.go rename to testing/spectest/shared/altair/fork/upgrade_to_altair.go index 1215e8cec..c3aebb667 100644 --- a/spectest/shared/altair/fork/upgrade_to_altair.go +++ b/testing/spectest/shared/altair/fork/upgrade_to_altair.go @@ -13,7 +13,7 @@ import ( ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" "github.com/prysmaticlabs/prysm/shared/testutil" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" "google.golang.org/protobuf/proto" ) diff --git a/spectest/shared/altair/operations/BUILD.bazel b/testing/spectest/shared/altair/operations/BUILD.bazel similarity index 85% rename from spectest/shared/altair/operations/BUILD.bazel rename to testing/spectest/shared/altair/operations/BUILD.bazel index 1d8c337dc..3e088d94c 100644 --- a/spectest/shared/altair/operations/BUILD.bazel +++ b/testing/spectest/shared/altair/operations/BUILD.bazel @@ -13,8 +13,8 @@ go_library( "sync_committee.go", "voluntary_exit.go", ], - importpath = "github.com/prysmaticlabs/prysm/spectest/shared/altair/operations", - visibility = ["//spectest:__subpackages__"], + importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/operations", + visibility = ["//testing/spectest:__subpackages__"], deps = [ "//beacon-chain/core/altair:go_default_library", "//beacon-chain/core/blocks:go_default_library", @@ -27,7 +27,7 @@ go_library( "//proto/prysm/v1alpha1/wrapper:go_default_library", "//shared/testutil:go_default_library", "//shared/testutil/require:go_default_library", - "//spectest/utils:go_default_library", + "//testing/spectest/utils:go_default_library", "@com_github_golang_snappy//:go_default_library", "@in_gopkg_d4l3k_messagediff_v1//:go_default_library", "@io_bazel_rules_go//go/tools/bazel:go_default_library", diff --git a/spectest/shared/altair/operations/attestation.go b/testing/spectest/shared/altair/operations/attestation.go similarity index 97% rename from spectest/shared/altair/operations/attestation.go rename to testing/spectest/shared/altair/operations/attestation.go index c5f9738d6..1cad0a787 100644 --- a/spectest/shared/altair/operations/attestation.go +++ b/testing/spectest/shared/altair/operations/attestation.go @@ -14,7 +14,7 @@ import ( "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/block" "github.com/prysmaticlabs/prysm/shared/testutil" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) func RunAttestationTest(t *testing.T, config string) { diff --git a/spectest/shared/altair/operations/attester_slashing.go b/testing/spectest/shared/altair/operations/attester_slashing.go similarity index 96% rename from spectest/shared/altair/operations/attester_slashing.go rename to testing/spectest/shared/altair/operations/attester_slashing.go index 702e3dda7..8d9691b08 100644 --- a/spectest/shared/altair/operations/attester_slashing.go +++ b/testing/spectest/shared/altair/operations/attester_slashing.go @@ -13,7 +13,7 @@ import ( "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/block" "github.com/prysmaticlabs/prysm/shared/testutil" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) func RunAttesterSlashingTest(t *testing.T, config string) { diff --git a/spectest/shared/altair/operations/block_header.go b/testing/spectest/shared/altair/operations/block_header.go similarity index 98% rename from spectest/shared/altair/operations/block_header.go rename to testing/spectest/shared/altair/operations/block_header.go index 28cf70cfb..e86b325a3 100644 --- a/spectest/shared/altair/operations/block_header.go +++ b/testing/spectest/shared/altair/operations/block_header.go @@ -13,7 +13,7 @@ import ( ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" "github.com/prysmaticlabs/prysm/shared/testutil" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" "google.golang.org/protobuf/proto" "gopkg.in/d4l3k/messagediff.v1" ) diff --git a/spectest/shared/altair/operations/deposit.go b/testing/spectest/shared/altair/operations/deposit.go similarity index 96% rename from spectest/shared/altair/operations/deposit.go rename to testing/spectest/shared/altair/operations/deposit.go index 9aec368a4..0dea08cc7 100644 --- a/spectest/shared/altair/operations/deposit.go +++ b/testing/spectest/shared/altair/operations/deposit.go @@ -12,7 +12,7 @@ import ( "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/block" "github.com/prysmaticlabs/prysm/shared/testutil" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) func RunDepositTest(t *testing.T, config string) { diff --git a/spectest/shared/altair/operations/helpers.go b/testing/spectest/shared/altair/operations/helpers.go similarity index 100% rename from spectest/shared/altair/operations/helpers.go rename to testing/spectest/shared/altair/operations/helpers.go diff --git a/spectest/shared/altair/operations/proposer_slashing.go b/testing/spectest/shared/altair/operations/proposer_slashing.go similarity index 96% rename from spectest/shared/altair/operations/proposer_slashing.go rename to testing/spectest/shared/altair/operations/proposer_slashing.go index 25e3c6a5d..a9820855d 100644 --- a/spectest/shared/altair/operations/proposer_slashing.go +++ b/testing/spectest/shared/altair/operations/proposer_slashing.go @@ -13,7 +13,7 @@ import ( "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/block" "github.com/prysmaticlabs/prysm/shared/testutil" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) func RunProposerSlashingTest(t *testing.T, config string) { diff --git a/spectest/shared/altair/operations/sync_committee.go b/testing/spectest/shared/altair/operations/sync_committee.go similarity index 96% rename from spectest/shared/altair/operations/sync_committee.go rename to testing/spectest/shared/altair/operations/sync_committee.go index ffa085327..e1207c4a1 100644 --- a/spectest/shared/altair/operations/sync_committee.go +++ b/testing/spectest/shared/altair/operations/sync_committee.go @@ -12,7 +12,7 @@ import ( "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/block" "github.com/prysmaticlabs/prysm/shared/testutil" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) func RunSyncCommitteeTest(t *testing.T, config string) { diff --git a/spectest/shared/altair/operations/voluntary_exit.go b/testing/spectest/shared/altair/operations/voluntary_exit.go similarity index 96% rename from spectest/shared/altair/operations/voluntary_exit.go rename to testing/spectest/shared/altair/operations/voluntary_exit.go index b149fd236..ca03bb788 100644 --- a/spectest/shared/altair/operations/voluntary_exit.go +++ b/testing/spectest/shared/altair/operations/voluntary_exit.go @@ -12,7 +12,7 @@ import ( "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/block" "github.com/prysmaticlabs/prysm/shared/testutil" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) func RunVoluntaryExitTest(t *testing.T, config string) { diff --git a/spectest/shared/altair/rewards/BUILD.bazel b/testing/spectest/shared/altair/rewards/BUILD.bazel similarity index 73% rename from spectest/shared/altair/rewards/BUILD.bazel rename to testing/spectest/shared/altair/rewards/BUILD.bazel index fe8a39ec3..387b44308 100644 --- a/spectest/shared/altair/rewards/BUILD.bazel +++ b/testing/spectest/shared/altair/rewards/BUILD.bazel @@ -4,8 +4,8 @@ go_library( name = "go_default_library", testonly = True, srcs = ["rewards_penalties.go"], - importpath = "github.com/prysmaticlabs/prysm/spectest/shared/altair/rewards", - visibility = ["//spectest:__subpackages__"], + importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/rewards", + visibility = ["//testing/spectest:__subpackages__"], deps = [ "//beacon-chain/core/altair:go_default_library", "//beacon-chain/core/helpers:go_default_library", @@ -13,7 +13,7 @@ go_library( "//proto/prysm/v1alpha1:go_default_library", "//shared/testutil:go_default_library", "//shared/testutil/require:go_default_library", - "//spectest/utils:go_default_library", + "//testing/spectest/utils:go_default_library", "@com_github_golang_snappy//:go_default_library", ], ) diff --git a/spectest/shared/altair/rewards/rewards_penalties.go b/testing/spectest/shared/altair/rewards/rewards_penalties.go similarity index 98% rename from spectest/shared/altair/rewards/rewards_penalties.go rename to testing/spectest/shared/altair/rewards/rewards_penalties.go index 752cfb788..fd23c7a7d 100644 --- a/spectest/shared/altair/rewards/rewards_penalties.go +++ b/testing/spectest/shared/altair/rewards/rewards_penalties.go @@ -16,7 +16,7 @@ import ( ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" "github.com/prysmaticlabs/prysm/shared/testutil" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) // Delta contains list of rewards and penalties. diff --git a/spectest/shared/altair/sanity/BUILD.bazel b/testing/spectest/shared/altair/sanity/BUILD.bazel similarity index 83% rename from spectest/shared/altair/sanity/BUILD.bazel rename to testing/spectest/shared/altair/sanity/BUILD.bazel index 9517167ca..523a0d975 100644 --- a/spectest/shared/altair/sanity/BUILD.bazel +++ b/testing/spectest/shared/altair/sanity/BUILD.bazel @@ -8,8 +8,8 @@ go_library( "block_processing.yaml.go", "slot_processing.go", ], - importpath = "github.com/prysmaticlabs/prysm/spectest/shared/altair/sanity", - visibility = ["//spectest:__subpackages__"], + importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/sanity", + visibility = ["//testing/spectest:__subpackages__"], deps = [ "//beacon-chain/core/helpers:go_default_library", "//beacon-chain/core/transition:go_default_library", @@ -19,7 +19,7 @@ go_library( "//proto/prysm/v1alpha1/wrapper:go_default_library", "//shared/testutil:go_default_library", "//shared/testutil/require:go_default_library", - "//spectest/utils:go_default_library", + "//testing/spectest/utils:go_default_library", "@com_github_d4l3k_messagediff//:go_default_library", "@com_github_golang_snappy//:go_default_library", "@in_gopkg_d4l3k_messagediff_v1//:go_default_library", diff --git a/spectest/shared/altair/sanity/block_processing.go b/testing/spectest/shared/altair/sanity/block_processing.go similarity index 98% rename from spectest/shared/altair/sanity/block_processing.go rename to testing/spectest/shared/altair/sanity/block_processing.go index 0a1eeeab4..4d58c47d2 100644 --- a/spectest/shared/altair/sanity/block_processing.go +++ b/testing/spectest/shared/altair/sanity/block_processing.go @@ -19,7 +19,7 @@ import ( "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/wrapper" "github.com/prysmaticlabs/prysm/shared/testutil" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" "google.golang.org/protobuf/proto" ) diff --git a/spectest/shared/altair/sanity/block_processing.yaml.go b/testing/spectest/shared/altair/sanity/block_processing.yaml.go similarity index 100% rename from spectest/shared/altair/sanity/block_processing.yaml.go rename to testing/spectest/shared/altair/sanity/block_processing.yaml.go diff --git a/spectest/shared/altair/sanity/slot_processing.go b/testing/spectest/shared/altair/sanity/slot_processing.go similarity index 97% rename from spectest/shared/altair/sanity/slot_processing.go rename to testing/spectest/shared/altair/sanity/slot_processing.go index 5ef6bf6ae..03a3dfd07 100644 --- a/spectest/shared/altair/sanity/slot_processing.go +++ b/testing/spectest/shared/altair/sanity/slot_processing.go @@ -11,7 +11,7 @@ import ( ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" "github.com/prysmaticlabs/prysm/shared/testutil" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" "google.golang.org/protobuf/proto" "gopkg.in/d4l3k/messagediff.v1" ) diff --git a/spectest/shared/altair/ssz_static/BUILD.bazel b/testing/spectest/shared/altair/ssz_static/BUILD.bazel similarity index 70% rename from spectest/shared/altair/ssz_static/BUILD.bazel rename to testing/spectest/shared/altair/ssz_static/BUILD.bazel index 78d5804d4..e88f58325 100644 --- a/spectest/shared/altair/ssz_static/BUILD.bazel +++ b/testing/spectest/shared/altair/ssz_static/BUILD.bazel @@ -4,14 +4,14 @@ go_library( name = "go_default_library", testonly = True, srcs = ["ssz_static.go"], - importpath = "github.com/prysmaticlabs/prysm/spectest/shared/altair/ssz_static", - visibility = ["//spectest:__subpackages__"], + importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/ssz_static", + visibility = ["//testing/spectest:__subpackages__"], deps = [ "//beacon-chain/state/v2:go_default_library", "//proto/prysm/v1alpha1:go_default_library", "//shared/testutil:go_default_library", "//shared/testutil/require:go_default_library", - "//spectest/utils:go_default_library", + "//testing/spectest/utils:go_default_library", "@com_github_ferranbt_fastssz//:go_default_library", "@com_github_golang_snappy//:go_default_library", ], diff --git a/spectest/shared/altair/ssz_static/ssz_static.go b/testing/spectest/shared/altair/ssz_static/ssz_static.go similarity index 99% rename from spectest/shared/altair/ssz_static/ssz_static.go rename to testing/spectest/shared/altair/ssz_static/ssz_static.go index 95af63dc5..e7feb1d5a 100644 --- a/spectest/shared/altair/ssz_static/ssz_static.go +++ b/testing/spectest/shared/altair/ssz_static/ssz_static.go @@ -13,7 +13,7 @@ import ( ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" "github.com/prysmaticlabs/prysm/shared/testutil" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) // SSZRoots -- diff --git a/spectest/shared/phase0/epoch_processing/BUILD.bazel b/testing/spectest/shared/phase0/epoch_processing/BUILD.bazel similarity index 85% rename from spectest/shared/phase0/epoch_processing/BUILD.bazel rename to testing/spectest/shared/phase0/epoch_processing/BUILD.bazel index 1148f2ea0..259add4fa 100644 --- a/spectest/shared/phase0/epoch_processing/BUILD.bazel +++ b/testing/spectest/shared/phase0/epoch_processing/BUILD.bazel @@ -16,8 +16,8 @@ go_library( "slashings.go", "slashings_reset.go", ], - importpath = "github.com/prysmaticlabs/prysm/spectest/shared/phase0/epoch_processing", - visibility = ["//spectest:__subpackages__"], + importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing", + visibility = ["//testing/spectest:__subpackages__"], deps = [ "//beacon-chain/core/epoch:go_default_library", "//beacon-chain/core/epoch/precompute:go_default_library", @@ -28,7 +28,7 @@ go_library( "//shared/params:go_default_library", "//shared/testutil:go_default_library", "//shared/testutil/require:go_default_library", - "//spectest/utils:go_default_library", + "//testing/spectest/utils:go_default_library", "@com_github_golang_snappy//:go_default_library", "@io_bazel_rules_go//go/tools/bazel:go_default_library", "@org_golang_google_protobuf//proto:go_default_library", diff --git a/spectest/shared/phase0/epoch_processing/effective_balance_updates.go b/testing/spectest/shared/phase0/epoch_processing/effective_balance_updates.go similarity index 94% rename from spectest/shared/phase0/epoch_processing/effective_balance_updates.go rename to testing/spectest/shared/phase0/epoch_processing/effective_balance_updates.go index e27100c65..78154bdc7 100644 --- a/spectest/shared/phase0/epoch_processing/effective_balance_updates.go +++ b/testing/spectest/shared/phase0/epoch_processing/effective_balance_updates.go @@ -7,7 +7,7 @@ import ( "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" "github.com/prysmaticlabs/prysm/beacon-chain/state" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) // RunEffectiveBalanceUpdatesTests executes "epoch_processing/effective_balance_updates" tests. diff --git a/spectest/shared/phase0/epoch_processing/eth1_data_reset.go b/testing/spectest/shared/phase0/epoch_processing/eth1_data_reset.go similarity index 94% rename from spectest/shared/phase0/epoch_processing/eth1_data_reset.go rename to testing/spectest/shared/phase0/epoch_processing/eth1_data_reset.go index 6fec209c7..dee3807fd 100644 --- a/spectest/shared/phase0/epoch_processing/eth1_data_reset.go +++ b/testing/spectest/shared/phase0/epoch_processing/eth1_data_reset.go @@ -7,7 +7,7 @@ import ( "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" "github.com/prysmaticlabs/prysm/beacon-chain/state" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) // RunEth1DataResetTests executes "epoch_processing/eth1_data_reset" tests. diff --git a/spectest/shared/phase0/epoch_processing/helpers.go b/testing/spectest/shared/phase0/epoch_processing/helpers.go similarity index 100% rename from spectest/shared/phase0/epoch_processing/helpers.go rename to testing/spectest/shared/phase0/epoch_processing/helpers.go diff --git a/spectest/shared/phase0/epoch_processing/historical_roots_update.go b/testing/spectest/shared/phase0/epoch_processing/historical_roots_update.go similarity index 94% rename from spectest/shared/phase0/epoch_processing/historical_roots_update.go rename to testing/spectest/shared/phase0/epoch_processing/historical_roots_update.go index 86d7621d4..d6130a093 100644 --- a/spectest/shared/phase0/epoch_processing/historical_roots_update.go +++ b/testing/spectest/shared/phase0/epoch_processing/historical_roots_update.go @@ -7,7 +7,7 @@ import ( "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" "github.com/prysmaticlabs/prysm/beacon-chain/state" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) // RunHistoricalRootsUpdateTests executes "epoch_processing/historical_roots_update" tests. diff --git a/spectest/shared/phase0/epoch_processing/justification_and_finalization.go b/testing/spectest/shared/phase0/epoch_processing/justification_and_finalization.go similarity index 95% rename from spectest/shared/phase0/epoch_processing/justification_and_finalization.go rename to testing/spectest/shared/phase0/epoch_processing/justification_and_finalization.go index 5d252aea1..347d001d0 100644 --- a/spectest/shared/phase0/epoch_processing/justification_and_finalization.go +++ b/testing/spectest/shared/phase0/epoch_processing/justification_and_finalization.go @@ -8,7 +8,7 @@ import ( "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch/precompute" "github.com/prysmaticlabs/prysm/beacon-chain/state" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) // RunJustificationAndFinalizationTests executes "epoch_processing/justification_and_finalization" tests. diff --git a/spectest/shared/phase0/epoch_processing/participation_record_updates.go b/testing/spectest/shared/phase0/epoch_processing/participation_record_updates.go similarity index 94% rename from spectest/shared/phase0/epoch_processing/participation_record_updates.go rename to testing/spectest/shared/phase0/epoch_processing/participation_record_updates.go index aaa26d1f2..0c4d8a3f0 100644 --- a/spectest/shared/phase0/epoch_processing/participation_record_updates.go +++ b/testing/spectest/shared/phase0/epoch_processing/participation_record_updates.go @@ -7,7 +7,7 @@ import ( "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" "github.com/prysmaticlabs/prysm/beacon-chain/state" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) // RunParticipationRecordUpdatesTests executes "epoch_processing/participation_record_updates" tests. diff --git a/spectest/shared/phase0/epoch_processing/randao_mixes_reset.go b/testing/spectest/shared/phase0/epoch_processing/randao_mixes_reset.go similarity index 94% rename from spectest/shared/phase0/epoch_processing/randao_mixes_reset.go rename to testing/spectest/shared/phase0/epoch_processing/randao_mixes_reset.go index fa9f7f6df..1c82f83c4 100644 --- a/spectest/shared/phase0/epoch_processing/randao_mixes_reset.go +++ b/testing/spectest/shared/phase0/epoch_processing/randao_mixes_reset.go @@ -7,7 +7,7 @@ import ( "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" "github.com/prysmaticlabs/prysm/beacon-chain/state" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) // RunRandaoMixesResetTests executes "epoch_processing/randao_mixes_reset" tests. diff --git a/spectest/shared/phase0/epoch_processing/registry_updates.go b/testing/spectest/shared/phase0/epoch_processing/registry_updates.go similarity index 95% rename from spectest/shared/phase0/epoch_processing/registry_updates.go rename to testing/spectest/shared/phase0/epoch_processing/registry_updates.go index 0759684d9..c00c5e60b 100644 --- a/spectest/shared/phase0/epoch_processing/registry_updates.go +++ b/testing/spectest/shared/phase0/epoch_processing/registry_updates.go @@ -8,7 +8,7 @@ import ( "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" "github.com/prysmaticlabs/prysm/beacon-chain/state" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) // RunRegistryUpdatesTests executes "epoch_processing/registry_updates" tests. diff --git a/spectest/shared/phase0/epoch_processing/rewards_and_penalties.go b/testing/spectest/shared/phase0/epoch_processing/rewards_and_penalties.go similarity index 96% rename from spectest/shared/phase0/epoch_processing/rewards_and_penalties.go rename to testing/spectest/shared/phase0/epoch_processing/rewards_and_penalties.go index 167f2675e..dcb5b49be 100644 --- a/spectest/shared/phase0/epoch_processing/rewards_and_penalties.go +++ b/testing/spectest/shared/phase0/epoch_processing/rewards_and_penalties.go @@ -9,7 +9,7 @@ import ( "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" "github.com/prysmaticlabs/prysm/beacon-chain/state" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) // RunRewardsAndPenaltiesTests executes "epoch_processing/rewards_and_penalties" tests. diff --git a/spectest/shared/phase0/epoch_processing/slashings.go b/testing/spectest/shared/phase0/epoch_processing/slashings.go similarity index 96% rename from spectest/shared/phase0/epoch_processing/slashings.go rename to testing/spectest/shared/phase0/epoch_processing/slashings.go index ae95ea8d1..2fb726530 100644 --- a/spectest/shared/phase0/epoch_processing/slashings.go +++ b/testing/spectest/shared/phase0/epoch_processing/slashings.go @@ -11,7 +11,7 @@ import ( "github.com/prysmaticlabs/prysm/beacon-chain/state" "github.com/prysmaticlabs/prysm/shared/params" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) // RunSlashingsTests executes "epoch_processing/slashings" tests. diff --git a/spectest/shared/phase0/epoch_processing/slashings_reset.go b/testing/spectest/shared/phase0/epoch_processing/slashings_reset.go similarity index 94% rename from spectest/shared/phase0/epoch_processing/slashings_reset.go rename to testing/spectest/shared/phase0/epoch_processing/slashings_reset.go index f1670b954..43a21c59d 100644 --- a/spectest/shared/phase0/epoch_processing/slashings_reset.go +++ b/testing/spectest/shared/phase0/epoch_processing/slashings_reset.go @@ -7,7 +7,7 @@ import ( "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" "github.com/prysmaticlabs/prysm/beacon-chain/state" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) // RunSlashingsResetTests executes "epoch_processing/slashings_reset" tests. diff --git a/spectest/shared/phase0/finality/BUILD.bazel b/testing/spectest/shared/phase0/finality/BUILD.bazel similarity index 85% rename from spectest/shared/phase0/finality/BUILD.bazel rename to testing/spectest/shared/phase0/finality/BUILD.bazel index 20ebb8042..bca9fd013 100644 --- a/spectest/shared/phase0/finality/BUILD.bazel +++ b/testing/spectest/shared/phase0/finality/BUILD.bazel @@ -4,7 +4,7 @@ go_library( name = "go_default_library", testonly = True, srcs = ["runner.go"], - importpath = "github.com/prysmaticlabs/prysm/spectest/shared/phase0/finality", + importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/finality", visibility = ["//visibility:public"], deps = [ "//beacon-chain/core/helpers:go_default_library", @@ -15,7 +15,7 @@ go_library( "//proto/prysm/v1alpha1/wrapper:go_default_library", "//shared/testutil:go_default_library", "//shared/testutil/require:go_default_library", - "//spectest/utils:go_default_library", + "//testing/spectest/utils:go_default_library", "@com_github_golang_snappy//:go_default_library", "@in_gopkg_d4l3k_messagediff_v1//:go_default_library", "@org_golang_google_protobuf//proto:go_default_library", diff --git a/spectest/shared/phase0/finality/runner.go b/testing/spectest/shared/phase0/finality/runner.go similarity index 98% rename from spectest/shared/phase0/finality/runner.go rename to testing/spectest/shared/phase0/finality/runner.go index a060751c6..9eb9e32a2 100644 --- a/spectest/shared/phase0/finality/runner.go +++ b/testing/spectest/shared/phase0/finality/runner.go @@ -14,7 +14,7 @@ import ( "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/wrapper" "github.com/prysmaticlabs/prysm/shared/testutil" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" "google.golang.org/protobuf/proto" "gopkg.in/d4l3k/messagediff.v1" ) diff --git a/spectest/shared/phase0/operations/BUILD.bazel b/testing/spectest/shared/phase0/operations/BUILD.bazel similarity index 85% rename from spectest/shared/phase0/operations/BUILD.bazel rename to testing/spectest/shared/phase0/operations/BUILD.bazel index 74d671179..f4760ff9e 100644 --- a/spectest/shared/phase0/operations/BUILD.bazel +++ b/testing/spectest/shared/phase0/operations/BUILD.bazel @@ -12,8 +12,8 @@ go_library( "proposer_slashing.go", "voluntary_exit.go", ], - importpath = "github.com/prysmaticlabs/prysm/spectest/shared/phase0/operations", - visibility = ["//spectest:__subpackages__"], + importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/operations", + visibility = ["//testing/spectest:__subpackages__"], deps = [ "//beacon-chain/core/blocks:go_default_library", "//beacon-chain/core/helpers:go_default_library", @@ -25,7 +25,7 @@ go_library( "//proto/prysm/v1alpha1/wrapper:go_default_library", "//shared/testutil:go_default_library", "//shared/testutil/require:go_default_library", - "//spectest/utils:go_default_library", + "//testing/spectest/utils:go_default_library", "@com_github_golang_snappy//:go_default_library", "@com_github_pkg_errors//:go_default_library", "@in_gopkg_d4l3k_messagediff_v1//:go_default_library", diff --git a/spectest/shared/phase0/operations/attestation.go b/testing/spectest/shared/phase0/operations/attestation.go similarity index 97% rename from spectest/shared/phase0/operations/attestation.go rename to testing/spectest/shared/phase0/operations/attestation.go index 96d51c58e..3112079b9 100644 --- a/spectest/shared/phase0/operations/attestation.go +++ b/testing/spectest/shared/phase0/operations/attestation.go @@ -13,7 +13,7 @@ import ( "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/block" "github.com/prysmaticlabs/prysm/shared/testutil" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) // RunAttestationTest executes "operations/attestation" tests. diff --git a/spectest/shared/phase0/operations/attester_slashing.go b/testing/spectest/shared/phase0/operations/attester_slashing.go similarity index 96% rename from spectest/shared/phase0/operations/attester_slashing.go rename to testing/spectest/shared/phase0/operations/attester_slashing.go index e42516fef..d44a36bc1 100644 --- a/spectest/shared/phase0/operations/attester_slashing.go +++ b/testing/spectest/shared/phase0/operations/attester_slashing.go @@ -13,7 +13,7 @@ import ( "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/block" "github.com/prysmaticlabs/prysm/shared/testutil" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) // RunAttesterSlashingTest executes "operations/attester_slashing" tests. diff --git a/spectest/shared/phase0/operations/block_header.go b/testing/spectest/shared/phase0/operations/block_header.go similarity index 98% rename from spectest/shared/phase0/operations/block_header.go rename to testing/spectest/shared/phase0/operations/block_header.go index cf7d4c758..a10f1ac81 100644 --- a/spectest/shared/phase0/operations/block_header.go +++ b/testing/spectest/shared/phase0/operations/block_header.go @@ -13,7 +13,7 @@ import ( ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" "github.com/prysmaticlabs/prysm/shared/testutil" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" "google.golang.org/protobuf/proto" "gopkg.in/d4l3k/messagediff.v1" ) diff --git a/spectest/shared/phase0/operations/deposit.go b/testing/spectest/shared/phase0/operations/deposit.go similarity index 96% rename from spectest/shared/phase0/operations/deposit.go rename to testing/spectest/shared/phase0/operations/deposit.go index 5b4d1a783..a03e05592 100644 --- a/spectest/shared/phase0/operations/deposit.go +++ b/testing/spectest/shared/phase0/operations/deposit.go @@ -12,7 +12,7 @@ import ( "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/block" "github.com/prysmaticlabs/prysm/shared/testutil" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) // RunDepositTest executes "operations/deposit" tests. diff --git a/spectest/shared/phase0/operations/helpers.go b/testing/spectest/shared/phase0/operations/helpers.go similarity index 100% rename from spectest/shared/phase0/operations/helpers.go rename to testing/spectest/shared/phase0/operations/helpers.go diff --git a/spectest/shared/phase0/operations/proposer_slashing.go b/testing/spectest/shared/phase0/operations/proposer_slashing.go similarity index 96% rename from spectest/shared/phase0/operations/proposer_slashing.go rename to testing/spectest/shared/phase0/operations/proposer_slashing.go index e2bec6518..61b808f1f 100644 --- a/spectest/shared/phase0/operations/proposer_slashing.go +++ b/testing/spectest/shared/phase0/operations/proposer_slashing.go @@ -13,7 +13,7 @@ import ( "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/block" "github.com/prysmaticlabs/prysm/shared/testutil" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) // RunProposerSlashingTest executes "operations/proposer_slashing" tests. diff --git a/spectest/shared/phase0/operations/voluntary_exit.go b/testing/spectest/shared/phase0/operations/voluntary_exit.go similarity index 96% rename from spectest/shared/phase0/operations/voluntary_exit.go rename to testing/spectest/shared/phase0/operations/voluntary_exit.go index 35ddebaff..c6595cf22 100644 --- a/spectest/shared/phase0/operations/voluntary_exit.go +++ b/testing/spectest/shared/phase0/operations/voluntary_exit.go @@ -12,7 +12,7 @@ import ( "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/block" "github.com/prysmaticlabs/prysm/shared/testutil" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) // RunVoluntaryExitTest executes "operations/voluntary_exit" tests. diff --git a/spectest/shared/phase0/rewards/BUILD.bazel b/testing/spectest/shared/phase0/rewards/BUILD.bazel similarity index 73% rename from spectest/shared/phase0/rewards/BUILD.bazel rename to testing/spectest/shared/phase0/rewards/BUILD.bazel index 7550c03f0..e8d90378f 100644 --- a/spectest/shared/phase0/rewards/BUILD.bazel +++ b/testing/spectest/shared/phase0/rewards/BUILD.bazel @@ -4,8 +4,8 @@ go_library( name = "go_default_library", testonly = True, srcs = ["rewards_penalties.go"], - importpath = "github.com/prysmaticlabs/prysm/spectest/shared/phase0/rewards", - visibility = ["//spectest:__subpackages__"], + importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/rewards", + visibility = ["//testing/spectest:__subpackages__"], deps = [ "//beacon-chain/core/epoch/precompute:go_default_library", "//beacon-chain/core/helpers:go_default_library", @@ -13,7 +13,7 @@ go_library( "//proto/prysm/v1alpha1:go_default_library", "//shared/testutil:go_default_library", "//shared/testutil/require:go_default_library", - "//spectest/utils:go_default_library", + "//testing/spectest/utils:go_default_library", "@com_github_golang_snappy//:go_default_library", ], ) diff --git a/spectest/shared/phase0/rewards/rewards_penalties.go b/testing/spectest/shared/phase0/rewards/rewards_penalties.go similarity index 98% rename from spectest/shared/phase0/rewards/rewards_penalties.go rename to testing/spectest/shared/phase0/rewards/rewards_penalties.go index 1ebf72d11..215f99ed9 100644 --- a/spectest/shared/phase0/rewards/rewards_penalties.go +++ b/testing/spectest/shared/phase0/rewards/rewards_penalties.go @@ -15,7 +15,7 @@ import ( ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" "github.com/prysmaticlabs/prysm/shared/testutil" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) // Delta contains list of rewards and penalties. diff --git a/spectest/shared/phase0/sanity/BUILD.bazel b/testing/spectest/shared/phase0/sanity/BUILD.bazel similarity index 82% rename from spectest/shared/phase0/sanity/BUILD.bazel rename to testing/spectest/shared/phase0/sanity/BUILD.bazel index a00038d12..3790883c7 100644 --- a/spectest/shared/phase0/sanity/BUILD.bazel +++ b/testing/spectest/shared/phase0/sanity/BUILD.bazel @@ -8,8 +8,8 @@ go_library( "block_processing.yaml.go", "slot_processing.go", ], - importpath = "github.com/prysmaticlabs/prysm/spectest/shared/phase0/sanity", - visibility = ["//spectest:__subpackages__"], + importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/sanity", + visibility = ["//testing/spectest:__subpackages__"], deps = [ "//beacon-chain/core/helpers:go_default_library", "//beacon-chain/core/transition:go_default_library", @@ -19,7 +19,7 @@ go_library( "//proto/prysm/v1alpha1/wrapper:go_default_library", "//shared/testutil:go_default_library", "//shared/testutil/require:go_default_library", - "//spectest/utils:go_default_library", + "//testing/spectest/utils:go_default_library", "@com_github_golang_snappy//:go_default_library", "@in_gopkg_d4l3k_messagediff_v1//:go_default_library", "@io_bazel_rules_go//go/tools/bazel:go_default_library", diff --git a/spectest/shared/phase0/sanity/block_processing.go b/testing/spectest/shared/phase0/sanity/block_processing.go similarity index 98% rename from spectest/shared/phase0/sanity/block_processing.go rename to testing/spectest/shared/phase0/sanity/block_processing.go index 414f87290..21f8454a5 100644 --- a/spectest/shared/phase0/sanity/block_processing.go +++ b/testing/spectest/shared/phase0/sanity/block_processing.go @@ -18,7 +18,7 @@ import ( "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/wrapper" "github.com/prysmaticlabs/prysm/shared/testutil" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" "google.golang.org/protobuf/proto" "gopkg.in/d4l3k/messagediff.v1" ) diff --git a/spectest/shared/phase0/sanity/block_processing.yaml.go b/testing/spectest/shared/phase0/sanity/block_processing.yaml.go similarity index 100% rename from spectest/shared/phase0/sanity/block_processing.yaml.go rename to testing/spectest/shared/phase0/sanity/block_processing.yaml.go diff --git a/spectest/shared/phase0/sanity/slot_processing.go b/testing/spectest/shared/phase0/sanity/slot_processing.go similarity index 97% rename from spectest/shared/phase0/sanity/slot_processing.go rename to testing/spectest/shared/phase0/sanity/slot_processing.go index 00a0ce60e..0c7df1229 100644 --- a/spectest/shared/phase0/sanity/slot_processing.go +++ b/testing/spectest/shared/phase0/sanity/slot_processing.go @@ -11,7 +11,7 @@ import ( ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" "github.com/prysmaticlabs/prysm/shared/testutil" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" "google.golang.org/protobuf/proto" "gopkg.in/d4l3k/messagediff.v1" ) diff --git a/spectest/shared/phase0/shuffling/core/shuffle/BUILD.bazel b/testing/spectest/shared/phase0/shuffling/core/shuffle/BUILD.bazel similarity index 72% rename from spectest/shared/phase0/shuffling/core/shuffle/BUILD.bazel rename to testing/spectest/shared/phase0/shuffling/core/shuffle/BUILD.bazel index 8a829ce2e..dc9272f0b 100644 --- a/spectest/shared/phase0/shuffling/core/shuffle/BUILD.bazel +++ b/testing/spectest/shared/phase0/shuffling/core/shuffle/BUILD.bazel @@ -7,13 +7,13 @@ go_library( "shuffle.go", "shuffle_test_format.go", ], - importpath = "github.com/prysmaticlabs/prysm/spectest/shared/phase0/shuffling/core/shuffle", - visibility = ["//spectest:__subpackages__"], + importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/shuffling/core/shuffle", + visibility = ["//testing/spectest:__subpackages__"], deps = [ "//beacon-chain/core/helpers:go_default_library", "//shared/testutil:go_default_library", "//shared/testutil/require:go_default_library", - "//spectest/utils:go_default_library", + "//testing/spectest/utils:go_default_library", "@com_github_ethereum_go_ethereum//common:go_default_library", "@com_github_go_yaml_yaml//:go_default_library", "@com_github_prysmaticlabs_eth2_types//:go_default_library", diff --git a/spectest/shared/phase0/shuffling/core/shuffle/shuffle.go b/testing/spectest/shared/phase0/shuffling/core/shuffle/shuffle.go similarity index 97% rename from spectest/shared/phase0/shuffling/core/shuffle/shuffle.go rename to testing/spectest/shared/phase0/shuffling/core/shuffle/shuffle.go index 292fe3aa9..fc5361302 100644 --- a/spectest/shared/phase0/shuffling/core/shuffle/shuffle.go +++ b/testing/spectest/shared/phase0/shuffling/core/shuffle/shuffle.go @@ -13,7 +13,7 @@ import ( "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" "github.com/prysmaticlabs/prysm/shared/testutil" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) // RunShuffleTests executes "shuffling/core/shuffle" tests. diff --git a/spectest/shared/phase0/shuffling/core/shuffle/shuffle_test_format.go b/testing/spectest/shared/phase0/shuffling/core/shuffle/shuffle_test_format.go similarity index 100% rename from spectest/shared/phase0/shuffling/core/shuffle/shuffle_test_format.go rename to testing/spectest/shared/phase0/shuffling/core/shuffle/shuffle_test_format.go diff --git a/spectest/shared/phase0/ssz_static/BUILD.bazel b/testing/spectest/shared/phase0/ssz_static/BUILD.bazel similarity index 70% rename from spectest/shared/phase0/ssz_static/BUILD.bazel rename to testing/spectest/shared/phase0/ssz_static/BUILD.bazel index e12f0be29..d2561ec20 100644 --- a/spectest/shared/phase0/ssz_static/BUILD.bazel +++ b/testing/spectest/shared/phase0/ssz_static/BUILD.bazel @@ -4,14 +4,14 @@ go_library( name = "go_default_library", testonly = True, srcs = ["ssz_static.go"], - importpath = "github.com/prysmaticlabs/prysm/spectest/shared/phase0/ssz_static", - visibility = ["//spectest:__subpackages__"], + importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/ssz_static", + visibility = ["//testing/spectest:__subpackages__"], deps = [ "//beacon-chain/state/v1:go_default_library", "//proto/prysm/v1alpha1:go_default_library", "//shared/testutil:go_default_library", "//shared/testutil/require:go_default_library", - "//spectest/utils:go_default_library", + "//testing/spectest/utils:go_default_library", "@com_github_ferranbt_fastssz//:go_default_library", "@com_github_golang_snappy//:go_default_library", ], diff --git a/spectest/shared/phase0/ssz_static/ssz_static.go b/testing/spectest/shared/phase0/ssz_static/ssz_static.go similarity index 98% rename from spectest/shared/phase0/ssz_static/ssz_static.go rename to testing/spectest/shared/phase0/ssz_static/ssz_static.go index 1700daf11..76fce8679 100644 --- a/spectest/shared/phase0/ssz_static/ssz_static.go +++ b/testing/spectest/shared/phase0/ssz_static/ssz_static.go @@ -13,7 +13,7 @@ import ( ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" "github.com/prysmaticlabs/prysm/shared/testutil" "github.com/prysmaticlabs/prysm/shared/testutil/require" - "github.com/prysmaticlabs/prysm/spectest/utils" + "github.com/prysmaticlabs/prysm/testing/spectest/utils" ) // SSZRoots -- diff --git a/spectest/utils/BUILD.bazel b/testing/spectest/utils/BUILD.bazel similarity index 86% rename from spectest/utils/BUILD.bazel rename to testing/spectest/utils/BUILD.bazel index 77befe98f..5cd9b799e 100644 --- a/spectest/utils/BUILD.bazel +++ b/testing/spectest/utils/BUILD.bazel @@ -7,8 +7,8 @@ go_library( "config.go", "utils.go", ], - importpath = "github.com/prysmaticlabs/prysm/spectest/utils", - visibility = ["//spectest:__subpackages__"], + importpath = "github.com/prysmaticlabs/prysm/testing/spectest/utils", + visibility = ["//testing/spectest:__subpackages__"], deps = [ "//shared/params:go_default_library", "//shared/testutil/require:go_default_library", diff --git a/spectest/utils/config.go b/testing/spectest/utils/config.go similarity index 100% rename from spectest/utils/config.go rename to testing/spectest/utils/config.go diff --git a/spectest/utils/config_test.go b/testing/spectest/utils/config_test.go similarity index 100% rename from spectest/utils/config_test.go rename to testing/spectest/utils/config_test.go diff --git a/spectest/utils/utils.go b/testing/spectest/utils/utils.go similarity index 100% rename from spectest/utils/utils.go rename to testing/spectest/utils/utils.go