move decoder from remix-solidity to remix-debug

pull/3094/head
Iuri Matias 7 years ago
parent d2c909e9a3
commit 45eb3b60d2
  1. 1
      remix-debug/package.json
  2. 10
      remix-debug/src/Ethdebugger.js
  3. 0
      remix-debug/src/decoder/astHelper.js
  4. 0
      remix-debug/src/decoder/decodeInfo.js
  5. 0
      remix-debug/src/decoder/internalCallTree.js
  6. 0
      remix-debug/src/decoder/localDecoder.js
  7. 0
      remix-debug/src/decoder/solidityProxy.js
  8. 0
      remix-debug/src/decoder/stateDecoder.js
  9. 0
      remix-debug/src/decoder/types/Address.js
  10. 0
      remix-debug/src/decoder/types/ArrayType.js
  11. 0
      remix-debug/src/decoder/types/Bool.js
  12. 0
      remix-debug/src/decoder/types/DynamicByteArray.js
  13. 0
      remix-debug/src/decoder/types/Enum.js
  14. 0
      remix-debug/src/decoder/types/FixedByteArray.js
  15. 0
      remix-debug/src/decoder/types/Int.js
  16. 0
      remix-debug/src/decoder/types/Mapping.js
  17. 0
      remix-debug/src/decoder/types/RefType.js
  18. 0
      remix-debug/src/decoder/types/StringType.js
  19. 0
      remix-debug/src/decoder/types/Struct.js
  20. 0
      remix-debug/src/decoder/types/Uint.js
  21. 0
      remix-debug/src/decoder/types/ValueType.js
  22. 0
      remix-debug/src/decoder/types/util.js
  23. 0
      remix-debug/test/decoder/contracts/byteStorage.js
  24. 0
      remix-debug/test/decoder/contracts/intLocal.js
  25. 0
      remix-debug/test/decoder/contracts/intStorage.js
  26. 0
      remix-debug/test/decoder/contracts/mappingStorage.js
  27. 0
      remix-debug/test/decoder/contracts/miscContracts.js
  28. 0
      remix-debug/test/decoder/contracts/miscLocal.js
  29. 0
      remix-debug/test/decoder/contracts/simpleContract.js
  30. 0
      remix-debug/test/decoder/contracts/structArrayLocal.js
  31. 0
      remix-debug/test/decoder/contracts/structArrayStorage.js
  32. 0
      remix-debug/test/decoder/decodeInfo.js
  33. 0
      remix-debug/test/decoder/localDecoder.js
  34. 0
      remix-debug/test/decoder/localsTests/helper.js
  35. 0
      remix-debug/test/decoder/localsTests/int.js
  36. 0
      remix-debug/test/decoder/localsTests/misc.js
  37. 0
      remix-debug/test/decoder/localsTests/misc2.js
  38. 0
      remix-debug/test/decoder/localsTests/structArray.js
  39. 0
      remix-debug/test/decoder/mockStorageResolver.js
  40. 0
      remix-debug/test/decoder/stateTests/mapping.js
  41. 0
      remix-debug/test/decoder/storageDecoder.js
  42. 0
      remix-debug/test/decoder/storageLocation.js
  43. 0
      remix-debug/test/decoder/vmCall.js
  44. 5
      remix-debug/test/tests.js
  45. 4
      remix-solidity/test/tests.js

@ -28,7 +28,6 @@
"npm-run-all": "^4.1.2",
"fast-async": "^6.1.2",
"remix-lib": "^0.2.9",
"remix-solidity": "^0.1.11",
"solc": "https://github.com/ethereum/solc-js"
},
"devDependencies": {

@ -5,6 +5,11 @@ var StorageViewer = require('./storage/storageViewer')
var StorageResolver = require('./storage/storageResolver')
var TraceManager = require('./trace/traceManager')
var SolidityProxy = require('./decoder/solidityProxy')
var stateDecoder = require('./decoder/stateDecoder')
var localDecoder = require('./decoder/localDecoder')
var InternalCallTree = require('./decoder/internalCallTree')
var remixLib = require('remix-lib')
var traceHelper = remixLib.helpers.trace
var init = remixLib.init
@ -12,11 +17,6 @@ var executionContext = remixLib.execution.executionContext
var EventManager = remixLib.EventManager
var Web3Providers = remixLib.vm.Web3Providers
var DummyProvider = remixLib.vm.DummyProvider
var remixSolidity = require('remix-solidity')
var SolidityProxy = remixSolidity.SolidityProxy
var stateDecoder = remixSolidity.stateDecoder
var localDecoder = remixSolidity.localDecoder
var InternalCallTree = remixSolidity.InternalCallTree
/**
* Ethdebugger is a wrapper around a few classes that helps debugging a transaction

@ -10,6 +10,11 @@ require('./traceManager.js')
require('./codeManager.js')
require('./disassembler.js')
require('./decoder/decodeInfo.js')
require('./decoder/storageLocation.js')
require('./decoder/storageDecoder.js')
require('./decoder/localDecoder.js')
var BreakpointManager = require('../src/code/breakpointManager')
tape('debug contract', function (t) {

@ -1,7 +1,3 @@
require('./decoder/decodeInfo.js')
require('./decoder/storageLocation.js')
require('./decoder/storageDecoder.js')
require('./decoder/localDecoder.js')
require('./analysis/staticAnalysisCommon-test.js')
require('./analysis/staticAnalysisIntegration-test.js')

Loading…
Cancel
Save