The new test added here shows that you can edit a transaction with tx.raw = cloneFrom(tx.build) and that the tx.simulationData will be updated correctly.
simulationData is effectively a cache, and we need to make sure we clear it when you re-simulate.
The new test added here shows that you can edit a transaction with
tx.raw = cloneFrom(tx.build)
and that thetx.simulationData
will be updated correctly.simulationData
is effectively a cache, and we need to make sure we clear it when you re-simulate.