Fix concurrency and tests #4
@ -48,7 +48,7 @@ export DATABASE_PASSWORD="password"
|
|||||||
export ETH_NODE_ID=test-node
|
export ETH_NODE_ID=test-node
|
||||||
export ETH_CLIENT_NAME=test-client
|
export ETH_CLIENT_NAME=test-client
|
||||||
export ETH_NETWORK_ID=test-network
|
export ETH_NETWORK_ID=test-network
|
||||||
export ETH_CHAIN_ID=4242
|
export ETH_CHAIN_ID=1212
|
||||||
|
|
||||||
export SERVICE_HTTP_PATH='127.0.0.1:8545'
|
export SERVICE_HTTP_PATH='127.0.0.1:8545'
|
||||||
export LOG_LEVEL=debug
|
export LOG_LEVEL=debug
|
||||||
@ -65,6 +65,7 @@ clear_table() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tables=(
|
tables=(
|
||||||
|
eth.header_cids
|
||||||
eth.log_cids
|
eth.log_cids
|
||||||
eth.receipt_cids
|
eth.receipt_cids
|
||||||
eth.state_cids
|
eth.state_cids
|
||||||
@ -86,6 +87,7 @@ run_service() {
|
|||||||
service_binary=$1
|
service_binary=$1
|
||||||
service_output_dir=$2
|
service_output_dir=$2
|
||||||
|
|
||||||
|
mkdir -p $service_output_dir
|
||||||
$service_binary serve &
|
$service_binary serve &
|
||||||
|
|
||||||
until grep "HTTP endpoint opened" $LOG_FILE
|
until grep "HTTP endpoint opened" $LOG_FILE
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"chainId": 41337,
|
"chainId": 1212,
|
||||||
"homesteadBlock": 0,
|
"homesteadBlock": 0,
|
||||||
"eip150Block": 0,
|
"eip150Block": 0,
|
||||||
"eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
|
"eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
|
||||||
@ -9,6 +9,11 @@
|
|||||||
"constantinopleBlock": 0,
|
"constantinopleBlock": 0,
|
||||||
"petersburgBlock": 0,
|
"petersburgBlock": 0,
|
||||||
"istanbulBlock": 0,
|
"istanbulBlock": 0,
|
||||||
|
"berlinBlock": 0,
|
||||||
|
"londonBlock": 0,
|
||||||
|
"mergeForkBlock": 0,
|
||||||
|
"terminalTotalDifficulty": 0,
|
||||||
|
"mergeNetsplitBlock": 0,
|
||||||
"clique": {
|
"clique": {
|
||||||
"period": 5,
|
"period": 5,
|
||||||
"epoch": 30000
|
"epoch": 30000
|
||||||
|
Loading…
Reference in New Issue
Block a user