cowprotocol / dune-bridge

Other
4 stars 3 forks source link

Multi Env App Data Update #18

Closed bh2smith closed 2 years ago

bh2smith commented 2 years ago

Split update into two queries (since they should not be linked together).

The first updates the raw_app content (could probably also be split by environment).

The second one is split by environment using a query parameter.

Note that I also took this opportunity to rename the views (with cow_protocol instead of gp)

Requires an additional runtime argument as a script argument in the kubernetes config.

Test Plan:

python -m dune_api_scripts.update_appdata_view --environment barn