Skip to content

Commit 185df2d

Browse files
committed
add reward_type
1 parent b6b78fe commit 185df2d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

pkg/rewards/18_goldAvsOperatorSetUniqueStakeRewards.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ WITH total_available_tokens AS (
1919
operator_set_id,
2020
MAX(tokens_per_day_decimal) as total_tokens
2121
FROM {{.activeStakeRewardsTable}}
22+
WHERE reward_type = 'unique_stake'
2223
GROUP BY reward_hash, snapshot, token, avs, operator_set_id
2324
),
2425

pkg/rewards/21_goldAvsOperatorSetTotalStakeRewards.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ WITH total_available_tokens AS (
1919
operator_set_id,
2020
MAX(tokens_per_day_decimal) as total_tokens
2121
FROM {{.activeStakeRewardsTable}}
22+
WHERE reward_type = 'total_stake'
2223
GROUP BY reward_hash, snapshot, token, avs, operator_set_id
2324
),
2425

0 commit comments

Comments
 (0)