File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 2929 - name : Configure checkpointz
3030 shell : bash
3131 run : |
32+ # Strip trailing slash from the beacon node URL
33+ beacon_node_url="${{ inputs.beacon_node_url }}"
34+ if [[ "$beacon_node_url" == *"/" ]]; then
35+ beacon_node_url="${beacon_node_url%/}"
36+ fi
3237 cat <<EOF > checkpointz.yaml
3338 global:
3439 listenAddr: ":5555"
3742 beacon:
3843 upstreams:
3944 - name: state-provider
40- address: ${{ inputs. beacon_node_url }}
45+ address: "${ beacon_node_url}"
4146 timeoutSeconds: 30
4247 dataProvider: true
4348 checkpointz:
Original file line number Diff line number Diff line change 3131 with :
3232 consensus : ${{ matrix.consensus }}
3333 network : ${{ matrix.network }}
34- beacon_node_url : ${{ matrix.network == 'mainnet' && env.MAINNET_BEACON_API_URL || env.HOLESKY_BEACON_API_URL }}
34+ beacon_node_url : ${{ env.MAINNET_BEACON_API_URL }}
You can’t perform that action at this time.
0 commit comments