Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use reservation resource units if they exist #242

Merged
merged 6 commits into from
May 15, 2024
Merged

Conversation

andrewhare
Copy link
Contributor

@andrewhare andrewhare commented May 9, 2024

Resolves akash-network/support#166

This PR extends the Request struct to include resource units from a reservation (if it exists). The CalculatedPrice function will use those units if they are available.

@andrewhare andrewhare requested a review from chainzero May 9, 2024 03:14
@andrewhare andrewhare requested review from boz and troian as code owners May 9, 2024 03:14
go.mod Outdated Show resolved Hide resolved
bidengine/shellscript.go Outdated Show resolved Hide resolved
bidengine/shellscript.go Outdated Show resolved Hide resolved
@andrewhare andrewhare requested a review from troian May 9, 2024 16:29
@andrewhare andrewhare changed the title Check request against reservation values Use reservation resource units if they exist May 9, 2024
@andrewhare andrewhare requested a review from troian May 14, 2024 18:30
@andrewhare andrewhare changed the title Use reservation resource units if they exist use reservation resource units if they exist May 14, 2024
@troian troian merged commit e2e5214 into main May 15, 2024
13 checks passed
@troian troian deleted the fix/166-bid-price branch May 15, 2024 01:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants