rename decoder to solidity-decoder

pull/7/head
Iuri Matias 6 years ago
parent 6592415e3f
commit 234cfc6a15
  1. 9
      remix-debug/src/Ethdebugger.js
  2. 0
      remix-debug/src/solidity-decoder/astHelper.js
  3. 0
      remix-debug/src/solidity-decoder/decodeInfo.js
  4. 11
      remix-debug/src/solidity-decoder/index.js
  5. 0
      remix-debug/src/solidity-decoder/internalCallTree.js
  6. 0
      remix-debug/src/solidity-decoder/localDecoder.js
  7. 0
      remix-debug/src/solidity-decoder/solidityProxy.js
  8. 0
      remix-debug/src/solidity-decoder/stateDecoder.js
  9. 0
      remix-debug/src/solidity-decoder/types/Address.js
  10. 0
      remix-debug/src/solidity-decoder/types/ArrayType.js
  11. 0
      remix-debug/src/solidity-decoder/types/Bool.js
  12. 0
      remix-debug/src/solidity-decoder/types/DynamicByteArray.js
  13. 0
      remix-debug/src/solidity-decoder/types/Enum.js
  14. 0
      remix-debug/src/solidity-decoder/types/FixedByteArray.js
  15. 0
      remix-debug/src/solidity-decoder/types/Int.js
  16. 0
      remix-debug/src/solidity-decoder/types/Mapping.js
  17. 0
      remix-debug/src/solidity-decoder/types/RefType.js
  18. 0
      remix-debug/src/solidity-decoder/types/StringType.js
  19. 0
      remix-debug/src/solidity-decoder/types/Struct.js
  20. 0
      remix-debug/src/solidity-decoder/types/Uint.js
  21. 0
      remix-debug/src/solidity-decoder/types/ValueType.js
  22. 0
      remix-debug/src/solidity-decoder/types/util.js
  23. 8
      remix-debug/test/decoder/decodeInfo.js
  24. 2
      remix-debug/test/decoder/localsTests/helper.js
  25. 4
      remix-debug/test/decoder/localsTests/int.js
  26. 4
      remix-debug/test/decoder/localsTests/misc.js
  27. 4
      remix-debug/test/decoder/localsTests/misc2.js
  28. 4
      remix-debug/test/decoder/localsTests/structArray.js
  29. 2
      remix-debug/test/decoder/stateTests/mapping.js
  30. 2
      remix-debug/test/decoder/storageDecoder.js
  31. 2
      remix-debug/test/decoder/storageLocation.js

@ -3,10 +3,11 @@
var StorageViewer = require('./storage/storageViewer')
var StorageResolver = require('./storage/storageResolver')
var SolidityProxy = require('./decoder/solidityProxy')
var stateDecoder = require('./decoder/stateDecoder')
var localDecoder = require('./decoder/localDecoder')
var InternalCallTree = require('./decoder/internalCallTree')
var SolidityDecoder = require('./solidity-decoder')
var SolidityProxy = SolidityDecoder.SolidityProxy
var stateDecoder = SolidityDecoder.stateDecoder
var localDecoder = SolidityDecoder.localDecoder
var InternalCallTree = SolidityDecoder.InternalCallTree
var remixLib = require('remix-lib')
var TraceManager = remixLib.trace.TraceManager

@ -0,0 +1,11 @@
var SolidityProxy = require('./solidityProxy')
var stateDecoder = require('./stateDecoder')
var localDecoder = require('./localDecoder')
var InternalCallTree = require('./internalCallTree')
module.exports = {
SolidityProxy: SolidityProxy,
stateDecoder: stateDecoder,
localDecoder: localDecoder,
InternalCallTree: InternalCallTree
}

@ -1,14 +1,14 @@
'use strict'
var tape = require('tape')
var compiler = require('solc')
var astHelper = require('../../src/decoder/astHelper')
var decodeInfo = require('../../src/decoder/decodeInfo')
var stateDecoder = require('../../src/decoder/stateDecoder')
var astHelper = require('../../src/solidity-decoder/astHelper')
var decodeInfo = require('../../src/solidity-decoder/decodeInfo')
var stateDecoder = require('../../src/solidity-decoder/stateDecoder')
var contracts = require('./contracts/miscContracts')
var simplecontracts = require('./contracts/simpleContract')
var remixLib = require('remix-lib')
var compilerInput = remixLib.helpers.compiler.compilerInput
var util = require('../../src/decoder/types/util')
var util = require('../../src/solidity-decoder/types/util')
tape('solidity', function (t) {
t.test('astHelper, decodeInfo', function (st) {

@ -1,5 +1,5 @@
'use strict'
var localDecoder = require('../../../src/decoder/localDecoder')
var localDecoder = require('../../../src/solidity-decoder/localDecoder')
/*
Decode local variable

@ -7,8 +7,8 @@ var TraceManager = remixLib.trace.TraceManager
var CodeManager = remixLib.code.CodeManager
var traceHelper = remixLib.helpers.trace
var SolidityProxy = require('../../../src/decoder/solidityProxy')
var InternalCallTree = require('../../../src/decoder/internalCallTree')
var SolidityProxy = require('../../../src/solidity-decoder/solidityProxy')
var InternalCallTree = require('../../../src/solidity-decoder/internalCallTree')
var EventManager = remixLib.EventManager
var helper = require('./helper')

@ -2,8 +2,8 @@
var vmCall = require('../vmCall')
var remixLib = require('remix-lib')
var traceHelper = remixLib.helpers.trace
var SolidityProxy = require('../../../src/decoder/solidityProxy')
var InternalCallTree = require('../../../src/decoder/internalCallTree')
var SolidityProxy = require('../../../src/solidity-decoder/solidityProxy')
var InternalCallTree = require('../../../src/solidity-decoder/internalCallTree')
var EventManager = remixLib.EventManager
var helper = require('./helper')

@ -2,8 +2,8 @@
var vmCall = require('../vmCall')
var remixLib = require('remix-lib')
var traceHelper = remixLib.helpers.trace
var SolidityProxy = require('../../../src/decoder/solidityProxy')
var InternalCallTree = require('../../../src/decoder/internalCallTree')
var SolidityProxy = require('../../../src/solidity-decoder/solidityProxy')
var InternalCallTree = require('../../../src/solidity-decoder/internalCallTree')
var EventManager = remixLib.EventManager
var helper = require('./helper')

@ -2,8 +2,8 @@
var vmCall = require('../vmCall')
var remixLib = require('remix-lib')
var traceHelper = remixLib.helpers.trace
var SolidityProxy = require('../../../src/decoder/solidityProxy')
var InternalCallTree = require('../../../src/decoder/internalCallTree')
var SolidityProxy = require('../../../src/solidity-decoder/solidityProxy')
var InternalCallTree = require('../../../src/solidity-decoder/internalCallTree')
var EventManager = remixLib.EventManager
var helper = require('./helper')

@ -3,7 +3,7 @@ var compilerInput = remixLib.helpers.compiler.compilerInput
var TraceManager = remixLib.trace.TraceManager
var compiler = require('solc')
var stateDecoder = require('../../../src/decoder/stateDecoder')
var stateDecoder = require('../../../src/solidity-decoder/stateDecoder')
var vmCall = require('../vmCall')
var StorageResolver = require('../../../src/storage/storageResolver')

@ -1,7 +1,7 @@
'use strict'
var tape = require('tape')
var compiler = require('solc')
var stateDecoder = require('../../src/decoder/stateDecoder')
var stateDecoder = require('../../src/solidity-decoder/stateDecoder')
var MockStorageResolver = require('./mockStorageResolver')
var remixLib = require('remix-lib')
var compilerInput = remixLib.helpers.compiler.compilerInput

@ -1,7 +1,7 @@
'use strict'
var tape = require('tape')
var compiler = require('solc')
var stateDecoder = require('../../src/decoder/stateDecoder')
var stateDecoder = require('../../src/solidity-decoder/stateDecoder')
var contracts = require('./contracts/miscContracts')
var remixLib = require('remix-lib')
var compilerInput = remixLib.helpers.compiler.compilerInput

Loading…
Cancel
Save