Skip to content

Commit

Permalink
Add testing utility methods to return randomly populated ePBS objects
Browse files Browse the repository at this point in the history
  • Loading branch information
potuz committed May 7, 2024
1 parent 9c744f4 commit 21b2300
Show file tree
Hide file tree
Showing 6 changed files with 437 additions and 48 deletions.
1 change: 0 additions & 1 deletion testing/util/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ go_library(
"electra.go",
"helpers.go",
"merge.go",
"payload_attestation.go",
"state.go",
"sync_aggregate.go",
"sync_committee.go",
Expand Down
45 changes: 0 additions & 45 deletions testing/util/payload_attestation.go

This file was deleted.

15 changes: 15 additions & 0 deletions testing/util/random/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
load("@prysm//tools/go:def.bzl", "go_library")

go_library(
name = "go_default_library",
srcs = ["epbs.go"],
importpath = "github.com/prysmaticlabs/prysm/v5/testing/util/random",
visibility = ["//visibility:public"],
deps = [
"//config/fieldparams:go_default_library",
"//consensus-types/primitives:go_default_library",
"//proto/engine/v1:go_default_library",
"//proto/prysm/v1alpha1:go_default_library",
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
],
)
Loading

0 comments on commit 21b2300

Please sign in to comment.