Skip to content

Commit

Permalink
Merge pull request #196 from gobitfly/NOBIDS/Slots_for_dashboard_with…
Browse files Browse the repository at this point in the history
…drawals_view

Add the slots info for the withdrawals view
  • Loading branch information
Eisei24 authored Apr 12, 2024
2 parents ba32956 + 949da2c commit 7f43b8e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion backend/cmd/typescript_converter/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions backend/pkg/api/types/validator_dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down
1 change: 1 addition & 0 deletions frontend/types/api/validator_dashboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7f43b8e

Please sign in to comment.