FuelLabs / fuel-vm

Fuel v2 interpreter in Rust
Other
344 stars 77 forks source link

Consider changing the behavior of the LDC opcode to allow multiple codes to join #773

Open xgreenx opened 3 weeks ago

xgreenx commented 3 weeks ago

The spec states that LDC could be used to "concatenate" code of multiple contracts. Currently the opcode does orig_contract.code || orig_contract.padding || new_contract.code || new_contract.padding instead of orig_contract.code || new_contract.code || padding.