mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-28 14:17:17 +00:00
5e939378d0
* Ignore latest messages in fork choice prior to latest justified * Make sure Compact Committee Roots isn't changed by process_final_updates * WIP add attestation bitfields length to match committee length * Begin work on updating spec tests to 0.8.2 * WIP set up for new spec test structure * Fix slashings * Get mainnet tests mostly passing for attestations and attester slashings * Fix process attestation test * Undo change * Complete spec tests for all operations Still need sanity block tests * Fix BLS sigs * Reduce amount of reused code in core/blocks/spectests/ * Fix tests * Update block sanity tests to 0.8.2 * Update epoch spec tests to 0.8.2 * Clean up all tests and fix shuffling/epoch tests * WIP update bls tests to 0.8.2 * WIP update bls tests to 0.8.3 * Finish BLS spectest update to 0.8.3 * Fix shuffling spec tests * Fix more tests * Update proto ssz spec tests to 0.8.3 * Attempt to fix PrevEpochFFGDataMismatches test * Goimports * Fix documentation * fix test * Use custom general spec tests * Reduce code footprint * Remove unneeded minimal skip * Fix for comments * Fix for comments * Fix test * Small fixes * Cleanup block spec tests a bit * Undo change * fix validator * Fix validator tests * Run gazelle * Fix error output for epoch spec tests
64 lines
1.9 KiB
Python
64 lines
1.9 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
|
|
test_suite(
|
|
name = "go_default_test",
|
|
tags = ["spectest"],
|
|
tests = [
|
|
":go_mainnet_test",
|
|
":go_minimal_test",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_mainnet_test",
|
|
size = "medium",
|
|
srcs = glob(
|
|
["*_test.go"],
|
|
exclude = ["*_minimal_test.go"],
|
|
),
|
|
data = [
|
|
"@eth2_spec_tests_mainnet//:test_data",
|
|
],
|
|
shard_count = 2,
|
|
tags = ["spectest"],
|
|
deps = [
|
|
"//beacon-chain/core/helpers:go_default_library",
|
|
"//beacon-chain/core/state:go_default_library",
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
"//proto/eth/v1alpha1:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
"//shared/params/spectest:go_default_library",
|
|
"//shared/testutil:go_default_library",
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
|
"@com_github_prysmaticlabs_go_ssz//:go_default_library",
|
|
"@in_gopkg_d4l3k_messagediff_v1//:go_default_library",
|
|
"@io_bazel_rules_go//go/tools/bazel:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_minimal_test",
|
|
size = "small",
|
|
srcs = glob(
|
|
["*_test.go"],
|
|
exclude = ["*_mainnet_test.go"],
|
|
),
|
|
data = [
|
|
"@eth2_spec_tests_minimal//:test_data",
|
|
],
|
|
tags = ["spectest"],
|
|
deps = [
|
|
"//beacon-chain/core/helpers:go_default_library",
|
|
"//beacon-chain/core/state:go_default_library",
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
"//proto/eth/v1alpha1:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
"//shared/params/spectest:go_default_library",
|
|
"//shared/testutil:go_default_library",
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
|
"@com_github_prysmaticlabs_go_ssz//:go_default_library",
|
|
"@in_gopkg_d4l3k_messagediff_v1//:go_default_library",
|
|
"@io_bazel_rules_go//go/tools/bazel:go_default_library",
|
|
],
|
|
)
|