FuelLabs / fuels-ts

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

Remove `InvocationResult` From Program Package #2653

Open Torres-ssf opened 2 days ago

Torres-ssf commented 2 days ago

The InvocationResult class and its derived classes are currently used to assemble the results of contract/script calls from the BaseInvocationScope class.

The current inheritance structure does not provide significant benefits and introduces unnecessary complexity. This additional noise can be reduced by adopting a more straightforward approach.

By implementing this change, we can achieve a cleaner, more maintainable codebase.