Move block data test files to one location (#1154)

This commit is contained in:
Kim De Mey 2022-07-05 16:14:52 +02:00 committed by GitHub
parent facd7342fb
commit f29cbebb9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 2 deletions

View File

@ -182,7 +182,7 @@ procSuite "Portal testnet tests":
await client.close()
nodeInfos.add(nodeInfo)
const dataFile = "./fluffy/scripts/test_data/mainnet_blocks_selected.json"
const dataFile = "./fluffy/tests/blocks/mainnet_blocks_selected.json"
# This will fill the first node its db with blocks from the data file. Next,
# this node wil offer all these blocks their headers one by one.
check (await clients[0].portal_history_propagate(dataFile))

View File

@ -18,7 +18,7 @@ import
../network/history/history_network
const
dataFile = "./fluffy/scripts/test_data/mainnet_blocks_selected.json"
dataFile = "./fluffy/tests/blocks/mainnet_blocks_selected.json"
# Block that will be validated
blockHashStr =
"0xce8f770a56203e10afe19c7dd7e2deafc356e6cce0a560a30a85add03da56137"