Commit b88a5df2 authored by yann300's avatar yann300

fix e2e

parent 6e66b992
...@@ -109,11 +109,12 @@ module.exports = { ...@@ -109,11 +109,12 @@ module.exports = {
.openFile('.deps/github/newFile.sol') .openFile('.deps/github/newFile.sol')
}, },
'Deploy "Owner" using an ether.js script listen to event and check event are logged in the terminal': function (browser: NightwatchBrowser) { 'Deploy "Owner" using an ether.js script, listen to event and check event are logged in the terminal': function (browser: NightwatchBrowser) {
browser browser
.click('*[data-id="terminalClearConsole"]') // clear the terminal .click('*[data-id="terminalClearConsole"]') // clear the terminal
.openFile('contracts/2_Owner.sol') .openFile('contracts/2_Owner.sol')
.verifyContracts(['Owner']) .clickLaunchIcon('solidity')
.click('*[data-id="compilerContainerCompileBtn"]') // compile Owner
.addFile('deployWithEthersJs.js', { content: deployWithEthersJs }) .addFile('deployWithEthersJs.js', { content: deployWithEthersJs })
.openFile('deployWithEthersJs.js') .openFile('deployWithEthersJs.js')
.pause(1000) .pause(1000)
......
...@@ -133,7 +133,7 @@ export class StorageResolver { ...@@ -133,7 +133,7 @@ export class StorageResolver {
resolve([{}, null]) resolve([{}, null])
} else { } else {
this.web3.debug.storageRangeAt( this.web3.debug.storageRangeAt(
tx.blockHash, tx.transactionIndex === undefined ? tx.hash : tx.transactionIndex, tx.blockHash, tx.hash,
address, address,
start, start,
maxSize, maxSize,
......
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