cowprotocol / dune-bridge

Other
4 stars 3 forks source link

Update Dune AppData #14

Closed bh2smith closed 2 years ago

bh2smith commented 2 years ago

This PR updates the Query the populate app data view with the new quote slippage value.

We also fix the error handling and log success (so we can see if this is working in the kubernetes pods).

A follow up PR will update the staging environment to run this script every 30 minutes as part of an already existing cron job.

Here is the corresponding staging PR (changes have already been applied): https://gitlab.gnosisdev.com/devops/aws/aws-infra-staging/k8s-team-namespaces/gnosis-staging-k8s-gp/-/merge_requests/402

Test Plan

To run this with the valid user credentials (for josojo)

python -m dune_api_scripts.update_appdata_view
josojo commented 2 years ago

I merged it, as I want to cut a new release, soon

bh2smith commented 2 years ago

Great! I hope it works!