Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/remix-ide/src/app/tabs/debugger/debuggerUI.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var StepManagerUI = require('./debuggerUI/StepManager')
var VmDebugger = require('./debuggerUI/VmDebugger')
var toaster = require('../../ui/tooltip')

var Debugger = require('remix-debug').TransactionDebugger
var Debugger = require('@remix-project/remix-debug').TransactionDebugger

var SourceHighlighter = require('../../editor/sourceHighlighter')

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use strict'
var StaticAnalysisRunner = require('remix-analyzer').CodeAnalysis
var StaticAnalysisRunner = require('@remix-project/remix-analyzer').CodeAnalysis
var yo = require('yo-yo')
var $ = require('jquery')
var remixLib = require('@remix-project/remix-lib')
Expand Down
2 changes: 1 addition & 1 deletion apps/remix-ide/src/blockchain/providers/vm.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const Web3 = require('web3')
const { BN, privateToAddress, stripHexPrefix, hashPersonalMessage } = require('ethereumjs-util')
const RemixSimulator = require('remix-simulator')
const RemixSimulator = require('@remix-project/remix-simulator')

class VMProvider {

Expand Down
2 changes: 1 addition & 1 deletion apps/remix-ide/src/lib/cmdInterpreterAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var CompilerImport = require('../app/compiler/compiler-imports')
var toolTip = require('../app/ui/tooltip')
var globalRegistry = require('../global/registry')
var SourceHighlighter = require('../app/editor/sourceHighlighter')
var RemixDebug = require('remix-debug').EthDebugger
var RemixDebug = require('@remix-project/remix-debug').EthDebugger
var TreeView = require('../app/ui/TreeView') // TODO setup a direct reference to the UI components
var solidityTypeFormatter = require('../app/tabs/debugger/debuggerUI/vmDebugger/utils/SolidityTypeFormatter')
var GistHandler = require('./gist-handler')
Expand Down
2 changes: 1 addition & 1 deletion libs/remix-analyzer/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion libs/remix-debug/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "remix-debug",
"name": "@remix-project/remix-debug",
"version": "0.4.5",
"description": "Tool to debug Ethereum transactions",
"contributors": [
Expand Down
2 changes: 1 addition & 1 deletion libs/remix-simulator/package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
4 changes: 2 additions & 2 deletions libs/remix-simulator/src/provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions libs/remix-tests/src/compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function regexIndexOf (inputString: string, regex: RegExp, startpos = 0) {
}

function writeTestAccountsContract (accounts: string[]) {
const testAccountContract = require('../sol/tests_accounts.sol.js')
const testAccountContract = require('../sol/tests_accounts.sol')
let body = `address[${accounts.length}] memory accounts;`
if (!accounts.length) body += ';'
else {
Expand Down Expand Up @@ -86,8 +86,8 @@ export function compileFileOrFiles(filename: string, isDirectory: boolean, opts:
let compiler: any
const accounts: string[] = opts.accounts || []
const sources: SrcIfc = {
'tests.sol': { content: require('../sol/tests.sol.js') },
'remix_tests.sol': { content: require('../sol/tests.sol.js') },
'tests.sol': { content: require('../sol/tests.sol') },
'remix_tests.sol': { content: require('../sol/tests.sol') },
'remix_accounts.sol': { content: writeTestAccountsContract(accounts) }
}
const filepath: string = (isDirectory ? filename : path.dirname(filename))
Expand Down
2 changes: 1 addition & 1 deletion libs/remix-tests/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ export { runTestFiles } from './runTestFiles'
export { runTestSources } from './runTestSources'
export { runTest } from './testRunner'
export * from './types'
export const assertLibCode = require('../sol/tests.sol.js')
export const assertLibCode = require('../sol/tests.sol')
2 changes: 1 addition & 1 deletion libs/remix-tests/src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion libs/remix-tests/src/runTestSources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion libs/remix-tests/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"module": "commonjs",
"outDir": "../../dist/out-tsc",
"declaration": true,
"rootDir": "./src",
"rootDir": "./",
"types": ["node"]
},
"exclude": [
Expand Down
Loading