Move block data test files to one location (#1154)
This commit is contained in:
parent
facd7342fb
commit
f29cbebb9d
|
@ -182,7 +182,7 @@ procSuite "Portal testnet tests":
|
||||||
await client.close()
|
await client.close()
|
||||||
nodeInfos.add(nodeInfo)
|
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 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.
|
# this node wil offer all these blocks their headers one by one.
|
||||||
check (await clients[0].portal_history_propagate(dataFile))
|
check (await clients[0].portal_history_propagate(dataFile))
|
||||||
|
|
|
@ -18,7 +18,7 @@ import
|
||||||
../network/history/history_network
|
../network/history/history_network
|
||||||
|
|
||||||
const
|
const
|
||||||
dataFile = "./fluffy/scripts/test_data/mainnet_blocks_selected.json"
|
dataFile = "./fluffy/tests/blocks/mainnet_blocks_selected.json"
|
||||||
# Block that will be validated
|
# Block that will be validated
|
||||||
blockHashStr =
|
blockHashStr =
|
||||||
"0xce8f770a56203e10afe19c7dd7e2deafc356e6cce0a560a30a85add03da56137"
|
"0xce8f770a56203e10afe19c7dd7e2deafc356e6cce0a560a30a85add03da56137"
|
||||||
|
|
Loading…
Reference in New Issue