Skip to content

Commit 231841e

Browse files
committed
gha integration tests
1 parent c8a8012 commit 231841e

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/tests-grpc.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113

114114
- name: Run HTTP tests
115115
env:
116-
getTxSig: 3qEUUW9fKaZpECvJ87QfZMyVMQjR1GBKnuCDqJMCgxw1sCzrWSU6q5ydEiX1JEJPbQDGaNoxULxmCW6f4mAnNRo2
116+
getTxSig: 39V8tR2Q8Ar3WwMBfVTRPFr7AakLHy5wp7skJNBL7ET6ARoikqc1TaMiuXEtHiNPLQKoeiVr5XnKH8QtjdonN4yM
117117
getBlock: 1
118118
run: |
119119
@@ -127,12 +127,20 @@ jobs:
127127
{"jsonrpc":"2.0","id":1, "method":"getSlot"}
128128
' -s | jq -r .result
129129
130+
curl localhost:7999 -H "Content-Type: application/json" -d '
131+
{"jsonrpc":"2.0","id":1, "method":"getGenesisHash"}
132+
' -s | jq -r .result
133+
134+
curl localhost:7999 -H "Content-Type: application/json" -d '
135+
{"jsonrpc":"2.0","id":1, "method":"getFirstAvailableBlock"}
136+
' -s | jq -r .result
137+
130138
curl localhost:7999 -H "Content-Type: application/json" -d '
131139
{"jsonrpc":"2.0","id":1, "method":"getBlock","params": [${{ env.getBlock }}]}
132140
' -s | jq -r .
133141
134142
curl localhost:7999 -H "Content-Type: application/json" -d '
135-
{"jsonrpc":"2.0","id":1, "method":"getBlockHeight"}
143+
{"jsonrpc":"2.0","id":1, "method":"getBlockTime","params": [${{ env.getBlock }}]}
136144
' -s | jq -r .
137145
138146
curl localhost:7999 -H "Content-Type: application/json" -d '

0 commit comments

Comments
 (0)