Skip to content

Commit 8f5a63f

Browse files
committed
fix(vdb_summary): erroneous table identifier in column name
1 parent a2562b3 commit 8f5a63f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/pkg/api/data_access/vdb_summary.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1259,8 +1259,8 @@ func (d *DataAccessService) GetValidatorDashboardSlashingsSummaryValidators(ctx
12591259
From(goqu.L(fmt.Sprintf("%s AS r", clickhouseTable))).
12601260
With("validators", goqu.L("(SELECT group_id, validator_index FROM users_val_dashboards_validators WHERE dashboard_id = ?)", dashboardId.Id)).
12611261
Select(
1262-
goqu.SUM(goqu.L("r.epoch_start")).As("r.epoch_start"),
1263-
goqu.SUM(goqu.L("r.epoch_end")).As("r.epoch_end"),
1262+
goqu.SUM(goqu.L("r.epoch_start")).As("epoch_start"),
1263+
goqu.SUM(goqu.L("r.epoch_end")).As("epoch_end"),
12641264
goqu.L("r.validator_index"),
12651265
goqu.MAX(goqu.L("r.slashed")).As("slashed"),
12661266
goqu.SUM(goqu.L("r.blocks_slashing_count")).As("slashed_amount")).

0 commit comments

Comments
 (0)