From 69fb49dd0f5e3bd7bb6d77023c0da40725495a06 Mon Sep 17 00:00:00 2001 From: drethereum <71602799+drethereum@users.noreply.github.com> Date: Fri, 25 Apr 2025 13:19:49 -0600 Subject: [PATCH] macro comment (#440) --- macros/prices/update_blockchain.sql | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/macros/prices/update_blockchain.sql b/macros/prices/update_blockchain.sql index bd888da..33a7490 100644 --- a/macros/prices/update_blockchain.sql +++ b/macros/prices/update_blockchain.sql @@ -1,5 +1,11 @@ {% macro update_blockchain(new_blockchain_name, current_blockchain_names) %} - +{# + This macro updates the blockchain column in the prices tables. + It requires a corresponding update in the all_providers tables to normalize the blockchain names. + It takes two arguments: + - new_blockchain_name: The new blockchain name to set in the blockchain column. + - current_blockchain_names: A list of current blockchain names to update. +#} {% for table in [ 'crosschain.silver.token_prices_all_providers', 'crosschain.silver.token_asset_metadata_all_providers',