From de3cd63bb0250cfa4259bff470f2c30a5c2030f8 Mon Sep 17 00:00:00 2001 From: grkhr Date: Tue, 28 Nov 2023 00:40:22 +0200 Subject: [PATCH 1/3] missing legacy OP pools --- models/dex/dex_raw_pools.sql | 1 + models/dex/dex_sources.yml | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 models/dex/dex_sources.yml diff --git a/models/dex/dex_raw_pools.sql b/models/dex/dex_raw_pools.sql index e690ff41244..3cbc3cbcfd1 100644 --- a/models/dex/dex_raw_pools.sql +++ b/models/dex/dex_raw_pools.sql @@ -54,6 +54,7 @@ "gnosis", "fantom", "optimism", + "optimism_legacy_ovm1", "arbitrum", "celo", "base", diff --git a/models/dex/dex_sources.yml b/models/dex/dex_sources.yml new file mode 100644 index 00000000000..65af416f013 --- /dev/null +++ b/models/dex/dex_sources.yml @@ -0,0 +1,12 @@ +version: 2 + +sources: + - name: optimism_legacy_ovm1 + description: > + optimism legacy ovm1 tables + tables: + - name: logs + loaded_at_field: block_time + - name: creation_traces + loaded_at_field: block_time + \ No newline at end of file From 520028432b3f020ec5e17c3640210bd42456516d Mon Sep 17 00:00:00 2001 From: grkhr Date: Tue, 28 Nov 2023 00:49:08 +0200 Subject: [PATCH 2/3] retrigger ci From 88c4e001b6b34dc17304a0ca5bf5e9883d44dab5 Mon Sep 17 00:00:00 2001 From: grkhr Date: Tue, 28 Nov 2023 01:18:46 +0200 Subject: [PATCH 3/3] rename optimism_legacy_ovm1 --- models/dex/dex_raw_pools.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/dex/dex_raw_pools.sql b/models/dex/dex_raw_pools.sql index 3cbc3cbcfd1..246d2c22f8e 100644 --- a/models/dex/dex_raw_pools.sql +++ b/models/dex/dex_raw_pools.sql @@ -112,7 +112,7 @@ pool_created_logs as ( select - blockchain + replace(blockchain, 'optimism_legacy_ovm1', 'optimism') as blockchain , type , version , pool