mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
Eip 7549 core (#14037)
* interfaces move * build fix * remove annoying warning * more build fixes * review * core code * tests part 1 * tests part 2 * TranslateParticipation doesn't need Electra * remove unused function * pending atts don't need Electra * tests part 3 * build fixes * review * remove newline * review * fix test
This commit is contained in:
@@ -3,6 +3,8 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
||||
go_library(
|
||||
name = "go_default_library",
|
||||
srcs = [
|
||||
"committee_bits_mainnet.go",
|
||||
"committee_bits_minimal.go", # keep
|
||||
"committee_index.go",
|
||||
"domain.go",
|
||||
"epoch.go",
|
||||
@@ -20,6 +22,7 @@ go_library(
|
||||
deps = [
|
||||
"//math:go_default_library",
|
||||
"@com_github_prysmaticlabs_fastssz//:go_default_library",
|
||||
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
9
consensus-types/primitives/committee_bits_mainnet.go
Normal file
9
consensus-types/primitives/committee_bits_mainnet.go
Normal file
@@ -0,0 +1,9 @@
|
||||
//go:build !minimal
|
||||
|
||||
package primitives
|
||||
|
||||
import "github.com/prysmaticlabs/go-bitfield"
|
||||
|
||||
func NewAttestationCommitteeBits() bitfield.Bitvector64 {
|
||||
return bitfield.NewBitvector64()
|
||||
}
|
||||
9
consensus-types/primitives/committee_bits_minimal.go
Normal file
9
consensus-types/primitives/committee_bits_minimal.go
Normal file
@@ -0,0 +1,9 @@
|
||||
//go:build minimal
|
||||
|
||||
package primitives
|
||||
|
||||
import "github.com/prysmaticlabs/go-bitfield"
|
||||
|
||||
func NewAttestationCommitteeBits() bitfield.Bitvector4 {
|
||||
return bitfield.NewBitvector4()
|
||||
}
|
||||
Reference in New Issue
Block a user