prysm-pulse/beacon-chain/db
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
..
filters Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
iface Save sync tips to DB (#10171) 2022-02-06 18:00:47 +00:00
kv Use beacon state interfaces instead of concrete structs (#10195) 2022-02-08 09:30:06 +00:00
slasherkv Standardize config overriding in tests across repo (#9998) 2021-12-10 04:18:47 +00:00
testing Slasher Simulator Code for Testing Optimized Slasher Behavior (#9695) 2021-09-29 02:27:21 +00:00
alias.go Reduce Usage of Eth2 Terminology in Prysm (#9104) 2021-06-26 19:00:33 +00:00
BUILD.bazel Remove libfuzzer / afl based builds in favor of go 1.18 fuzz testing (#10065) 2022-01-20 04:51:02 +00:00
db_test.go Verify interface compliance using typed nil instead of dereferencing and conversion (#7489) 2020-10-10 00:36:48 +00:00
db.go Reduce Usage of Eth2 Terminology in Prysm (#9104) 2021-06-26 19:00:33 +00:00
errors.go allow checkpoint or genesis origin; refactoring (#9976) 2021-12-09 22:23:00 +00:00
log.go Unify the pattern of using a package-level logger (#8245) 2021-01-11 20:03:28 +00:00
restore_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
restore.go Miscellaneous Packages from Shared Into Proper Folders (#9638) 2021-09-21 18:11:16 +00:00