nimbus-eth2/beacon_chain/spec/eth2_apis/rpc_beacon_client.nim
Jacek Sieka 7a622e8505
rework spec imports (#2779)
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
2021-08-12 13:08:20 +00:00

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")