Commit d8abda98 authored by aniket-engg's avatar aniket-engg Committed by Aniket

explicit utils usage removed

parent 9c36f847
......@@ -32,15 +32,6 @@ function web3VmProvider () {
this.lastProcessedStorageTxHash = {}
this.sha3Preimages = {}
// util
this.sha3 = (...args) => self.web3.utils.sha3(...args)
this.toHex = (...args) => self.web3.utils.toHex(...args)
this.toAscii = (...args) => self.web3.utils.hexToAscii(...args)
this.fromAscii = (...args) => self.web3.utils.asciiToHex(...args)
this.fromDecimal = (...args) => self.web3.utils.numberToHex(...args)
this.fromWei = (...args) => self.web3.utils.fromWei(...args)
this.toWei = (...args) => self.web3.utils.toWei(...args)
this.toBigNumber = (...args) => self.web3.utils.toBN(...args)
this.isAddress = (...args) => self.web3.utils.isAddress(...args)
this.utils = Web3.utils || []
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment