VC: Remove BN network dependencies. (#4247)
* Remove one more and probably last one implicit `eth2_network` dependency from validator client. * Add note comment. * Fix tests issue.
This commit is contained in:
parent
6c73015562
commit
fa7b37a58a
|
@ -4,16 +4,20 @@
|
|||
# * 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.
|
||||
|
||||
# NOTE: This module has been used in both `beacon_node` and `validator_client`,
|
||||
# please keep imports clear of `rest_utils` or any other module which imports
|
||||
# beacon node's specific networking code.
|
||||
|
||||
import std/[tables, os, strutils, uri]
|
||||
import chronos, chronicles, confutils,
|
||||
stew/[base10, results, io2], blscurve
|
||||
stew/[base10, results, io2], blscurve, presto
|
||||
import ".."/spec/[keystore, crypto]
|
||||
import ".."/spec/eth2_apis/rest_keymanager_types
|
||||
import ".."/validators/[slashing_protection, keystore_management,
|
||||
validator_pool]
|
||||
import ".."/rpc/rest_utils
|
||||
import ".."/rpc/rest_constants
|
||||
|
||||
export rest_utils, results
|
||||
export rest_constants, results
|
||||
|
||||
func validateKeymanagerApiQueries*(key: string, value: string): int =
|
||||
# There are no queries to validate
|
||||
|
|
Loading…
Reference in New Issue