Skip to content

Commit

Permalink
Asyncdispatch2 rebranding to chronos (#84)
Browse files Browse the repository at this point in the history
* Asyncdispatch2 rebranding to chronos

* nim-eth and nim-chronos part of nimble packages

* fix package name
  • Loading branch information
mratsim committed Feb 6, 2019
1 parent 7f1bddb commit 11da02c
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 10 deletions.
5 changes: 3 additions & 2 deletions beacon_chain.nimble
Expand Up @@ -13,15 +13,16 @@ bin = @[

### Dependencies
requires "nim >= 0.18.0",
"https://github.com/status-im/nim-eth",
"eth",
"nimcrypto",
"https://github.com/status-im/nim-blscurve#master",
"ranges",
"chronicles",
"confutils",
"serialization",
"json_serialization",
"json_rpc"
"json_rpc",
"chronos"

### Helper functions
proc test(name: string, defaultLang = "c") =
Expand Down
2 changes: 1 addition & 1 deletion beacon_chain/beacon_node.nim
@@ -1,6 +1,6 @@
import
std_shims/[os_shims, objects], net, sequtils, options, tables,
asyncdispatch2, chronicles, confutils, eth/[p2p, keys],
chronos, chronicles, confutils, eth/[p2p, keys],
spec/[datatypes, digest, crypto, beaconstate, helpers, validator], conf, time,
state_transition, fork_choice, ssz, beacon_chain_db, validator_pool, extras,
mainchain_monitor, sync_protocol, gossipsub_protocol, trusted_state_snapshots,
Expand Down
2 changes: 1 addition & 1 deletion beacon_chain/gossipsub_protocol.nim
@@ -1,6 +1,6 @@
import
tables, sets, macros, base64,
asyncdispatch2, nimcrypto/sysrand, chronicles, json_serialization,
chronos, nimcrypto/sysrand, chronicles, json_serialization,
eth/[p2p, rlp], eth/p2p/[rlpx, peer_pool],
spec/[datatypes, crypto]

Expand Down
2 changes: 1 addition & 1 deletion beacon_chain/mainchain_monitor.nim
@@ -1,5 +1,5 @@
import
asyncdispatch2, json_rpc/rpcclient,
chronos, json_rpc/rpcclient,
spec/[datatypes, digest]

type
Expand Down
2 changes: 1 addition & 1 deletion beacon_chain/sync_protocol.nim
@@ -1,6 +1,6 @@
import
options,
chronicles, eth/[rlp, p2p], asyncdispatch2, ranges/bitranges, eth/p2p/rlpx,
chronicles, eth/[rlp, p2p], chronos, ranges/bitranges, eth/p2p/rlpx,
spec/[datatypes, crypto, digest]

type
Expand Down
2 changes: 1 addition & 1 deletion beacon_chain/time.nim
@@ -1,6 +1,6 @@
import
random,
asyncdispatch2,
chronos,
spec/datatypes

type
Expand Down
2 changes: 1 addition & 1 deletion beacon_chain/trusted_state_snapshots.nim
@@ -1,5 +1,5 @@
import
asyncdispatch2,
chronos,
spec/[datatypes, crypto, digest, beaconstate], beacon_chain_db, conf

const
Expand Down
2 changes: 1 addition & 1 deletion beacon_chain/validator_keygen.nim
@@ -1,6 +1,6 @@
import
os, ospaths, strutils, strformat,
asyncdispatch2, nimcrypto, json_serialization, confutils,
chronos, nimcrypto, json_serialization, confutils,
spec/[datatypes, digest, crypto], conf, randao, time, ssz,
../tests/testutil

Expand Down
2 changes: 1 addition & 1 deletion beacon_chain/validator_pool.nim
@@ -1,6 +1,6 @@
import
tables, random,
asyncdispatch2,
chronos,
spec/[datatypes, crypto, digest], randao, ssz

type
Expand Down

0 comments on commit 11da02c

Please sign in to comment.