FuelLabs / fuel-vm

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

Allow Checked<TX> and CheckedTransaction to work with Arc #831

Open AurelienFT opened 2 months ago

AurelienFT commented 2 months ago

This will prevent us from cloning when we want to pass from a Arc<Transaction> to a Checked<Tx>

AurelienFT commented 1 month ago

I don't know if this is possible given the fact that we mutate the object during IntoChecked : https://github.com/FuelLabs/fuel-vm/blob/d2c76e240afb004dee4f226d053d31d1d88d5a1c/fuel-vm/src/checked_transaction/types.rs#L216

Removing assignation for now.