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

fix: adjust cycles cost calculation #128

Merged
merged 11 commits into from
Jan 18, 2024
Merged

fix: adjust cycles cost calculation #128

merged 11 commits into from
Jan 18, 2024

Conversation

rvanasa
Copy link
Collaborator

@rvanasa rvanasa commented Jan 16, 2024

Removes get_candid_rpc_cost() (cost calculation from ckETH) in favor of the more precise get_http_request_cost(). This PR also updates the HTTP outcall prices to reflect the latest values from the developer docs.

Closes #129.

@rvanasa rvanasa changed the title chore: refactor cycles cost calculation fix: adjust cycles cost calculation Jan 16, 2024
@rvanasa rvanasa marked this pull request as draft January 16, 2024 17:27
@rvanasa rvanasa marked this pull request as ready for review January 17, 2024 22:08
@rvanasa rvanasa merged commit 856d841 into main Jan 18, 2024
@rvanasa rvanasa deleted the http-outcall-cycles branch January 18, 2024 18:57
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.

Adjust cycles cost calculation
2 participants