From 7237c39ffeb4b5c58f9fcbe15c186b48d76509c1 Mon Sep 17 00:00:00 2001 From: harisang Date: Mon, 4 Nov 2024 23:19:45 +0200 Subject: [PATCH] add prices sql query and fix pylint issue --- src/sql/prices.sql | 5 +++++ src/sync/config.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 src/sql/prices.sql diff --git a/src/sql/prices.sql b/src/sql/prices.sql new file mode 100644 index 00000000..628a4db2 --- /dev/null +++ b/src/sql/prices.sql @@ -0,0 +1,5 @@ +-- Selects all known appData hashes and preimages (as string) from the backend database + +SELECT + * +FROM prices diff --git a/src/sync/config.py b/src/sync/config.py index d7398867..3ab8fc52 100644 --- a/src/sync/config.py +++ b/src/sync/config.py @@ -37,4 +37,4 @@ class PriceFeedSyncConfig: # The name of the table to upload to table: str = "price_feed_test" # Description of the table (for creation) - description: str = "Table containing prices and timestamps from multiple prices relevant to imbalances occuring after each tx." + description: str = "Table containing prices and timestamps from multiple price feeds"