Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 12
    This does not work in solidity version 0.5.0+ Commented Jan 4, 2019 at 14:38
  • 2
    and what does?? Commented Feb 6, 2020 at 11:11
  • 2
    updated for solidity version past 0.5.0 Commented Oct 8, 2020 at 11:37
  • 4
    does not work getting this error ` Failed to decode output: null: invalid codepoint at offset 2; missing continuation byte (argument="bytes", value={"0":91,"1":218,"2":113,"3":98,"4":184,"5":77,"6":255,"7":114,"8":27,"9":203,"10":143,"11":119,"12":114,"13":120,"14":180,"15":136,"16":222,"17":216,"18":209,"19":71,"20":82,"21":100,"22":212,"23":54,"24":28,"25":107,"26":10,"27":191,"28":204,"29":42,"30":153,"31":168}, code=INVALID_ARGUMENT, version=strings/5.1.0) ` was trying to convert this string 0x5bda7162b84dff721bcb8f777278b488ded8d1475264d4361c6b0abfcc2a99a8 Commented Jun 29, 2021 at 16:33