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

Add a test to verify that malleable fields don't affect validity of the block

Open xgreenx opened this issue 1 year ago • 1 comments

Add unit test to executor or integration test to the fuel-core that verifies validity of the block is not affected by the set malleable fields.

Implementation details

The bytecode can take the hash of the transaction from VM memory and check that it is equal to the tx_id in the begging of the memory.

xgreenx avatar Jan 24 '24 14:01 xgreenx

Included in https://github.com/FuelLabs/fuel-vm/pull/678

Dentosal avatar Feb 19 '24 17:02 Dentosal

Done as part of the https://github.com/FuelLabs/fuel-core/pull/1714

xgreenx avatar Mar 04 '24 13:03 xgreenx