archethic-node icon indicating copy to clipboard operation
archethic-node copied to clipboard

Smart Contracts: Stop the worker if the contract has no funds

Open bchamagne opened this issue 1 year ago • 0 comments

Is your feature request related to a problem?

There is no point in trying to run a contract that has no funds. We should delete the worker as soon as it fails for :insufficient_funds. We should create the worker as soon as the contract chain receive UCOs.

Describe the solution you'd like

No response

Additional context

Epic: #608

bchamagne avatar Apr 24 '23 08:04 bchamagne