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

Allow to skip dry-running method calls #11

Closed
TorstenStueber opened this issue Aug 5, 2024 · 0 comments · Fixed by #12
Closed

Allow to skip dry-running method calls #11

TorstenStueber opened this issue Aug 5, 2024 · 0 comments · Fixed by #12
Assignees

Comments

@TorstenStueber
Copy link
Member

Currently every method call is first dry-run in order to estimate gas fees and use these estimates in the actual method call.

There are scenarios where a transaction needs to be created at an earlier time point so that dry running would generate an error. In this case the solution is to just skip dry running altogether and create the transaction directly.

TODO

Add an optional Boolean parameter skipDryRunning to executeMessage and createExecuteMessageExtrinsic. If this parameter is true, skip the dry running step and use the provided gas limits as the required gas.

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 a pull request may close this issue.

1 participant