Hi, all. I’m currently intersting in some content in Old Resolver (e.g., 0x1da022710df5002339274aadee8d58218e9d6ab5)'s “SetContent” function. How can I know the encoding of these contents? They seem to be different from the current contenthash encoding. For example, how could I know the content in the https://etherscan.io/tx/0x7b962951911248934072cf9c530275b6cdbbf5658919696698c09758ae5eb98e#eventlog? Thanks in advance.
These were simple keccak256 hashes used by Swarm, with no metadata attached.
Thanks for the reply! Seems that this hash “ 8a63389395bf435107adcd497dcb60c26d9911bd3eb1f2838258a67e2951374e” does not work on Swarm any more… And I want to make sure that the “SetContent” function is designed only for Swarm hashes and there are some malformed hash on the chain, right?
And I want to make sure that the “SetContent” function is designed only for Swarm hashes I don’t think you can. That’s why we transitioned to use
setContenthash which can set such info using https://github.com/multiformats/multicodec