Open xgreenx opened 2 years ago
One thing to note, we'd need to come up with an alternate way to set the change outputs on create txs for any unused fees. Deploy currently only inserts the contract into state without any alterations on the transaction itself.
Deploy return altered Create
with actual outputs
Interpreter::transact
acceptsCreate
andScript
transactions. But we don't execute any script onCreate
, and it seems redundant and not clear thattransact
support both transactions.Interpreter
already provides thedeploy
method for theCreate
transaction, sotransact
now can work only withScript
, and we can remove support ofCreate
.It is breaking change and requires the adaptation of
fuel-core
andfuel-rs
.