tighten a few imports
This commit is contained in:
parent
ba933c9933
commit
b24a9200d9
|
@ -1,6 +1,6 @@
|
||||||
import
|
import
|
||||||
os, strutils, options, json,
|
os, strutils, options, json,
|
||||||
chronos, nimcrypto, confutils, web3, stint,
|
chronos, nimcrypto/utils, confutils, web3, stint,
|
||||||
eth/keys
|
eth/keys
|
||||||
|
|
||||||
# Compiled version of /scripts/depositContract.v.py in this repo
|
# Compiled version of /scripts/depositContract.v.py in this repo
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
# Helpers and functions pertaining to managing the validator set
|
# Helpers and functions pertaining to managing the validator set
|
||||||
|
|
||||||
import
|
import
|
||||||
options, nimcrypto, sequtils, math, tables,
|
options, sequtils, math, tables,
|
||||||
./datatypes, ./digest, ./helpers
|
./crypto, ./datatypes, ./digest, ./helpers
|
||||||
|
|
||||||
# TODO: Proceed to renaming and signature changes
|
# 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
|
# https://github.com/ethereum/eth2.0-specs/blob/v0.9.2/specs/core/0_beacon-chain.md#compute_shuffled_index
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import
|
import
|
||||||
os, strutils,
|
os, strutils,
|
||||||
chronicles, chronos, blscurve, nimcrypto, json_serialization, serialization,
|
chronicles, chronos, blscurve, json_serialization, serialization,
|
||||||
web3, stint, eth/keys,
|
web3, stint, eth/keys,
|
||||||
spec/[datatypes, digest, crypto], conf, ssz, interop
|
spec/[datatypes, digest, crypto], conf, ssz, interop
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
import
|
import
|
||||||
unittest, options,
|
unittest, options,
|
||||||
stint, nimcrypto, eth/common, serialization/testing/generic_suite,
|
stint, eth/common, serialization/testing/generic_suite,
|
||||||
./testutil,
|
./testutil,
|
||||||
../beacon_chain/spec/[datatypes, digest],
|
../beacon_chain/spec/[datatypes, digest],
|
||||||
../beacon_chain/ssz, ../beacon_chain/ssz/[navigator, dynamic_navigator]
|
../beacon_chain/ssz, ../beacon_chain/ssz/[navigator, dynamic_navigator]
|
||||||
|
@ -51,7 +51,7 @@ type
|
||||||
f0: uint8
|
f0: uint8
|
||||||
f1: uint32
|
f1: uint32
|
||||||
f2: EthAddress
|
f2: EthAddress
|
||||||
f3: MDigest[256]
|
f3: Eth2Digest
|
||||||
f4: seq[byte]
|
f4: seq[byte]
|
||||||
f5: ValidatorIndex
|
f5: ValidatorIndex
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue