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) => { }, [id], (result) => {
if (result.value) { if (result.value) {
try { try {
console.log('checkDebug', result.value)
resultOfElement = JSON.parse(<string>result.value) resultOfElement = JSON.parse(<string>result.value)
isEqual = deepequal(debugValue, resultOfElement) isEqual = deepequal(debugValue, resultOfElement)
} catch (e) { } 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 }) const remixd = spawn('yarn run remixd', [`-s ${path}`], { cwd: process.cwd(), shell: true, detached: true })
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
remixd.stdout.on('data', function (data) { remixd.stdout.on('data', function (data) {
console.log('stdout: ' + data.toString())
if( if(
data.toString().includes('is listening') data.toString().includes('is listening')
|| data.toString().includes('There is already a client running') || 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) { remixd.stderr.on('err', function (data) {
console.log('err: ' + data.toString())
reject(data.toString()) reject(data.toString())
}) })
}) })

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

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

@ -1,5 +1,5 @@
import { BN, privateToAddress, toChecksumAddress, isValidPrivate, Address } from 'ethereumjs-util' 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' import * as crypto from 'crypto'
export class Web3Accounts { export class Web3Accounts {

Loading…
Cancel
Save