prysm-pulse/beacon-chain/state
Radosław Kapka 8455656597
Use beacon state interfaces instead of concrete structs (#10195)
* return interface from testing/util

* remove usages of v1

* return interface from InitializeFromProto

* return interface from InitializeFromProto

* fix test

* fix interface visibility

* more fixes

* use InitializeFromProtoUnsafe in testing/util

* return early error from mock

* v2

* fix tests

* remove unnecessary assertion

* use struct in nil state test

* Revert "Auxiliary commit to revert individual files from 6bb528c2c5df2446ad18450009f63f44318d41a9"

This reverts commit 7d70238a301209f6dbfc8ff1d81b16e33b0bd67d.

* use struct in sync committee test

* v3

* use InitializeFromProtoUnsafe in mock

* use version information

* Revert "Auxiliary commit to revert individual files from 6bb528c2c5df2446ad18450009f63f44318d41a9"

This reverts commit 5d5e6f2884d21caec7530c16ad2a0d0d27c44aa1.

* revert changes to ClearPreGenesisData

* fix build error

* remove error from PreGenesisState

* bzl
2022-02-08 09:30:06 +00:00
..
fieldtrie Native beacon state: fieldtrie package (#10146) 2022-02-02 12:18:06 +00:00
genesis Use beacon state interfaces instead of concrete structs (#10195) 2022-02-08 09:30:06 +00:00
state-native Merge State Cleanup (#10011) 2022-02-02 17:51:24 +00:00
stategen Fix Certain Edge Cases With the Analyzer (#10164) 2022-02-02 14:11:31 +00:00
stateutil Remove libfuzzer / afl based builds in favor of go 1.18 fuzz testing (#10065) 2022-01-20 04:51:02 +00:00
types #10036 Replace codename Merge with Bellatrix (1st step) (#10044) 2022-01-10 16:47:30 +00:00
v1 Use beacon state interfaces instead of concrete structs (#10195) 2022-02-08 09:30:06 +00:00
v2 Use beacon state interfaces instead of concrete structs (#10195) 2022-02-08 09:30:06 +00:00
v3 Use beacon state interfaces instead of concrete structs (#10195) 2022-02-08 09:30:06 +00:00
altair.go Clean up duplicated imports (#9354) 2021-08-10 14:55:24 -05:00
bellatrix.go Use beacon state interfaces instead of concrete structs (#10195) 2022-02-08 09:30:06 +00:00
BUILD.bazel Use beacon state interfaces instead of concrete structs (#10195) 2022-02-08 09:30:06 +00:00
error.go Move ErrNilValidatorsInState from one in each state version to a common one (#10074) 2022-01-18 08:19:20 +00:00
phase0.go Split state package into state-proto and state-native (#10069) 2022-01-13 12:23:53 +01:00
prometheus.go Split state package into state-proto and state-native (#10069) 2022-01-13 12:23:53 +01:00