Skip to content

Forward port of JSON-RCP-Relay #23

Forward port of JSON-RCP-Relay

Forward port of JSON-RCP-Relay #23

Workflow file for this run

name: Test JSON-RPC-Relay
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test-relay:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run Hedera Solo with JSON-RPC-Relay
uses: ./
with:
installMirrorNode: false
installRelay: true
hederaVersion: v0.52.2
relayPort: 7546
- name: Test JSON-RPC-Relay
shell: bash
run: |
echo "Testing JSON-RPC-Relay..."
sleep 50
curl -X POST --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' http://localhost:7546
echo "JSON-RPC-Relay test completed."