FuelLabs / fuel-vm

Fuel v2 interpreter in Rust
Other
358 stars 88 forks source link

Add access to {asset_id,to,amount} fields for Variable and Change outputs #675

Closed Dentosal closed 9 months ago

Dentosal commented 9 months ago

Closes https://github.com/FuelLabs/fuel-vm/issues/650

Dentosal commented 9 months ago

After https://github.com/FuelLabs/fuel-vm/pull/678 accessing fields of Output::Variable no longer make sense. Also, as Voxelot pointed out above, Output::Change amount is always zero, so better leave that one out as well.