File tree Expand file tree Collapse file tree 1 file changed +18
-3
lines changed
Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change 1313 RUST_VERSION : ' stable'
1414 EPOCH : 0
1515 GRPC_CURL_VERSION : ' 1.8.9'
16+ getTxSig : 39V8tR2Q8Ar3WwMBfVTRPFr7AakLHy5wp7skJNBL7ET6ARoikqc1TaMiuXEtHiNPLQKoeiVr5XnKH8QtjdonN4yM
17+ getBlock : 1
1618
1719jobs :
1820 integration-tests :
@@ -118,9 +120,6 @@ jobs:
118120 wait-for : 5s
119121
120122 - name : Run HTTP tests
121- env :
122- getTxSig : 39V8tR2Q8Ar3WwMBfVTRPFr7AakLHy5wp7skJNBL7ET6ARoikqc1TaMiuXEtHiNPLQKoeiVr5XnKH8QtjdonN4yM
123- getBlock : 1
124123 run : |
125124
126125 sleep 5s
@@ -160,3 +159,19 @@ jobs:
160159 {"jsonrpc":"2.0","id":1, "method":"getTransaction","params": ["${{ env.getTxSig }}"]}
161160 ' -s | jq -r . | md5sum | grep -q 17d7cbf3d719b19ce3f4fe35a048f1fc || exit 1
162161
162+ - name: Run gRPC tests
163+ env:
164+ proto_flag: -proto ../old-faithful-proto/proto/old-faithful.proto
165+ run: |
166+
167+ grpcurl ${{ env.proto_flag }} -plaintext localhost:8999 OldFaithful.OldFaithful/GetVersion
168+
169+ grpcurl ${{ env.proto_flag }} -plaintext localhost:8999 OldFaithful.OldFaithful/GetSlot
170+
171+ grpcurl ${{ env.proto_flag }} -plaintext localhost:8999 -d ' " slot" : ${{ env.getBlock }}' OldFaithful.OldFaithful/GetBlock
172+
173+ grpcurl ${{ env.proto_flag }} -plaintext localhost:8999 -d '"slot" : ${{ env.getBlock }}' OldFaithful.OldFaithful/GetBlockTime
174+
175+ grpcurl ${{ env.proto_flag }} -plaintext localhost:8999 -d '"signature" : " ${{ env.getTxSig }}" OldFaithful.OldFaithful/GetTransaction
176+
177+ grpcurl ${{ env.proto_flag }} -plaintext localhost:8999 OldFaithful.OldFaithful/GetFirstAvailableBlock
You can’t perform that action at this time.
0 commit comments