tighten a few imports

This commit is contained in:
Jacek Sieka 2019-12-09 12:06:57 +01:00 committed by Dustin Brody
parent ba933c9933
commit b24a9200d9
4 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
import
os, strutils, options, json,
chronos, nimcrypto, confutils, web3, stint,
chronos, nimcrypto/utils, confutils, web3, stint,
eth/keys
# Compiled version of /scripts/depositContract.v.py in this repo

View File

@ -7,8 +7,8 @@
# Helpers and functions pertaining to managing the validator set
import
options, nimcrypto, sequtils, math, tables,
./datatypes, ./digest, ./helpers
options, sequtils, math, tables,
./crypto, ./datatypes, ./digest, ./helpers
# TODO: Proceed to renaming and signature changes
# https://github.com/ethereum/eth2.0-specs/blob/v0.9.2/specs/core/0_beacon-chain.md#compute_shuffled_index

View File

@ -1,6 +1,6 @@
import
os, strutils,
chronicles, chronos, blscurve, nimcrypto, json_serialization, serialization,
chronicles, chronos, blscurve, json_serialization, serialization,
web3, stint, eth/keys,
spec/[datatypes, digest, crypto], conf, ssz, interop

View File

@ -9,7 +9,7 @@
import
unittest, options,
stint, nimcrypto, eth/common, serialization/testing/generic_suite,
stint, eth/common, serialization/testing/generic_suite,
./testutil,
../beacon_chain/spec/[datatypes, digest],
../beacon_chain/ssz, ../beacon_chain/ssz/[navigator, dynamic_navigator]
@ -51,7 +51,7 @@ type
f0: uint8
f1: uint32
f2: EthAddress
f3: MDigest[256]
f3: Eth2Digest
f4: seq[byte]
f5: ValidatorIndex