FuelLabs / fuels-ts

Fuel Network Typescript SDK
https://docs.fuel.network/docs/fuels-ts/
Apache License 2.0
44.25k stars 1.34k forks source link

Unused `OperationName` Enum Entries in the SDK #3008

Open Torres-ssf opened 3 weeks ago

Torres-ssf commented 3 weeks ago

Not all entries of the OperationName enum seem to be in use. Right now the SDK does not assemble operations for the following enum values:

  1. OperationName.mint Intended to be used when the transaction minted some coins
  2. OperationName.predicatecall When a predicate code was executed within the TX
  3. OperationName.script Presumably for script calls, though its exact usage is unclear.
  4. OperationName.sent The purpose of this entry is not well defined.

These entries might need to be reviewed and either implemented where necessary or removed if they are irrelevant/redundant.

Torres-ssf commented 3 weeks ago

@LuizAsFight Can you help us determine which operations should be removed/implemented?

LuizAsFight commented 4 hours ago

I think they can be removed @Torres-ssf