update requires to new remix libs

pull/1/head
Iuri Matias 6 years ago committed by yann300
parent c8ec99be3a
commit d9d73b079f
  1. 3
      src/app/debugger/debugger.js
  2. 13
      src/app/debugger/remix-debugger/src/ui/Ethdebugger.js
  3. 4
      src/app/debugger/remix-debugger/src/ui/FullStoragesChanges.js
  4. 8
      src/app/debugger/remix-debugger/src/ui/SolidityLocals.js
  5. 8
      src/app/debugger/remix-debugger/src/ui/SolidityState.js
  6. 4
      src/app/debugger/remix-debugger/src/ui/StoragePanel.js
  7. 4
      src/app/debugger/remix-debugger/src/ui/VmDebugger.js
  8. 2
      src/app/staticanalysis/staticAnalysisView.js
  9. 1
      team-best-practices.md

@ -2,7 +2,6 @@
var Ethdebugger = require('./remix-debugger/src/ui/Ethdebugger') var Ethdebugger = require('./remix-debugger/src/ui/Ethdebugger')
var remixLib = require('remix-lib') var remixLib = require('remix-lib')
var remixCore = require('remix-core')
var executionContext = require('../../execution-context') var executionContext = require('../../execution-context')
var globlalRegistry = require('../../global/registry') var globlalRegistry = require('../../global/registry')
@ -34,7 +33,7 @@ function Debugger (container, sourceHighlighter, localRegistry) {
container.appendChild(this.debugger.render()) container.appendChild(this.debugger.render())
this.isActive = false this.isActive = false
this.breakPointManager = new remixCore.code.BreakpointManager(this.debugger, (sourceLocation) => { this.breakPointManager = new remixLib.code.BreakpointManager(this.debugger, (sourceLocation) => {
return self._deps.offsetToLineColumnConverter.offsetToLineColumn(sourceLocation, sourceLocation.file, this._deps.compiler.lastCompilationResult.source.sources) return self._deps.offsetToLineColumnConverter.offsetToLineColumn(sourceLocation, sourceLocation.file, this._deps.compiler.lastCompilationResult.source.sources)
}) })

@ -1,10 +1,9 @@
'use strict' 'use strict'
var TxBrowser = require('./TxBrowser') var TxBrowser = require('./TxBrowser')
var StepManager = require('./StepManager') var StepManager = require('./StepManager')
var remixCore = require('remix-core')
var TraceManager = remixCore.trace.TraceManager
var VmDebugger = require('./VmDebugger')
var remixLib = require('remix-lib') var remixLib = require('remix-lib')
var TraceManager = remixLib.trace.TraceManager
var VmDebugger = require('./VmDebugger')
var global = remixLib.global var global = remixLib.global
var init = remixLib.init var init = remixLib.init
var executionContext = remixLib.execution.executionContext var executionContext = remixLib.execution.executionContext
@ -13,10 +12,10 @@ var yo = require('yo-yo')
var csjs = require('csjs-inject') var csjs = require('csjs-inject')
var Web3Providers = remixLib.vm.Web3Providers var Web3Providers = remixLib.vm.Web3Providers
var DummyProvider = remixLib.vm.DummyProvider var DummyProvider = remixLib.vm.DummyProvider
var CodeManager = remixCore.code.CodeManager var CodeManager = remixLib.code.CodeManager
var remixSolidity = require('remix-solidity') var remixDebug = require('remix-debug')
var SolidityProxy = remixSolidity.SolidityProxy var SolidityProxy = remixDebug.SolidityDecoder.SolidityProxy
var InternalCallTree = remixSolidity.InternalCallTree var InternalCallTree = remixDebug.SolidityDecoder.InternalCallTree
var css = csjs` var css = csjs`
.statusMessage { .statusMessage {

@ -1,7 +1,7 @@
'use strict' 'use strict'
var DropdownPanel = require('./DropdownPanel') var DropdownPanel = require('./DropdownPanel')
var remixCore = require('remix-core') var remixDebug = require('remix-debug')
var StorageViewer = remixCore.storage.StorageViewer var StorageViewer = remixDebug.storage.StorageViewer
var yo = require('yo-yo') var yo = require('yo-yo')
function FullStoragesChanges (_parent, _traceManager) { function FullStoragesChanges (_parent, _traceManager) {

@ -1,10 +1,10 @@
'use strict' 'use strict'
var DropdownPanel = require('./DropdownPanel') var DropdownPanel = require('./DropdownPanel')
var remixSolidity = require('remix-solidity') // TODO: update this
var localDecoder = remixSolidity.localDecoder var remixDebug = require('remix-debug')
var localDecoder = remixDebug.SoliditySecoder.localDecoder
var solidityTypeFormatter = require('./SolidityTypeFormatter') var solidityTypeFormatter = require('./SolidityTypeFormatter')
var remixCore = require('remix-core') var StorageViewer = remixDebug.storage.StorageViewer
var StorageViewer = remixCore.storage.StorageViewer
var yo = require('yo-yo') var yo = require('yo-yo')
class SolidityLocals { class SolidityLocals {

@ -1,10 +1,10 @@
'use strict' 'use strict'
var DropdownPanel = require('./DropdownPanel') var DropdownPanel = require('./DropdownPanel')
var remixSolidity = require('remix-solidity') var remixDebug = require('remix-debug')
var stateDecoder = remixSolidity.stateDecoder var stateDecoder = remixDebug.SolidityDecoder.stateDecoder
var solidityTypeFormatter = require('./SolidityTypeFormatter') var solidityTypeFormatter = require('./SolidityTypeFormatter')
var remixCore = require('remix-core') var remixLib = require('remix-lib')
var StorageViewer = remixCore.storage.StorageViewer var StorageViewer = remixLib.storage.StorageViewer
var yo = require('yo-yo') var yo = require('yo-yo')
function SolidityState (_parent, _traceManager, _codeManager, _solidityProxy) { function SolidityState (_parent, _traceManager, _codeManager, _solidityProxy) {

@ -1,7 +1,7 @@
'use strict' 'use strict'
var DropdownPanel = require('./DropdownPanel') var DropdownPanel = require('./DropdownPanel')
var remixCore = require('remix-core') var remixLib = require('remix-lib')
var StorageViewer = remixCore.storage.StorageViewer var StorageViewer = remixLib.storage.StorageViewer
var yo = require('yo-yo') var yo = require('yo-yo')
function StoragePanel (_parent, _traceManager) { function StoragePanel (_parent, _traceManager) {

@ -11,8 +11,8 @@ var StepDetail = require('./StepDetail')
var DropdownPanel = require('./DropdownPanel') var DropdownPanel = require('./DropdownPanel')
var SolidityState = require('./SolidityState') var SolidityState = require('./SolidityState')
var SolidityLocals = require('./SolidityLocals') var SolidityLocals = require('./SolidityLocals')
var remixCore = require('remix-core') var remixLib = require('remix-lib')
var StorageResolver = remixCore.storage.StorageResolver var StorageResolver = remixLib.storage.StorageResolver
var yo = require('yo-yo') var yo = require('yo-yo')
var css = csjs` var css = csjs`

@ -1,5 +1,5 @@
'use strict' 'use strict'
var StaticAnalysisRunner = require('remix-solidity').CodeAnalysis var StaticAnalysisRunner = require('remix-analyzer').CodeAnalysis
var yo = require('yo-yo') var yo = require('yo-yo')
var $ = require('jquery') var $ = require('jquery')
var remixLib = require('remix-lib') var remixLib = require('remix-lib')

@ -16,7 +16,6 @@ Related links:
- Remix live: remix.ethereum.org - Remix live: remix.ethereum.org
- Remix alpha live: remix-alpha.ethereum.org - Remix alpha live: remix-alpha.ethereum.org
- Remix-ide NPM module: https://www.npmjs.com/package/remix-ide - Remix-ide NPM module: https://www.npmjs.com/package/remix-ide
- Remix-core NPM module: https://www.npmjs.com/package/remix-core
- Remix-lib NPM module: https://www.npmjs.com/package/remix-lib - Remix-lib NPM module: https://www.npmjs.com/package/remix-lib
- Remix-solidity NPM module: https://www.npmjs.com/package/remix-solidity - Remix-solidity NPM module: https://www.npmjs.com/package/remix-solidity
- Remix-debug NPM module: https://www.npmjs.com/package/remix-debug - Remix-debug NPM module: https://www.npmjs.com/package/remix-debug

Loading…
Cancel
Save