From 2e31a89affb965c1d1757b06430d487662d72c84 Mon Sep 17 00:00:00 2001 From: Jam516 Date: Thu, 26 Sep 2024 11:56:45 +0100 Subject: [PATCH 1/2] Name polygon zkevm --- ...fees.sql => rollup_economics_polygon_zkevm_l1_data_fees.sql} | 2 +- .../l1_data_fees/rollup_economics_ethereum_l1_data_fees.sql | 2 +- ... => rollup_economics_polygon_zkevm_l1_verification_fees.sql} | 2 +- .../rollup_economics_ethereum_l1_verification_fees.sql | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_data_fees/chains/{rollup_economics_zkevm_l1_data_fees.sql => rollup_economics_polygon_zkevm_l1_data_fees.sql} (97%) rename dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_verification_fees/chains/{rollup_economics_zkevm_l1_verification_fees.sql => rollup_economics_polygon_zkevm_l1_verification_fees.sql} (97%) diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_data_fees/chains/rollup_economics_zkevm_l1_data_fees.sql b/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_data_fees/chains/rollup_economics_polygon_zkevm_l1_data_fees.sql similarity index 97% rename from dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_data_fees/chains/rollup_economics_zkevm_l1_data_fees.sql rename to dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_data_fees/chains/rollup_economics_polygon_zkevm_l1_data_fees.sql index 04973c80f8a..7c4ed07ab63 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_data_fees/chains/rollup_economics_zkevm_l1_data_fees.sql +++ b/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_data_fees/chains/rollup_economics_polygon_zkevm_l1_data_fees.sql @@ -9,7 +9,7 @@ )}} SELECT - 'zkevm' AS name + 'polygon zkevm' AS name , cast(date_trunc('month', t.block_time) AS date) AS block_month , cast(date_trunc('day', t.block_time) AS date) AS block_date , t.block_time diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_data_fees/rollup_economics_ethereum_l1_data_fees.sql b/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_data_fees/rollup_economics_ethereum_l1_data_fees.sql index b998dac6bbc..edd84973c0d 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_data_fees/rollup_economics_ethereum_l1_data_fees.sql +++ b/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_data_fees/rollup_economics_ethereum_l1_data_fees.sql @@ -14,7 +14,7 @@ , ref('rollup_economics_optimism_l1_data_fees') , ref('rollup_economics_scroll_l1_data_fees') , ref('rollup_economics_starknet_l1_data_fees') - , ref('rollup_economics_zkevm_l1_data_fees') + , ref('rollup_economics_polygon_zkevm_l1_data_fees') , ref('rollup_economics_zksync_l1_data_fees') , ref('rollup_economics_zksync_lite_l1_data_fees') ] %} diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_verification_fees/chains/rollup_economics_zkevm_l1_verification_fees.sql b/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_verification_fees/chains/rollup_economics_polygon_zkevm_l1_verification_fees.sql similarity index 97% rename from dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_verification_fees/chains/rollup_economics_zkevm_l1_verification_fees.sql rename to dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_verification_fees/chains/rollup_economics_polygon_zkevm_l1_verification_fees.sql index 64e055fc02f..d6e4cd640d9 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_verification_fees/chains/rollup_economics_zkevm_l1_verification_fees.sql +++ b/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_verification_fees/chains/rollup_economics_polygon_zkevm_l1_verification_fees.sql @@ -9,7 +9,7 @@ )}} SELECT - 'zkevm' AS name + 'polygon zkevm' AS name , cast(date_trunc('month', t.block_time) AS date) AS block_month , cast(date_trunc('day', t.block_time) AS date) AS block_date , t.block_time diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_verification_fees/rollup_economics_ethereum_l1_verification_fees.sql b/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_verification_fees/rollup_economics_ethereum_l1_verification_fees.sql index e170a0128d6..a30ee68eb79 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_verification_fees/rollup_economics_ethereum_l1_verification_fees.sql +++ b/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_verification_fees/rollup_economics_ethereum_l1_verification_fees.sql @@ -9,7 +9,7 @@ ref('rollup_economics_linea_l1_verification_fees') , ref('rollup_economics_scroll_l1_verification_fees') , ref('rollup_economics_starknet_l1_verification_fees') - , ref('rollup_economics_zkevm_l1_verification_fees') + , ref('rollup_economics_polygon_zkevm_l1_verification_fees') , ref('rollup_economics_zksync_l1_verification_fees') ] %} From 0fb0d7c9f4439b55cc2a39bb442d9bb0008f5d53 Mon Sep 17 00:00:00 2001 From: Jam516 Date: Fri, 27 Sep 2024 13:42:19 +0100 Subject: [PATCH 2/2] change file names back2 --- ...l1_data_fees.sql => rollup_economics_zkevm_l1_data_fees.sql} | 0 .../l1_data_fees/rollup_economics_ethereum_l1_data_fees.sql | 2 +- ...fees.sql => rollup_economics_zkevm_l1_verification_fees.sql} | 0 .../rollup_economics_ethereum_l1_verification_fees.sql | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) rename dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_data_fees/chains/{rollup_economics_polygon_zkevm_l1_data_fees.sql => rollup_economics_zkevm_l1_data_fees.sql} (100%) rename dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_verification_fees/chains/{rollup_economics_polygon_zkevm_l1_verification_fees.sql => rollup_economics_zkevm_l1_verification_fees.sql} (100%) diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_data_fees/chains/rollup_economics_polygon_zkevm_l1_data_fees.sql b/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_data_fees/chains/rollup_economics_zkevm_l1_data_fees.sql similarity index 100% rename from dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_data_fees/chains/rollup_economics_polygon_zkevm_l1_data_fees.sql rename to dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_data_fees/chains/rollup_economics_zkevm_l1_data_fees.sql diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_data_fees/rollup_economics_ethereum_l1_data_fees.sql b/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_data_fees/rollup_economics_ethereum_l1_data_fees.sql index edd84973c0d..b998dac6bbc 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_data_fees/rollup_economics_ethereum_l1_data_fees.sql +++ b/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_data_fees/rollup_economics_ethereum_l1_data_fees.sql @@ -14,7 +14,7 @@ , ref('rollup_economics_optimism_l1_data_fees') , ref('rollup_economics_scroll_l1_data_fees') , ref('rollup_economics_starknet_l1_data_fees') - , ref('rollup_economics_polygon_zkevm_l1_data_fees') + , ref('rollup_economics_zkevm_l1_data_fees') , ref('rollup_economics_zksync_l1_data_fees') , ref('rollup_economics_zksync_lite_l1_data_fees') ] %} diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_verification_fees/chains/rollup_economics_polygon_zkevm_l1_verification_fees.sql b/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_verification_fees/chains/rollup_economics_zkevm_l1_verification_fees.sql similarity index 100% rename from dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_verification_fees/chains/rollup_economics_polygon_zkevm_l1_verification_fees.sql rename to dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_verification_fees/chains/rollup_economics_zkevm_l1_verification_fees.sql diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_verification_fees/rollup_economics_ethereum_l1_verification_fees.sql b/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_verification_fees/rollup_economics_ethereum_l1_verification_fees.sql index a30ee68eb79..e170a0128d6 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_verification_fees/rollup_economics_ethereum_l1_verification_fees.sql +++ b/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_verification_fees/rollup_economics_ethereum_l1_verification_fees.sql @@ -9,7 +9,7 @@ ref('rollup_economics_linea_l1_verification_fees') , ref('rollup_economics_scroll_l1_verification_fees') , ref('rollup_economics_starknet_l1_verification_fees') - , ref('rollup_economics_polygon_zkevm_l1_verification_fees') + , ref('rollup_economics_zkevm_l1_verification_fees') , ref('rollup_economics_zksync_l1_verification_fees') ] %}