mode = ScriptMode.Verbose import beacon_chain/version as ver packageName = "beacon_chain" version = versionAsStr author = "Status Research & Development GmbH" description = "Eth2.0 research implementation of the beacon chain" license = "MIT or Apache License 2.0" installDirs = @["beacon_chain", "research"] skipDirs = @["nfuzz"] bin = @[ "beacon_chain/beacon_node", "research/serialized_sizes", ] ### Dependencies requires "nim >= 0.19.0", "blscurve", "chronicles", "chronos", "confutils", "eth", "json_rpc", "json_serialization", "libbacktrace", "libp2p", "metrics", "nimcrypto", "serialization", "stew", "prompt", "web3", "yaml" ### Helper functions proc buildBinary(name: string, srcDir = "./", params = "", cmdParams = "", lang = "c") = if not dirExists "build": mkDir "build" # allow something like "nim test --verbosity:0 --hints:off beacon_chain.nims" var extra_params = params for i in 2..