pull/5370/head
yann300 2 years ago committed by Aniket
parent 1045aff019
commit 1d53e97f8f
  1. 4
      apps/remix-ide/src/blockchain/blockchain.tsx
  2. 2
      apps/remix-ide/src/blockchain/providers/injected.ts
  3. 4
      apps/remix-ide/src/blockchain/providers/node.ts
  4. 2
      apps/remix-ide/src/blockchain/providers/vm.ts

@ -16,7 +16,7 @@ import { logBuilder, cancelUpgradeMsg, cancelProxyMsg, addressToString } from "@
const { txFormat, txExecution, typeConversion, txListener: Txlistener, TxRunner, TxRunnerWeb3, txHelper } = execution
const { txResultHelper } = helpers
const { resultToRemixTx } = txResultHelper
const packageJson = require('../../../../package.json')
import * as packageJson from '../../../../package.json'
const _paq = window._paq = window._paq || [] //eslint-disable-line
@ -792,7 +792,7 @@ export class Blockchain extends Plugin {
const hhlogs = await this.web3().eth.getHHLogsForTx(txResult.transactionHash)
if (hhlogs && hhlogs.length) {
let finalLogs = <div><div><b>console.log:</b></div>
const finalLogs = <div><div><b>console.log:</b></div>
{
hhlogs.map((log) => {
let formattedLog

@ -1,4 +1,4 @@
const Web3 = require('web3')
import Web3 from 'web3'
import { hashPersonalMessage } from '@ethereumjs/util'
import { ExecutionContext } from '../execution-context'

@ -1,6 +1,6 @@
const Web3 = require('web3')
import Web3 from 'web3'
import { hashPersonalMessage } from '@ethereumjs/util'
const Personal = require('web3-eth-personal')
import { Personal } from 'web3-eth-personal'
import { ExecutionContext } from '../execution-context'
import Config from '../../config'

@ -1,7 +1,7 @@
import Web3 from 'web3'
import { privateToAddress, hashPersonalMessage } from '@ethereumjs/util'
import BN from 'bn.js'
const { extend } = require('@remix-project/remix-simulator')
import { extend } from '@remix-project/remix-simulator'
import { ExecutionContext } from '../execution-context'
export class VMProvider {

Loading…
Cancel
Save