diff --git a/evaluation_dashboards/app/src/shared.py b/evaluation_dashboards/app/src/shared.py index e37f155..8bbb55a 100644 --- a/evaluation_dashboards/app/src/shared.py +++ b/evaluation_dashboards/app/src/shared.py @@ -1,6 +1,6 @@ UNION_RAW_DATA_JOINED_WITH_PARAMETER = """with raw_data as ( select pa.uid, sell_amount, buy_amount, executed_sell_amount, executed_buy_amount, exchange, name, data, output_value_usd, gas_cost_usd_from_trader_contract, gas_cost_usd_from_trace_callMany, gas_price, sell_token_price, buy_token_price, eth_price, block_number from exchange prd inner join parameters pa on pa.uid = prd.uid - where output_value_usd <> 'NaN' and (executed_sell_amount != 0 or name='cowswap') - ORDER BY block_number DESC limit 10000 + where output_value_usd <> 'NaN' and gas_price <> 'NaN' and (executed_sell_amount != 0 or name='cowswap') + ORDER BY block_number DESC limit 50000 ),""" # Since reverted transactions have an executed_sell_amount of zero, we will filter them out. Only cowswap has executed_sell_amount of zer0, as the tx can not be simulated