Merge pull request #3251 from ethereum/fix_deps_vm_6_0

Fix deps ethereujs/vm
pull/2960/head
yann300 2 years ago committed by GitHub
commit 94104df6d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 13
      apps/remix-ide/src/app/tabs/runTab/model/recorder.js
  2. 2
      apps/remix-ide/src/blockchain/blockchain.js
  3. 2
      apps/remix-ide/src/blockchain/providers/injected.js
  4. 2
      apps/remix-ide/src/blockchain/providers/node.js
  5. 3
      apps/remix-ide/src/blockchain/providers/vm.js
  6. 6
      apps/remix-ide/src/lib/helper.js
  7. 8
      libs/remix-analyzer/package.json
  8. 8
      libs/remix-astwalker/package.json
  9. 2
      libs/remix-core-plugin/src/lib/compiler-fetch-and-compile.ts
  10. 10
      libs/remix-debug/package.json
  11. 2
      libs/remix-debug/src/code/disassembler.ts
  12. 3
      libs/remix-debug/src/solidity-decoder/types/ArrayType.ts
  13. 2
      libs/remix-debug/src/solidity-decoder/types/DynamicByteArray.ts
  14. 6
      libs/remix-debug/src/solidity-decoder/types/Mapping.ts
  15. 4
      libs/remix-debug/src/solidity-decoder/types/util.ts
  16. 2
      libs/remix-debug/test/decoder/stateTests/mapping.ts
  17. 13
      libs/remix-debug/test/vmCall.ts
  18. 2
      libs/remix-lib/package.json
  19. 2
      libs/remix-lib/src/execution/txFormat.ts
  20. 2
      libs/remix-lib/src/execution/txListener.ts
  21. 3
      libs/remix-lib/src/execution/txRunnerVM.ts
  22. 3
      libs/remix-lib/src/execution/typeConversion.ts
  23. 206
      libs/remix-lib/src/hash.ts
  24. 2
      libs/remix-lib/src/helpers/txResultHelper.ts
  25. 3
      libs/remix-lib/src/index.ts
  26. 6
      libs/remix-lib/src/util.ts
  27. 3
      libs/remix-lib/test/txResultHelper.ts
  28. 10
      libs/remix-simulator/package.json
  29. 10
      libs/remix-simulator/src/VmProxy.ts
  30. 5
      libs/remix-simulator/src/methods/accounts.ts
  31. 4
      libs/remix-simulator/src/methods/transactions.ts
  32. 8
      libs/remix-simulator/src/vm-context.ts
  33. 8
      libs/remix-solidity/package.json
  34. 10
      libs/remix-tests/package.json
  35. 2
      libs/remix-ui/debugger-ui/src/lib/vm-debugger/global-variables.tsx
  36. 2
      libs/remix-ui/debugger-ui/src/utils/solidityTypeFormatter.ts
  37. 2
      libs/remix-ui/helper/src/lib/remix-ui-helper.ts
  38. 4
      libs/remix-ui/run-tab/src/lib/actions/events.ts
  39. 2
      libs/remix-ui/run-tab/src/lib/components/contractDropdownUI.tsx
  40. 4
      libs/remix-ui/run-tab/src/lib/components/universalDappUI.tsx
  41. 2
      libs/remix-ui/run-tab/src/lib/components/value.tsx
  42. 7
      libs/remix-ui/workspace/src/lib/actions/workspace.ts
  43. 15
      package.json
  44. 171
      yarn.lock

@ -1,12 +1,13 @@
var async = require('async')
var ethutil = require('ethereumjs-util')
var remixLib = require('@remix-project/remix-lib')
import { bufferToHex } from '@ethereumjs/util'
import { hash } from '@remix-project/remix-lib'
import { Plugin } from '@remixproject/engine'
import * as packageJson from '../../../../.././../../package.json'
var EventManager = remixLib.EventManager
var format = remixLib.execution.txFormat
var txHelper = remixLib.execution.txHelper
const helper = require('../../../../lib/helper')
import { addressToString } from '@remix-ui/helper'
const _paq = window._paq = window._paq || [] //eslint-disable-line
@ -42,7 +43,7 @@ class Recorder extends Plugin {
}
if (!to) {
var abi = payLoad.contractABI
var keccak = ethutil.bufferToHex(ethutil.keccakFromString(JSON.stringify(abi)))
var keccak = bufferToHex(hash.keccakFromString(JSON.stringify(abi)))
record.abi = keccak
record.contractName = payLoad.contractName
record.bytecode = payLoad.contractBytecode
@ -82,7 +83,7 @@ class Recorder extends Plugin {
if (call) return
const rawAddress = txResult.receipt.contractAddress
if (!rawAddress) return // not a contract creation
const address = helper.addressToString(rawAddress)
const address = addressToString(rawAddress)
// save back created addresses for the convertion from tokens to real adresses
this.data._createdContracts[address] = timestamp
this.data._createdContractsReverse[timestamp] = address
@ -207,7 +208,7 @@ class Recorder extends Plugin {
// resolve the bytecode and ABI using the contract name, this ensure getting the last compiled one.
const data = await this.call('compilerArtefacts', 'getArtefactsByContractName', tx.record.contractName)
tx.record.bytecode = data.artefact.evm.bytecode.object
const updatedABIKeccak = ethutil.bufferToHex(ethutil.keccakFromString(JSON.stringify(data.artefact.abi)))
const updatedABIKeccak = bufferToHex(hash.keccakFromString(JSON.stringify(data.artefact.abi)))
abis[updatedABIKeccak] = data.artefact.abi
tx.record.abi = updatedABIKeccak
}
@ -277,7 +278,7 @@ class Recorder extends Plugin {
return logCallBack(err + '. Execution failed at ' + index)
}
if (rawAddress) {
const address = helper.addressToString(rawAddress)
const address = addressToString(rawAddress)
// save back created addresses for the convertion from tokens to real adresses
this.data._createdContracts[address] = tx.timestamp
this.data._createdContractsReverse[tx.timestamp] = address

@ -2,7 +2,7 @@
import React from 'react' // eslint-disable-line
import Web3 from 'web3'
import { Plugin } from '@remixproject/engine'
import { toBuffer, addHexPrefix } from 'ethereumjs-util'
import { toBuffer, addHexPrefix } from '@ethereumjs/util'
import { EventEmitter } from 'events'
import { format } from 'util'
import { ExecutionContext } from './execution-context'

@ -1,5 +1,5 @@
const Web3 = require('web3')
const { hashPersonalMessage } = require('ethereumjs-util')
import { hashPersonalMessage } from '@ethereumjs/util'
class InjectedProvider {
constructor (executionContext) {

@ -1,5 +1,5 @@
const Web3 = require('web3')
const { hashPersonalMessage } = require('ethereumjs-util')
import { hashPersonalMessage } from '@ethereumjs/util'
const Personal = require('web3-eth-personal')
class NodeProvider {

@ -1,5 +1,6 @@
const Web3 = require('web3')
const { BN, privateToAddress, hashPersonalMessage } = require('ethereumjs-util')
import { privateToAddress, hashPersonalMessage } from '@ethereumjs/util'
import BN from 'bn.js'
const { extend } = require('@remix-project/remix-simulator')
class VMProvider {
constructor (executionContext) {

@ -1,7 +1,7 @@
var async = require('async')
const ethJSUtil = require('ethereumjs-util')
import { toChecksumAddress } from '@ethereumjs/util'
module.exports = {
export default {
shortenAddress: function (address, etherBalance) {
var len = address.length
return address.slice(0, 5) + '...' + address.slice(len - 5, len) + (etherBalance ? ' (' + etherBalance.toString() + ' ether)' : '')
@ -14,7 +14,7 @@ module.exports = {
if (address.indexOf('0x') === -1) {
address = '0x' + address
}
return ethJSUtil.toChecksumAddress(address)
return toChecksumAddress(address)
},
shortenHexData: function (data) {
if (!data) return ''

@ -21,13 +21,13 @@
}
],
"dependencies": {
"@ethereumjs/block": "^4.0.0",
"@ethereumjs/tx": "^4.0.0",
"@ethereumjs/vm": "^6.0.0",
"@ethereumjs/block": "^4.1.0",
"@ethereumjs/tx": "^4.0.2",
"@ethereumjs/util": "^8.0.3",
"@ethereumjs/vm": "^6.3.0",
"@remix-project/remix-astwalker": "^0.0.53",
"@remix-project/remix-lib": "^0.5.23",
"async": "^2.6.2",
"ethereumjs-util": "^7.0.10",
"ethers": "^5.4.2",
"ethjs-util": "^0.1.6",
"string-similarity": "^4.0.4",

@ -33,13 +33,13 @@
]
},
"dependencies": {
"@ethereumjs/block": "^4.0.0",
"@ethereumjs/tx": "^4.0.0",
"@ethereumjs/vm": "^6.0.0",
"@ethereumjs/block": "^4.1.0",
"@ethereumjs/tx": "^4.0.2",
"@ethereumjs/util": "^8.0.3",
"@ethereumjs/vm": "^6.3.0",
"@remix-project/remix-lib": "^0.5.23",
"@types/tape": "^4.2.33",
"async": "^2.6.2",
"ethereumjs-util": "^7.0.10",
"ethers": "^5.4.2",
"ethjs-util": "^0.1.6",
"nyc": "^13.3.0",

@ -1,7 +1,7 @@
import { Plugin } from '@remixproject/engine'
import { compile } from '@remix-project/remix-solidity'
import { util } from '@remix-project/remix-lib'
import { toChecksumAddress } from 'ethereumjs-util'
import { toChecksumAddress } from '@ethereumjs/util'
import { fetchContractFromEtherscan } from './helpers/fetch-etherscan'
import { fetchContractFromSourcify } from './helpers/fetch-sourcify'
import { UUPSDeployedByteCode, UUPSCompilerVersion, UUPSOptimize, UUPSRuns, UUPSEvmVersion, UUPSLanguage } from './constants/uups'

@ -21,10 +21,11 @@
"test": "./../../node_modules/.bin/ts-node --project ../../tsconfig.base.json --require tsconfig-paths/register ./../../node_modules/.bin/tape ./test/tests.ts"
},
"dependencies": {
"@ethereumjs/block": "^4.0.0",
"@ethereumjs/common": "^3.0.0",
"@ethereumjs/tx": "^4.0.0",
"@ethereumjs/vm": "^6.0.0",
"@ethereumjs/block": "^4.1.0",
"@ethereumjs/common": "^3.0.2",
"@ethereumjs/tx": "^4.0.2",
"@ethereumjs/util": "^8.0.3",
"@ethereumjs/vm": "^6.3.0",
"@remix-project/remix-astwalker": "^0.0.53",
"@remix-project/remix-lib": "^0.5.23",
"@remix-project/remix-simulator": "^0.2.23",
@ -34,7 +35,6 @@
"color-support": "^1.1.3",
"commander": "^9.4.1",
"deep-equal": "^1.0.1",
"ethereumjs-util": "^7.0.10",
"ethers": "^5.4.2",
"ethjs-util": "^0.1.6",
"express-ws": "^4.0.0",

@ -2,7 +2,7 @@
import { parseCode } from './codeUtils'
import { util } from '@remix-project/remix-lib'
import { bufferToHex } from 'ethereumjs-util'
import { bufferToHex } from '@ethereumjs/util'
function createExpressions (instructions) {
const expressions = []

@ -1,7 +1,6 @@
'use strict'
import { add, toBN, extractHexValue } from './util'
import { util } from '@remix-project/remix-lib'
import { BN } from 'ethereumjs-util'
import { RefType } from './RefType'
const sha3256 = util.sha3_256
@ -48,7 +47,7 @@ export class ArrayType extends RefType {
size = toBN('0x' + slotValue)
currentLocation.slot = sha3256(location.slot)
} else {
size = new BN(this.arraySize)
size = toBN(this.arraySize)
}
const k = toBN(0)
for (; k.lt(size) && k.ltn(300); k.iaddn(1)) {

@ -1,7 +1,7 @@
'use strict'
import { extractHexValue, readFromStorage } from './util'
import { util } from '@remix-project/remix-lib'
import { BN } from 'ethereumjs-util'
import { BN } from 'bn.js'
import { RefType } from './RefType'
const sha3256 = util.sha3_256

@ -1,7 +1,9 @@
'use strict'
import { hash } from '@remix-project/remix-lib'
import { RefType } from './RefType'
import { normalizeHex } from './util'
import { toBuffer, setLengthLeft, keccak, BN, bufferToHex, addHexPrefix } from 'ethereumjs-util'
import { toBuffer, setLengthLeft, bufferToHex, addHexPrefix } from '@ethereumjs/util'
import BN from 'bn.js'
export class Mapping extends RefType {
keyType
@ -68,7 +70,7 @@ function getMappingLocation (key, position) {
let mappingP = toBuffer(addHexPrefix(position))
mappingP = setLengthLeft(mappingP, 32)
const mappingKeyBuf = concatTypedArrays(mappingK, mappingP)
const mappingStorageLocation: Buffer = keccak(mappingKeyBuf)
const mappingStorageLocation: Buffer = hash.keccak(mappingKeyBuf)
const mappingStorageLocationinBn: BN = new BN(mappingStorageLocation, 16)
return mappingStorageLocationinBn
}

@ -1,5 +1,6 @@
'use strict'
import { BN, bufferToHex, unpadHexString } from 'ethereumjs-util'
import { bufferToHex, unpadHexString } from '@ethereumjs/util'
import BN from 'bn.js'
export function decodeIntFromHex (value, byteLength, signed) {
let bigNumber = new BN(value, 16)
@ -58,6 +59,7 @@ export function toBN (value) {
return value
} else if (value.match && value.match(/^(0x)?([a-f0-9]*)$/)) {
value = unpadHexString(value)
value = value.replace('0x', '')
value = new BN(value === '' ? '0' : value, 16)
} else if (!isNaN(value)) {
value = new BN(value)

@ -10,7 +10,7 @@ import { InternalCallTree } from '../../../src/solidity-decoder/internalCallTree
import * as vmCall from '../../vmCall'
import { StorageResolver } from '../../../src/storage/storageResolver'
import { StorageViewer } from '../../../src/storage/storageViewer'
import { Address, bufferToHex } from 'ethereumjs-util'
import { Address, bufferToHex } from '@ethereumjs/util'
module.exports = async function testMappingStorage (st, cb) {
const mappingStorage = require('../contracts/mappingStorage')

@ -1,14 +1,7 @@
'use strict'
import { Block } from '@ethereumjs/block'
import { Transaction } from '@ethereumjs/tx'
import VM from '@ethereumjs/vm'
import { rlp, keccak, bufferToHex } from 'ethereumjs-util'
import { extendWeb3 } from '../src/init'
const utileth = require('ethereumjs-util')
const Tx = require('@ethereumjs/tx').Transaction
const BN = require('ethereumjs-util').BN
const remixLib = require('@remix-project/remix-lib')
const { Provider, extend } = require('@remix-project/remix-simulator')
import { Address } from '@ethereumjs/util'
const { Provider } = require('@remix-project/remix-simulator')
const Web3 = require('web3')
@ -25,7 +18,7 @@ async function sendTx (web3, from, to, value, data, cb) {
try {
cb = cb || (() => {})
const receipt = await web3.eth.sendTransaction({
from: utileth.Address.fromPrivateKey(from.privateKey).toString('hex'),
from: Address.fromPrivateKey(from.privateKey).toString(),
to,
value,
data,

@ -18,7 +18,7 @@
},
"dependencies": {
"async": "^2.1.2",
"ethereumjs-util": "^7.0.10",
"@ethereumjs/util": "^8.0.3",
"ethers": "^4.0.40",
"ethjs-util": "^0.1.6",
"events": "^3.0.0",

@ -3,7 +3,7 @@ import { ethers } from 'ethers'
import { encodeParams as encodeParamsHelper, encodeFunctionId, makeFullTypeDefinition } from './txHelper'
import { eachOfSeries } from 'async'
import { linkBytecode as linkBytecodeSolc } from 'solc/linker'
import { isValidAddress, addHexPrefix } from 'ethereumjs-util'
import { isValidAddress, addHexPrefix } from '@ethereumjs/util'
/**
* build the transaction data

@ -1,6 +1,6 @@
'use strict'
import { ethers } from 'ethers'
import { toBuffer, addHexPrefix } from 'ethereumjs-util'
import { toBuffer, addHexPrefix } from '@ethereumjs/util'
import { EventManager } from '../eventManager'
import { compareByteCode, getinputParameters } from '../util'
import { decodeResponse } from './txFormat'

@ -1,8 +1,9 @@
'use strict'
import BN from 'bn.js'
import { RunBlockResult, RunTxResult } from '@ethereumjs/vm'
import { Transaction, FeeMarketEIP1559Transaction } from '@ethereumjs/tx'
import { Block } from '@ethereumjs/block'
import { BN, bufferToHex, Address } from 'ethereumjs-util'
import { bufferToHex, Address } from '@ethereumjs/util'
import type { Account } from '@ethereumjs/util'
import { EventManager } from '../eventManager'
import { LogsManager } from './logsManager'

@ -1,5 +1,6 @@
'use strict'
import { BN, bufferToHex } from 'ethereumjs-util'
import { BN } from 'bn.js'
import { bufferToHex } from '@ethereumjs/util'
export function toInt (h) {
if (h.indexOf && h.indexOf('0x') === 0) {

@ -0,0 +1,206 @@
import { keccak224, keccak384, keccak256 as k256, keccak512 } from 'ethereum-cryptography/keccak'
const createHash = require('create-hash')
import { encode, Input } from 'rlp'
import { toBuffer, setLengthLeft, isHexString } from '@ethereumjs/util'
/**
* Creates Keccak hash of a Buffer input
* @param a The input data (Buffer)
* @param bits (number = 256) The Keccak width
*/
export const keccak = function(a: Buffer, bits: number = 256): Buffer {
assertIsBuffer(a)
switch (bits) {
case 224: {
return toBuffer(keccak224(a))
}
case 256: {
return toBuffer(k256(a))
}
case 384: {
return toBuffer(keccak384(a))
}
case 512: {
return toBuffer(keccak512(a))
}
default: {
throw new Error(`Invald algorithm: keccak${bits}`)
}
}
}
/**
* Creates Keccak-256 hash of the input, alias for keccak(a, 256).
* @param a The input data (Buffer)
*/
export const keccak256 = function(a: Buffer): Buffer {
return keccak(a)
}
/**
* Creates Keccak hash of a utf-8 string input
* @param a The input data (String)
* @param bits (number = 256) The Keccak width
*/
export const keccakFromString = function(a: string, bits: number = 256) {
assertIsString(a)
const buf = Buffer.from(a, 'utf8')
return keccak(buf, bits)
}
/**
* Creates Keccak hash of an 0x-prefixed string input
* @param a The input data (String)
* @param bits (number = 256) The Keccak width
*/
export const keccakFromHexString = function(a: string, bits: number = 256) {
assertIsHexString(a)
return keccak(toBuffer(a), bits)
}
/**
* Creates Keccak hash of a number array input
* @param a The input data (number[])
* @param bits (number = 256) The Keccak width
*/
export const keccakFromArray = function(a: number[], bits: number = 256) {
assertIsArray(a)
return keccak(toBuffer(a), bits)
}
/**
* Creates SHA256 hash of an input.
* @param a The input data (Buffer|Array|String)
*/
const _sha256 = function(a: any): Buffer {
a = toBuffer(a)
return createHash('sha256')
.update(a)
.digest()
}
/**
* Creates SHA256 hash of a Buffer input.
* @param a The input data (Buffer)
*/
export const sha256 = function(a: Buffer): Buffer {
assertIsBuffer(a)
return _sha256(a)
}
/**
* Creates SHA256 hash of a string input.
* @param a The input data (string)
*/
export const sha256FromString = function(a: string): Buffer {
assertIsString(a)
return _sha256(a)
}
/**
* Creates SHA256 hash of a number[] input.
* @param a The input data (number[])
*/
export const sha256FromArray = function(a: number[]): Buffer {
assertIsArray(a)
return _sha256(a)
}
/**
* Creates RIPEMD160 hash of the input.
* @param a The input data (Buffer|Array|String|Number)
* @param padded Whether it should be padded to 256 bits or not
*/
const _ripemd160 = function(a: any, padded: boolean): Buffer {
a = toBuffer(a)
const hash = createHash('rmd160')
.update(a)
.digest()
if (padded === true) {
return setLengthLeft(hash, 32)
} else {
return hash
}
}
/**
* Creates RIPEMD160 hash of a Buffer input.
* @param a The input data (Buffer)
* @param padded Whether it should be padded to 256 bits or not
*/
export const ripemd160 = function(a: Buffer, padded: boolean): Buffer {
assertIsBuffer(a)
return _ripemd160(a, padded)
}
/**
* Creates RIPEMD160 hash of a string input.
* @param a The input data (String)
* @param padded Whether it should be padded to 256 bits or not
*/
export const ripemd160FromString = function(a: string, padded: boolean): Buffer {
assertIsString(a)
return _ripemd160(a, padded)
}
/**
* Creates RIPEMD160 hash of a number[] input.
* @param a The input data (number[])
* @param padded Whether it should be padded to 256 bits or not
*/
export const ripemd160FromArray = function(a: number[], padded: boolean): Buffer {
assertIsArray(a)
return _ripemd160(a, padded)
}
/**
* Creates SHA-3 hash of the RLP encoded version of the input.
* @param a The input data
*/
export const rlphash = function(a: Input): Buffer {
return keccak(encode(a))
}
/**
* Throws if a string is not hex prefixed
* @param {string} input string to check hex prefix of
*/
export const assertIsHexString = function(input: string): void {
if (!isHexString(input)) {
const msg = `This method only supports 0x-prefixed hex strings but input was: ${input}`
throw new Error(msg)
}
}
/**
* Throws if input is not a buffer
* @param {Buffer} input value to check
*/
export const assertIsBuffer = function(input: Buffer): void {
if (!Buffer.isBuffer(input)) {
const msg = `This method only supports Buffer but input was: ${input}`
throw new Error(msg)
}
}
/**
* Throws if input is not an array
* @param {number[]} input value to check
*/
export const assertIsArray = function(input: number[]): void {
if (!Array.isArray(input)) {
const msg = `This method only supports number arrays but input was: ${input}`
throw new Error(msg)
}
}
/**
* Throws if input is not a string
* @param {string} input value to check
*/
export const assertIsString = function(input: string): void {
if (typeof input !== 'string') {
const msg = `This method only supports strings but input was: ${input}`
throw new Error(msg)
}
}

@ -1,5 +1,5 @@
'use strict'
import { bufferToHex } from 'ethereumjs-util'
import { bufferToHex } from '@ethereumjs/util'
import { isHexString } from 'ethjs-util'
function convertToPrefixedHex (input) {

@ -2,6 +2,7 @@ import { EventManager } from './eventManager'
import * as uiHelper from './helpers/uiHelper'
import * as compilerHelper from './helpers/compilerHelper'
import * as util from './util'
import * as hash from './hash'
import { Storage } from './storage'
import { EventsDecoder } from './execution/eventsDecoder'
import * as txExecution from './execution/txExecution'
@ -38,4 +39,4 @@ const execution = {
LogsManager,
forkAt
}
export { EventManager, helpers, Storage, util, execution }
export { EventManager, helpers, Storage, util, execution, hash }

@ -1,6 +1,6 @@
'use strict'
import { bufferToHex, keccak, setLengthLeft, toBuffer, addHexPrefix } from 'ethereumjs-util'
import { bigIntToHex } from '@ethereumjs/util'
import { hash } from '@remix-project/remix-lib'
import { bufferToHex, setLengthLeft, toBuffer, addHexPrefix } from '@ethereumjs/util'
import stringSimilarity from 'string-similarity'
/*
@ -153,7 +153,7 @@ export function buildCallPath (index, rootCall) {
// eslint-disable-next-line camelcase
export function sha3_256 (value) {
value = toBuffer(addHexPrefix(value))
const retInBuffer: Buffer = keccak(setLengthLeft(value, 32))
const retInBuffer: Buffer = hash.keccak(setLengthLeft(value, 32))
return bufferToHex(retInBuffer)
}

@ -1,7 +1,8 @@
'use strict'
import tape from 'tape'
import { BN, toBuffer } from 'ethereumjs-util'
import { BN } from 'bn.js'
import { toBuffer } from '@ethereumjs/util'
import { resultToRemixTx } from '../src/helpers/txResultHelper'
const TRANSACTION_HASH = '0x538ad944d09c2df403f064c1e4556fae877fe3f1b600c567622e330c2bdbbe2e'

@ -17,10 +17,11 @@
"test": "./../../node_modules/.bin/ts-node --project ../../tsconfig.base.json --require tsconfig-paths/register ./../../node_modules/.bin/mocha test/*.ts"
},
"dependencies": {
"@ethereumjs/block": "^4.0.0",
"@ethereumjs/common": "^3.0.0",
"@ethereumjs/tx": "^4.0.0",
"@ethereumjs/vm": "^6.0.0",
"@ethereumjs/block": "^4.1.0",
"@ethereumjs/common": "^3.0.2",
"@ethereumjs/tx": "^4.0.2",
"@ethereumjs/util": "^8.0.3",
"@ethereumjs/vm": "^6.3.0",
"@remix-project/remix-lib": "^0.5.23",
"ansi-gray": "^0.1.1",
"async": "^3.1.0",
@ -28,7 +29,6 @@
"color-support": "^1.1.3",
"commander": "^9.4.1",
"cors": "^2.8.5",
"ethereumjs-util": "^7.0.10",
"ethers": "^5.4.2",
"ethjs-util": "^0.1.6",
"express": "^4.16.3",

@ -2,8 +2,10 @@ import { util } from '@remix-project/remix-lib'
const { toHexPaddedString, formatMemory } = util
import { helpers } from '@remix-project/remix-lib'
const { normalizeHexAddress } = helpers.ui
import { ConsoleLogs } from '@remix-project/remix-lib'
import { toChecksumAddress, BN, keccak, bufferToHex, Address, toBuffer } from 'ethereumjs-util'
import { ConsoleLogs, hash } from '@remix-project/remix-lib'
import BN from 'bn.js'
import { isBigNumber } from 'web3-utils'
import { toChecksumAddress, bufferToHex, Address, toBuffer } from '@ethereumjs/util'
import utils from 'web3-utils'
import { ethers } from 'ethers'
import { VMContext } from './vm-context'
@ -276,7 +278,7 @@ export class VmProxy {
}
let consoleArgs = iface.decodeFunctionData(functionDesc, payload)
consoleArgs = consoleArgs.map((value) => {
if (utils.isBigNumber(value)) {
if (isBigNumber(value)) {
return value.toString()
}
return value
@ -352,7 +354,7 @@ export class VmProxy {
const txHash = '0x' + block.transactions[block.transactions.length - 1].hash().toString('hex')
if (this.storageCache['after_' + txHash] && this.storageCache['after_' + txHash][address]) {
const slot = '0x' + keccak(toBuffer(ethers.utils.hexZeroPad(position, 32))).toString('hex')
const slot = '0x' + hash.keccak(toBuffer(ethers.utils.hexZeroPad(position, 32))).toString('hex')
const storage = this.storageCache['after_' + txHash][address]
return cb(null, storage[slot].value)
}

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

@ -1,6 +1,6 @@
import { toHex, toDecimal } from 'web3-utils'
import { bigIntToHex } from '@ethereumjs/util'
import { toChecksumAddress, BN, Address } from 'ethereumjs-util'
import BN from 'bn.js'
import { toChecksumAddress, Address, bigIntToHex } from '@ethereumjs/util'
import { processTx } from './txProcess'
import { execution } from '@remix-project/remix-lib'
import { ethers } from 'ethers'

@ -1,6 +1,8 @@
/* global ethereum */
'use strict'
import { rlp, keccak, bufferToHex } from 'ethereumjs-util'
import { hash } from '@remix-project/remix-lib'
import { bufferToHex } from '@ethereumjs/util'
import { decode } from 'rlp'
import { execution } from '@remix-project/remix-lib'
const { LogsManager } = execution
import { VmProxy } from './VmProxy'
@ -44,7 +46,7 @@ class StateManagerCommonStorageDump extends DefaultStateManager {
}
putContractStorage (address, key, value) {
this.keyHashes[keccak(key).toString('hex')] = bufferToHex(key)
this.keyHashes[hash.keccak(key).toString('hex')] = bufferToHex(key)
return super.putContractStorage(address, key, value)
}
@ -64,7 +66,7 @@ class StateManagerCommonStorageDump extends DefaultStateManager {
const stream = trie.createReadStream()
stream.on('data', (val) => {
const value = rlp.decode(val.value)
const value = decode(val.value)
storage['0x' + val.key.toString('hex')] = {
key: this.keyHashes[val.key.toString('hex')],
value: '0x' + value.toString('hex')

@ -15,13 +15,13 @@
}
],
"dependencies": {
"@ethereumjs/block": "^4.0.0",
"@ethereumjs/tx": "^4.0.0",
"@ethereumjs/vm": "^6.0.0",
"@ethereumjs/block": "^4.1.0",
"@ethereumjs/tx": "^4.0.2",
"@ethereumjs/util": "^8.0.3",
"@ethereumjs/vm": "^6.3.0",
"@remix-project/remix-lib": "^0.5.23",
"async": "^2.6.2",
"eslint-scope": "^5.0.0",
"ethereumjs-util": "^7.0.10",
"ethers": "^5.4.2",
"ethjs-util": "^0.1.6",
"minixhr": "^3.2.2",

@ -36,10 +36,11 @@
"homepage": "https://github.com/ethereum/remix-project/tree/master/libs/remix-tests#readme",
"dependencies": {
"@erebos/bzz-node": "^0.13.0",
"@ethereumjs/block": "^4.0.0",
"@ethereumjs/common": "^3.0.0",
"@ethereumjs/tx": "^4.0.0",
"@ethereumjs/vm": "^6.0.0",
"@ethereumjs/block": "^4.1.0",
"@ethereumjs/common": "^3.0.2",
"@ethereumjs/tx": "^4.0.2",
"@ethereumjs/util": "^8.0.3",
"@ethereumjs/vm": "^6.3.0",
"@remix-project/remix-lib": "^0.5.23",
"@remix-project/remix-simulator": "^0.2.23",
"@remix-project/remix-solidity": "^0.5.9",
@ -52,7 +53,6 @@
"colors": "1.4.0",
"commander": "^9.4.1",
"deep-equal": "^1.0.1",
"ethereumjs-util": "^7.0.10",
"ethers": "^5.4.2",
"ethjs-util": "^0.1.6",
"express-ws": "^4.0.0",

@ -1,6 +1,6 @@
import React from 'react' // eslint-disable-line
import DropdownPanel from './dropdown-panel' // eslint-disable-line
import { BN } from 'ethereumjs-util'
import { BN } from 'bn.js'
import Web3 from 'web3'
export const GlobalVariables = ({ block, receipt, tx, className }) => {

@ -1,4 +1,4 @@
import { BN } from 'ethereumjs-util'
import { BN } from 'bn.js'
import { ExtractData } from '../types' // eslint-disable-line
export function extractData (item, parent): ExtractData {

@ -1,4 +1,4 @@
import * as ethJSUtil from 'ethereumjs-util'
import * as ethJSUtil from '@ethereumjs/util'
export const extractNameFromKey = (key: string): string => {
if (!key) return

@ -4,7 +4,7 @@ import { setExecutionContext, setFinalContext, updateAccountBalances } from "./a
import { addExternalProvider, addInstance, removeExternalProvider, setNetworkNameFromProvider } from "./actions"
import { addDeployOption, clearAllInstances, clearRecorderCount, fetchContractListSuccess, resetUdapp, setCurrentContract, setCurrentFile, setLoadType, setProxyEnvAddress, setRecorderCount, setRemixDActivated, setSendValue } from "./payload"
import { CompilerAbstract } from '@remix-project/remix-solidity'
import * as ethJSUtil from 'ethereumjs-util'
import BN from 'bn.js'
import Web3 from 'web3'
import { Plugin } from "@remixproject/engine"
const _paq = window._paq = window._paq || []
@ -172,7 +172,7 @@ export const resetAndInit = (plugin: RunTab) => {
},
getGasLimit: (cb) => {
try {
const gasLimit = '0x' + new ethJSUtil.BN(plugin.REACT_API.gasLimit, 10).toString(16)
const gasLimit = '0x' + new BN(plugin.REACT_API.gasLimit, 10).toString(16)
cb(null, gasLimit)
} catch (e) {

@ -3,7 +3,7 @@ import React, { useEffect, useRef, useState } from 'react'
import { FormattedMessage, useIntl } from 'react-intl'
import { ContractDropdownProps, DeployMode } from '../types'
import { ContractData, FuncABI } from '@remix-project/core-plugin'
import * as ethJSUtil from 'ethereumjs-util'
import * as ethJSUtil from '@ethereumjs/util'
import { ContractGUI } from './contractGUI'
import { CustomTooltip, deployWithProxyMsg, upgradeWithProxyMsg } from '@remix-ui/helper'
const _paq = window._paq = window._paq || []

@ -4,10 +4,10 @@ import { UdappProps } from '../types'
import { FuncABI } from '@remix-project/core-plugin'
import { CopyToClipboard } from '@remix-ui/clipboard'
import * as remixLib from '@remix-project/remix-lib'
import * as ethJSUtil from 'ethereumjs-util'
import * as ethJSUtil from '@ethereumjs/util'
import { ContractGUI } from './contractGUI'
import { TreeView, TreeViewItem } from '@remix-ui/tree-view'
import { BN } from 'ethereumjs-util'
import { BN } from 'bn.js'
import { CustomTooltip, is0XPrefixed, isHexadecimal, isNumeric, shortenAddress } from '@remix-ui/helper'
const txHelper = remixLib.execution.txHelper

@ -1,7 +1,7 @@
// eslint-disable-next-line no-use-before-define
import React, { useEffect, useRef, useState } from 'react'
import { FormattedMessage } from 'react-intl'
import { BN } from 'ethereumjs-util'
import { BN } from 'bn.js'
import { CustomTooltip, isNumeric } from '@remix-ui/helper'
import { ValueProps } from '../types'

@ -1,5 +1,6 @@
import React from 'react'
import { bufferToHex, keccakFromString } from 'ethereumjs-util'
import { bufferToHex } from '@ethereumjs/util'
import { hash } from '@remix-project/remix-lib'
import axios, { AxiosResponse } from 'axios'
import { addInputFieldSuccess, cloneRepositoryFailed, cloneRepositoryRequest, cloneRepositorySuccess, createWorkspaceError, createWorkspaceRequest, createWorkspaceSuccess, displayNotification, displayPopUp, fetchWorkspaceDirectoryError, fetchWorkspaceDirectoryRequest, fetchWorkspaceDirectorySuccess, hideNotification, setCurrentWorkspace, setCurrentWorkspaceBranches, setCurrentWorkspaceCurrentBranch, setDeleteWorkspace, setMode, setReadOnlyMode, setRenameWorkspace, setCurrentWorkspaceIsGitRepo, setGitConfig } from './payload'
import { addSlash, checkSlash, checkSpecialChars } from '@remix-ui/helper'
@ -171,9 +172,9 @@ export const loadWorkspacePreset = async (template: WorkspaceTemplate = 'remixDe
let path = ''; let content
if (params.code) {
const hash = bufferToHex(keccakFromString(params.code))
const hashed = bufferToHex(hash.keccakFromString(params.code))
path = 'contract-' + hash.replace('0x', '').substring(0, 10) + (params.language && params.language.toLowerCase() === 'yul' ? '.yul' : '.sol')
path = 'contract-' + hashed.replace('0x', '').substring(0, 10) + (params.language && params.language.toLowerCase() === 'yul' ? '.yul' : '.sol')
content = atob(params.code)
await workspaceProvider.set(path, content)
}

@ -119,13 +119,13 @@
"@babel/plugin-proposal-class-properties": "^7.16.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
"@erebos/bzz-node": "^0.13.0",
"@ethereumjs/block": "^4.0.0",
"@ethereumjs/common": "^3.0.0",
"@ethereumjs/evm": "^1.0.0",
"@ethereumjs/statemanager": "^1.0.0",
"@ethereumjs/tx": "^4.0.0",
"@ethereumjs/util": "^8.0.0",
"@ethereumjs/vm": "^6.0.0",
"@ethereumjs/block": "^4.1.0",
"@ethereumjs/common": "^3.0.2",
"@ethereumjs/evm": "^1.2.3",
"@ethereumjs/statemanager": "^1.0.2",
"@ethereumjs/tx": "^4.0.2",
"@ethereumjs/util": "^8.0.3",
"@ethereumjs/vm": "^6.3.0",
"@ethersphere/bee-js": "^3.2.0",
"@isomorphic-git/lightning-fs": "^4.4.1",
"@monaco-editor/react": "4.4.5",
@ -142,6 +142,7 @@
"ansi-gray": "^0.1.1",
"async": "^2.6.2",
"axios": "1.1.2",
"bn.js": "^5.1.2",
"bootstrap": "^5.2.2",
"brace": "^0.8.0",
"change-case": "^4.1.1",

@ -2190,29 +2190,30 @@
minimatch "^3.1.2"
strip-json-comments "^3.1.1"
"@ethereumjs/block@^4.0.0":
version "4.0.0"
resolved "https://registry.yarnpkg.com/@ethereumjs/block/-/block-4.0.0.tgz#74659b0c96a62191fdac0cc155338162282fb7e5"
integrity sha512-OewaOEzcplspEeoDWyEKX7ENuXYUQMUsO18payHrPBC7kTGDcWr+qx+F6gMMC/pyJvS9l9LpLmMOS6ENIK62kA==
"@ethereumjs/block@^4.1.0":
version "4.1.0"
resolved "https://registry.yarnpkg.com/@ethereumjs/block/-/block-4.1.0.tgz#a0d790fc3f1fefe8169e22d8a3688d866a6850cd"
integrity sha512-WuRRt3CuN1TjhzBbyI7K0PoXFVEfTwbCCsGN4hS0CaRulzlfWXNhQJmHBISbX72BDZbma2KbMq0Iam3xZ2lG3g==
dependencies:
"@ethereumjs/common" "^3.0.0"
"@ethereumjs/common" "^3.0.2"
"@ethereumjs/rlp" "^4.0.0"
"@ethereumjs/trie" "^5.0.0"
"@ethereumjs/tx" "^4.0.0"
"@ethereumjs/util" "^8.0.0"
"@ethereumjs/trie" "^5.0.2"
"@ethereumjs/tx" "^4.0.2"
"@ethereumjs/util" "^8.0.3"
ethereum-cryptography "^1.1.2"
ethers "^5.7.1"
"@ethereumjs/blockchain@^6.0.0":
version "6.0.0"
resolved "https://registry.yarnpkg.com/@ethereumjs/blockchain/-/blockchain-6.0.0.tgz#652e6d3929f5008c3258dad473c65d18444152f2"
integrity sha512-JdgY2jD4ymzcCbAcX4XVX1dTLoVqEIyaBVPVljYlPzJEdIoFa5JYpZheNlZGtP11d1OKhhyTqfqLuYThxI32Tw==
"@ethereumjs/blockchain@^6.1.0":
version "6.1.0"
resolved "https://registry.yarnpkg.com/@ethereumjs/blockchain/-/blockchain-6.1.0.tgz#90be9421b808d8495d74e11b2da8812f6a309cec"
integrity sha512-V15Rr9ohysC7YiI5xLHUxuymzJbP/gAfUT4/DIQ9JOMcshzZZ7XL+ml61ypAMPLfFe5JI/UEnW61sCDUGz2gSA==
dependencies:
"@ethereumjs/block" "^4.0.0"
"@ethereumjs/common" "^3.0.0"
"@ethereumjs/ethash" "^2.0.0"
"@ethereumjs/block" "^4.1.0"
"@ethereumjs/common" "^3.0.2"
"@ethereumjs/ethash" "^2.0.2"
"@ethereumjs/rlp" "^4.0.0"
"@ethereumjs/trie" "^5.0.0"
"@ethereumjs/util" "^8.0.0"
"@ethereumjs/trie" "^5.0.2"
"@ethereumjs/util" "^8.0.3"
abstract-level "^1.0.3"
debug "^4.3.3"
ethereum-cryptography "^1.1.2"
@ -2228,35 +2229,34 @@
crc-32 "^1.2.0"
ethereumjs-util "^7.1.3"
"@ethereumjs/common@^3.0.0":
version "3.0.0"
resolved "https://registry.yarnpkg.com/@ethereumjs/common/-/common-3.0.0.tgz#a8786536e2af71d01e5d3f1c3a0272bc935fd817"
integrity sha512-yHgMom5HFlAJIu8fmA1n0UvBnanhULfuNQAD+tT6ZR6sndLUz2Mc4eegF3Rby579lqJMAc/rpsToP7wA/i4R/w==
"@ethereumjs/common@^3.0.2":
version "3.0.2"
resolved "https://registry.yarnpkg.com/@ethereumjs/common/-/common-3.0.2.tgz#72be343c9d359b8890e0bb91bd3dc3d8e210087e"
integrity sha512-N8fpT5uDvxOE5dIaPQZWzJaBRkRWrCXv63MONEn5ikp/J9mWFc53VUjb3GqtIYHRgg9nP81TXmtnvQJz1IuTiw==
dependencies:
"@ethereumjs/util" "^8.0.0"
"@ethereumjs/util" "^8.0.3"
crc-32 "^1.2.0"
"@ethereumjs/ethash@^2.0.0":
version "2.0.0"
resolved "https://registry.yarnpkg.com/@ethereumjs/ethash/-/ethash-2.0.0.tgz#0fedc1e4172ef627092216e17c871befa93eb073"
integrity sha512-U4+G1UYDCeqGW59h9FtjxVPZcQc/+nptpAMjQfGIN2nA1ZXoxtZiyVBgW0ocyofIbpySnSNMQRcUq2iqJ/7qug==
"@ethereumjs/ethash@^2.0.2":
version "2.0.2"
resolved "https://registry.yarnpkg.com/@ethereumjs/ethash/-/ethash-2.0.2.tgz#2986cf21019c973a78a4dd5d4479afa2c4d8adb9"
integrity sha512-/fgahHOIhOKL0zHTPghrEJh6Btn2B6YRBPF66WSK3guMO5Vrro5AX6s7xEl8+aoZs5xWp96v0mlfb758a6gJnA==
dependencies:
"@ethereumjs/block" "^4.0.0"
"@ethereumjs/block" "^4.1.0"
"@ethereumjs/rlp" "^4.0.0"
"@ethereumjs/util" "^8.0.0"
"@ethereumjs/util" "^8.0.3"
abstract-level "^1.0.3"
bigint-crypto-utils "^3.0.23"
ethereum-cryptography "^1.1.2"
"@ethereumjs/evm@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@ethereumjs/evm/-/evm-1.0.0.tgz#bb9af34098eb383fd3abd3147a6b897696cc9651"
integrity sha512-jLUPnpYxMDYnmRuD8xKQWuTXcAiHtvWLJ99L7nNiVU31yShQuWckyQShxE7CGuNm5nm6X6yptSSzb1inb1Bd8w==
"@ethereumjs/evm@^1.2.3":
version "1.2.3"
resolved "https://registry.yarnpkg.com/@ethereumjs/evm/-/evm-1.2.3.tgz#3cf8dde3b06348f403eba4e792b9bb8d1bbaf5e8"
integrity sha512-yQFF8xbcN98VBdDP4xLKEvcO/wB2djWC3YTQ0hG2O0ZnpPGS92oP24inxmrlrUukvZ3ZWafw60OOtQn7YqQdLw==
dependencies:
"@ethereumjs/common" "^3.0.0"
"@ethereumjs/util" "^8.0.0"
"@types/async-eventemitter" "^0.2.1"
async-eventemitter "^0.2.4"
"@ethereumjs/common" "^3.0.2"
"@ethereumjs/util" "^8.0.3"
"@ethersproject/providers" "^5.7.1"
debug "^4.3.3"
ethereum-cryptography "^1.1.2"
mcl-wasm "^0.7.1"
@ -2267,26 +2267,26 @@
resolved "https://registry.yarnpkg.com/@ethereumjs/rlp/-/rlp-4.0.0.tgz#66719891bd727251a7f233f9ca80212d1994f8c8"
integrity sha512-LM4jS5n33bJN60fM5EC8VeyhUgga6/DjCPBV2vWjnfVtobqtOiNC4SQ1MRFqyBSmJGGdB533JZWewyvlcdJtkQ==
"@ethereumjs/statemanager@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@ethereumjs/statemanager/-/statemanager-1.0.0.tgz#ba0b1d6aefd09684e05be8aacc7bc65a0a4059e4"
integrity sha512-mOGXsq1LH4vKCfO+c2wPQQD67/Tm2bA4uuH4QadmPwVBm8z/21uvAITZJg3UGSEvnMWY873J4GumeADe/xAeEg==
"@ethereumjs/statemanager@^1.0.2":
version "1.0.2"
resolved "https://registry.yarnpkg.com/@ethereumjs/statemanager/-/statemanager-1.0.2.tgz#febba5cdf1ec4f8075e85b6d26221814f61d3ee1"
integrity sha512-/uE+r+Pr0hy1dXS9AOO9083yQZD2RYM7vcayrnDoMZNlLU7xAt9XfDB/3pdfOK3CKUxlpLruhIafAk4vjFuGMQ==
dependencies:
"@ethereumjs/common" "^3.0.0"
"@ethereumjs/common" "^3.0.2"
"@ethereumjs/rlp" "^4.0.0"
"@ethereumjs/trie" "^5.0.0"
"@ethereumjs/util" "^8.0.0"
debug "^4.3.3"
ethereum-cryptography "^1.1.2"
functional-red-black-tree "^1.0.1"
ethers "^5.7.1"
js-sdsl "^4.1.4"
"@ethereumjs/trie@^5.0.0":
version "5.0.0"
resolved "https://registry.yarnpkg.com/@ethereumjs/trie/-/trie-5.0.0.tgz#c98da2e09c082ae2f874e70bd59adf712f5d0d01"
integrity sha512-BiFv9hQZighlp4445kfG65X+tc8eEfpP32RMKzCELmSvChpwmtuL8Xuxy+aTYWQEMjY6s4gAVLX/J48SW7gwQg==
"@ethereumjs/trie@^5.0.2":
version "5.0.2"
resolved "https://registry.yarnpkg.com/@ethereumjs/trie/-/trie-5.0.2.tgz#766c22c380367b9f00eed685ba3044c290e15c33"
integrity sha512-fZ7CbygZwJ2UTOgJt39L8nQHsLzB6eC0317TdKgkZQfG4AZ4ir+DyESUcl0g5iEN6t6ZqEYj7AfNB2/6C/jR5g==
dependencies:
"@ethereumjs/rlp" "^4.0.0"
"@ethereumjs/util" "^8.0.0"
"@ethereumjs/util" "^8.0.3"
"@types/readable-stream" "^2.3.13"
ethereum-cryptography "^1.1.2"
readable-stream "^3.6.0"
@ -2298,43 +2298,42 @@
"@ethereumjs/common" "^2.6.0"
ethereumjs-util "^7.1.3"
"@ethereumjs/tx@^4.0.0":
version "4.0.0"
resolved "https://registry.yarnpkg.com/@ethereumjs/tx/-/tx-4.0.0.tgz#da284dd1d3407d910a055da99dc0d1c917097a8c"
integrity sha512-W3Fc61kAA3D6vJad2vsfh9ygdaMeScYpf49ephoo/0y+CP9IN+MMrqA6mx1X0Fr/jf52IuW4hDHE/rmgadBV6g==
"@ethereumjs/tx@^4.0.2":
version "4.0.2"
resolved "https://registry.yarnpkg.com/@ethereumjs/tx/-/tx-4.0.2.tgz#082b0f95fe9a61c70277ee1bfeb65d6f27a723bb"
integrity sha512-6GoKVK3MVcAFFn4qSLIIDZ1vrKSLn7W5L80Pvae1BJFgchu+11R2iOqQyVGUSGbaXllh4xliUy/7+x5pYwRY8Q==
dependencies:
"@ethereumjs/common" "^3.0.0"
"@ethereumjs/common" "^3.0.2"
"@ethereumjs/rlp" "^4.0.0"
"@ethereumjs/util" "^8.0.0"
"@ethereumjs/util" "^8.0.3"
ethereum-cryptography "^1.1.2"
ethers "^5.7.1"
"@ethereumjs/util@^8.0.0":
version "8.0.0"
resolved "https://registry.yarnpkg.com/@ethereumjs/util/-/util-8.0.0.tgz#52363fe29113c0ee70c8e9df20bc713e00089720"
integrity sha512-Zz/Ovar0VU/CaYHLvigBTjG5PmkG0OzjvRjjoXRJbJcdWJoTCN2N4BYgoCBOZomKjaAT4ABpQ7wer6ZFOglvjg==
"@ethereumjs/util@^8.0.3":
version "8.0.3"
resolved "https://registry.yarnpkg.com/@ethereumjs/util/-/util-8.0.3.tgz#410c2dc8c6d519b29f1a471aa9b9df9952e41239"
integrity sha512-0apCbwc8xAaie6W7q6QyogfyRS2BMU816a8KwpnpRw9Qrc6Bws+l7J3LfCLMt2iL6Wi8CYb0B29AeIr2N4vHnw==
dependencies:
"@ethereumjs/rlp" "^4.0.0-beta.2"
async "^3.2.4"
ethereum-cryptography "^1.1.2"
"@ethereumjs/vm@^6.0.0":
version "6.0.0"
resolved "https://registry.yarnpkg.com/@ethereumjs/vm/-/vm-6.0.0.tgz#7d8335c7178c23eecf8136b88ff16515b6ee9d25"
integrity sha512-bFt9RSe+HKT+lgpL4+pHEWjn6l3N4f82cfFkSHaF4RTgSHeyGq/K4lbyXOFGE+r7QAwXM5SrRR1+g7kLhp0h7w==
"@ethereumjs/vm@^6.3.0":
version "6.3.0"
resolved "https://registry.yarnpkg.com/@ethereumjs/vm/-/vm-6.3.0.tgz#4e40c6dfdb602d83eb60ebec2ee50099289de8df"
integrity sha512-vkuDXcta22VW0o/O0LAyMxZK719ULFm0BAjfHaEsVWVLsSIKWEwRom8f9Rg7MGSnuhlEaDfYnCuC1ewfgfvT3g==
dependencies:
"@ethereumjs/block" "^4.0.0"
"@ethereumjs/blockchain" "^6.0.0"
"@ethereumjs/common" "^3.0.0"
"@ethereumjs/evm" "^1.0.0"
"@ethereumjs/block" "^4.1.0"
"@ethereumjs/blockchain" "^6.1.0"
"@ethereumjs/common" "^3.0.2"
"@ethereumjs/evm" "^1.2.3"
"@ethereumjs/rlp" "^4.0.0"
"@ethereumjs/statemanager" "^1.0.0"
"@ethereumjs/trie" "^5.0.0"
"@ethereumjs/tx" "^4.0.0"
"@ethereumjs/util" "^8.0.0"
"@types/async-eventemitter" "^0.2.1"
async-eventemitter "^0.2.4"
"@ethereumjs/statemanager" "^1.0.2"
"@ethereumjs/trie" "^5.0.2"
"@ethereumjs/tx" "^4.0.2"
"@ethereumjs/util" "^8.0.3"
debug "^4.3.3"
ethereum-cryptography "^1.1.2"
functional-red-black-tree "^1.0.1"
mcl-wasm "^0.7.1"
rustbn.js "~0.2.0"
@ -5477,11 +5476,6 @@
resolved "https://registry.yarnpkg.com/@types/aria-query/-/aria-query-4.2.2.tgz#ed4e0ad92306a704f9fb132a0cfcf77486dbe2bc"
integrity sha512-HnYpAE1Y6kRyKM/XkEuiRQhTHvkzMBurTHnpFLYLBGPIylZNPs9jJcuOOYWxPLJCSEtmZT0Y8rHDokKN7rRTig==
"@types/async-eventemitter@^0.2.1":
version "0.2.1"
resolved "https://registry.yarnpkg.com/@types/async-eventemitter/-/async-eventemitter-0.2.1.tgz#f8e6280e87e8c60b2b938624b0a3530fb3e24712"
integrity sha512-M2P4Ng26QbAeITiH7w1d7OxtldgfAe0wobpyJzVK/XOb0cUGKU2R4pfAhqcJBXAe2ife5ZOhSv4wk7p+ffURtg==
"@types/axios@^0.14.0":
version "0.14.0"
resolved "https://registry.yarnpkg.com/@types/axios/-/axios-0.14.0.tgz#ec2300fbe7d7dddd7eb9d3abf87999964cafce46"
@ -5962,6 +5956,14 @@
"@types/node" "*"
safe-buffer "*"
"@types/readable-stream@^2.3.13":
version "2.3.15"
resolved "https://registry.yarnpkg.com/@types/readable-stream/-/readable-stream-2.3.15.tgz#3d79c9ceb1b6a57d5f6e6976f489b9b5384321ae"
integrity sha512-oM5JSKQCcICF1wvGgmecmHldZ48OZamtMxcGGVICOJA8o8cahXC1zEVAif8iwoc5j8etxFaRFnf095+CDsuoFQ==
dependencies:
"@types/node" "*"
safe-buffer "~5.1.1"
"@types/request@^2.48.7":
version "2.48.7"
resolved "https://registry.yarnpkg.com/@types/request/-/request-2.48.7.tgz#a962d11a26e0d71d9a9913d96bb806dc4d4c2f19"
@ -7130,13 +7132,6 @@ async-each@^1.0.0, async-each@^1.0.1:
resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.3.tgz#b727dbf87d7651602f06f4d4ac387f47d91b0cbf"
integrity sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ==
async-eventemitter@^0.2.4:
version "0.2.4"
resolved "https://registry.yarnpkg.com/async-eventemitter/-/async-eventemitter-0.2.4.tgz#f5e7c8ca7d3e46aab9ec40a292baf686a0bafaca"
integrity sha512-pd20BwL7Yt1zwDFy+8MX8F1+WCT8aQeKj0kQnTrH9WaeRETlRamVhD0JtRPmrV4GfOJ2F9CvdQkZeZhnh2TuHw==
dependencies:
async "^2.4.0"
async-limiter@~1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd"
@ -7154,14 +7149,14 @@ async-settle@^1.0.0:
dependencies:
async-done "^1.2.2"
async@^2.4.0, async@^2.6.2, async@^2.6.4:
async@^2.6.2, async@^2.6.4:
version "2.6.4"
resolved "https://registry.yarnpkg.com/async/-/async-2.6.4.tgz#706b7ff6084664cd7eae713f6f965433b5504221"
integrity sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==
dependencies:
lodash "^4.17.14"
async@^3.1.0, async@^3.2.3:
async@^3.1.0, async@^3.2.3, async@^3.2.4:
version "3.2.4"
resolved "https://registry.yarnpkg.com/async/-/async-3.2.4.tgz#2d22e00f8cddeb5fde5dd33522b56d1cf569a81c"
integrity sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==

Loading…
Cancel
Save