simulator type mismatch fix

pull/12/head
aniket-engg 4 years ago
parent 078a144f52
commit 162fde177f
  1. 2
      libs/remix-analyzer/package.json
  2. 2
      libs/remix-debug/package.json
  3. 2
      libs/remix-simulator/package.json
  4. 4
      libs/remix-simulator/src/provider.js
  5. 2
      libs/remix-tests/src/run.ts
  6. 2
      libs/remix-tests/src/runTestSources.ts

@ -1,5 +1,5 @@
{
"name": "remix-analyzer",
"name": "@remix-project/remix-analyzer",
"version": "0.5.3",
"description": "Tool to perform static analysis on Solidity smart contracts",
"main": "./dist/index.js",

@ -1,5 +1,5 @@
{
"name": "remix-debug",
"name": "@remix-project/remix-debug",
"version": "0.4.5",
"description": "Tool to debug Ethereum transactions",
"contributors": [

@ -1,5 +1,5 @@
{
"name": "remix-simulator",
"name": "@remix-project/remix-simulator",
"version": "0.1.9-beta.6",
"description": "Ethereum IDE and tools for the web",
"contributors": [

@ -14,8 +14,8 @@ const Transactions = require('./methods/transactions.js')
const generateBlock = require('./genesis.js')
class Provider {
constructor(options) {
this.options = options || {}
constructor(options = {}) {
this.options = options
// TODO: init executionContext here
this.executionContext = executionContext
this.Accounts = new Accounts(this.executionContext)

@ -48,7 +48,7 @@ commander
log.info('verbosity level set to ' + commander.verbose.blue)
}
const web3 = new Web3()
const provider = new Provider()
const provider: any = new Provider()
await provider.init()
web3.setProvider(provider)

@ -12,7 +12,7 @@ import { FinalResult, SrcIfc, compilationInterface, ASTInterface, Options,
const createWeb3Provider = async function () {
const web3 = new Web3()
const provider = new Provider()
const provider: any = new Provider()
await provider.init()
web3.setProvider(provider)
return web3

Loading…
Cancel
Save