fix
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
upstreams:
|
|
||||||
- id: ${ID}
|
- id: ${ID}
|
||||||
chain: ${CHAIN}
|
chain: ${CHAIN}
|
||||||
labels:
|
labels:
|
||||||
|
|||||||
@@ -40,5 +40,6 @@
|
|||||||
"holesky":{"id":17000,"urls":["https://rpc.holesky.ethpandaops.io"]},
|
"holesky":{"id":17000,"urls":["https://rpc.holesky.ethpandaops.io"]},
|
||||||
"gnosis":{"id":100,"urls":["https://gnosis-mainnet.public.blastapi.io"]},
|
"gnosis":{"id":100,"urls":["https://gnosis-mainnet.public.blastapi.io"]},
|
||||||
"mantle":{"id":5000,"urls":["https://rpc.mantle.xyz"]},
|
"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"]}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ for part in "${parts[@]}"; do
|
|||||||
export PROVIDER=${ORGANIZATION}-${ID}
|
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')
|
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}))
|
chain_id_decimal=$((16#${chain_id#0x}))
|
||||||
export CHAIN=$($BASEPATH/get-shortname.sh $chain_id_decimal)
|
export CHAIN=$($BASEPATH/get-shortname.sh $chain_id_decimal)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user