parent
b24a9200d9
commit
8ab0248209
|
@ -1,6 +1,6 @@
|
||||||
import
|
import
|
||||||
os, strutils, options, json,
|
os, strutils, options, json,
|
||||||
chronos, nimcrypto/utils, confutils, web3, stint,
|
chronos, nimcrypto, 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, sequtils, math, tables,
|
options, nimcrypto, sequtils, math, tables,
|
||||||
./crypto, ./datatypes, ./digest, ./helpers
|
./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, json_serialization, serialization,
|
chronicles, chronos, blscurve, nimcrypto, 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, eth/common, serialization/testing/generic_suite,
|
stint, nimcrypto, 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: Eth2Digest
|
f3: MDigest[256]
|
||||||
f4: seq[byte]
|
f4: seq[byte]
|
||||||
f5: ValidatorIndex
|
f5: ValidatorIndex
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue