Skip to content

Commit

Permalink
BlobsCount field type changed to int64
Browse files Browse the repository at this point in the history
  • Loading branch information
k-karuna committed Nov 13, 2024
1 parent 077199a commit f140332
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/api/handler/responses/rollup.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ func NewRollupWithDayStats(r storage.RollupWithDayStats) RollupWithDayStats {
type RollupGroupedStats struct {
Fee float64 `example:"123.456789" format:"string" json:"fee" swaggertype:"string"`
Size float64 `example:"1000" format:"integer" json:"size" swaggertype:"integer"`
BlobsCount float64 `example:"2" format:"integer" json:"blobs_count" swaggertype:"integer"`
BlobsCount int64 `example:"2" format:"integer" json:"blobs_count" swaggertype:"integer"`
Group string `example:"group" format:"string" json:"group" swaggertype:"string"`
}

Expand Down
2 changes: 1 addition & 1 deletion internal/storage/rollup.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,6 @@ type RollupHistogramItem struct {
type RollupGroupedStats struct {
Fee float64 `bun:"fee"`
Size float64 `bun:"size"`
BlobsCount float64 `bun:"blobs_count"`
BlobsCount int64 `bun:"blobs_count"`
Group string `bun:"group"`
}

0 comments on commit f140332

Please sign in to comment.