typo && remove logs

pull/3262/head^2
yann300 2 years ago committed by Aniket
parent 68f034225c
commit 68bd134636
  1. 1
      apps/remix-ide-e2e/src/commands/checkVariableDebug.ts
  2. 2
      apps/remix-ide-e2e/src/tests/remixd.test.ts
  3. 2
      apps/remix-ide/src/blockchain/providers/worker-vm.ts
  4. 2
      libs/remix-lib/src/execution/txRunnerWeb3.ts
  5. 2
      libs/remix-simulator/src/methods/accounts.ts

@ -29,7 +29,6 @@ function checkDebug(browser: NightwatchBrowser, id: string, debugValue: Nightwat
}, [id], (result) => {
if (result.value) {
try {
console.log('checkDebug', result.value)
resultOfElement = JSON.parse(<string>result.value)
isEqual = deepequal(debugValue, resultOfElement)
} catch (e) {

@ -315,7 +315,6 @@ async function spawnRemixd(path: string): Promise<ChildProcess> {
const remixd = spawn('yarn run remixd', [`-s ${path}`], { cwd: process.cwd(), shell: true, detached: true })
return new Promise((resolve, reject) => {
remixd.stdout.on('data', function (data) {
console.log('stdout: ' + data.toString())
if(
data.toString().includes('is listening')
|| data.toString().includes('There is already a client running')
@ -325,7 +324,6 @@ async function spawnRemixd(path: string): Promise<ChildProcess> {
}
})
remixd.stderr.on('err', function (data) {
console.log('err: ' + data.toString())
reject(data.toString())
})
})

@ -24,7 +24,7 @@ self.onmessage = (e: MessageEvent) => {
} else {
self.postMessage({
cmd: 'sendAsyncResult',
error: 'Provider not instanciated',
error: 'Provider not instantiated',
result: null,
stamp: data.stamp
})

@ -49,7 +49,6 @@ export class TxRunnerWeb3 {
_sendTransaction (sendTx, tx, pass, callback) {
let currentDateTime = new Date();
const start = currentDateTime.getTime() / 1000
console.log('start', start)
const cb = (err, resp) => {
if (err) {
return callback(err, resp)
@ -62,7 +61,6 @@ export class TxRunnerWeb3 {
tx = await tryTillTxAvailable(resp, this.getWeb3())
currentDateTime = new Date();
const end = currentDateTime.getTime() / 1000
console.log('end', end)
console.log('stopwatch', end - start)
resolve({
receipt,

@ -1,5 +1,5 @@
import { BN, privateToAddress, toChecksumAddress, isValidPrivate, Address } from 'ethereumjs-util'
const Web3EthAccounts = require('web3-eth-accounts');
const Web3EthAccounts = require('web3-eth-accounts')
import * as crypto from 'crypto'
export class Web3Accounts {

Loading…
Cancel
Save