fix unit tests

pull/2893/head
yann300 2 years ago committed by Aniket
parent cb7eacf42f
commit ed7ce0c74b
  1. 8
      libs/remix-simulator/test/blocks.ts

@ -212,13 +212,13 @@ describe('blocks', () => {
let storage = await web3.eth.getStorageAt(contractInstance.options.address, 0)
assert.deepEqual(storage, '0x64')
await contractInstance.methods.set(200).send({ from: accounts[0], gas: 400000 })
await contractInstance.methods.set(200).send({ from: accounts[0].toLowerCase(), gas: 400000 })
storage = await web3.eth.getStorageAt(contractInstance.options.address, 0)
assert.deepEqual(storage, '0x64')
assert.deepEqual(storage, '0xc8')
await contractInstance.methods.set(200).send({ from: accounts[0], gas: 400000 })
await contractInstance.methods.set(1).send({ from: accounts[0].toLowerCase(), gas: 400000 })
storage = await web3.eth.getStorageAt(contractInstance.options.address, 0)
assert.deepEqual(storage, '0xc8')
assert.deepEqual(storage, '0x01')
})
})
describe('eth_call', () => {

Loading…
Cancel
Save