-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleaner genesis state population #11809
Changes from 22 commits
5b3993f
5f172d2
f8ef78d
e888be8
5deeddc
dbd2f9a
5d1e53d
481d9a4
1efdb17
6763c1d
019fcb3
d71bfc7
78513aa
92b1dac
f6d9e20
b627130
0b1c3fd
6e9593f
fba4388
31c0770
76a6fd2
fd80777
a44cc40
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
load("@prysm//tools/go:def.bzl", "go_library") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I felt a little meh about the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Curious, is there any reason the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. An out-of-band discussion led us to moving this file to |
||
|
||
go_library( | ||
name = "go_default_library", | ||
srcs = ["premine-state.go"], | ||
importpath = "github.com/prysmaticlabs/prysm/v3/testing/spectypes", | ||
visibility = ["//visibility:public"], | ||
deps = [ | ||
"//beacon-chain/core/altair:go_default_library", | ||
"//beacon-chain/core/blocks:go_default_library", | ||
"//beacon-chain/core/helpers:go_default_library", | ||
"//beacon-chain/state:go_default_library", | ||
"//beacon-chain/state/state-native:go_default_library", | ||
"//beacon-chain/state/stateutil:go_default_library", | ||
"//config/fieldparams:go_default_library", | ||
"//config/params:go_default_library", | ||
"//consensus-types/blocks:go_default_library", | ||
"//container/trie:go_default_library", | ||
"//crypto/bls:go_default_library", | ||
"//encoding/bytesutil:go_default_library", | ||
"//proto/engine/v1:go_default_library", | ||
"//proto/prysm/v1alpha1:go_default_library", | ||
"//runtime/interop:go_default_library", | ||
"//runtime/version:go_default_library", | ||
"@com_github_ethereum_go_ethereum//core/types:go_default_library", | ||
"@com_github_pkg_errors//:go_default_library", | ||
], | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added these setters so that the
.empty
method ofpremineGenesisConfig
could purely use thestate.BeaconState
interface to prepare the BeaconState.