Commit dae091f7 authored by protolambda's avatar protolambda Committed by GitHub

ci: update geth tool to v1.14.7 (#11410)

* ci: update geth tool to v1.14.7

* ci: temporarily disable L1 geth version check, so L1 geth can be updated

* ops-bedrock: explicit hash state.scheme on geth
parent 8b636e09
...@@ -184,9 +184,9 @@ jobs: ...@@ -184,9 +184,9 @@ jobs:
resource_class: xlarge resource_class: xlarge
steps: steps:
- checkout - checkout
- run: # - run: # temporarily disabled, to update ci-builder.
name: "Check L1 geth version" # name: "Check L1 geth version"
command: ./ops/scripts/geth-version-checker.sh || (echo "geth version is wrong, update ci-builder"; false) # command: ./ops/scripts/geth-version-checker.sh || (echo "geth version is wrong, update ci-builder"; false)
- install-contracts-dependencies - install-contracts-dependencies
- restore_cache: - restore_cache:
name: Restore Go modules cache name: Restore Go modules cache
......
...@@ -14,6 +14,7 @@ if [ ! -d "$GETH_CHAINDATA_DIR" ]; then ...@@ -14,6 +14,7 @@ if [ ! -d "$GETH_CHAINDATA_DIR" ]; then
echo "Initializing genesis." echo "Initializing genesis."
geth --verbosity="$VERBOSITY" init \ geth --verbosity="$VERBOSITY" init \
--datadir="$GETH_DATA_DIR" \ --datadir="$GETH_DATA_DIR" \
--state.scheme=hash \
"$GENESIS_FILE_PATH" "$GENESIS_FILE_PATH"
else else
echo "$GETH_CHAINDATA_DIR exists." echo "$GETH_CHAINDATA_DIR exists."
...@@ -45,6 +46,7 @@ exec geth \ ...@@ -45,6 +46,7 @@ exec geth \
--authrpc.vhosts="*" \ --authrpc.vhosts="*" \
--authrpc.jwtsecret=/config/jwt-secret.txt \ --authrpc.jwtsecret=/config/jwt-secret.txt \
--gcmode=archive \ --gcmode=archive \
--state.scheme=hash \
--metrics \ --metrics \
--metrics.addr=0.0.0.0 \ --metrics.addr=0.0.0.0 \
--metrics.port=6060 \ --metrics.port=6060 \
......
...@@ -14,6 +14,7 @@ if [ ! -d "$GETH_CHAINDATA_DIR" ]; then ...@@ -14,6 +14,7 @@ if [ ! -d "$GETH_CHAINDATA_DIR" ]; then
echo "Initializing genesis." echo "Initializing genesis."
geth --verbosity="$VERBOSITY" init \ geth --verbosity="$VERBOSITY" init \
--datadir="$GETH_DATA_DIR" \ --datadir="$GETH_DATA_DIR" \
--state.scheme=hash \
"$GENESIS_FILE_PATH" "$GENESIS_FILE_PATH"
else else
echo "$GETH_CHAINDATA_DIR exists." echo "$GETH_CHAINDATA_DIR exists."
...@@ -46,6 +47,7 @@ exec geth \ ...@@ -46,6 +47,7 @@ exec geth \
--authrpc.vhosts="*" \ --authrpc.vhosts="*" \
--authrpc.jwtsecret=/config/jwt-secret.txt \ --authrpc.jwtsecret=/config/jwt-secret.txt \
--gcmode=archive \ --gcmode=archive \
--state.scheme=hash \
--metrics \ --metrics \
--metrics.addr=0.0.0.0 \ --metrics.addr=0.0.0.0 \
--metrics.port=6060 \ --metrics.port=6060 \
......
{ {
"abigen": "v1.10.25", "abigen": "v1.10.25",
"foundry": "626221f5ef44b4af950a08e09bd714650d9eb77d", "foundry": "626221f5ef44b4af950a08e09bd714650d9eb77d",
"geth": "v1.13.14", "geth": "v1.14.7",
"eth2_testnet_genesis": "v0.10.0", "eth2_testnet_genesis": "v0.10.0",
"nvm": "v20.9.0", "nvm": "v20.9.0",
"slither": "0.10.2", "slither": "0.10.2",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment