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',