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
All issues which aren't created with this template will get immediately closed.
It seems like EnsModuleFactorycreateENS method never passes the instance of contractModuleFactory to the constructor of Ens resulting in contractModuleFactory being undefined when createRegistry is called.
Call getAddress to get the address of a register name on ens.
Actual behavior
Calling getAddress throws the following exception.
TypeError: "_this.contractModuleFactory is undefined"AbstractContractweb3-eth-contract.umd.js:954Registryweb3-eth-ens.umd.js:931createRegistryweb3-eth-ens.umd.js:1070getweb3-eth-ens.umd.js:408_callee2$web3-eth-ens.umd.js:88tryCatchruntime.js:62invokeruntime.js:288methodruntime.js:114node_modulesasyncToGenerator.js:3node_modulesasyncToGenerator.js:25node_modulesasyncToGenerator.js:32Promisees6.promise.js:177node_modulesasyncToGenerator.js:21getAddressweb3-eth-ens.umd.js:100_callee$HelloWorld.vue:17tryCatchruntime.js:62invokeruntime.js:288methodruntime.js:114node_modulesasyncToGenerator.js:9node_modulesasyncToGenerator.js:31node_modulesasyncToGenerator.js:38Promisees6.promise.js:177node_modulesasyncToGenerator.js:27
Steps to reproduce the behavior
Setup web3 with the http provider (the rpc provider is a geth client on rinkeby)
Get the ens module web3.eth.ens
ens.getAddress()
Error Logs
Versions
[NPM, Node, Web3.js, OS, device...]
npm: '6.4.1'
node: v10.13.0
web3.js: 1.0.0-beta.46
The text was updated successfully, but these errors were encountered:
All issues which aren't created with this template will get immediately closed.
It seems like
EnsModuleFactory
createENS
method never passes the instance ofcontractModuleFactory
to the constructor ofEns
resulting incontractModuleFactory
being undefined whencreateRegistry
is called.https://github.com/ethereum/web3.js/blob/2f0ada25b3988e67ec0d9a86a593146a57b43114/packages/web3-eth-ens/src/factories/EnsModuleFactory.js#L47
Expected behavior
Call
getAddress
to get the address of a register name on ens.Actual behavior
Calling
getAddress
throws the following exception.Steps to reproduce the behavior
Error Logs
Versions
[NPM, Node, Web3.js, OS, device...]
The text was updated successfully, but these errors were encountered: