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.
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
toexecuteMessage
andcreateExecuteMessageExtrinsic
. If this parameter istrue
, skip the dry running step and use the provided gas limits as the required gas.