ens_name_by_hash is deprecated
Do you want to request a feature or report a bug? Not sure is this a bug
What is the current behavior?
When I deploy the ens-graph in the graph-node, I got this error, my graph-ts version is v0.23
Apr 20 14:43:58.738 ERRO Handler skipped due to execution failure, error: ens_name_by_hash is deprecated wasm backtrace: 0: 0x2e77 -
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
What is the expected behavior? No error
How can I use ens_name_by_hash method, since it is required in ens-subgraph, I'm trying to deploy ens and ens-subgraph in an EVM compatible chain.
I found this function is not open default, to use it need set the GRAPH_ALLOW_NON_DETERMINISTIC_IPFS env variable to true.
Just wondering why this method is deprecated ?
@Pana this is deprecated because it's a feature that isn't allowed in the network, since it isn't deterministic, just like the IPFS functions, depending on file availability, etc.
Related PRs:
- https://github.com/graphprotocol/graph-node/pull/1958
- https://github.com/graphprotocol/graph-node/pull/2414
@Pana this is deprecated because it's a feature that isn't allowed in the network, since it isn't deterministic, just like the IPFS functions, depending on file availability, etc.
Related PRs:
How I Can resolve this problem? Is Deploying a smart contract—the deterministic way is the solution or I need allow something on my EVM