From 2113fc69f112a4e48b32182cb8b3e85c2c51289e Mon Sep 17 00:00:00 2001 From: Sasha Zezulinsky <188990923+sasha-bitfly@users.noreply.github.com> Date: Mon, 16 Dec 2024 23:34:51 +0000 Subject: [PATCH] rounding blocks cl rewards --- backend/pkg/api/data_access/vdb_blocks.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/pkg/api/data_access/vdb_blocks.go b/backend/pkg/api/data_access/vdb_blocks.go index e2db9fb35..c37e06180 100644 --- a/backend/pkg/api/data_access/vdb_blocks.go +++ b/backend/pkg/api/data_access/vdb_blocks.go @@ -381,7 +381,7 @@ func (d *DataAccessService) GetValidatorDashboardBlocks(ctx context.Context, das From(goqu.L("mainnet.validator_proposal_rewards_slot")). Select( goqu.C("slot"), - goqu.L("attestations_reward / 1e9 + sync_aggregate_reward / 1e9 + slasher_reward / 1e9 AS cl_reward"), + goqu.L("attestations_reward + sync_aggregate_reward + slasher_reward AS cl_reward"), ).Where(goqu.C("slot").In(slots)) clRewardsQuerySql, args, err := clRewardsQuery.Prepared(true).ToSQL() if err != nil {