mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-09 03:01:19 +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
42 lines
1.2 KiB
Python
42 lines
1.2 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
testonly = True,
|
|
srcs = [
|
|
"aggregate_pubkeys_test.yaml.go",
|
|
"aggregate_sigs_test.yaml.go",
|
|
"msg_hash_compressed_test.yaml.go",
|
|
"msg_hash_uncompressed_test.yaml.go",
|
|
"priv_to_pub_test.yaml.go",
|
|
"sign_msg_test.yaml.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/bls/spectest",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
size = "small",
|
|
srcs = [
|
|
"aggregate_pubkeys_test.go",
|
|
"aggregate_sigs_test.go",
|
|
"msg_hash_compressed_test.go",
|
|
"msg_hash_uncompressed_test.go",
|
|
"priv_to_pub_test.go",
|
|
"sign_msg_test.go",
|
|
],
|
|
data = [
|
|
"@eth2_spec_tests_general//:test_data",
|
|
],
|
|
embed = [":go_default_library"],
|
|
tags = ["spectest"],
|
|
deps = [
|
|
"//shared/bls:go_default_library",
|
|
"//shared/bytesutil:go_default_library",
|
|
"//shared/testutil:go_default_library",
|
|
"@com_github_ghodss_yaml//:go_default_library",
|
|
"@com_github_phoreproject_bls//:go_default_library",
|
|
],
|
|
)
|