mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-09 13:56:23 +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
17 lines
579 B
Nim
17 lines
579 B
Nim
import
|
|
std/os,
|
|
json_rpc/rpcclient,
|
|
"."/[rpc_types, eth2_json_rpc_serialization],
|
|
../datatypes/[phase0, altair]
|
|
|
|
export
|
|
rpcclient,
|
|
rpc_types,
|
|
eth2_json_rpc_serialization
|
|
|
|
createRpcSigs(RpcClient, currentSourcePath.parentDir / "rpc_beacon_calls.nim")
|
|
createRpcSigs(RpcClient, currentSourcePath.parentDir / "rpc_debug_calls.nim")
|
|
createRpcSigs(RpcClient, currentSourcePath.parentDir / "rpc_nimbus_calls.nim")
|
|
createRpcSigs(RpcClient, currentSourcePath.parentDir / "rpc_node_calls.nim")
|
|
createRpcSigs(RpcClient, currentSourcePath.parentDir / "rpc_validator_calls.nim")
|