diff --git a/backend/cmd/typescript_converter/main.go b/backend/cmd/typescript_converter/main.go index a5c76ec29..e3c652036 100644 --- a/backend/cmd/typescript_converter/main.go +++ b/backend/cmd/typescript_converter/main.go @@ -30,7 +30,7 @@ var typeMappings = map[string]string{ // Expects the following flags: // -out: Output folder for the generated TypeScript file -// Standard usage (execute in backend folder): go run cmd/typescript-converter/main.go -out ../frontend/types/api +// Standard usage (execute in backend folder): go run cmd/typescript_converter/main.go -out ../frontend/types/api func main() { var out string diff --git a/backend/pkg/api/types/validator_dashboard.go b/backend/pkg/api/types/validator_dashboard.go index 29bb45911..305d41002 100644 --- a/backend/pkg/api/types/validator_dashboard.go +++ b/backend/pkg/api/types/validator_dashboard.go @@ -201,6 +201,7 @@ type InternalGetValidatorDashboardConsensusLayerDepositsResponse ApiPagingRespon // Withdrawals Tab type VDBWithdrawalsTableRow struct { Epoch uint64 `json:"epoch"` + Slot uint64 `json:"slot"` Index uint64 `json:"index"` GroupId uint64 `json:"group_id"` Recipient Address `json:"recipient"` diff --git a/frontend/types/api/validator_dashboard.ts b/frontend/types/api/validator_dashboard.ts index 4d7dd36fc..57f187a69 100644 --- a/frontend/types/api/validator_dashboard.ts +++ b/frontend/types/api/validator_dashboard.ts @@ -187,6 +187,7 @@ export type InternalGetValidatorDashboardConsensusLayerDepositsResponse = ApiPag */ export interface VDBWithdrawalsTableRow { epoch: number /* uint64 */; + slot: number /* uint64 */; index: number /* uint64 */; group_id: number /* uint64 */; recipient: Address;