From 63e043558c0b89c3333bb31377917cb80413eca3 Mon Sep 17 00:00:00 2001 From: harisang Date: Fri, 22 Nov 2024 17:22:04 +0200 Subject: [PATCH] hardcode gnosis chain caps for testing purposes --- src/sql/orderbook/batch_data.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sql/orderbook/batch_data.sql b/src/sql/orderbook/batch_data.sql index 355a010..a008eda 100644 --- a/src/sql/orderbook/batch_data.sql +++ b/src/sql/orderbook/batch_data.sql @@ -216,10 +216,10 @@ reward_per_auction as ( -- Capped Reward = CLAMP_[-E, E + exec_cost](uncapped_reward_eth) LEAST( GREATEST( - - {{EPSILON_LOWER}}, + - 10000000000000000000, observed_score - reference_score ), - {{EPSILON_UPPER}} + 20000000000000000000 ) as capped_payment, winning_score, reference_score