pokt-network / poktroll

The official Shannon upgrade implementation of the Pocket Network Protocol implemented using the Cosmos SDK
MIT License
15 stars 8 forks source link

[Off-Chain] Add support to REST RPCType #594

Closed red-0ne closed 4 months ago

red-0ne commented 5 months ago

Summary

This PR uses shannon-sdk RPCType detection and error formatting to support REST.

It also improves RelayMiner and AppGateServer internal errors formatting (based on content type) and forwarding to the client

It can be tested on LocalNet by enabling ollama in localnet_config.yaml and issuing:

make send_rest_relay_sovereign_app

Issue

Type of change

Select one or more:

Testing

Documentation changes (only if making doc changes)

Local Testing (only if making code changes)

PR Testing (only if making code changes)

Sanity Checklist

github-actions[bot] commented 4 months ago

The CI will now also run the e2e tests on devnet, which increases the time it takes to complete all CI checks.

You may need to run make trigger_ci to submit an empty commit that'll trigger the tests.

GCP workloads (requires changing the namespace to 594)) Grafana network dashboard for devnet-issue-{issue-id}

red-0ne commented 4 months ago

Merging despite of a failing E2E test that seems to happen only on CI.

image