Skip to content

Conversation

@istae
Copy link
Contributor

@istae istae commented Oct 29, 2024

Checklist

  • I have read the coding guide.
  • My change requires a documentation update, and I have done it.
  • I have added tests to cover my changes.
  • I have filled out the description and linked the related issues.

Description

approve transactions also rely on the estimator

Open API Spec Version Changes (if applicable)

Motivation and Context (Optional)

Related Issue (Optional)

Screenshots (if appropriate):

radius := db.StorageRadius()

networkRadius := radius + uint8(db.reserveOptions.capacityDoubling)
responsibilityRadius := radius + uint8(db.reserveOptions.capacityDoubling)
Copy link
Member

@gacevicljubisa gacevicljubisa Oct 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can radius + uint8(db.reserveOptions.capacityDoubling) be bigger then 255? if Doubling is max 2 then I suppose not?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should not be possible

@istae istae merged commit 78bea5c into master Oct 31, 2024
@istae istae deleted the release-fix branch October 31, 2024 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants