mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-10 14:26:26 +00:00
7a622e8505
The spec imports are a mess to work with, so this branch cleans them up a bit to ensure that we avoid generic sandwitches and that importing stuff generally becomes easier. * reexport crypto/digest/presets because these are part of the public symbol set of the rest of the spec types * don't export `merge` types from `base` - this causes circular deps * fix circular deps in `ssz/spec_types` - this is the first step in disentangling ssz from spec * be explicit about phase0 vs altair - longer term, `altair` will become the "natural" type set, then merge and so on, so no point in giving `phase0` special preferential treatment
11 lines
355 B
Nim
11 lines
355 B
Nim
import
|
|
strutils,
|
|
json_serialization/std/[sets, net], serialization/errors,
|
|
../spec/datatypes/[base, merge],
|
|
../spec/eth2_apis/rpc_beacon_client,
|
|
json_rpc/[client, jsonmarshal]
|
|
|
|
from os import DirSep, AltSep
|
|
template sourceDir: string = currentSourcePath.rsplit({DirSep, AltSep}, 1)[0]
|
|
createRpcSigs(RpcClient, sourceDir & "/eth_merge_sigs.nim")
|