fuel-core icon indicating copy to clipboard operation
fuel-core copied to clipboard

Remove `maturity` field from the `Coin`

Open xgreenx opened this issue 1 year ago • 3 comments

When we create a Coin, we set maturity to zero because the user doesn't have a way to specify the maturity for the Output. Because of that, it is a useless field right now.

Either we need to provide a way for the user to set it or remove it completely.

As a fast solution, we can remove it for now and add support for it later with the upgrade.

xgreenx avatar Jan 24 '24 14:01 xgreenx

@xgreenx should this issue be closed as well? Also we should update the specs.

Voxelot avatar Feb 09 '24 20:02 Voxelot

It is not implemented yet, so we don't need to close it, we closed the duplicate=) Yeah, we need to update the specification as well not to include maturity in the Coin input.

xgreenx avatar Feb 12 '24 11:02 xgreenx

Mostly implemented in https://github.com/FuelLabs/fuel-vm/pull/684, although we still need a follow-up for fuel-core after that.

Dentosal avatar Feb 22 '24 06:02 Dentosal

Finished with https://github.com/FuelLabs/fuel-core/pull/1714

xgreenx avatar Mar 04 '24 14:03 xgreenx