prysm-pulse/beacon-chain/core/blocks
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
..
testdata Fuzz: sigp/beaconfuzz#91 (#7725) 2020-11-04 14:05:48 +00:00
attestation_regression_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
attestation_test.go Use beacon state interfaces instead of concrete structs (#10195) 2022-02-08 09:30:06 +00:00
attestation.go Use BeaconBlockIsNil helper more (#9834) 2021-11-01 14:13:05 +00:00
attester_slashing_test.go #10036 Replace codename Merge with Bellatrix (2nd step) (#10116) 2022-01-26 07:24:47 +00:00
attester_slashing.go #10036 Replace codename Merge with Bellatrix (2nd step) (#10116) 2022-01-26 07:24:47 +00:00
block_operations_fuzz_test.go Use beacon state interfaces instead of concrete structs (#10195) 2022-02-08 09:30:06 +00:00
block_regression_test.go core: refactor signing and domain methods from helper to core/signing pkg (#9520) 2021-09-27 16:19:20 +00:00
BUILD.bazel Use beacon state interfaces instead of concrete structs (#10195) 2022-02-08 09:30:06 +00:00
deposit_test.go Use fieldparams for BLS public key (#10042) 2022-01-06 17:33:08 +00:00
deposit.go Merkle Proof Support for BeaconState Finalized Root and Sync Committees (#10029) 2021-12-19 17:02:42 -08:00
eth1_data_test.go Use beacon state interfaces instead of concrete structs (#10195) 2022-02-08 09:30:06 +00:00
eth1_data.go Move Shared/Params Into Config/Params (#9642) 2021-09-21 19:59:25 +00:00
exit_test.go Move slot epoch from core to time pkg (#9714) 2021-09-30 19:00:14 +00:00
exit.go Refactor: move functions beacon-chain/core/time -> time/slots (#9719) 2021-10-01 15:17:57 -05:00
genesis_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
genesis.go Use signature length from fieldparams (#10019) 2021-12-15 15:14:30 -05:00
header_test.go Rename To Signature Batch (#9926) 2021-11-23 17:57:06 +01:00
header.go Use BeaconBlockIsNil helper more (#9834) 2021-11-01 14:13:05 +00:00
log.go Split block_operations.go into smaller files (#6495) 2020-07-06 15:27:42 -07:00
payload_test.go add isOptimisticCandidateBlock and IsExecutionBlock (#10191) 2022-02-07 01:26:20 +00:00
payload.go add isOptimisticCandidateBlock and IsExecutionBlock (#10191) 2022-02-07 01:26:20 +00:00
proposer_slashing_regression_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
proposer_slashing_test.go #10036 Replace codename Merge with Bellatrix (2nd step) (#10116) 2022-01-26 07:24:47 +00:00
proposer_slashing.go #10036 Replace codename Merge with Bellatrix (2nd step) (#10116) 2022-01-26 07:24:47 +00:00
randao_test.go Rename To Signature Batch (#9926) 2021-11-23 17:57:06 +01:00
randao.go Use BeaconBlockIsNil helper more (#9834) 2021-11-01 14:13:05 +00:00
signature_test.go Process Slashings for Newly Optimized Slasher (#9687) 2021-09-28 10:27:40 -05:00
signature.go Rename To Signature Batch (#9926) 2021-11-23 17:57:06 +01:00