mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 04:47:18 +00:00
4976461e62
* Fix odd placement of import * Puts all of NewGenesisBlock() into GenesisBlock() Also removes the unneeded TODO * Add error check for db retrieval * Add missing bazel imports * Add back NewGenesisBlock and create GenesisBlock in NewBeaconChian * Fix GenesisBlock() to grab the block from memory db * Fix according to requested changes Fix GenesisBlock() to grab the block from memory db Fix odd placement of import Properly add ParentHash to Block Remove no longer needed if statement condition Puts all of NewGenesisBlock() into GenesisBlock() Also removes the unneeded TODO Add error check for db retrieval Add case for if the beaconChain is missing a genesisBlock Add missing bazel imports Add back NewGenesisBlock and create GenesisBlock in NewBeaconChian Remove duplicate code Change genesis block timestamp to unix 0 Adds info log when a genesis block isn't found * Provide fakeClock to pass tests with a mocked genesisBlock * Fix unexpected log in test from addition of genesis block * Add tests for clock |
||
---|---|---|
.. | ||
block.go | ||
BUILD.bazel | ||
interfaces.go | ||
state.go |