Open ngyam opened 6 years ago
@ngyam Hello, may I ask which function do you use for reverseNode??
Hi @eosclassicteam sorry for not replying for so long I was using getRootNodeFromTLD
which was already there.
/**
* Calculate root node hashes given the top level domain(tld)
*
* @param {string} tld plain text tld, for example: 'eth'
*/
function getRootNodeFromTLD(tld) {
console.log(web3.utils.sha3(tld))
return {
namehash: namehash(tld),
sha3: web3.utils.sha3(tld)
};
}
...
var reverseNode = getRootNodeFromTLD('reverse');
var addrNode = getRootNodeFromTLD('addr');
Strangely enough, the deployment was successful for a colleague who had
Parity 1.11.6 Beta
Truffle 4.1.3 (solc 0.4.19)
installed. I also reverted my Parity version to this older one and the deployment magically worked.
I guess it is was a Parity client issue then, but curious if anyone had similar experiences.
OS: Ubuntu 16.04.5 LTS
node: v8.11.3
npm: 6.2.0
Truffle: v4.1.13
solc: 0.4.24+commit.e67f0147.Linux.g++
Parity: v2.1.0-nightly-4848c38-20180723
Problem
I was trying to deploy the ENS contracts on Tobalaba network (Parity client, PoA) using Truffle. Deployment goes well up until the point it gets to the
DefaultReverseResolver
, then it fails:What did I do
2_deploy_contracts.js
with the following (owner
is my account address):Then:
truffle migrate --network dev.fifs --reset
What else did I try
Am I missing something important? Not sure if I did everything right, since I get the same issue on all these networks.