mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-10 07:58:22 -05:00
Add electra DB (#13975)
* Add electra DB * Fix typo * Revert deep ssz change --------- Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
This commit is contained in:
@@ -7,6 +7,7 @@ go_library(
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
"//consensus-types/primitives:go_default_library",
|
||||
"//math:go_default_library",
|
||||
"@org_golang_google_protobuf//proto:go_default_library",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -5,6 +5,7 @@ import (
|
||||
"unsafe"
|
||||
|
||||
"github.com/prysmaticlabs/prysm/v5/consensus-types/primitives"
|
||||
"github.com/prysmaticlabs/prysm/v5/math"
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
@@ -230,6 +231,8 @@ func deepValueBaseTypeEqual(v1, v2 reflect.Value) bool {
|
||||
return v1.Interface().(primitives.ValidatorIndex) == v2.Interface().(primitives.ValidatorIndex)
|
||||
case "CommitteeIndex":
|
||||
return v1.Interface().(primitives.CommitteeIndex) == v2.Interface().(primitives.CommitteeIndex)
|
||||
case "Gwei":
|
||||
return v1.Interface().(math.Gwei) == v2.Interface().(math.Gwei)
|
||||
}
|
||||
return v1.Interface().(uint64) == v2.Interface().(uint64)
|
||||
case reflect.Uint32:
|
||||
|
||||
Reference in New Issue
Block a user