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

[feature] schedule call fee estimation #21

Open
extraymond opened this issue Jul 1, 2022 · 0 comments
Open

[feature] schedule call fee estimation #21

extraymond opened this issue Jul 1, 2022 · 0 comments
Assignees
Labels

Comments

@extraymond
Copy link
Contributor

Info

background:
For calling scheduled call, the actual price when the call is executed might deviate from the initial deposit where the call will not be able to go through. Hence we most likely will require the caller to prepaid a higher amount. To reduce the over withdrawn amount, we need to calculate the price dynamically and provide an suggestion.

expected results:

  • using on_finalized to calculate the avg price modified by some Modifier
  • using off_chain worker to submit the averaged price
  • proper migration for calls from previous runtime version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants