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 remixLib = require('remix-lib')
var remixCore = require('remix-core')
var executionContext = require('../../execution-context')
var globlalRegistry = require('../../global/registry')
@ -34,7 +33,7 @@ function Debugger (container, sourceHighlighter, localRegistry) {
container.appendChild(this.debugger.render())
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)
})

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

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

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

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

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

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

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

@ -16,7 +16,6 @@ Related links:
- Remix live: remix.ethereum.org
- Remix alpha live: remix-alpha.ethereum.org
- 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-solidity NPM module: https://www.npmjs.com/package/remix-solidity
- Remix-debug NPM module: https://www.npmjs.com/package/remix-debug

Loading…
Cancel
Save