mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-04 00:44:27 +00:00
ec6309a928
* Flat spanner improvements * Fix tests, add more to ES type * Move types to detection/types * Fix * Fix comments * Fixes * Use SlotTickerWithOffset for StreamIndexedAttestations (#5999) * Change streamindexed to slot ticker with offset * Make 2/3rds * Add test * Merge branch 'master' of github.com:prysmaticlabs/prysm into ticker-offset * Add check for offset * Merge branch 'master' of github.com:prysmaticlabs/prysm into ticker-offset * Fix test * Merge refs/heads/master into ticker-offset * Fix long running E2E after v0.12 changes (#6008) * Fix deposits in long run e2e * Fix participation Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> * Small fixes for slasher (#6021) * Small fixes for slasher * Remove useless log * Fix test Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> * Add voluntary exit processing to E2E (#6016) * Add voluntary exit to E2E * Fix long urnning e2e * Fix for comments Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> * Change slashing pool to use spec code (#6030) * Change slashing pool to use more spec code * Fix test * Undo unneeded changes * Make sure to catch regression Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> * Fix long-running E2E (#6047) * Fixes for long running E2E * Merge branch 'master' of github.com:prysmaticlabs/prysm into fix-e2e * Move metrics check up * Merge refs/heads/master into fix-e2e * E2E Improvements (#6091) * Some fixes * Merge branch 'master' into e2e-fixes * Add another small delay * Merge branch 'e2e-fixes' of github.com:prysmaticlabs/prysm into e2e-fixes * Remove genesis test, make normal e2e run longer * Gaz * more fixes * Merge branch 'master' into e2e-fixes * Merge refs/heads/master into e2e-fixes * Fix comment * Merge refs/heads/master into e2e-fixes * Begin changing tests * Start work on tests * Redo tests for EpochStore * Add test for highest index * Fixes * Gaz * Fix Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
67 lines
2.4 KiB
Python
67 lines
2.4 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library")
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"attester_slashings.go",
|
|
"block_header.go",
|
|
"chain_data.go",
|
|
"indexed_attestations.go",
|
|
"kv.go",
|
|
"proposer_slashings.go",
|
|
"schema.go",
|
|
"spanner.go",
|
|
"spanner_new.go",
|
|
"validator_id_pubkey.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/slasher/db/kv",
|
|
visibility = ["//slasher:__subpackages__"],
|
|
deps = [
|
|
"//beacon-chain/core/helpers:go_default_library",
|
|
"//shared/bytesutil:go_default_library",
|
|
"//shared/hashutil:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
"//slasher/cache:go_default_library",
|
|
"//slasher/db/types:go_default_library",
|
|
"//slasher/detection/attestations/types:go_default_library",
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_prometheus_client_golang//prometheus:go_default_library",
|
|
"@com_github_prometheus_client_golang//prometheus/promauto:go_default_library",
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
"@io_etcd_go_bbolt//:go_default_library",
|
|
"@io_opencensus_go//trace:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"attester_slashings_test.go",
|
|
"benchmark_test.go",
|
|
"block_header_test.go",
|
|
"chain_data_test.go",
|
|
"indexed_attestations_test.go",
|
|
"kv_test.go",
|
|
"proposer_slashings_test.go",
|
|
"spanner_new_test.go",
|
|
"spanner_test.go",
|
|
"validator_id_pubkey_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//beacon-chain/core/helpers:go_default_library",
|
|
"//shared/bytesutil:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
"//shared/testutil:go_default_library",
|
|
"//slasher/db/types:go_default_library",
|
|
"//slasher/detection/attestations/types:go_default_library",
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
|
"@in_gopkg_d4l3k_messagediff_v1//:go_default_library",
|
|
],
|
|
)
|