mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-07 02:02:18 +00:00
0f65e51d1e
* Add Save blob and tests * Remove locks * Remove test cleanup * Fix go mod * Cleanup * Add checksum * Add file hashing to fileutil * Move test * Check data when exists * Add one more test * Rename * Gaz * Add packaged level comment * Save full sidecar + reviews * Use path builder in test * Use other BlobSidecar * Cleanup * Fix gosec --------- Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
29 lines
919 B
Python
29 lines
919 B
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["save_blob.go"],
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/beacon-chain/db/filesystem",
|
|
visibility = ["//visibility:private"],
|
|
deps = [
|
|
"//io/file:go_default_library",
|
|
"//proto/eth/v2:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_prysmaticlabs_fastssz//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["save_blob_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//config/fieldparams:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//io/file:go_default_library",
|
|
"//proto/eth/v2:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
"@com_github_prysmaticlabs_fastssz//:go_default_library",
|
|
],
|
|
)
|