This commit is contained in:
Sebastian
2024-03-20 08:53:21 +01:00
parent 012379b56c
commit 3dd1d66eb5
5 changed files with 14 additions and 13 deletions

View File

@@ -2,12 +2,12 @@
chain: ${CHAIN}
labels:
provider: ${PROVIDER}
archive: false
client_type: erigon
archive: false
client_type: erigon
method-groups:
enable:
- trace
- debug
- debug
methods:
enabled:
- name: erigon_forks
@@ -23,7 +23,7 @@
- name: eth_getTransactionReceipt
connection:
generic:
rpc:
rpc:
url: "${RPC_URL}"
ws:
frameSize: 20Mb

View File

@@ -3,12 +3,12 @@ upstreams:
chain: ${CHAIN}
labels:
provider: ${PROVIDER}
archive: false
client_type: erigon
archive: false
client_type: erigon
method-groups:
enable:
- trace
- debug
- debug
methods:
enabled:
- name: erigon_forks

View File

@@ -1,14 +1,13 @@
upstreams:
- id: ${ID}
chain: ${CHAIN}
labels:
provider: ${PROVIDER}
archive: false
client_type: erigon
archive: false
client_type: erigon
method-groups:
enable:
- trace
- debug
- debug
methods:
enabled:
- name: erigon_forks

View File

@@ -40,5 +40,6 @@
"holesky":{"id":17000,"urls":["https://rpc.holesky.ethpandaops.io"]},
"gnosis":{"id":100,"urls":["https://gnosis-mainnet.public.blastapi.io"]},
"mantle":{"id":5000,"urls":["https://rpc.mantle.xyz"]},
"polygon":{"id":137,"urls":["https://polygon-rpc.com"]}
"polygon":{"id":137,"urls":["https://polygon-rpc.com"]},
"linea":{"id":59144,"urs":["https://rpc.linea.build"]}
}

View File

@@ -21,7 +21,7 @@ for part in "${parts[@]}"; do
include=true
for word in "${blacklist[@]}"; do
if echo "$part" | grep -qE "$word"; then
#echo "The path $path contains a blacklisted word: $word"
# echo "The path $path contains a blacklisted word: $word"
include=false
fi
done
@@ -58,6 +58,7 @@ for part in "${parts[@]}"; do
export PROVIDER=${ORGANIZATION}-${ID}
chain_id=$(curl --ipv4 -m 1 -s -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_chainId","params":[],"id":1}' $TEST_URL | jq -r '.result')
#echo "$TEST_URL $chain_id" >&2
chain_id_decimal=$((16#${chain_id#0x}))
export CHAIN=$($BASEPATH/get-shortname.sh $chain_id_decimal)