Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
zah committed May 16, 2019
1 parent 1f4c4e8 commit 9d48d0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/official/fixtures_utils.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import
../../beacon_chain/spec/[datatypes, crypto, digest],
../../beacon_chain/ssz

export nimcrypto.toHex
export
nimcrypto.toHex, json_serialization, readValue, writeValue

type
# TODO: use ref object to avoid allocating
Expand Down Expand Up @@ -110,7 +111,6 @@ proc readValue*[N: static int](r: var JsonReader, a: var array[N, byte]) {.inlin
proc readValue*(r: var JsonReader, a: var ValidatorIndex) {.inline.} =
a = r.readValue(uint32)

export json_serialization
# TODO: cannot pass a typedesc
proc parseTests*(jsonPath: string, T: typedesc[Tests]): T =
# TODO: due to generic early symbol resolution
Expand Down Expand Up @@ -151,4 +151,4 @@ proc build_empty_block_for_next_slot*(state: BeaconState): BeaconBlock =
# prev_root,
# BeaconBlockBody()
# )
{.error: "Not implemented".}
{.error: "Not implemented".}

0 comments on commit 9d48d0e

Please sign in to comment.