StratisFullNode
StratisFullNode copied to clipboard
[Cirrus] Transaction Receipt Return Value
Support for returning an array in the returnValue, a delimited string, or escaped json string when retrieving a transaction receipt.
Current responses show like: "returnValue": "Stratis.SmartContracts.UInt256[]"
Running latest release/1.0.9.0.
This occurs due the return value's ToString being used to get its string representation that is persisted in the receipt DB. This works fine for most primitive types but unfortunately not arrays of primitive types. Any solution will need to consider that the receipt DB must be fully rebuilt as all previous array return values will change.