fix test chain.json

also:
clear eth.header_cids
script patches
This commit is contained in:
Roy Crihfield 2023-10-03 12:22:54 +08:00
parent 167cd2839c
commit 9072ebc91e
2 changed files with 9 additions and 2 deletions

View File

@ -48,7 +48,7 @@ export DATABASE_PASSWORD="password"
export ETH_NODE_ID=test-node
export ETH_CLIENT_NAME=test-client
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 LOG_LEVEL=debug
@ -65,6 +65,7 @@ clear_table() {
}
tables=(
eth.header_cids
eth.log_cids
eth.receipt_cids
eth.state_cids
@ -86,6 +87,7 @@ run_service() {
service_binary=$1
service_output_dir=$2
mkdir -p $service_output_dir
$service_binary serve &
until grep "HTTP endpoint opened" $LOG_FILE

View File

@ -1,5 +1,5 @@
{
"chainId": 41337,
"chainId": 1212,
"homesteadBlock": 0,
"eip150Block": 0,
"eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
@ -9,6 +9,11 @@
"constantinopleBlock": 0,
"petersburgBlock": 0,
"istanbulBlock": 0,
"berlinBlock": 0,
"londonBlock": 0,
"mergeForkBlock": 0,
"terminalTotalDifficulty": 0,
"mergeNetsplitBlock": 0,
"clique": {
"period": 5,
"epoch": 30000