From 9072ebc91e536352b253aea1bb1236e20a29b60a Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Tue, 3 Oct 2023 12:22:54 +0800 Subject: [PATCH] fix test chain.json also: clear eth.header_cids script patches --- scripts/compare-statediffs.sh | 4 +++- test/ci-chain.json | 7 ++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/scripts/compare-statediffs.sh b/scripts/compare-statediffs.sh index 9442862..7555279 100755 --- a/scripts/compare-statediffs.sh +++ b/scripts/compare-statediffs.sh @@ -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 diff --git a/test/ci-chain.json b/test/ci-chain.json index d2ee2f5..44d2cd2 100644 --- a/test/ci-chain.json +++ b/test/ci-chain.json @@ -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