From bd7554e5683ae7ade78f46fcb082cc163416da24 Mon Sep 17 00:00:00 2001 From: Troy Date: Tue, 21 Jan 2025 15:37:32 -0700 Subject: [PATCH] fix lint --- .../marts/base/mainnet/leveraged_tokens/lt_leaderboard.sql | 2 +- .../base/mainnet/leveraged_tokens/lt_trades_base_mainnet.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/transformers/synthetix/models/marts/base/mainnet/leveraged_tokens/lt_leaderboard.sql b/transformers/synthetix/models/marts/base/mainnet/leveraged_tokens/lt_leaderboard.sql index 66368013..f8c2f943 100644 --- a/transformers/synthetix/models/marts/base/mainnet/leveraged_tokens/lt_leaderboard.sql +++ b/transformers/synthetix/models/marts/base/mainnet/leveraged_tokens/lt_leaderboard.sql @@ -7,7 +7,7 @@ with redemptions as ( 'week', block_timestamp + INTERVAL '6 day' ) - INTERVAL '6 day' as epoch_start, - "caller" as account, + "caller" as account, -- noqa {{ convert_wei('leveraged_token_amount') }} * CAST( REGEXP_REPLACE( token, diff --git a/transformers/synthetix/models/marts/base/mainnet/leveraged_tokens/lt_trades_base_mainnet.sql b/transformers/synthetix/models/marts/base/mainnet/leveraged_tokens/lt_trades_base_mainnet.sql index 04b5f10a..8ea33972 100644 --- a/transformers/synthetix/models/marts/base/mainnet/leveraged_tokens/lt_trades_base_mainnet.sql +++ b/transformers/synthetix/models/marts/base/mainnet/leveraged_tokens/lt_trades_base_mainnet.sql @@ -41,7 +41,7 @@ with trades as ( transaction_hash, contract, event_name, - "caller" as account, + "caller" as account, -- noqa token, cast( regexp_replace(token, '.*_(long|short)', '') as int