How can I estimate the gas I need for a string which may be quite long?
I've found an example here, but in this estimate, it doesn't include any custom data.
In my app I would like to save a string on-chain, though the estimateGas's
data property appears to require the bytecode for the contract.
How would I go about dealing with this?