add push raises to tests; rm unused test code (#5948)

This commit is contained in:
tersec 2024-02-24 03:41:58 +00:00 committed by GitHub
parent 95f4b7ddaa
commit bf6b5a316f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 5 deletions

View File

@ -83,11 +83,6 @@ proc initialLoad(
path/"anchor_block.ssz_snappy",
SSZ, BlockType)
signedBlock = ForkedSignedBeaconBlock.init(BlockType.kind.SignedBeaconBlock(
message: blck,
# signature: - unused as it's trusted
root: hash_tree_root(blck)))
ChainDAGRef.preInit(db, forkedState[])
let

View File

@ -5,6 +5,7 @@
# * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0).
# at your option. This file may not be copied, modified, or distributed except according to those terms.
{.push raises: [].}
{.used.}
import