clockwork-xyz / clockwork

Smart-contract automation on Solana.
https://clockwork.xyz
GNU Affero General Public License v3.0
274 stars 77 forks source link

[WIP] Make threads the transaction fee payer #261

Open nickgarfield opened 1 year ago

nickgarfield commented 1 year ago

This seems to work on localnet. How does this work if the transaction errors?

If the thread gets charged even for failed transactions, is this a vulnerability? Ie. someone could maliciously drain a thread's balance.

If this is the case, don't we want to force the fee payer to be a worker?