Skip to content

Commit

Permalink
merge square size
Browse files Browse the repository at this point in the history
  • Loading branch information
ninabarbakadze committed Apr 25, 2024
2 parents ee4d6d0 + e8b6c2a commit bda85fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/square_size.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func (app *App) MaxEffectiveSquareSize(ctx sdk.Context) int {
return int(appconsts.DefaultGovMaxSquareSize)
}

govMax := int(app.BlobKeeper.GovMaxSquareSize(ctx))
hardMax := appconsts.SquareSizeUpperBound(app.AppVersion())
return min(govMax, hardMax)
gmax := int(app.BlobKeeper.GovMaxSquareSize(ctx))
hardMax := appconsts.SquareSizeUpperBound(app.AppVersion(ctx))

Check failure on line 21 in app/square_size.go

View workflow job for this annotation

GitHub Actions / Analyze (go)

too many arguments in call to app.AppVersion

Check failure on line 21 in app/square_size.go

View workflow job for this annotation

GitHub Actions / lint / golangci-lint

too many arguments in call to app.AppVersion

Check failure on line 21 in app/square_size.go

View workflow job for this annotation

GitHub Actions / lint / golangci-lint

too many arguments in call to app.AppVersion

Check failure on line 21 in app/square_size.go

View workflow job for this annotation

GitHub Actions / lint / golangci-lint

too many arguments in call to app.AppVersion

Check failure on line 21 in app/square_size.go

View workflow job for this annotation

GitHub Actions / lint / golangci-lint

too many arguments in call to app.AppVersion

Check failure on line 21 in app/square_size.go

View workflow job for this annotation

GitHub Actions / lint / golangci-lint

too many arguments in call to app.AppVersion

Check failure on line 21 in app/square_size.go

View workflow job for this annotation

GitHub Actions / test / test

too many arguments in call to app.AppVersion

Check failure on line 21 in app/square_size.go

View workflow job for this annotation

GitHub Actions / test / test

too many arguments in call to app.AppVersion

Check failure on line 21 in app/square_size.go

View workflow job for this annotation

GitHub Actions / test / test

too many arguments in call to app.AppVersion

Check failure on line 21 in app/square_size.go

View workflow job for this annotation

GitHub Actions / test / test

too many arguments in call to app.AppVersion

Check failure on line 21 in app/square_size.go

View workflow job for this annotation

GitHub Actions / test / test

too many arguments in call to app.AppVersion

Check failure on line 21 in app/square_size.go

View workflow job for this annotation

GitHub Actions / test / test-coverage

too many arguments in call to app.AppVersion

Check failure on line 21 in app/square_size.go

View workflow job for this annotation

GitHub Actions / test / test-fuzz

too many arguments in call to app.AppVersion

Check failure on line 21 in app/square_size.go

View workflow job for this annotation

GitHub Actions / test / test-race

too many arguments in call to app.AppVersion

Check failure on line 21 in app/square_size.go

View workflow job for this annotation

GitHub Actions / test / test-race

too many arguments in call to app.AppVersion

Check failure on line 21 in app/square_size.go

View workflow job for this annotation

GitHub Actions / test / test-race

too many arguments in call to app.AppVersion

Check failure on line 21 in app/square_size.go

View workflow job for this annotation

GitHub Actions / test / test-race

too many arguments in call to app.AppVersion

Check failure on line 21 in app/square_size.go

View workflow job for this annotation

GitHub Actions / test / test-race

too many arguments in call to app.AppVersion

Check failure on line 21 in app/square_size.go

View workflow job for this annotation

GitHub Actions / test / test-short

too many arguments in call to app.AppVersion

Check failure on line 21 in app/square_size.go

View workflow job for this annotation

GitHub Actions / test / test-short

too many arguments in call to app.AppVersion

Check failure on line 21 in app/square_size.go

View workflow job for this annotation

GitHub Actions / test / test-short

too many arguments in call to app.AppVersion

Check failure on line 21 in app/square_size.go

View workflow job for this annotation

GitHub Actions / test / test-short

too many arguments in call to app.AppVersion

Check failure on line 21 in app/square_size.go

View workflow job for this annotation

GitHub Actions / test / test-short

too many arguments in call to app.AppVersion
return min(gmax, hardMax)
}

0 comments on commit bda85fd

Please sign in to comment.