mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-26 13:18:57 +00:00
79754bded2
* update ethereumapis deps * V1AttToV1Alpha1 migration * Implementation plus happy path test * fix root variable names * Invalid attestation test * gzl * mod tidy * use a single append to concatenate two slices * remove outdated comment from attestation processing * invoke ProcessAttestationNoVerifySignature when validating attestations * implement missing PoolMock members * use new VerifyAttestationNoVerifySignature function
32 lines
1.2 KiB
Python
32 lines
1.2 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["migration.go"],
|
|
importpath = "github.com/prysmaticlabs/prysm/proto/migration",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"@com_github_golang_protobuf//proto:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1:go_default_library",
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["migration_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//shared/bytesutil:go_default_library",
|
|
"//shared/testutil:go_default_library",
|
|
"//shared/testutil/assert:go_default_library",
|
|
"//shared/testutil/require:go_default_library",
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1:go_default_library",
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
|
],
|
|
)
|