prysm-pulse/beacon-chain/core/epoch/precompute
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
..
attestation_test.go #10036 Replace codename Merge with Bellatrix (1st step) (#10044) 2022-01-10 16:47:30 +00:00
attestation.go #10036 Replace codename Merge with Bellatrix (1st step) (#10044) 2022-01-10 16:47:30 +00:00
BUILD.bazel Use field params root length (#10012) 2021-12-14 18:42:05 +00:00
justification_finalization_test.go Use field params root length (#10012) 2021-12-14 18:42:05 +00:00
justification_finalization.go Refactor: move functions beacon-chain/core/time -> time/slots (#9719) 2021-10-01 15:17:57 -05:00
new_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
new.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
reward_penalty_test.go Use beacon state interfaces instead of concrete structs (#10195) 2022-02-08 09:30:06 +00:00
reward_penalty.go Move slot epoch from core to time pkg (#9714) 2021-09-30 19:00:14 +00:00
slashing_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
slashing.go Move slot epoch from core to time pkg (#9714) 2021-09-30 19:00:14 +00:00
type.go Use prev epoch source naming correctly (#9840) 2021-11-03 21:50:41 +00:00