FuelLabs / fuel-vm

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

A new `Upload` transaction to upload the huge bytecode on the chain #714

Closed xgreenx closed 7 months ago

xgreenx commented 7 months ago

Related https://github.com/FuelLabs/fuel-core/issues/1754 and https://github.com/FuelLabs/fuel-specs/pull/570

The change adds a new Upload transaction that allows uploading huge byte code on chain subsection by subsection.

The Upload transaction is chargeable and is twice as expensive as the Create transaction. Anyone can submit this transaction.

Before requesting review

Dentosal commented 7 months ago

This one looks good to go, but I left some comments on the spec PR and I'd like to resolve them first.