flip all but 3 test fixtures to 0.9.1 test vectors

This commit is contained in:
Dustin Brody 2019-11-12 12:46:46 +01:00
parent 637054e765
commit 8e259368a3
6 changed files with 6 additions and 6 deletions

View File

@ -37,7 +37,7 @@ proc readValue*(r: var JsonReader, a: var seq[byte]) {.inline.} =
const
FixturesDir* = currentSourcePath.rsplit(DirSep, 1)[0] / "fixtures"
JsonTestsDir* = FixturesDir/"json_tests_v0.8.3"
SszTestsDir* = FixturesDir/"tests-v0.9.0"
SszTestsDir* = FixturesDir/"tests-v0.9.1"
proc parseTest*(path: string, Format: typedesc[Json or SSZ], T: typedesc): T =
try:

View File

@ -16,7 +16,7 @@ import
./fixtures_utils,
../helpers/debug_state
const OperationsAttestationsDir = SszTestsDir/const_preset/"phase0"/"operations"/"attestation"/"pyspec_tests"
const OperationsAttestationsDir = FixturesDir/"tests-v0.9.0"/const_preset/"phase0"/"operations"/"attestation"/"pyspec_tests"
template runTest(testName: string, identifier: untyped) =
# We wrap the tests in a proc to avoid running out of globals

View File

@ -16,7 +16,7 @@ import
./fixtures_utils,
../helpers/debug_state
const OpAttSlashingDir = SszTestsDir/const_preset/"phase0"/"operations"/"attester_slashing"/"pyspec_tests"
const OpAttSlashingDir = FixturesDir/"tests-v0.9.0"/const_preset/"phase0"/"operations"/"attester_slashing"/"pyspec_tests"
template runTest(identifier: untyped) =
# We wrap the tests in a proc to avoid running out of globals

View File

@ -16,7 +16,7 @@ import
./fixtures_utils,
../helpers/debug_state
const OperationsDepositsDir = FixturesDir/"tests-v0.9.0"/const_preset/"phase0"/"operations"/"deposit"/"pyspec_tests"
const OperationsDepositsDir = SszTestsDir/const_preset/"phase0"/"operations"/"deposit"/"pyspec_tests"
template runTest(testName: string, identifier: untyped) =
# We wrap the tests in a proc to avoid running out of globals

View File

@ -16,7 +16,7 @@ import
./fixtures_utils,
../helpers/debug_state
const SanityBlocksDir = SszTestsDir/const_preset/"phase0"/"sanity"/"blocks"/"pyspec_tests"
const SanityBlocksDir = FixturesDir/"tests-v0.9.0"/const_preset/"phase0"/"sanity"/"blocks"/"pyspec_tests"
template runValidTest(testName: string, identifier: untyped, num_blocks: int): untyped =
# We wrap the tests in a proc to avoid running out of globals

View File

@ -23,7 +23,7 @@ import
const
FixturesDir = currentSourcePath.rsplit(DirSep, 1)[0] / "fixtures"
SSZDir = FixturesDir/"tests-v0.9.0"/"general"/"phase0"/"ssz_generic"
SSZDir = FixturesDir/"tests-v0.9.1"/"general"/"phase0"/"ssz_generic"
type
SSZHashTreeRoot = object