You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
The text was updated successfully, but these errors were encountered: