mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 23:48:06 -05:00
* Rename existing AttestationCache * Cache with simple Add * fix import cycle * logic for unaggregated, aggregated and block attestations * some small fixes * remove Seen * finishing touches * feature flag * extract forkchoice atts to separate type * gate new functionality behind feature flag * revert test files * preparing for review * change Id to [32]byte * Potuz's review * Potuz's review pt 2 * Nishant's review * keep flat list of atts * fix ForkchoiceAttestations() function * Tests for Add, GetAll, Count * Tests for remaining functions * use DeepEqual * fix tests * documentation * changelog <3 * v2 handlers * nil check for forkchoice atts * guard against 0 bits set * fix failing test * Preston's review * better godocs
14 lines
451 B
Python
14 lines
451 B
Python
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["map.go"],
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/beacon-chain/operations/attestations/attmap",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//proto/prysm/v1alpha1/attestation:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
],
|
|
)
|